View Full Version : Animations

11-10-2009, 10:34 AM
I am trying to make a cut scene and need to locate the two animations that were used when Hanhar was choking Mira on Nar Shaddaa at the Docking Bay. I'm having trouble trying to locate the animations, would anyone know what they are?

Hunters Run
11-10-2009, 05:19 PM
I'm sorry, but I can't give you a definite answer. Perhaps someone else will know. What I do know is that the name of the animation on the supermodel is CUT021 and CUT022L the animation of him dropping Mira is CUT023.

11-10-2009, 05:32 PM
Also that animation may be exclusive to Hanharrs' model. Check the dialog file for that cutscene to see what animations are being used. If it's not done with a dialog animation check the scripts that are fired during the scene.

11-10-2009, 06:46 PM
I would check the scripts that are fired but the problem is that they're aren't any scripts; they don't show up in the script boxes of the dialog. Any ideas anyone?

11-10-2009, 09:50 PM
The animation names are (for Hanharr) 1425LIFT_CHOKE_HOLD and for Mira, 1421SIT_CHAIR_DRINK
is how they are called apon in the .dlg file. I did use these animations once for the Sion/Atton fight so they will work for some other models also.

Star Admiral
11-10-2009, 10:02 PM
Doesn't the DLG file also specify 1020_APPROACH_CHOKE for Hanharr and 1024_LIFTED_CHOKE for Mira? Both sets of animations might need to be used. At any rate, is it possible to use these animations outside of a dialog?

- Star Admiral

11-11-2009, 12:51 PM
ANIMATION_LOOPING_SIT_CHAIR_DRINK is listed in nwscript.nss so it could be used outside the .dlg file. I can't find the LIFT_CHOKE_HOLD listed in there so I'm not sure about this one.

11-11-2009, 01:31 PM
I found something that I can use for the Mira animation but I'm having trouble locating something that will send Hanhar through a "choker" animation. Just having a Force Choke looping animation would work, would anybody know of something or have a script?

11-11-2009, 02:05 PM
you could try a simple script as this
void main() {
AssignCommand(GetObjectByTag("npc1"), ActionPlayAnimation(ANIMATION_LOOPING_SIT_CHAIR_DR INK , 1.0, (-1.0)));
AssignCommand(GetObjectByTag("npc2"), ActionPlayAnimation(ANIMATION_LOOPING_LIFT_CHOKE_H OLD, 1.0, (-1.0)));

11-11-2009, 02:42 PM
There's a problem with LIFT_CHOKE_HOLD.

11-11-2009, 03:02 PM
I thought it might,because its not listed in nwscripts.nss that way. It may be there but listed as something else.

11-11-2009, 03:11 PM
What about just a simple script that make the npc use Force Choke in a looping fashion?

11-11-2009, 04:29 PM
What about just a simple script that make the npc use Force Choke in a looping fashion?

Sure ,just change ANIMATION_LOOPING_LIFT_CHOKE_HOLD to one that is listed in nwscripts.nss ANIMATION_LOOPING_CHOKE I think is listed in the file.

11-11-2009, 07:17 PM
It compiles correctly but the script isn't having the character use choke, any ideas?

11-11-2009, 11:26 PM
there's only one other animation listed in nwscripts.nss and this is it ,ANIMATION_LOOPING_CHOKE_WORKING not sure if that will do it. maybe if someone knows how the list of animations for .dlg's are stored you could figure out which one to use. I looked in the animations.2da and dialoganimations.2da and if it's there it's not clearly listed.