Page 1 of 1

Republic weapons to Imperial units?

Posted: Tue Jan 03, 2017 11:08 am
by BobaFett581
Hey guys, kinda new at this and having some trouble. Im trying to give the Imperial Heavy Trooper the Republic rocket Launder cause I like the look and sound of it better. I tried using this line:

WEAPONSECTION = 2
WeaponName = "rep_weap_inf_rocket_launcher"
WeaponAmmo = 6

in the imp_default_rocketeer odf but the weapon does not appear in game. It just gives me my primary (rifle)

Thanks!

Re: Republic weapons to Imperial units?

Posted: Tue Jan 03, 2017 2:23 pm
by ARCTroopaNate
Did you put all the neccesary msh and odf files for the republic rocket launcher in your side folder??

Re: Republic weapons to Imperial units?

Posted: Tue Jan 03, 2017 2:46 pm
by AnthonyBF2
At the top of your script file after ScriptPostLoad() add this line:

SetClassProperty("imp_inf_rocketeer", "WeaponName1", "rep_weap_inf_rocket_launcher")

Then in the ReadDataFile sections make sure to call rep_inf_ep3_rocketeer from rep.lvl so the weapon gets loaded into memory.

Also note that the weapon sound may not exist because not all sounds are programmed to load into the game at once (clone wars sounds in clone wars era and vice versa)