Page 1 of 1

New ODFs not found

Posted: Thu May 27, 2010 10:48 pm
by skelltor
ok so i copied the cis bulldog odfs wepon,ord,exp and gave it to the bothen but when i play the game i get a ctd here are the sev 3 errors
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\EntitySoldier.cpp(10680)
Soldier "all_inf_default_spy" weapon 1 "cis_weap_inf_bulldog" not found


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\EntitySoldier.cpp(11387)
EntitySoldierClass::Build 'all_inf_spy' with no primary weapon!

i tried to clean and munge but with no difference

when i open the all.lvl with hex editor i find cis_weap_inf_bulldog there
his odf
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "all_inf_default"


[Properties]
PointsToUnlock = 12

AnimationName = "bothanspy"

EnergyRestore = 12.0 // energy regained per second if moving

MaxHealth = 300.0
AddHealth = 12.0
MaxSpeed = 8.5
MaxStrafeSpeed = 8.5

WEAPONSECTION = 1
WeaponName = "cis_weap_inf_bulldog"
WeaponAmmo = 3

WEAPONSECTION = 2
WeaponName = "all_weap_inf_pistol_stun"
WeaponAmmo = 0


WEAPONSECTION = 3
WeaponName = "all_weap_inf_invisibility"
WeaponAmmo = 0
WeaponChannel = 1

WEAPONSECTION = 4
WeaponName = "all_weap_inf_detpack"
WeaponAmmo = 3
WeaponChannel = 1

WEAPONSECTION = 5
WeaponName = "cis_weap_inf_debuff_poison"
WeaponAmmo = 0
WeaponChannel = 1



VOUnitType = 3

VOSound = "all1_inf_pc_com_hostile SpottedVO"
VOSound = "all1_inf_pc_com_bacta NeedMedicVO"
VOSound = "all1_inf_pc_com_mechanic NeedRepairVO"
VOSound = "all1_inf_pc_com_ammo NeedAmmoVO"
VOSound = "all1_inf_pc_com_transport NeedPickupVO"
VOSound = "all1_inf_pc_com_backup NeedBackupVO"
VOSound = "all1_inf_pc_com_clear_area AttackPositionVO"
VOSound = "all1_inf_pc_com_defend DefendPositionVO"

VOSound = "all1_inf_pc_com_hostile_inVehicle SpottedVO +InVehicle"
VOSound = "all1_inf_pc_com_bacta_inVehicle NeedMedicVO +InVehicle"
VOSound = "all1_inf_pc_com_mechanic_inVehicle NeedRepairVO +InVehicle"
VOSound = "all1_inf_pc_com_ammo_inVehicle NeedAmmoVO +InVehicle"
VOSound = "all1_inf_pc_com_transport_inVehicle NeedPickupVO +InVehicle"
VOSound = "all1_inf_pc_com_backup_inVehicle NeedBackupVO +InVehicle"
VOSound = "all1_inf_pc_com_clear_area_inVehicle AttackPositionVO +InVehicle"
VOSound = "all1_inf_pc_com_defend_inVehicle DefendPositionVO +InVehicle"
here is the bulldog odf
Hidden/Spoiler:
ClassLabel = "launcher"
GeometryName = "all_weap_inf_seeker.msh"

[Properties]
AnimationBank = "rifle"

GeometryName = "all_weap_inf_seeker"
HighResGeometry = "all_1st_weap_inf_seeker"
OrdnanceName = "cis_weap_inf_bulldog_ord"
FirePointName = "hp_fire"
ClassLabel = "launcher"

//***********************************************
//************* TARGET & RANGE VALUES **********
//***********************************************

TargetEnemy = "1"
TargetNeutral = "0"
TargetFriendly = "0"

TargetPerson = "1"
TargetAnimal = "1"
TargetDroid = "1"
TargetVehicle = "1"
TargetBuilding = "1"

