Switch Class Crash

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
User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Switch Class Crash

Post by Lorul1 »

Hi
Whenever I switch classes in my map the game exits back to my desktop. :runaway:
Do I need to raise some values or something ?
jedimoose32
Field Commander
Field Commander
Posts: 938
Joined: Thu Jan 24, 2008 12:41 am
Projects :: Engineering Degree
Location: The Flatlands of Canada

Re: Switch Class Crash

Post by jedimoose32 »

More than likely something you changed about one of the units is causing it to crash. Lots more detail is needed though. Post your BFrontII log.
User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Re: Switch Class Crash

Post by Lorul1 »

turns out, this crash only happens when i switch to my Jedi class.

here are the severity 3 errors from my "log" thing (my whole log file exceeds gametoast's 60000 letter limit) :
Hidden/Spoiler:
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\SoldierAnimatorClass.cpp(1881)
Can't find soldier animation human_sabre_stand_alternate_attack(_upper)

Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\VehicleSpawn.cpp(135)
Vehicle spawn missing command post "CP3CON"


Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\Aimer.cpp(684)
Aimer "rep_ride_juggernaut BODY WEAPON1" mount node "aimer_left" not found
here's her odf file
Note: I don't have obiwans skirt on her. Its in the odf but I never got around to (attempting to) hex edit it onto her (could this be causing the problem)
Hidden/Spoiler:
// Maul
[GameObjectClass]
ClassParent = "com_jedi_default"
GeometryName = "rep_inf_jedi_female.msh"

[Properties]
AISizeType = "HOVER"


AnimationName = "marek"
ClothODF = "rep_inf_ep3obiwan"
GeometryName = "rep_inf_jedi_female"
GeometryLowRes = "jed_inf_jedi_low1"


HealthType = "person"
MaxHealth = 700.0
AddHealth = 60.0

MaxSpeed = 8.0
MaxStrafeSpeed = 6.0
MaxTurnSpeed = 5.0
JumpHeight = 3.5
RecoverFromTumble = "1"

NoEnterVehicles = 1

//Jet Jump
JetJump = "10.0" //The initial jump-push given when enabling the jet
JetPush = "0.0" //The constant push given while the jet is enabled (20 is gravity)
JetAcceleration = "10.0" // for characters with jet jump, use this acceleration for in air control
JetEffect = ""
JetFuelRechargeRate = "0.0" //Additional fuel per second (fuel is 0 to 1)
JetFuelCost = "0.0" //Cost per second when hovering (only used for jet-hovers)(fuel is 0 to 1)
JetFuelInitialCost = "0.0" //4initial cost when jet jumping(fuel is 0 to 1)
JetFuelMinBorder = "0.0" //minimum fuel to perform a jet jump(fuel is 0 to 1)
JetShowHud = 0
JetEnergyDrain = 40.0

CollisionScale = "0.0 0.0 0.0" // don't take damage from collisions
//Jet Jump End

WEAPONSECTION = 1
WeaponName = "jed_weap_doublesaber"
WeaponAmmo = 0

WEAPONSECTION = 3
WeaponName3 = "com_weap_inf_force_pull"
WeaponAmmo3 = 0
WeaponChannel3 = 1

//SOUND
//SndHeroSelectable = ""
//SndHeroSpawned = "hero_maul_spawn"
//SndHeroDefeated = "hero_maul_exhausted"
//SndHeroKiller = "hero_maul_exhausted"

//VOSound = "hero_maul_AcquiredTarget AcquiredTarget"
//VOSound = "hero_maul_KillingSpree4 KillingSpree4"

VOUnitType = 0181
//SoldierMusic = "cis_hero_Maul_lp"
HurtSound = ""
DeathSound = ""
AcquiredTargetSound = ""
HidingSound = ""
ApproachingTargetSound = ""
FleeSound = ""
PreparingForDamageSound = ""
HeardEnemySound = ""
//ShockFadeOutTime = "0.8"
//ShockFadeInTime = "2.0"
ShockFadeOutGain = ""
ShockSound = ""
ClothingRustleSound = ""
//LowHealthSound = "com_inf_saber_ambient"
LowHealthThreshold = "1.1"
FoleyFXClass = "rep_inf_soldier"
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Switch Class Crash

Post by AQT »

Lorul1 wrote:(could this be causing the problem)
Why don't you just try it and see?
jedimoose32
Field Commander
Field Commander
Posts: 938
Joined: Thu Jan 24, 2008 12:41 am
Projects :: Engineering Degree
Location: The Flatlands of Canada

Re: Switch Class Crash

Post by jedimoose32 »

I'm with AQT here. Remove all the references to the cloth if you think that could be the problem.

I think that is what's causing this issue for you. Neither the missing control region or the missing aimer node will crash your game despite being severity 3. I would look into the missing animation right away. If that's not causing this issue it's at least bound to cause some kind of trouble later (not guaranteed but possible).
User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Re: Switch Class Crash

Post by Lorul1 »

Ok ill have to try that tomorrow when i'm off of school for thanksgiving break.
Post Reply