Page 1 of 1
Replacing Units and Weapons ?
Posted: Mon Apr 09, 2007 5:40 am
by darkthomas
hi all,
got a question. How can i, for example, replace the Clone Commander Unit with a normal Clone Trooper Unit

:
Also, How can i replace weapons ?
Tnx
Posted: Mon Apr 09, 2007 5:47 am
by Jawaraider
dont know about the first one, but to replace units weapons you must open for example the rep_inf_default_rifleman odf and change rep_weap_inf_rifle to for example rep_weap_inf_sniper_rifle.
Is this what you meant?
Posted: Mon Apr 09, 2007 6:35 am
by darkthomas
well i think so,
that for example, a sniper has a sniper rifle + normal rifle instead of sniper rifle + pistol
but i'll try to change the odf, tnx !
edit: It worked!
but look what name my units have now
how can i change that
Posted: Mon Apr 09, 2007 7:34 am
by Abiter_b
use the language tool (in editlocalize.bat)
Posted: Mon Apr 09, 2007 7:44 am
by darkthomas
alright thank you.
but it tried to replace a Unit (Commander with Trooper) and it doenst work
Posted: Mon Apr 09, 2007 8:08 am
by Jawaraider
You would have to copy the stuff that defines the model and/or skins
GeometryName etc.
from rep_inf_ep3_rifleman and replace the same stuff from ep2_rifleman, then in the lua write rep_inf_ep2_rifleman instead of the commander.
Im not wery good at describing but I think thats it. If you want them all to be ep3. at least
Posted: Mon Apr 09, 2007 8:17 am
by YankFan1950
ok go to the odf rep_inf_ep3officer and paste this in for it
[GameObjectClass]
ClassParent = "rep_inf_default_officer"
[Properties]
GeometryName = "rep_inf_ep3trooper"
GeometryLowRes = "rep_inf_ep3trooper_low1"
FirstPerson = "REP\reptroop;rep_1st_trooper"
ClothODF = "rep_inf_clonecommander_cape"
instead of what is already there munge and your clone commander should look like the trooper with the name localized
Posted: Mon Apr 09, 2007 8:44 am
by darkthomas
tnx alot !!
Posted: Mon Apr 09, 2007 9:18 am
by RC-1290
btw, this can all be found in the all you nee thread.
Posted: Mon Apr 09, 2007 10:25 am
by The_Emperor
Whats more, it can also be found in the docs that come with the modtools
