NOTE: I did look for an answer to this, but I couldn't really find one. But it is probably somewhere.
Okay. What I'm trying to do here is replace the clone commander's chaingun with a different weapon. How might I do that? I looked in the unit's ODF and the weapons ODF and there is nothing to say what weapon to use/ what unit to be used by. Thanks in advance.
Giving a default unit a new weapon
Moderator: Moderators
- YTGTangerine
- Command Sergeant Major

- Posts: 270
- Joined: Sat Aug 16, 2008 7:53 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Aw man I can't think of anything creative...
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Giving a default unit a new weapon
let me help you to use the searchfunction: search for "change weapons"
(just one exmaple of the countles topics about this issue you will find)
(just one exmaple of the countles topics about this issue you will find)
- sampip
- General

- Posts: 792
- Joined: Mon Mar 16, 2009 12:08 pm
- Projects :: Something big. And exciting.
- xbox live or psn: masowner66
- Location: Zebra
Re: Giving a default unit a new weapon
If you wanted to change the Clone Commanders weapon, look in the rep sides folder (which you should have copied across from assets, it should now be in *SWBFModTooldirectory*\Data_***\Sides\rep), and go to the rep_inf_default_officer.odf. Open it up and find the part which says:
You can change "rep_weap_inf_chaingun" to "rep_weap_inf_rifle", or something like that. Now munge rep, and it should show up the clone commander with the rifle ingame. You can edit any unit like this, it's just in the default units odf. You can also edit the amount of ammo the rifle has. The number you put in the "WeaponAmmo" section, is the number of clips the weapon has. You can edit "RoundsPerClip"(the number of shots the weapon has per clip) in the weapons odf. Hope this helps.
Note: You may notice that the zero in WeaponAmmo means Infinity.
Code: Select all
WEAPONSECTION = 1
WeaponName = "rep_weap_inf_chaingun"
WeaponAmmo = 0Note: You may notice that the zero in WeaponAmmo means Infinity.
- YTGTangerine
- Command Sergeant Major

- Posts: 270
- Joined: Sat Aug 16, 2008 7:53 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Aw man I can't think of anything creative...
Re: Giving a default unit a new weapon
Thanks and sorry for forgetting about search.
- Xterminator
- Private Second Class
- Posts: 69
- Joined: Thu Feb 19, 2009 5:07 pm
Re: Giving a default unit a new weapon
I tryed doing this and nothing happened . I munged the rep side and the commander still had a chaingun...sampip wrote:If you wanted to change the Clone Commanders weapon, look in the rep sides folder (which you should have copied across from assets, it should now be in *SWBFModTooldirectory*\Data_***\Sides\rep), and go to the rep_inf_default_officer.odf. Open it up and find the part which says:You can change "rep_weap_inf_chaingun" to "rep_weap_inf_rifle", or something like that. Now munge rep, and it should show up the clone commander with the rifle ingame. You can edit any unit like this, it's just in the default units odf. You can also edit the amount of ammo the rifle has. The number you put in the "WeaponAmmo" section, is the number of clips the weapon has. You can edit "RoundsPerClip"(the number of shots the weapon has per clip) in the weapons odf. Hope this helps.Code: Select all
WEAPONSECTION = 1 WeaponName = "rep_weap_inf_chaingun" WeaponAmmo = 0
Note: You may notice that the zero in WeaponAmmo means Infinity.
I did have common checked if that was the problem?
- destos
- Chief Warrant Officer

- Posts: 349
- Joined: Sat Sep 22, 2007 10:37 pm
Re: Giving a default unit a new weapon
@xterminator
when u update a side you have to select it to be munged. if you look at the top right corner you will see something that says SIDES: (i think it was in all caps on the munge screen) then theres a option of sides you would like to munge, click on the folder of sides you made (it will only show you the name of the folder) and munge that, then it shouyld show up
if it didnt show up or you already selected the side correctly then idk why its not working.
when u update a side you have to select it to be munged. if you look at the top right corner you will see something that says SIDES: (i think it was in all caps on the munge screen) then theres a option of sides you would like to munge, click on the folder of sides you made (it will only show you the name of the folder) and munge that, then it shouyld show up
if it didnt show up or you already selected the side correctly then idk why its not working.
- Xterminator
- Private Second Class
- Posts: 69
- Joined: Thu Feb 19, 2009 5:07 pm
Re: Giving a default unit a new weapon
yes i clicked rep in the munge sides sectionI munged the rep side and the commander still had a chaingun...
