What should i type in in a .lua for a map, when trying to add more soldiers?
soldier
assault
sniper
all the way down to
special
but after special class, what is next?
Rank/class for additional soldiers?
Moderator: Moderators
- yukisuna
- Rebel Sergeant

- Posts: 210
- Joined: Wed Jan 28, 2009 5:50 am
- Projects :: My new PC hates the Mod Tools
- xbox live or psn: Samura Yukisuna
- Location: Stuck in a place full of happy happiness known as Steam.
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
Re: rank/class?
soldier, assault, sniper, officer, special, engineer, pilot, marine
You can also use AddUnitClass.
You can also use AddUnitClass.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: rank/class?
Or you can add in more custom ranks via the setup_teams.lua. Look through the FAQ thread for information on both these methods.
Edited for accuracy -Staff
Edited for accuracy -Staff
-
Commander_Keller
- Master Sergeant

- Posts: 171
- Joined: Sun Apr 16, 2006 1:16 pm
Re: rank/class?
one of my lua's looks like this:
and don't forget to add your custom units to the side's req file.
as you have surely read in the FAQ the munge application is kinda picky concerning the order of AddUnitClass and SetHeroClass. it has to be in this order. i have no idea why but obviously that's how it is.
Hidden/Spoiler:
as you have surely read in the FAQ the munge application is kinda picky concerning the order of AddUnitClass and SetHeroClass. it has to be in this order. i have no idea why but obviously that's how it is.
