Weapon odf:
Code: Select all
[WeaponClass]
ClassParent = "com_weap_inf_dc17s"
GeometryName = "weap_inf_dc17pistol_r_small.msh"
[Properties]
GeometryName = "weap_inf_dc17pistol_r_small"
HighResGeometry = "weap_inf_dc17pistol_r_small"
OrdnanceName = "dc17s_ord"
//******************************************************
//*************** SOUND ****************
//******************************************************
MuzzleFlash = "small_muzzle_flash"
FlashColor = "80 80 255 255"
FlashLength = 0.025
FlashColor = "100 100 255 255"
FlashLength = 0.025
FlashLightColor = "220 220 255 175"
FlashLightRadius = "2.0"
FlashLightDuration = "0.25"
Discharge = "small_smoke_effect"
FireSound = "rep_weap_inf_commando_pistol_fire"
FireEmptySound = "com_weap_inf_ammo_empty"
FireLoopSound = ""
ReloadSound = ""
ChargeSound = ""
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"
Code: Select all
[GameObjectClass]
ClassLabel = "soldier"
ClassParent = "rep_inf_default_commander"
[Properties]
UnitType = "commander"
IconTexture = "rep_gunner_icon"
//PointsToUnlock = 25
GeometryName = "rep_inf_arctrooper"
FirstPerson = "REP\reparc;rep_1st_arctrooper"
GeometryLowRes = "rep_inf_arctrooper_low1"
ClothODF = "rep_inf_arctrooper_cape"
//OverrideTexture = "rep_inf_arc_blue"
OverrideTexture = "rep_inf_arc_red1"
OverrideTexture2 = "rep_inf_arc_pack_blue"
MaxShield = 12000
AddShield = 5
WaterDamageInterval = "0.0"
WaterDamageAmount = "0.0"
MaxHealth = 1200.0
ControlSpeed = "jet 1.50 1.25 1.25"
JetJump = "5.0" //7 //The initial jump-push given when enabling the jet
JetPush = "8.0" //The constant push given while the jet is enabled (20 is gravity)
JetAcceleration = "40.0" //Acceleration while hovering.
JetEffect = "rep_sfx_jetpack"
JetType = "hover"
JetFuelRechargeRate = "1.0" //Additional fuel per second (fuel is 0 to 1)
JetFuelCost = "0.001" //Cost per second when hovering (only used for jet-hovers)(fuel is 0 to 1)
JetFuelInitialCost = "0.001" //initial cost when jet jumping(fuel is 0 to 1)
JetFuelMinBorder = "0.002" //minimum fuel to perform a jet jump(fuel is 0 to 1)
//rep_weap_inf_dc15s_side_arm
AnimatedAddon = "left_gun"
GeometryAddon = "weap_inf_dc17pistol_l_small" // the left pistols meshname
AddonAttachJoint = "bone_L_hand"
WEAPONSECTION = 1
WeaponName = "rep_weap_inf_dc17b"
WeaponAmmo = 5
WEAPONSECTION = 2
WeaponName = "rep_weap_inf_dc17l"
WeaponAmmo = 4
WEAPONSECTION = 3
WeaponName = "rep_weap_inf_dc17r"
WeaponAmmo = 4
WEAPONSECTION = 4
WeaponName = "dc17s_pistol"
WeaponAmmo = 0
AimerNodeName = "hp_fire1"
AimerYawLimts = "-90 90"
AimerPitchLimts = "-90 90"
NextAimer = "-"
AimerNodeName = "hp_fire2"
AimerYawLimts = "-90 90"
AimerPitchLimts = "-90 90"
WEAPONSECTION = 5
WeaponName = "rep_weap_inf_uber_chaingun"
WeaponAmmo = 0
WEAPONSECTION = 6
WeaponName = "rep_weap_lightsaber_obiwan"
WeaponAmmo = 0


