Page 1 of 1
Adding different types of troopers?
Posted: Tue May 01, 2012 6:49 pm
by ulohobo
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.
Re: Adding different types of troopers?
Posted: Tue May 01, 2012 7:29 pm
by AQT
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.
Re: Adding different types of troopers?
Posted: Tue May 01, 2012 10:41 pm
by ulohobo
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.
Ok thanks that solces the Geo troopers, but where would I be able to find SetClassProperty?
Re: Adding different types of troopers?
Posted: Tue May 01, 2012 10:49 pm
by ARCTroopaNate
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.
Re: Adding different types of troopers?
Posted: Tue May 01, 2012 11:01 pm
by ulohobo
Oh wait, ignore that last reply lol, I figured it out.