Page 1 of 1

Map crashing because of thermal detonator [Solved]

Posted: Tue Dec 15, 2009 10:54 pm
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 = ""

Re: map crashing because of thermal detonator

Posted: Tue Dec 15, 2009 11:11 pm
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"

Re: map crashing because of thermal detonator

Posted: Wed Dec 16, 2009 12:01 am
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

Re: map crashing because of thermal detonator

Posted: Wed Dec 16, 2009 12:08 am
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!!!!!!!!!!!!!!!!!!!!

Re: map crashing because of thermal detonator

Posted: Wed Dec 16, 2009 12:16 am
by myers73
i referenced it right in all the unit odfs. It crashes when I try to use the weapon, never crashes until then.

Re: map crashing because of thermal detonator

Posted: Wed Dec 16, 2009 12:24 am
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?

Re: map crashing because of thermal detonator

Posted: Wed Dec 16, 2009 12:34 am
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

Re: map crashing because of thermal detonator

Posted: Wed Dec 16, 2009 12:39 am
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