Cloaked Anakin causing map to 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
Challenger33
Lieutenant General
Lieutenant General
Posts: 726
Joined: Wed Aug 23, 2006 3:44 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: Building a legion of papercraft models.
Contact:

Cloaked Anakin causing map to crash *SOLVED*

Post 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:
Last edited by Challenger33 on Tue Jul 10, 2007 10:50 pm, edited 1 time in total.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

RE: Cloaked Anakin causing map to crash

Post by Teancum »

It can't find the model eli_cloakenanakin.msh.
User avatar
Challenger33
Lieutenant General
Lieutenant General
Posts: 726
Joined: Wed Aug 23, 2006 3:44 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: Building a legion of papercraft models.
Contact:

Re: RE: Cloaked Anakin causing map to crash

Post 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:
User avatar
Gogie
Modeling Master
Modeling Master
Posts: 708
Joined: Fri Mar 31, 2006 11:02 pm
Projects :: Tinkering away with LEGO
Location: alberta, canada

Post 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.
User avatar
Challenger33
Lieutenant General
Lieutenant General
Posts: 726
Joined: Wed Aug 23, 2006 3:44 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: Building a legion of papercraft models.
Contact:

Post 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: .
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Post 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.
User avatar
Challenger33
Lieutenant General
Lieutenant General
Posts: 726
Joined: Wed Aug 23, 2006 3:44 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: Building a legion of papercraft models.
Contact:

Post 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.
Post Reply