How to catch build event

Everything about mods can be found here.

Moderator: Morax

Re: How to catch build event

Postby Phelom » 13 Jun 2015, 13:25

After a whole day i find nothing !
No doc, no good tutorial.. nothing to help me doing first steps in map scripting... :(

Ok i'm a developper, but i never worked with lua before... i want to say that i'm not a fan who wants write bribs or do cpy/past... i would like to really create cool stuffs... mods, special maps.. challenges...

So if any expert in SupCom scripting give a starting help i'll appreiate it :)
Thank you advance
User avatar
Phelom
Avatar-of-War
 
Posts: 195
Joined: 08 Apr 2015, 15:04
Location: Tizi Ouzou
Has liked: 104 times
Been liked: 25 times
FAF User Name: Phelom/Gurzil

Re: How to catch build event

Postby speed2 » 13 Jun 2015, 13:27

well I wrote this few days ago and I guess its the best and only tutorial for scripting out there
http://wiki.faforever.com/index.php?tit ... _Scripting
User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

Re: How to catch build event

Postby Phelom » 13 Jun 2015, 14:27

Thank you speed2, i already took a look to that one and it's pretty cool.. i'll try to read it fully..

What is making me sad is that i found any documentation or code reference about SupCom API... this mean that we can not find what we're looking for..

Thanks
User avatar
Phelom
Avatar-of-War
 
Posts: 195
Joined: 08 Apr 2015, 15:04
Location: Tizi Ouzou
Has liked: 104 times
Been liked: 25 times
FAF User Name: Phelom/Gurzil

Re: How to catch build event

Postby quark036 » 14 Jun 2015, 04:37

I agree, it's annoying. If you're trying to find a function, I'd suggest unzipping the gamedata and indexing the contents so you can search them easily.
quark036
Avatar-of-War
 
Posts: 165
Joined: 11 Mar 2015, 03:17
Has liked: 10 times
Been liked: 26 times
FAF User Name: Quark036

Re: How to catch build event

Postby Crotalus » 20 Jun 2015, 09:44

API för native functions here:
http://supcom.wikia.com/wiki/LUADOC_1.5.3596

Best documentation is browsing through the game code (in gamedata/lua.scd) and grep:ing stuff
Crotalus
Priest
 
Posts: 319
Joined: 27 Jan 2013, 20:37
Has liked: 2 times
Been liked: 102 times
FAF User Name: Crotalus

Re: How to catch build event

Postby Phelom » 23 Jun 2015, 03:37

Thank you, i'll try this :)
User avatar
Phelom
Avatar-of-War
 
Posts: 195
Joined: 08 Apr 2015, 15:04
Location: Tizi Ouzou
Has liked: 104 times
Been liked: 25 times
FAF User Name: Phelom/Gurzil

Previous

Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest