Page 1 of 1

Aayla "tentacle" problem

Posted: Sun Apr 10, 2016 1:27 pm
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?

Re: Aayla "tentacle" problem

Posted: Sun Apr 10, 2016 2:01 pm
by thelegend

Re: Aayla "tentacle" problem

Posted: Sun Apr 10, 2016 2:06 pm
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"

Re: Aayla "tentacle" problem

Posted: Sun Apr 10, 2016 2:34 pm
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.

Re: Aayla "tentacle" problem

Posted: Sun Apr 10, 2016 4:17 pm
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.

Re: Aayla "tentacle" problem

Posted: Sun Apr 10, 2016 5:16 pm
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.

Re: Aayla "tentacle" problem

Posted: Sun Apr 10, 2016 5:26 pm
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.