Add a custom class (for swbf 2)

Started by Cdt Fox, August 05, 2015, 08:06:53 AM

Previous topic - Next topic
   I want to know ho to add a custom class in addition to the original ones  :blink:

Thanks.
"When will you fools learn? No one escapes Commander Fox"
—Fox, after apprehending another criminal

https://media.giphy.com/media/2GjgvS5vA6y08/giphy.gif

Since i can't enter gametoast anymore and i lost my tutorial for BF2 i want to know too.If someone can copy and paste some tutorials here that will be AWESOME! :)

Ill organise the swbf2 board when i come back to spain.
In the meantime check this http://www.swbfgamers.com/index.php?topic=3042.0
Hope it helps at least a little
Anyder | Talent, Ops & Culture | SWBF & Player Engagement
Email: communityambassador@swbfgamers.com
SWBFSpy Discord: http://discord.swbfspy.com
SWBFSpy Info: http://info.swbfspy.com

You have to add, as example
AddUnitClass(IMP, "your_custom_trooper_name",1,4) under the both heroes lines, hope I can help.


That is just for mission lua, and to call to that unit u need to have it in the SIDE files
Anyder | Talent, Ops & Culture | SWBF & Player Engagement
Email: communityambassador@swbfgamers.com
SWBFSpy Discord: http://discord.swbfspy.com
SWBFSpy Info: http://info.swbfspy.com