Aayla "tentacle" 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
Sandtrooper956
Corporal
Corporal
Posts: 158
Joined: Thu Jul 31, 2014 3:58 pm
Projects :: Just some little things
Games I'm Playing :: SWBF2 and EAW
xbox live or psn: No gamertag set

Aayla "tentacle" problem

Post by Sandtrooper956 »

I've been having issues getting Aayla's "tentacles" working on a non-melee unit.
Image

Here's the unit's odf file:
Hidden/Spoiler:
[code][GameObjectClass]
ClassParent = "imp_inf_default"
GeometryName = "rep_inf_aaylasecura.msh"

[Properties]
UnitType = "Scout"

GeometryName = "rep_inf_aaylasecura"
GeometryLowRes = "rep_inf_aaylasecura_low1"
FirstPerson = "IMP\impscout;imp_1st_scout"

animationname = "aalya"

NumTentacles = "2"
BonesPerTentacle = "3"
TentacleCollType = "0"


MaxHealth = 300.0
MaxSpeed = 8.0 // base forward speed
MaxStrafeSpeed = 6.0 // base right/left speed


WEAPONSECTION = 1
WeaponName = "imp_weap_inf_sniper_rifle"
WeaponAmmo = 7

WEAPONSECTION = 2
WeaponName = "imp_weap_inf_pistol"
WeaponAmmo = 0

WEAPONSECTION = 3
WeaponName = "imp_weap_inf_thermaldetonator"
WeaponAmmo = 2
WeaponChannel = 1

WEAPONSECTION = 4
WeaponName = "imp_weap_inf_autoturret_dispenser"
WeaponAmmo = 1
WeaponChannel = 1

WEAPONSECTION = 5
WeaponName = "imp_weap_award_sniper_rifle"
WeaponAmmo = 6

WEAPONSECTION = 6
WeaponName = "imp_weap_award_pistol"
WeaponAmmo = 6

[/code]
Anyone know what i'm doing wrong?
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Aayla "tentacle" problem

Post by thelegend »

User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: Aayla "tentacle" problem

Post by AceMastermind »

Yep, or you could probably just load Aayla from the shipped rep side in the lua before the custom unit is loaded and add this to your ODF:
SkeletonName = "aalya"
instead of this line:
animationname = "aalya"
Sandtrooper956
Corporal
Corporal
Posts: 158
Joined: Thu Jul 31, 2014 3:58 pm
Projects :: Just some little things
Games I'm Playing :: SWBF2 and EAW
xbox live or psn: No gamertag set

Re: Aayla "tentacle" problem

Post by Sandtrooper956 »

Hmmm still no luck......

It might be worth noting that when using the first strategy you linked me thelegend, there isn't a "twilek" animation set in my sides munged folder.
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Aayla "tentacle" problem

Post by thelegend »

As we know Aayla uses tentacles which have additional bones. These bones are saved in her skeletion file (.zaabin or .zafbin; I always confuse them both).
If no skeletion file is beign load strange things like these happen. You'll need to load here skeletion name, as Ace said. Since you don't use any saber animations (as you stated it's a non-melee unit) you won't need an animation name.
Sandtrooper956
Corporal
Corporal
Posts: 158
Joined: Thu Jul 31, 2014 3:58 pm
Projects :: Just some little things
Games I'm Playing :: SWBF2 and EAW
xbox live or psn: No gamertag set

Re: Aayla "tentacle" problem

Post by Sandtrooper956 »

I also did add the line ace said into her odf file, but still no luck. I'm probably just missing something simple here. When I get some free time I was gonna load up a new test world and start this from scratch.
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Aayla "tentacle" problem

Post by thelegend »

When changin her skeletion name remeber copied her .zabin (or .zafbin?/ Take both to test which one) into your side's munged folder. Otherwise her tentacles will not work.
Post Reply