Page 1 of 1

Lightsaber animation help?

Posted: Thu Jun 11, 2015 7:00 pm
by CmdSmith
My newest idea for a mod is to make the stock JED.lvl be more progressive and less static, so Im basing the 6 units off of the basic classes and the prestige classes from KOTORII. Essentially, I want it to have the Darth Maul animations for one, the obiwan animations for anouther, Aayla for yet anouther, and so on. Do I in the weapon ODF, do I change

Code: Select all

GeometryName        = "rep_weap_inf_lightsabre"
ComboAnimationBank  = "human_sabre melee rep_hero_ep3obiwan"
to

Code: Select all

GeometryName    = "cis_weap_inf_doublesabre"
ComboAnimationBank  = "human_doublesabre sabre cis_hero_darthmaul
That?

I did that, and it crashes my game when I play with it. Is there something in the Unit's ODF I need to change? I'm not sure what else to do..

I tried just changing around the lightsaber weapon names in the unit ODF, and that crashed too.

Re: Lightsaber animation help?

Posted: Fri Jun 12, 2015 1:01 am
by jedimoose32
The code change you posted here is correct as far as I can tell. Make sure you have the correct Animation property in the unit's .odf file as well (in this case, "maul"), and make sure the appropriate animation files (in your case maul.anims, maul.zaabin, and maul.zafbin) in the side's "munged" folder.

Re: Lightsaber animation help?

Posted: Fri Jun 12, 2015 1:16 am
by MileHighGuy
change the line to

ComboAnimationBank = "human_sabre melee cis_hero_darthmaul"

make sure you have the combo file

cis_hero_darthmaul.combo

and the

maul

animation files (from the munged folder) both in your side

and the line

AnimationName = "maul"

in your units odf

Re: Lightsaber animation help?

Posted: Fri Jun 12, 2015 9:18 am
by CmdSmith
jedimoose32 wrote:The code change you posted here is correct as far as I can tell. Make sure you have the correct Animation property in the unit's .odf file as well (in this case, "maul"), and make sure the appropriate animation files (in your case maul.anims, maul.zaabin, and maul.zafbin) in the side's "munged" folder.
If I don't have the animation in the ODF, such as AnimationName = "maul" , will it still work?

Okay, I fixed my problem. The crash wasn't a result of the sabers, but a lack of " HealthType = "person" ." THanks for your help guys! But still, in order for the animations to work, does it need an " AnimationName = "whatever" " in the unit ODF?

Re: Lightsaber animation help?

Posted: Fri Jun 12, 2015 12:47 pm
by hunpeter12
Yes.