crash [solved]

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
elfie
Field Commander
Field Commander
Posts: 931
Joined: Fri Jan 25, 2008 8:26 pm
Games I'm Playing :: no games
xbox live or psn: no live
Location: Coruscant, Jedi Temple
Contact:

crash [solved]

Post by elfie »

My map is crashing on CW only because of my sides. I am able to actually spawn in to battle and then it crashes. My error log has no Message Severity 3 errors, and I even tried removing some of the units from my map to see if that helps but it doesn't. The last thing I remember editing was the rep swordsmen, but I removed him and it stilll crashed. Here is the other unit odf that I recently edited.
Hidden/Spoiler:
[GameObjectClass]
ClassParent = "all_inf_default"
GeometryName = "all_inf_stormtrooperhansolo.msh"

[Properties]
UnitType = "pilot"

GeometryName = "all_inf_stormtrooperhansolo"
GeometryLowRes = "all_inf_stormtrooperhansolo_low1"
FirstPerson = "all\allhstrm;all_1st_stormtrooper"

AnimationName = "hansolo"
HealthType = "person"
MaxHealth = 1200.0

MaxShield = 1000
AddShield = 90 //rate of the shield regeneration time

WEAPONSECTION = 1
WeaponName1 = "all_weap_inf_vibroblade"
WeaponAmmo1 = 0

WEAPONSECTION = 3
WeaponName3 = "all_weap_inf_poisongrenade"
WeaponAmmo3 = 3
WeaponChannel3 = 1

//SOUND
FoleyFXClass = "imp_inf_trooper"

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

SndHeroSelectable = ""
SndHeroSpawned = ""
SndHeroDefeated = ""
SndHeroKiller = ""

//VOSound = "hero_han_AcquiredTarget AcquiredTarget"
//VOSound = "hero_han_KillingSpree4 KillingSpree4"

VOUnitType = 185
SoldierMusic = "all_hero_Han_lp"
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: crash

Post by Caleb1117 »

elfie wrote: [GameObjectClass]
ClassParent = "all_inf_default"
GeometryName = "all_inf_stormtrooperhansolo.msh"

[Properties]
UnitType = "pilot"

GeometryName = "all_inf_stormtrooperhansolo"
GeometryLowRes = "all_inf_stormtrooperhansolo_low1"
FirstPerson = "all\allhstrm;all_1st_stormtrooper"

AnimationName = "hansolo"
HealthType = "person"
MaxHealth = 1200.0

MaxShield = 1000
AddShield = 90 //rate of the shield regeneration time

WEAPONSECTION = 1
WeaponName1 = "all_weap_inf_vibroblade"
WeaponAmmo1 = 0

WEAPONSECTION = 3
WeaponName3 = "all_weap_inf_poisongrenade"
WeaponAmmo3 = 3
WeaponChannel3 = 1

//SOUND
FoleyFXClass = "imp_inf_trooper"

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

SndHeroSelectable = ""
SndHeroSpawned = ""
SndHeroDefeated = ""
SndHeroKiller = ""

//VOSound = "hero_han_AcquiredTarget AcquiredTarget"
//VOSound = "hero_han_KillingSpree4 KillingSpree4"

VOUnitType = 185
SoldierMusic = "all_hero_Han_lp"

Not sure, but the number listing in the weapons section may need to go in order.
User avatar
elfie
Field Commander
Field Commander
Posts: 931
Joined: Fri Jan 25, 2008 8:26 pm
Games I'm Playing :: no games
xbox live or psn: no live
Location: Coruscant, Jedi Temple
Contact:

Re: crash

Post by elfie »

You are totally right. So that was what I needed to change! Ohhhhh! Thank you so much Caleb. I fixed it and it worked! This can be locked now.
Post Reply