View Single Post
Old 08-08-2006, 08:05 PM   #6
AceMastermind
Rookie
 
AceMastermind's Avatar
 
Join Date: Jul 2006
Posts: 60
This is one of the tutorials that i used, it is for the republic, but you'll get the idea of how it's done.
This is of course assuming that you already have your new side made.

Let's say you wanted to change the weapon of a clone trooper. For example, you want to give the Jet Trooper a Rifle and the EMP Launcher. So you go to
BF2_ModTools\data_ABC\Sides\rep\odf
and open a file called:
rep_inf_default_jettrooper
The bottom half of the odf should be something like this:

[Properties]
WEAPONSECTION = 1
WeaponName = "rep_weap_inf_emp_launcher"
WeaponAmmo = 4

WEAPONSECTION = 2
WeaponName = "rep_weap_inf_pistol"
WeaponAmmo = 0

WEAPONSECTION = 3
WeaponName = "rep_weap_inf_thermaldetonator"
WeaponAmmo = 4
WeaponChannel = 1

WEAPONSECTION = 4
WeaponName = "rep_weap_award_pistol"
WeaponAmmo = 6


You should change it so it looks like this:

[Properties]
WEAPONSECTION = 1
WeaponName = "rep_weap_inf_rifle"
WeaponAmmo = 4

WEAPONSECTION = 2
WeaponName = "rep_weap_inf_emp_launcher
WeaponAmmo = 0

WEAPONSECTION = 3
WeaponName = "rep_weap_inf_thermaldetonator"
WeaponAmmo = 4
WeaponChannel = 1

Then you add this after so you can enable the AWARD rifle:

WEAPONSECTION = 4
WeaponName = "rep_weap_award_rifle"
WeaponAmmo = 4

Save, munge, and play!
AceMastermind is offline   you may: quote & reply,