Giving units weapons from other units
Moderator: Moderators
- Silas
- Captain

- Posts: 481
- Joined: Thu Oct 11, 2007 5:30 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Giving units weapons from other units
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?
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Giving units weapons from other units
Just read through the stock .odfs. All you're doing is switching around whatever .odfs the unit calls for in its weaponsections.
- Silas
- Captain

- Posts: 481
- Joined: Thu Oct 11, 2007 5:30 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: Giving units weapons from other units
im kinda embarased...
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
EDIT: imm i gotta go, people post what u have to say ill be here to examine in an hour or two from now
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Giving units weapons from other units
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
http://www.gametoast.com/forums/viewtopic.php?t=8600
-
MandeRek
- Sith Master

- Posts: 2766
- Joined: Tue Oct 02, 2007 10:51 am
- Projects :: Battlefront Zer0
- xbox live or psn: No gamertag set
- Location: Ghosting around GT
- Contact:
Re: Giving units weapons from other units
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
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
- Silas
- Captain

- Posts: 481
- Joined: Thu Oct 11, 2007 5:30 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: Giving units weapons from other units
well yea thats what i thought too, but when i oppen the soldier odf, the only thing it gives me is this:
EDIT: I found out how to do it!!!
thx to thunder....u had to go to rep_inf_defualt_jettrooper , not rep_inf_ep3_jettroper
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!!!
