Page 1 of 1

Cloaked Anakin causing map to crash *SOLVED*

Posted: Tue Jul 10, 2007 2:12 pm
by Challenger33
Ok, in my map, I have setup all the files needed to get Cloaked Anakin ingame, replacing the normal Anakin. But when I start my map, it crashes as soon as it finishes loading. I ran the BF2ModTools.exe, and I got a whole bunch of Severity 2 errors, but only one Severity 3 error, which is this:
Message Severity: 3
.\Source\EntityGeometry.cpp(619)
Entity "eli_cloakedanakin" missing geometry "eli_cloakedanakin"
I have an idea as to what this means, but I need to know how to fix it. I have a feeling that it involves the ODF's, but I don't want to do anything until I am sure. Thanks in advance.

-:royal:

RE: Cloaked Anakin causing map to crash

Posted: Tue Jul 10, 2007 2:19 pm
by Teancum
It can't find the model eli_cloakenanakin.msh.

Re: RE: Cloaked Anakin causing map to crash

Posted: Tue Jul 10, 2007 2:27 pm
by Challenger33
Teancum wrote:It can't find the model eli_cloakenanakin.msh.
That's odd-eli_cloakedanakin.msh is in the MSH folder of my side :? .

-:royal:

Posted: Tue Jul 10, 2007 2:32 pm
by Gogie
CLOAKENanakin?
[GameObjectClass]
ClassParent = "com_jedi_default"
GeometryName = "rep_inf_ep3anakin.msh"

[Properties]
AISizeType = "HOVER"

GeometryName = "rep_inf_ep3cloakedanakin"
GeometryLowRes = "rep_inf_ep3cloakedanakin_low1"
AnimationName = "obiwan"
ClothODF = "rep_inf_ep3cloakedanakin_cloak"
ClothODF = "rep_inf_ep3cloakedanakin_skirt"

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

WEAPONSECTION = 1
WeaponName1 = "rep_weap_lightsaber_anakin"
WeaponAmmo1 = 0

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

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

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

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_anakinAcquiredTarget AcquiredTarget"
VOSound = "hero_anakin_KillingSpree4 KillingSpree4"

VOUnitType = 190
SoldierMusic = "rep_hero_Anakin_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"
thats what your odf should look like,
you obviously editted something that you shouldnt have.

Posted: Tue Jul 10, 2007 2:49 pm
by Challenger33
Gogie wrote:

you obviously editted something that you shouldnt have.
I'm guessing that would be the GeometryName Lines?

-:royal:

EDIT: Even after I changed the GeometryName lines, nothing happened, except the error was replaced with the new GeometryName. It still crashes. :evil: .

Posted: Tue Jul 10, 2007 8:59 pm
by Taivyx
So, I'm assuming that you tried cutting and pasting Gogie's odf?

And make sure you didn't edit the cloth ODF.

Posted: Tue Jul 10, 2007 9:44 pm
by Challenger33
Since this didn't work (I read the entire Jeid Creation.doc) I am now going to try deleting everything from a rep side in my map except the files needed by Cloaked Anakin and modify the reqs and luas. Please let me know if this won't work.

-:royal:

EDIT: I solved it using the above method. Thanks anyway everyone. gtpwn. Feel free to lock this topic.