changing Weapons

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Dark_knight

changing Weapons

Post by Dark_knight »

Hello how to i change weapon reloading speed and other stuff
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

RE: changing Weapons

Post by [RDH]Zerted »

Edit the weapon's odf files.
Dark_knight

RE: changing Weapons

Post by Dark_knight »

I also mean Spread amount, damage and so on
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

RE: changing Weapons

Post by [RDH]Zerted »

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

Post by Dark_knight »

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"
xwingguy

RE: changing Weapons

Post by xwingguy »

When you can't find the answer, go to the source. (HINT: ClassParent)
Dark_knight

Post by Dark_knight »

Thx a lot. I see i can change almost everything from there :P
Big_rich

Post by Big_rich »

also look at the ord for dam and things like that. I think color is in there also.
Post Reply