AITargetPerson = "1"
AITargetAnimal = "1"
AITargetDroid = "1"
AITargetVehicle = "1"
AITargetBuilding = "1"

MinRange = "10"
OptimalRange = "100"
MaxRange = "400"

LockOnRange = "300.0"
LockOnAngle = "10.0"
LockOffAngle = "10.0"
LockTime = "0.1"

ZoomMin = "5.0"
ZoomMax = "10.0"
ZoomRate = "0.0"
YawSpread = "0.2"
PitchSpread = "0.2"

SpreadPerShot = "1.5"
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"

HeatPerShot = "0.175"
HeatRecoverRate = "0.3"
HeatThreshold = "0.25"

//***********************************************
//*********** WEAPON PERFORMANCE VALUES *********
//***********************************************

RoundsPerClip = "20"
ReloadTime = "3.0"
ShotDelay = "0.25"
TriggerSingle = "1"
MaxPressedTime = "0.0"

DisplayRefire = "0"


SalvoCount = "1"
SalvoDelay = "0.0"
InitialSalvoDelay = "0.0"
SalvoTime = "0.0"

FirePointName = "hp_fire"

//***********************************************
//*********** HUD & CONTROLLER VALUES *********
//***********************************************

MuzzleFlash = "small_muzzle_flash"
FlashColor = "255 80 80 255"
FlashLength = 0.025
FlashLightColor = "255 192 192 175"
FlashLightRadius = "2.0"
FlashLightDuration = "0.25"
Discharge = "small_smoke_effect"




//******************************************************
//*************** SOUND ****************
//******************************************************

FireSound = "cis_weap_inf_bulldog_fire"
FireEmptySound = "com_weap_inf_ammo_empty"
FireLoopSound = ""
ReloadSound = "com_weap_inf_reload_lg"
ChargeSound = "cis_weap_inf_rocket_launcher_tracking"
ChargeSoundPitch = "0.5"
ChangeModeSound = "com_weap_inf_equip_lg"
WeaponChangeSound = "com_weap_inf_equip_lg"
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_lie"
SquatSound = "com_weap_inf_rifle_mvt_squat"
//StandSound = "com_weap_inf_rifle_mvt_getup"

Re: new odfs not found

Posted: Thu May 27, 2010 10:52 pm
by Deviss
make sure cis_weap_inf_bulldog.odf he in your custom side folder in Odf subfolder :mrgreen:

Re: new odfs not found

Posted: Fri May 28, 2010 12:39 am
by genaral_mitch
Do you have you Weaponsection lines in your unit's odfs in order? You might look like this, which is wrong:
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "rep_inf_default"


[Properties]

UnitType = "support"


MaxHealth = 650.0



WEAPONSECTION = 1
WeaponName = "rep_weap_inf_rifle"
WeaponAmmo = 1

WEAPONSECTION = 2
WeaponName = "rep_weap_inf_sniper_rifle"
WeaponAmmo = 1

WEAPONSECTION = 2
WeaponName = "rep_weap_inf_rocket_launcher"
WeaponAmmo = 1

WEAPONSECTION = 3
WeaponName = "rep_weap_inf_pistol"
WeaponAmmo = 0

WEAPONSECTION = 4
WeaponName = "rep_weap_inf_thermaldetonator"
WeaponAmmo = 4
WeaponChannel = 1

Re: new odfs not found

Posted: Fri May 28, 2010 1:30 am
by AQT
^The original post contains the unit ODF with the given troubled weapon; the WEAPONSECTION lines appear to be in order. Your question and example was unnecessary.

Re: new odfs not found

Posted: Fri May 28, 2010 9:08 am
by skelltor
i also made some other new wepons but the game cant find them either is there a limet for how many wepons\odfs you can have? its wierd because when i munge i can see it munge the cis_weap_inf_bulldog.odf and when i open all.lvl with hex editor i can find it there but the game cant find it.