steeffeen's Knowledge-Dump

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

User avatar
Gugli
Nadeo
Nadeo
Posts: 510
Joined: 14 Jun 2010, 17:35
Location: Mon PC est à Paris, mais mon coeur rode dans les forêts de Lozère

Re: steeffeen's Knowledge-Dump

Post by Gugli » 28 Oct 2013, 14:39

Great idea indeed. I'm sure it'll be awesome and help lots of people!

:thumbsup: :thx: :thumbsup:
--
(>~_~)> ═╦═ ╔╦╗ <(~_~<)

P1n0u
Posts: 214
Joined: 31 Jul 2012, 06:36

Re: steeffeen's Knowledge-Dump

Post by P1n0u » 28 Oct 2013, 22:23

Great idea!
I'll follow up with my ca bad level of English.

btw if you could find a translators that will be even better :)

User avatar
phil13hebert
Posts: 564
Joined: 29 Oct 2011, 14:11
Location: Québec

Re: steeffeen's Knowledge-Dump

Post by phil13hebert » 29 Oct 2013, 00:37

P1n0u wrote:Great idea!
I'll follow up with my ca bad level of English.

btw if you could find a translators that will be even better :)
In witch language ? French ?
OS: Windows 7 64 bit
CPU: Intel Core i7 3770 @ 3.40Ghz
RAM: 8GB DDR3 798MHz
GPU: Nvidia GeForce GTX 660 1536MB
Motherboard: Intel 0KM92T
Sound: 7.1
Peripherals: Logitech G510, SteelSeries sensei raw, Corsair vengeance 1500

P1n0u
Posts: 214
Joined: 31 Jul 2012, 06:36

Re: steeffeen's Knowledge-Dump

Post by P1n0u » 29 Oct 2013, 07:59

yes yes yes :p

for now I use google trad. it's not terrible but I understand a little of what you say

User avatar
Alinoa
Nadeo
Nadeo
Posts: 3778
Joined: 14 Jun 2010, 11:55
Location: France, Paris
Contact:

Re: steeffeen's Knowledge-Dump

Post by Alinoa » 29 Oct 2013, 11:09

Eole wrote:Nice.
I started something like that months ago but never get the time to finish it. I wish you more success than me. ;)
Your blog is now listed in the links section of the documentation.

PS: good luck with the UI section. :P
GG and I added the link to useful links in the maniaplanet wiki ;)
Ubisoft Support
Your Player Page

More information about maniaplanet, support, contents, community activities: useful links

ManiaPlanet technical documentation portal (Dedicated server, Mediatracker, ManiaLink, ManiaScript, Titles...)

User avatar
Electron
Posts: 688
Joined: 15 Jun 2010, 18:02
Contact:

Re: steeffeen's Knowledge-Dump

Post by Electron » 29 Oct 2013, 17:53

Hello steeffeen,
I tried to follow your blog. But despite some programming experience I already have problems with the posting "Labels are Life".
Are these labels some kind of callback functions that can be overloaded? It looks like that this technique and syntax is exclusively to ManiaScript.
Can you please add references to the official ManiaScript documentation where such specific features are explained. This would be very helpful.

User avatar
TGYoshi
Posts: 807
Joined: 15 Mar 2011, 16:59

Re: steeffeen's Knowledge-Dump

Post by TGYoshi » 29 Oct 2013, 18:27

My current interpretation of labels:

You can simply define "hook" positions for others scripts (or your own) to that specific location. They aren't really functions but are comparable with it. Something like synchronous event handlers without directly passed parameters.
If you define a label with

Code: Select all

+++abc+++
you can "bind" code to it with

Code: Select all

***abc***
***

***
Whenever the interpreter "passes by" the +++abc+++ it'll 'call' every ***abc***, basically.

Weird and confusing syntax I guess, but I guess it's mainly useful if you use ModeBase.
=3

User avatar
steeffeen
Translator
Translator
Posts: 2471
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: steeffeen's Knowledge-Dump

Post by steeffeen » 29 Oct 2013, 18:33

Electron wrote:Hello steeffeen,
I tried to follow your blog. But despite some programming experience I already have problems with the posting "Labels are Life".
Are these labels some kind of callback functions that can be overloaded? It looks like that this technique and syntax is exclusively to ManiaScript.
Can you please add references to the official ManiaScript documentation where such specific features are explained. This would be very helpful.
Hey Electron,
thanks for your feedback

unfortunately there isn't much official documentation that I can link to.. (which is actually one of the reasons for doing the blog)

I will try to sum up the technique of Labels in a dedicated post and link it here
please comment on that one in case any open questions are left
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks

    User avatar
    steeffeen
    Translator
    Translator
    Posts: 2471
    Joined: 14 Oct 2012, 16:22
    Location: Germany

    Re: steeffeen's Knowledge-Dump

    Post by steeffeen » 29 Oct 2013, 19:30

    steeffeen wrote:I will try to sum up the technique of Labels in a dedicated post and link it here
    please comment on that one in case any open questions are left
    there you go: http://blog.steeffeen.com/2013/10/labels/
      Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

      ManiaControl, FancyManiaLinks

      User avatar
      steeffeen
      Translator
      Translator
      Posts: 2471
      Joined: 14 Oct 2012, 16:22
      Location: Germany

      Re: steeffeen's Knowledge-Dump

      Post by steeffeen » 11 Nov 2013, 18:41

      Today I took a look at managing goal posts Capturing. :)
      It's not done automatically and you have to check for attack and defense in order to make defusing possible.

      http://blog.steeffeen.com
        Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

        ManiaControl, FancyManiaLinks

        Post Reply

        Return to “ManiaScript”

        Who is online

        Users browsing this forum: No registered users and 1 guest