These are my ODFs.
Weapon itself:
Code: Select all
[WeaponClass]
ClassLabel = "cannon"
[Properties]
AnimationBank = "bdroid"
GeometryName = "cis_weap_inf_rifle"
HighResGeometry = "cis_1st_weap_inf_rifle"
//***********************************************
//************* TARGET & RANGE VALUES **********
//***********************************************
TargetEnemy = "1"
TargetNeutral = "0"
TargetFriendly = "0"
TargetPerson = "1"
TargetAnimal = "1"
TargetDroid = "1"
TargetVehicle = "0"
TargetBuilding = "0"
MinRange = "0"
OptimalRange = "16"
MaxRange = "48"
LockOnRange = "64.0"
LockTime = "0.4"
LockOnAngle = "1.0"
ZoomMin = "2.5"
ZoomMax = "2.5"
ZoomRate = "0.0"
YawSpread = "0.25"
PitchSpread = "0.25"
SpreadPerShot = "1.1"
SpreadRecoverRate = "4.8"
SpreadThreshold = "1.6"
SpreadLimit = "6.0"
StandStillSpread = "0.0"
StandMoveSpread = "0.0"
CrouchStillSpread = "0.0"
CrouchMoveSpread = "0.0"
ProneStillSpread = "0.0"
ProneMoveSpread = "0.0"
//***********************************************
//*********** WEAPON PERFORMANCE VALUES *********
//***********************************************
RoundsPerClip = "20"
ReloadTime = "1.5"
ShotDelay = "0.2"
TriggerSingle = "0"
SalvoCount = "20"
ShotsPerSalvo = "1"
SalvoDelay = "0.1"
InitialSalvoDelay = "0.1"
SalvoTime = "0.0"
OrdnanceName = "cis_weap_inf_flamethrower_ord"
FirePointName = "hp_fire"
//***********************************************
//*********** HUD & CONTROLLER VALUES *********
//***********************************************
IconTexture = "imp_blasterrifle_icon"
ModeTexture = "HUD_weap_fullauto"
ReticuleTexture = "reticule_rifle"
MuzzleFlash = "small_muzzle_flash"
FlashColor = "255 80 80 255"
FlashLength = 0.025
FlashLightColor = "255 220 220 175"
FlashLightRadius = "2.0"
FlashLightDuration = "0.25"
Discharge = "small_smoke_effect"
RecoilLengthLight = "0.1"
RecoilLengthHeavy = "0.25"
RecoilStrengthLight = "1.0"
RecoilStrengthHeavy = "2"
RecoilDecayLight = "0.0"
RecoilDecayHeavy = "0.0"
//******************************************************
//*************** SOUND ****************
//******************************************************
FireSound = "cis_weap_inf_rocket_fire"
ReloadSound = "cis_weap_inf_reload_med"
ChangeModeSound = "cis_weap_inf_equip_med"
FireEmptySound = "com_weap_inf_ammo_empty"
WeaponChangeSound = "cis_weap_inf_equip_med"
ClankLeftWalkSound = ""
ClankRightWalkSound = ""
ClankLeftRunSound = ""
ClankRightRunSound = ""
JumpSound = "cis_weap_inf_blaster_mvt_jump"
LandSound = "cis_weap_inf_blaster_mvt_land"
RollSound = "cis_weap_inf_blaster_mvt_roll"
ProneSound = "cis_weap_inf_blaster_mvt_squat"
SquatSound = "cis_weap_inf_blaster_mvt_lie"
StandSound = "cis_weap_inf_blaster_mvt_getup"Code: Select all
[OrdnanceClass]
ClassLabel = "sticky"
[Properties]
ImpactEffectWater = "watersplash_ord"
TrailEffect = "com_sfx_weap_flame_exp_sm"
Explosion = "cis_weap_inf_flamethrower_exp"
ExplosionExpire = "cis_weap_inf_flamethrower_exp"
ConeLength = "20"
ConeAngle = "50"
MaxTargets = "10"
Damage = "5" // This is the min damage. Even if the initial damage is split between the number of targets, it will never go below this number //for each target
MaxDamage = "15" // This is the max damage
JumpDeduction = "0" // No jump deduction. This is for chaining only
DamageThreshold = "0" // Always do damage (no threshold)
MaxJumpDistance = "0" // No max jump distance because the chaining is off
LifeSpan = "0.0"
VehicleScale = "0.1"
ShieldScale = "1.0"
PersonScale = "1.0"
DroidScale = "1.0"
BuildingScale = "0.1"
StickPerson = 1
StickAnimal = 1
StickDroid = 1
StickTerrain = 1Code: Select all
[ExplosionClass]
ClassLabel = "explosion"
[Properties]
WaterEffect = "watersplash_lg"
Effect = "com_sfx_weap_flame_exp_sm"
Damage = "20.0"
DamageRadius = "0.5"
LifeSpan = "4.0"
Push = "0.0"
PushRadius = "0.0"
VehicleScale = "0.25"
PersonScale = "1.0"
DroidScale = "1.0"
BuildingScale = "0.25"
AnimalScale = "1.0"
SoundProperty = "com_amb_fire"

