Missing weapon (but its not!)
Posted: Thu Feb 05, 2009 8:05 pm
by ryukaji
Errors:
Unit Odf:
Weapon Odf:
Why does it not find it? I have spent over an hour on this frustrating issue
Hidden/Spoiler:
[code]Message Severity: 3
.\Source\EntitySoldier.cpp(10680)
Soldier "bst_inf_ryu" weapon 1 "ryu_rifle" not found[/code]
[code]Message Severity: 3
.\Source\DisplaySoldier.cpp(346)
DisplaySoldier 'bst_inf_ryu' has no weapon 0[/code]
[code]Message Severity: 3
.\Source\DisplaySoldier.cpp(135)
DisplaySoldier::Setup 'bst_inf_ryu' with no primary weapon![/code][/size]
.\Source\EntitySoldier.cpp(10680)
Soldier "bst_inf_ryu" weapon 1 "ryu_rifle" not found[/code]
[code]Message Severity: 3
.\Source\DisplaySoldier.cpp(346)
DisplaySoldier 'bst_inf_ryu' has no weapon 0[/code]
[code]Message Severity: 3
.\Source\DisplaySoldier.cpp(135)
DisplaySoldier::Setup 'bst_inf_ryu' with no primary weapon![/code][/size]
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "rep_inf_default"
[Properties]
Label = "Republic Trooper"
UnitType = "trooper"
IconTexture = "rep_trooper_icon"
GeometryName = "rep_inf_ep3trooper"
GeometryLowRes = "rep_inf_ep3trooper_low1"
FirstPerson = "REP\reptroop;rep_1st_trooper"
WEAPONSECTION = 1
WeaponName = "ryu_rifle"
WeaponAmmo = 4
WEAPONSECTION = 2
WeaponName = "ryu_pistol"
WeaponAmmo = 0
VOUnitType = 121
ClassParent = "rep_inf_default"
[Properties]
Label = "Republic Trooper"
UnitType = "trooper"
IconTexture = "rep_trooper_icon"
GeometryName = "rep_inf_ep3trooper"
GeometryLowRes = "rep_inf_ep3trooper_low1"
FirstPerson = "REP\reptroop;rep_1st_trooper"
WEAPONSECTION = 1
WeaponName = "ryu_rifle"
WeaponAmmo = 4
WEAPONSECTION = 2
WeaponName = "ryu_pistol"
WeaponAmmo = 0
VOUnitType = 121
Hidden/Spoiler:
[WeaponClass]
ClassLabel = "cannon"
GeometryName = "m16_hires.msh"
[Properties]
AnimationBank = "rifle"
GeometryName = "m16_hires"
HighResGeometry = "m16_hires"
OrdnanceName = "m16_ord"
//***********************************************
//************* TARGET & RANGE VALUES **********
//***********************************************
TargetEnemy = "1"
TargetNeutral = "0"
TargetFriendly = "0"
TargetPerson = "1"
TargetAnimal = "1"
TargetDroid = "1"
TargetVehicle = "0"
TargetBuilding = "0"
BarrageMin = "3"
BarrageMax = "6"
BarrageDelay = "0.13"
MinRange = "0"
OptimalRange = "100"
MaxRange = "550"
ZoomMin = "2.5"
ZoomMax = "2.5"
ZoomRate = "0.0"
YawSpread = "0.225"
PitchSpread = "0.225"
KickSpread = "0.6"
SpreadRecover = "2.0"
KickStrength = "0.4"
KickBuildup = "999.0"
SpreadPerShot = "0.2"
SpreadRecoverRate = "1.0"
SpreadThreshold = "1.2"
SpreadLimit = "1.2"
StandStillSpread = "0.5"
StandMoveSpread = "2.0"
CrouchStillSpread = "0.3"
CrouchMoveSpread = "0.75"
ProneStillSpread = "0.0"
ProneMoveSpread = "0.0"
//***********************************************
//*********** WEAPON PERFORMANCE VALUES *********
//***********************************************
RoundsPerClip = "30"
ReloadTime = "1.5"
ShotDelay = "0.075"
TriggerSingle = "1"
DisplayRefire = "0"
SalvoCount = "3"
SalvoDelay = "0.08"
InitialSalvoDelay = "0.0"
SalvoTime = "0.0"
//***********************************************
//*********** HUD & CONTROLLER VALUES *********
//***********************************************
MuzzleFlash = "small_muzzle_flash"
FlashColor = "255 223 0 180"
FlashLength = 0.025
FlashColor = "255 223 0 180"
FlashLength = 0.025
FlashLightColor = "255 220 220 175"
FlashLightRadius = "2.0"
FlashLightDuration = "0.25"
Discharge = "small_smoke_effect"
RecoilLengthLight = "0.1"
RecoilLengthHeavy = "0.3"
RecoilStrengthLight = "0.1"
RecoilStrengthHeavy = "0.3"
RecoilDecayLight = "0.0"
RecoilDecayHeavy = "0.0"
//******************************************************
//*************** SOUND ****************
//******************************************************
FireSound = "M16_fire"
ReloadSound = "M16_reload"
ChangeModeSound = "com_weap_inf_equip_med"
FireEmptySound = "com_weap_inf_ammo_empty"
WeaponChangeSound = "com_weap_inf_equip_med"
JumpSound = "com_weap_inf_rifle_mvt_jump"
LandSound = "com_weap_inf_rifle_mvt_land"
RollSound = "com_weap_inf_rifle_mvt_roll"
ProneSound = "com_weap_inf_rifle_mvt_squat"
SquatSound = "com_weap_inf_rifle_mvt_squat"
//StandSound = "com_weap_inf_rifle_mvt_getup"
ClassLabel = "cannon"
GeometryName = "m16_hires.msh"
[Properties]
AnimationBank = "rifle"
GeometryName = "m16_hires"
HighResGeometry = "m16_hires"
OrdnanceName = "m16_ord"
//***********************************************
//************* TARGET & RANGE VALUES **********
//***********************************************
TargetEnemy = "1"
TargetNeutral = "0"
TargetFriendly = "0"
TargetPerson = "1"
TargetAnimal = "1"
TargetDroid = "1"
TargetVehicle = "0"
TargetBuilding = "0"
BarrageMin = "3"
BarrageMax = "6"
BarrageDelay = "0.13"
MinRange = "0"
OptimalRange = "100"
MaxRange = "550"
ZoomMin = "2.5"
ZoomMax = "2.5"
ZoomRate = "0.0"
YawSpread = "0.225"
PitchSpread = "0.225"
KickSpread = "0.6"
SpreadRecover = "2.0"
KickStrength = "0.4"
KickBuildup = "999.0"
SpreadPerShot = "0.2"
SpreadRecoverRate = "1.0"
SpreadThreshold = "1.2"
SpreadLimit = "1.2"
StandStillSpread = "0.5"
StandMoveSpread = "2.0"
CrouchStillSpread = "0.3"
CrouchMoveSpread = "0.75"
ProneStillSpread = "0.0"
ProneMoveSpread = "0.0"
//***********************************************
//*********** WEAPON PERFORMANCE VALUES *********
//***********************************************
RoundsPerClip = "30"
ReloadTime = "1.5"
ShotDelay = "0.075"
TriggerSingle = "1"
DisplayRefire = "0"
SalvoCount = "3"
SalvoDelay = "0.08"
InitialSalvoDelay = "0.0"
SalvoTime = "0.0"
//***********************************************
//*********** HUD & CONTROLLER VALUES *********
//***********************************************
MuzzleFlash = "small_muzzle_flash"
FlashColor = "255 223 0 180"
FlashLength = 0.025
FlashColor = "255 223 0 180"
FlashLength = 0.025
FlashLightColor = "255 220 220 175"
FlashLightRadius = "2.0"
FlashLightDuration = "0.25"
Discharge = "small_smoke_effect"
RecoilLengthLight = "0.1"
RecoilLengthHeavy = "0.3"
RecoilStrengthLight = "0.1"
RecoilStrengthHeavy = "0.3"
RecoilDecayLight = "0.0"
RecoilDecayHeavy = "0.0"
//******************************************************
//*************** SOUND ****************
//******************************************************
FireSound = "M16_fire"
ReloadSound = "M16_reload"
ChangeModeSound = "com_weap_inf_equip_med"
FireEmptySound = "com_weap_inf_ammo_empty"
WeaponChangeSound = "com_weap_inf_equip_med"
JumpSound = "com_weap_inf_rifle_mvt_jump"
LandSound = "com_weap_inf_rifle_mvt_land"
RollSound = "com_weap_inf_rifle_mvt_roll"
ProneSound = "com_weap_inf_rifle_mvt_squat"
SquatSound = "com_weap_inf_rifle_mvt_squat"
//StandSound = "com_weap_inf_rifle_mvt_getup"