Double bladed hero crashes

Started by i2Bros, October 11, 2016, 11:04:21 AM

Previous topic - Next topic
I'm trying to make a class for ahsoka but when I'm in the game the game crash whenever I try to enter the battlefield with her class. For the rest the character seems perfect, no combo files are missing whatever. I'm even using aayla secura's lighsabers for now until I get the class to work properly... what's wrong?
[spoiler]
[GameObjectClass]
ClassParent         = "com_jedi_default"
GeometryName        = "rep_inf_hero_ashoka.msh"

[Properties]

AISizeType          = "HOVER"

GeometryName        = "rep_inf_hero_ashoka"
GeometryLowRes      = "rep_inf_hero_ashoka"

AnimationName       = "aalya"

//JetJump

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

///JetJumpEnd


WEAPONSECTION = 1
//WeaponName1           = "rep_weap_lightsaber_ahsoka"
WeaponName1           = "rep_weap_lightsaber_aalya"
WeaponAmmo1           = 0

WEAPONSECTION = 2
WeaponName2           = "com_weap_inf_sabre_throw"
WeaponAmmo2           = 0
WeaponChannel2        = 1

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

///SOUND
SndHeroSelectable           = ""
SndHeroSpawned              = "hero_secura_spawn"
SndHeroDefeated             = "hero_secura_exhausted"
SndHeroKiller               = "hero_secura_exhausted"

VOSound = "rep_off_response_hero_command      SC_Follow"
VOSound = "rep_off_response_hero_command      SC_StopFollow"
VOSound = "rep_off_response_hero_command     SC_VehicleWaitUp"
VOSound = "rep_off_response_hero_command     SC_GetIn"
VOSound = "rep_off_response_hero_command      SC_GetOut"

VOSound = "hero_secura_AcquiredTarget      AcquiredTarget"
VOSound = "hero_secura_KillingSpree4      KillingSpree4"

VOUnitType              = 189
SoldierMusic            = "rep_hero_secura_lp"
HurtSound                   = ""
DeathSound                  = ""
AcquiredTargetSound         = ""
HidingSound                 = ""
//ApproachingTargetSound    = ""
FleeSound               = ""
PreparingForDamageSound = ""
HeardEnemySound         = ""
ShockFadeOutTime        = ""
ShockFadeInTime         = ""
ShockFadeOutGain        = ""
ShockSound              = ""
ClothingRustleSound     = ""
//LowHealthSound          = "com_inf_saber_ambient"
LowHealthThreshold      = "1.1"
FoleyFXClass            = "rep_inf_soldier"
[/spoiler]

"Come on, you apes! Do you wanna live forever?"
- Lieutenant Rasczak speaking to the Roughnecks troopers

Maybe the problem is in the weapon odf.

Quote from: Ginev on October 11, 2016, 03:02:04 PM
Maybe the problem is in the weapon odf.

No way, I used aayla secura's sabers for this unit.
"Come on, you apes! Do you wanna live forever?"
- Lieutenant Rasczak speaking to the Roughnecks troopers

Quote from: i2Bros on October 11, 2016, 11:04:21 AM
I'm trying to make a class for ahsoka but when I'm in the game the game crash whenever I try to enter the battlefield with her class. For the rest the character seems perfect, no combo files are missing whatever. I'm even using aayla secura's lighsabers for now until I get the class to work properly... what's wrong?
[spoiler]
[GameObjectClass]
ClassParent         = "com_jedi_default"
GeometryName        = "rep_inf_hero_ashoka.msh"

[Properties]

AISizeType          = "HOVER"

GeometryName        = "rep_inf_hero_ashoka"
GeometryLowRes      = "rep_inf_hero_ashoka"

AnimationName       = "aalya"

//JetJump

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

///JetJumpEnd


WEAPONSECTION = 1
//WeaponName1           = "rep_weap_lightsaber_ahsoka"
WeaponName1           = "rep_weap_lightsaber_aalya"
WeaponAmmo1           = 0

WEAPONSECTION = 2
WeaponName2           = "com_weap_inf_sabre_throw"
WeaponAmmo2           = 0
WeaponChannel2        = 1

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

///SOUND
SndHeroSelectable           = ""
SndHeroSpawned              = "hero_secura_spawn"
SndHeroDefeated             = "hero_secura_exhausted"
SndHeroKiller               = "hero_secura_exhausted"

VOSound = "rep_off_response_hero_command      SC_Follow"
VOSound = "rep_off_response_hero_command      SC_StopFollow"
VOSound = "rep_off_response_hero_command     SC_VehicleWaitUp"
VOSound = "rep_off_response_hero_command     SC_GetIn"
VOSound = "rep_off_response_hero_command      SC_GetOut"

VOSound = "hero_secura_AcquiredTarget      AcquiredTarget"
VOSound = "hero_secura_KillingSpree4      KillingSpree4"

VOUnitType              = 189
SoldierMusic            = "rep_hero_secura_lp"
HurtSound                   = ""
DeathSound                  = ""
AcquiredTargetSound         = ""
HidingSound                 = ""
//ApproachingTargetSound    = ""
FleeSound               = ""
PreparingForDamageSound = ""
HeardEnemySound         = ""
ShockFadeOutTime        = ""
ShockFadeInTime         = ""
ShockFadeOutGain        = ""
ShockSound              = ""
ClothingRustleSound     = ""
//LowHealthSound          = "com_inf_saber_ambient"
LowHealthThreshold      = "1.1"
FoleyFXClass            = "rep_inf_soldier"
[/spoiler]

Their seems to be an error with this animation ive tried to use it  on a diffrent unit. But i get an error about the unit i put the animation on.
PROJECTS:                                 
BF1:
Sector 3-4482-F
Solar System
BF2:
Shattered Galaxy
Project 171A