Page 1 of 1

Switch Class Crash

Posted: Sun Nov 16, 2014 11:59 pm
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 ?

Re: Switch Class Crash

Posted: Mon Nov 17, 2014 12:56 am
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.

Re: Switch Class Crash

Posted: Mon Nov 24, 2014 6:10 pm
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"

Re: Switch Class Crash

Posted: Mon Nov 24, 2014 8:30 pm
by AQT
Lorul1 wrote:(could this be causing the problem)
Why don't you just try it and see?

Re: Switch Class Crash

Posted: Mon Nov 24, 2014 9:32 pm
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).

Re: Switch Class Crash

Posted: Mon Nov 24, 2014 9:47 pm
by Lorul1
Ok ill have to try that tomorrow when i'm off of school for thanksgiving break.