lil jedi problem

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
Dymon
Lance Corporal
Posts: 90
Joined: Thu Jan 18, 2007 7:24 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

lil jedi problem

Post by Dymon »

Hello, it's me again, and i have a problem again :)

I'm creating a jedi using palpatines model but reskinned (works, i renamed mshes and so on) and i want to add yodas lightsaber with the combos of mace windu....

but when i choose the unit ingame it crashes... i guess there's a small problem with the odf's:
[GameObjectClass]
ClassParent = "com_inf_default"
GeometryName = "imp_inf_vader.msh"
AnimationName = "mace"

[Properties]
UnitType = "repair"

GeometryName = "tra_inf_slaver000000"
GeometryLowRes = "tra_inf_slaver000000_low1"
ClothODF = "tra_inf_slaver000000_robe"
UseDirectionalJumps = "0"


WEAPONSECTION = 1
WeaponName1 = "rep_weap_lightsaber_yoda"
WeaponAmmo1 = 0

WEAPONSECTION = 2
WeaponName2 = "rep_weap_inf_thermaldetonator"
WeaponAmmo2 = 6
WeaponChannel2 = 1

WEAPONSECTION = 3
WeaponName3 = "rep_weap_inf_pistol"
WeaponAmmo3 = 0

WEAPONSECTION = 4
WeaponName3 = "rep_weap_inf_fusioncutter"
WeaponAmmo3 = 0

//SOUND
VOUnitType = 193
SoldierMusic = "imp_hero_Palpatine_lp"
//HurtSound = "imp_inf_com_chatter_wound"
//DeathSound = "imp_inf_com_chatter_death"
AcquiredTargetSound = ""
HidingSound = ""
ApproachingTargetSound = ""
FleeSound = ""
PreparingForDamageSound = ""
HeardEnemySound = ""
ShockFadeOutTime = ""
ShockFadeInTime = ""
ShockFadeOutGain = ""
ShockSound = ""
ClothingRustleSound = ""
LowHealthSound = ""
LowHealthThreshold = ""
AmbientSound = ""
FoleyFXClass = "imp_inf_soldier"

SndHeroSelectable = ""
SndHeroSpawned = "hero_palpatine_spawn"
SndHeroDefeated = "hero_palpatine_exhausted"
SndHeroKiller = "hero_palpatine_exhausted"

VOSound = "imp_off_response_hero_command SC_Follow"
VOSound = "imp_off_response_hero_command SC_StopFollow"
VOSound = "imp_off_response_hero_command SC_VehicleWaitUp"
VOSound = "imp_off_response_hero_command SC_GetIn"
VOSound = "imp_off_response_hero_command SC_GetOut"

VOSound = "hero_palpatine_AcquiredTarget AcquiredTarget"
VOSound = "hero_palpatine_KillingSpree4 KillingSpree4"
the saber:
[WeaponClass]

ClassLabel = "melee"
ClassParent = "com_weap_inf_lightsaber"

[Properties]

GeometryName = "rep_weap_inf_lightsabre"
ComboAnimationBank = "mace melee rep_hero_macewindu"

FirePointName = "hp_fire"
LightSaberLength = "0.7"
LightSaberWidth = "0.08"
LightSaberTexture = "greenlightsabre"
LightSaberTrailColor = "82 255 7 128"
animations should all be there, combo is too....

does any1 see whats wrong?
Schizo

RE: lil jedi problem

Post by Schizo »

You're trying to load two different models for the unit. One line calls for imp_inf_vader, the other calls for tra_inf_slaver000000.
Dymon
Lance Corporal
Posts: 90
Joined: Thu Jan 18, 2007 7:24 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: lil jedi problem

Post by Dymon »

yea but that isn't the problem... it works without the lightsaber (infact its a reskinned tra_slaver which was published with the trandoshan side.... and that's the original working odf, i only changed the weapon and animation...)
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: lil jedi problem

Post by Teancum »

AnimationName = "mace" should be in the [properties] section. The game can't find the animations where you have it now. That's probably causing your crash.
Dymon
Lance Corporal
Posts: 90
Joined: Thu Jan 18, 2007 7:24 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Dymon »

so where to put the animations? i put them in the munged folder of the side...
Post Reply