crashing

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
darkness1459

crashing

Post by darkness1459 »

ok, sry for another topic but i had to put this problem up, it crashes after i see a compeletely white model and it flashes it and then crashes to the desktop, now when i see it (what little time i actually do get to see it) he loads his weapon, but the weapon is a lightsaber(which i know has to be a animation problem) so to put it basiclly

Problem 1:flashes start of game then crashes to desktop

Problem 2:something is wrong with the animation

Logs:

Code: Select all

Message Severity: 2
.\Source\HUDElementBitmap.cpp(380)
HUD BitmapElement unable to find texture hud_target_hint_offscreen

Message Severity: 2
.\Source\HUDElementBitmap.cpp(380)
HUD BitmapElement unable to find texture hud_target_hint_offscreen

Message Severity: 2
.\Source\HUDElementBitmap.cpp(380)
HUD BitmapElement unable to find texture btn_directional_pad_LR

Message Severity: 2
.\Memory\RedMemoryPool.cpp(317)
Memory pool "ClothData" set item count after being allocated

Message Severity: 3
.\Source\Weapon.cpp(1604)
Weapon base class "com_weap_inf_lightsaber" not found
and thats it, help would be great, and thanks in advance
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:

Re: crashing

Post by Taivyx »

Code: Select all

Message Severity: 3
.\Source\Weapon.cpp(1604)
Weapon base class "com_weap_inf_lightsaber" not found
Are you doing any side editing at all?
If so, then you need to have the common side folder copied over as well. Make sure you've done that.
What that error says is that one of the common side files (the one that deals with the lightsaber) is missing.
Fix this and it will probably fix the animation problem too.
darkness1459

Re: crashing

Post by darkness1459 »

got it i copied the common folder and munged it, now it shows up in the game but hes loading the lightsaber? O_o is there something wrong with my animation?? becuase i did make my animation bank and i did give him human_sabre animations, and i munged it to the data_mod folder and the .anims are there and so is everything else, i changed the animation name and everything heres a copy of my characters ODF:

Code: Select all

// Obiwan
[GameObjectClass]
ClassParent           = "com_jedi_default"
GeometryName            = "jed_inf_jedi"

[Properties]
AISizeType              = "HOVER"

GeometryName        = "jed_inf_jedi"
GeometryLowRes      = "jed_inf_jedi_low1"
OverrideTexture     = "don_darthdonny"

AnimationName           = "don_donny"
ClothODF        = "jed_inf_sith_cape"

HealthType              = "person"
MaxHealth           = 200.0
AddHealth           = 20.0

MaxSpeed                = 8.0
MaxStrafeSpeed          = 6.0
MaxTurnSpeed            = 5.0
JumpHeight              = 3.5
RecoverFromTumble       = "1"

NoEnterVehicles     	= 1

//Jet Jump 
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
//Jet Jump End

WEAPONSECTION = 1
WeaponName1           = "all_weap_lightsaber_blue"
WeaponAmmo1           = 0
ps it still crashes when the game level starts
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:

Re: crashing

Post by Taivyx »

Do you have the all side folder copied over?

In all cases;
Let's see your all_weap_lightsaber_blue.odf file.
There should be a line in it like this:

Code: Select all

ComboAnimationBank	= "human_sabre melee all_hero_luke_jedi"
darkness1459

Re: crashing

Post by darkness1459 »

Code: Select all

[WeaponClass]

ClassLabel          = "melee"
ClassParent			= "com_weap_inf_lightsaber"

[Properties]

GeometryName        = "all_weap_inf_lightsabre"
ComboAnimationBank	= "human_sabre melee all_hero_luke_jedi"

FirePointName       = "hp_fire"
LightSaberLength	= "1.0"
LightSaberWidth		= "0.08"
LightSaberTexture 	= "redlightsabre"
LightSaberTrailColor = "7 85 255 128"
i see the problem all hero luke is NOT my animation bank, is that why its crashing?
Post Reply