Jedi Animations

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
MrZora
Private
Posts: 42
Joined: Sun Feb 17, 2008 1:29 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: New Hampshire

Jedi Animations

Post by MrZora »

I am trying to make a character who has Aalya's sabers, and a Double Bladed lightsaber :maulsaber: .
Would the Double Bladed saber work with Aalya's animations, or the other way around(Maul animations with Aalya sabers)?
MetalcoreRancor
Brigadier General
Brigadier General
Posts: 628
Joined: Thu Jun 07, 2007 11:13 am
Projects :: No Mod project currently.
Games I'm Playing :: swbf origin
xbox live or psn: No gamertag set

Re: Jedi Animations

Post by MetalcoreRancor »

Very simple.

Open Aayla's odf, and look at this part here.
Hidden/Spoiler:
[code][GameObjectClass]
ClassParent = "com_jedi_default"
GeometryName = "rep_inf_aaylasecura.msh"

[Properties]
NumTentacles = "2"
BonesPerTentacle = "3"
TentacleCollType = "0"

AISizeType = "HOVER"

GeometryName = "rep_inf_aaylasecura"
GeometryLowRes = "rep_inf_aaylasecura_low1"

AnimationName = "aalya"
[/code]
The last line of coding is the necessary line to play Aayla's anim set.

Now open aayla's saber coding to this part
Hidden/Spoiler:
[code][WeaponClass]

ClassLabel = "melee"
ClassParent = "com_weap_inf_lightsaber"

[Properties]

GeometryName = "rep_weap_inf_lightsabre"
ComboAnimationBank = "human_sabre melee rep_hero_aalya"
[/code]
The last line is what tells the game to play the .combo file in the same name of Aayla.

Step 1 to convert aayla to using maul's specific saber:
Copy the doublelightsaber msh and tga from CIS folder and place into the folder with aayla. Then change this
GeometryName = "rep_weap_inf_lightsabre"
to this
GeometryName = "cis_weap_inf_doublesabre"

If you want to change the animation to any specific jedi... you'll need 1 more step. Change the ComboAnimationBank = "human_sabre melee" to have whatever combo you want, and
Change AnimationName = "aayla" to
AnimationName = "" the name of the anims you want.
Post Reply