Map crashing because of thermal detonator [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
myers73
Lieutenant General
Lieutenant General
Posts: 690
Joined: Fri Apr 03, 2009 11:04 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Atlanta, GA xfire=myers73 IngameName=mYers

Map crashing because of thermal detonator [Solved]

Post by myers73 »

Message Severity: 3
.\Source\HUDManager.cpp(619)
HUD unable to find HUD element type 0x16ce484a

Message Severity: 3
.\Source\LuaHelper.cpp(312)
CallProc failed: (none):0: attempt to compare two nil values

these are the only severity 3 messages i found. here are the ODFs...
Hidden/Spoiler:
[WeaponClass]
ClassLabel = "grenade"
GeometryName = "all_weap_inf_grenadethermal.msh"

[Properties]
OrdnanceName = "all_weap_inf_thermaldetonator_ord"

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

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

MinRange = "12"
OptimalRange = "18"
MaxRange = "24"

LockOnRange = "30.0"

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

RoundsPerClip = "1"
ReloadTime = "0.0"
ShotDelay = "2.0"
ShotElevate = "0.21"
MaxPressedTime = "0.0"

InitialSalvoDelay = "0.51"

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

ChargeRateLight = "1.0"
MaxChargeStrengthLight = "1.0"
ChargeDelayLight = "0.0"
ChargeRateHeavy = "1.0"
MaxChargeStrengthHeavy = "0.25"
ChargeDelayHeavy = "1.45"

RecoilLengthLight = "0.1"
RecoilLengthHeavy = "0.1"
RecoilStrengthLight = "0"
RecoilStrengthHeavy = "0"


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

FireSound = "com_weap_throw"
FireEmptySound = "com_weap_inf_ammo_empty"


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

FireLoopSound = ""
ReloadSound = "com_weap_inf_equip_sm"
ChangeModeSound = "com_weap_inf_equip_sm"
WeaponChangeSound = "com_weap_inf_equip_sm"
JumpSound = "com_weap_inf_pistol_mvt_jump"
LandSound = "com_weap_inf_pistol_mvt_land"
RollSound = "com_weap_inf_pistol_mvt_roll"
//ProneSound = "com_weap_inf_pistol_mvt_lie"
SquatSound = "com_weap_inf_pistol_mvt_squat"
//StandSound = "com_weap_inf_pistol_mvt_getup"
_exp
Hidden/Spoiler:
[ExplosionClass]
ClassLabel = "explosion"

[Properties]

Damage = "550.0"
DamageRadiusInner = "5.0"
DamageRadiusOuter = "10.0"

Push = "15.0"
PushRadiusInner = "5.0"
PushRadiusOuter = "10.0"

Shake = "0.5"
ShakeLength = "0.75"
ShakeRadiusInner = "8.0"
ShakeRadiusOuter = "15.0"

Effect = "com_sfx_explosion_lg"
WaterEffect = "com_sfx_watersplash_lg"
Decal = "decal_explosion"
LightColor = "255 220 100 255"
LightRadius = "7.0"
LightDuration = "1.0"

VehicleScale = "1.0"
PersonScale = "1.0"
DroidScale = "1.0"
BuildingScale = "1.0"
AnimalScale = "1.0"

SoundProperty = "com_weap_thermaldetonator_exp"
//WaterExplosion = "com_weap_obj_med_water_exp"
_ord
Hidden/Spoiler:
[OrdnanceClass]
ClassLabel = "sticky"
GeometryName = "all_weap_inf_grenadethermal.msh"

[Properties]
ExplosionExpire = "all_weap_inf_thermaldetonator_exp"




LightColor = "252 67 67 150"
LightRadius = "10.0"

ImpactEffectWater = "com_sfx_watersplash_sm"
ImpactEffect = "com_sfx_explosion_lg"
TrailEffect = "com_sfx_weap_grenade_red"

LifeSpan = "0.6"
Velocity = "35.0"
Gravity = "1.5"
Rebound = "0.5"
Friction = "2.0"

StickPerson = 1
StickAnimal = 1
StickDroid = 1
StickVehicle = 1
StickBuilding = 0
StickBuildingDead = 0
StickBuildingUnbuilt= 0
StickTerrain = 0

CollisionOtherSound = "com_weap_inf_grenade_bounce"
CollisionWaterSound = "imp_inf_trooper_land_water"
CollisionFoliageSound = ""
User avatar
CodaRez
Field Commander
Field Commander
Posts: 940
Joined: Mon May 25, 2009 6:49 am
Projects :: I would like one.....
Location: Ride around the world! And I won't give you anything :P

Re: map crashing because of thermal detonator

Post by CodaRez »

*sigh*
myers73 wrote:
Hidden/Spoiler:
[WeaponClass]
ClassLabel = "grenade"
GeometryName = "all_weap_inf_grenadethermal.msh"< My my, I don't remember the stock alliance thermal det having a name like that. Change it to "thermaldetonator" like the ordnance name

[Properties]
OrdnanceName = "all_weap_inf_thermaldetonator_ord"
Hidden/Spoiler:
[OrdnanceClass]
ClassLabel = "sticky"
GeometryName = "all_weap_inf_grenadethermal.msh"<Likewise here

[Properties]
ExplosionExpire = "all_weap_inf_thermaldetonator_exp"
myers73
Lieutenant General
Lieutenant General
Posts: 690
Joined: Fri Apr 03, 2009 11:04 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Atlanta, GA xfire=myers73 IngameName=mYers

Re: map crashing because of thermal detonator

Post by myers73 »

i fixed those, but still a crash, and this is the only severity three i can find....

Message Severity: 3
.\Source\HUDManager.cpp(619)
HUD unable to find HUD element type 0x16ce484a
User avatar
Warlord28
3rd Warning
3rd Warning
Posts: 44
Joined: Mon May 05, 2008 4:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany
Contact:

Re: map crashing because of thermal detonator

Post by Warlord28 »

The Msh and the Hud is not the Problem. Check the Names of the Odf's and the Weaponsection of the Unit(s).
Or use the orig Thermaldetonator from the Assets.

Edit: Crash the Map at the Load or wehn you that think bounce?

My bad bad English!!!!!!!!!!!!!!!!!!!!
myers73
Lieutenant General
Lieutenant General
Posts: 690
Joined: Fri Apr 03, 2009 11:04 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Atlanta, GA xfire=myers73 IngameName=mYers

Re: map crashing because of thermal detonator

Post by myers73 »

i referenced it right in all the unit odfs. It crashes when I try to use the weapon, never crashes until then.
User avatar
Warlord28
3rd Warning
3rd Warning
Posts: 44
Joined: Mon May 05, 2008 4:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Germany
Contact:

Re: map crashing because of thermal detonator

Post by Warlord28 »

Has you edit your Effects? Remove the Traileffect give them a 0 or so and Test it again. You have the Msh's and Tga's in your side Folder?
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: map crashing because of thermal detonator

Post by AceMastermind »

Add this to the weapon ODF under [Properties] and try again:

Code: Select all

GeometryName        = "all_weap_inf_grenadethermal"//I assume you renamed the msh to this
//HighResGeometry     = "com_1st_weap_inf_grenadethermal" //I don't know if you have one

OffhandWeapon       = 1
myers73
Lieutenant General
Lieutenant General
Posts: 690
Joined: Fri Apr 03, 2009 11:04 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Atlanta, GA xfire=myers73 IngameName=mYers

Re: map crashing because of thermal detonator

Post by myers73 »

AceMastermind wrote:Add this to the weapon ODF under [Properties] and try again:

Code: Select all

GeometryName        = "all_weap_inf_grenadethermal"//I assume you renamed the msh to this
//HighResGeometry     = "com_1st_weap_inf_grenadethermal" //I don't know if you have one

OffhandWeapon       = 1
OffhandWeapon = 1 is not there, i think, im guessing this is my problem...?


EDIT:
solved, that was the problem
Post Reply