Page 1 of 1

Giving units weapons from other units

Posted: Sun Dec 16, 2007 4:27 pm
by Silas
can anyone explain to me, or give me a tutorial on how to give units weapons from other units instead of having for example on the jet trooper, a emp luancher, commando pistol, and grenades. and i want to change the weapons from commando pistol to the dc-15. like i said above, can anyone explain how to do this?

Re: Giving units weapons from other units

Posted: Sun Dec 16, 2007 4:46 pm
by Maveritchell
Just read through the stock .odfs. All you're doing is switching around whatever .odfs the unit calls for in its weaponsections.

Re: Giving units weapons from other units

Posted: Sun Dec 16, 2007 4:47 pm
by Silas
im kinda embarased... :oops: what or were i want to know what to do....that doesnt really explain


EDIT: imm i gotta go, people post what u have to say ill be here to examine in an hour or two from now

Re: Giving units weapons from other units

Posted: Sun Dec 16, 2007 4:51 pm
by Maveritchell
Go to the assets folder. Look through the .odfs for the units in the stock sides. They've got lines that say "weaponsection=." You'll notice they refer to weapon .odfs. All you do is change one weapon .odf to another that you want. More detail on creating new units/changing weapons can be found in the Jedi Creation doc and in this post:
http://www.gametoast.com/forums/viewtopic.php?t=8600

Re: Giving units weapons from other units

Posted: Sun Dec 16, 2007 4:52 pm
by MandeRek
Open up the soldiers odf... It has a weapons section. Replace one name with another one, which is in that side. Make sure grenades/mines etc go with a WeaponChannel = 1


If you want to add totally new weapons, or weapons from another side, paste them in that side where the soldier is, and also paste the related msh, effects etc.


Edit: Oops I'm sorry Mav' was first

Re: Giving units weapons from other units

Posted: Sun Dec 16, 2007 6:54 pm
by Silas
well yea thats what i thought too, but when i oppen the soldier odf, the only thing it gives me is this:

Code: Select all

[GameObjectClass]
ClassParent         = "rep_inf_default_jettrooper"


[Properties]
GeometryName        = "rep_inf_ep3jettrooper"
GeometryLowRes      = "rep_inf_ep3jettrooper_low1"
FirstPerson         = "REP\reptroop;rep_1st_trooper"

EDIT: I found out how to do it!!! :music: thx to thunder....u had to go to rep_inf_defualt_jettrooper , not rep_inf_ep3_jettroper