Adding different types of troopers?
Moderator: Moderators
-
ulohobo
- Recruit Womprat Killer
- Posts: 5
- Joined: Sat Apr 28, 2012 10:01 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Adding different types of troopers?
Hello again, I understand my last post was quite recent but I'm not the best at modding. So I'd like to know something that I couldn't find via search, how to change the type of soldiers. What I mean is, like if you had default episode 3 clone troopers in your map, is there a change you could make in the script to make them all use say, the kashykkk sharpshooter model, or the clones on Geonosis? If there's a tutorial on how to do this (and I'd bet there is), I'd appreciate a link, or even a quick explanation. Thanks in advance.
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: Adding different types of troopers?
You can use the SetClassProperty function in your .lua files to change a unit's player model, both the normal model and the low resolution model, as well as its first person model, given if the necessary models are already loaded. In your case here, you would need to load the Kashyyyk armor version of the Episode 3 Clone Sniper since it has the three models necessary.
As for using the clone troopers from Geonosis, those unit already exist, so you simply load those in place of the stock Episode 3 ones and reference their names accordingly in the SetUpTeams section.
-
ulohobo
- Recruit Womprat Killer
- Posts: 5
- Joined: Sat Apr 28, 2012 10:01 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Adding different types of troopers?
Ok thanks that solces the Geo troopers, but where would I be able to find SetClassProperty?AQT wrote:You can use the SetClassProperty function in your .lua files to change a unit's player model, both the normal model and the low resolution model, as well as its first person model, given if the necessary models are already loaded. In your case here, you would need to load the Kashyyyk armor version of the Episode 3 Clone Sniper since it has the three models necessary.
As for using the clone troopers from Geonosis, those unit already exist, so you simply load those in place of the stock Episode 3 ones and reference their names accordingly in the SetUpTeams section.
-
ARCTroopaNate
- Jedi

- Posts: 1161
- Joined: Mon Mar 21, 2011 8:12 pm
- Projects :: Star Wars Battlefront - Tides of War
- xbox live or psn: I have ps4
- Location: STALKER!
- Contact:
Re: Adding different types of troopers?
You would add it to your lua, you can change certain things, it saves lot's of file space, follow the tut, it's very simple and setclassproperty can be used for almost anything that has to do with editing units or vehicles.
-
ulohobo
- Recruit Womprat Killer
- Posts: 5
- Joined: Sat Apr 28, 2012 10:01 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Adding different types of troopers?
Oh wait, ignore that last reply lol, I figured it out.
