Different units for different maps?

Started by i2Bros, June 16, 2016, 07:08:26 AM

Previous topic - Next topic
How can I have different units in different maps? I know it has to do with the mission.lvl script but i don't know how to edit it. And how can I change the names of units and weapons in game? Tnx for any future reply!  ;)
"Come on, you apes! Do you wanna live forever?"
- Lieutenant Rasczak speaking to the Roughnecks troopers


Yes, this is through mission or map lua.

First you must read in the data file that contains that unit.
Second you must specify the exact unit to load in.

Look at the map lua for the stock maps that come with the modding tools.  You will get the idea.

Unit and weapon names are changed via "localization".  Refer to modding tools documentation to describe that process for SWBF2.
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet