Page 1 of 1
Swap Tie Pilot for Ep3 Felucia Trooper?
Posted: Tue Jan 03, 2017 1:07 pm
by BobaFett581
I cant seem to figure out how to load the ep3 felucia trooper instead of the standard tie pilot in my conquest map. Added pilot as a 7th unit but changed all his weapons and now looking to make him look like the felucia trooper that I reskinned.
thanks!
Re: Swap Tie Pilot for Ep3 Felucia Trooper?
Posted: Tue Jan 03, 2017 2:07 pm
by CT108
In the .lua file, add : AddUnitClass(IMP, "imp_inf_pilot",1,4) just before the heroes
In the tie pilot .odf, change the geometry name of the pilot. So if the model is "ep3_felucian", add to the geometry name "ep3_felucian" (and remove "imp_inf_pilot")
And finally, in "imp_inf_default_pilot.odf", change your weapons !
Re: Swap Tie Pilot for Ep3 Felucia Trooper?
Posted: Tue Jan 03, 2017 2:45 pm
by BobaFett581
CT108 wrote:In the .lua file, add : AddUnitClass(IMP, "imp_inf_pilot",1,4) just before the heroes
In the tie pilot .odf, change the geometry name of the pilot. So if the model is "ep3_felucian", add to the geometry name "ep3_felucian" (and remove "imp_inf_pilot")
And finally, in "imp_inf_default_pilot.odf", change your weapons !
I tried swapping
[GameObjectClass]
ClassParent = "imp_inf_default_pilot"
[Properties]
GeometryName = "imp_inf_pilot"
GeometryLowRes = "imp_inf_pilot_low1"
FirstPerson = "IMP\imppilot;imp_1st_pilot"
for
[GameObjectClass]
ClassParent = "imp_inf_default_pilot"
[Properties]
GeometryName = "rep_inf_feluciatrooper"
GeometryLowRes = "rep_inf_feluciatrooper_low1"
FirstPerson = "IMP\imppilot;imp_1st_pilot"
and the map crashes on load
Re: Swap Tie Pilot for Ep3 Felucia Trooper?
Posted: Tue Jan 03, 2017 2:48 pm
by AnthonyBF2
Call rep_inf_ep3_sniper_felucia from rep.lvl and then put rep_inf_ep3_sniper_felucia over the pilot slot in the SetupTeams() code section.
Re: Swap Tie Pilot for Ep3 Felucia Trooper?
Posted: Tue Jan 03, 2017 6:25 pm
by BobaFett581
AnthonyBF2 wrote:Call rep_inf_ep3_sniper_felucia from rep.lvl and then put rep_inf_ep3_sniper_felucia over the pilot slot in the SetupTeams() code section.
Not sure I follow, I tried that and it did not work :S
Re: Swap Tie Pilot for Ep3 Felucia Trooper?
Posted: Tue Jan 03, 2017 10:14 pm
by SkinnyODST
The ep3 Felucia trooper`s msh files are in your IMP folder right?
Re: Swap Tie Pilot for Ep3 Felucia Trooper?
Posted: Wed Jan 04, 2017 12:30 pm
by CT108
SkinnyODST wrote:The ep3 Felucia trooper`s msh files are in your IMP folder right?
Yes, are you sure that there is a file called "rep_inf_feluciatrooper_low1" in your msh folder ? I did the error before, and if there isn't any file called "rep_inf_feluciatrooper_low1" in your msh folder, the game will crash.
Re: Swap Tie Pilot for Ep3 Felucia Trooper?
Posted: Wed Jan 04, 2017 2:23 pm
by BobaFett581
CT108 wrote:SkinnyODST wrote:The ep3 Felucia trooper`s msh files are in your IMP folder right?
Yes, are you sure that there is a file called "rep_inf_feluciatrooper_low1" in your msh folder ? I did the error before, and if there isn't any file called "rep_inf_feluciatrooper_low1" in your msh folder, the game will crash.
got it! thank you guys

Re: Swap Tie Pilot for Ep3 Felucia Trooper?
Posted: Wed Jan 04, 2017 2:47 pm
by ARCTroopaNate
Welcome to Gametoast, glad it got solved! If you haven't already I'd suggest looking through the documentation as well as the moddinf forum FAQ, lots of good info there. Also, searching can prove useful, there's a fair chance that someone's had the same question before in the last decade here.