Page 1 of 1

lil jedi problem

Posted: Sun Feb 25, 2007 9:29 am
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?

RE: lil jedi problem

Posted: Sun Feb 25, 2007 1:13 pm
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.

RE: lil jedi problem

Posted: Mon Feb 26, 2007 11:41 am
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...)

RE: lil jedi problem

Posted: Mon Feb 26, 2007 11:45 am
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.

Posted: Tue Feb 27, 2007 12:37 pm
by Dymon
so where to put the animations? i put them in the munged folder of the side...