changing Weapons
Moderator: Moderators
-
Dark_knight
changing Weapons
Hello how to i change weapon reloading speed and other stuff
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
RE: changing Weapons
Edit the weapon's odf files.
-
Dark_knight
RE: changing Weapons
I also mean Spread amount, damage and so on
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
RE: changing Weapons
Edit the weapon's odf files. Look at the ones from the game to see how they work. bf2_modtools\assets\sides\all\odf
-
Dark_knight
RE: changing Weapons
the thing is that for example the pistol says nothing about owerheating, cooling down speed, only wich model it should use
[WeaponClass]
ClassParent = "com_weap_inf_pistol"
GeometryName = "all_weap_inf_pistol.msh"
[Properties]
GeometryName = "all_weap_inf_pistol"
HighResGeometry = "all_1st_weap_inf_pistol"
OrdnanceName = "all_weap_inf_pistol_ord"
//******************************************************
//*************** SOUND ****************
//******************************************************
FireSound = "all_weap_inf_pistol_fire"
FireEmptySound = "com_weap_inf_ammo_empty"
OverheatSound = "com_weap_energy_depleted"
OverheatSoundPitch = "0.5"
OverheatStopSound = "com_weap_energy_refilled"
ChangeModeSound = "com_weap_inf_equip_sm"
WeaponChangeSound = "com_weap_inf_equip_sm"
JumpSound = "com_weap_inf_pistol_mvt_jump"
LandSound = "com_weap_inf_pistol_mvt_land"
RollSound = "com_weap_inf_pistol_mvt_roll"
//ProneSound = "com_weap_inf_pistol_mvt_lie"
SquatSound = "com_weap_inf_pistol_mvt_squat"
//StandSound = "com_weap_inf_pistol_mvt_getup"
[WeaponClass]
ClassParent = "com_weap_inf_pistol"
GeometryName = "all_weap_inf_pistol.msh"
[Properties]
GeometryName = "all_weap_inf_pistol"
HighResGeometry = "all_1st_weap_inf_pistol"
OrdnanceName = "all_weap_inf_pistol_ord"
//******************************************************
//*************** SOUND ****************
//******************************************************
FireSound = "all_weap_inf_pistol_fire"
FireEmptySound = "com_weap_inf_ammo_empty"
OverheatSound = "com_weap_energy_depleted"
OverheatSoundPitch = "0.5"
OverheatStopSound = "com_weap_energy_refilled"
ChangeModeSound = "com_weap_inf_equip_sm"
WeaponChangeSound = "com_weap_inf_equip_sm"
JumpSound = "com_weap_inf_pistol_mvt_jump"
LandSound = "com_weap_inf_pistol_mvt_land"
RollSound = "com_weap_inf_pistol_mvt_roll"
//ProneSound = "com_weap_inf_pistol_mvt_lie"
SquatSound = "com_weap_inf_pistol_mvt_squat"
//StandSound = "com_weap_inf_pistol_mvt_getup"
-
xwingguy
RE: changing Weapons
When you can't find the answer, go to the source. (HINT: ClassParent)
