Jump to content
Sign in to follow this  
Toasted Duckie

Those extra few animations

Recommended Posts

Hey guys, there are some lists of animation names on the BIKI. There are some additional animations of which I can not find the name, however.

For example, place yourself and a AI under your command in the mission editor, preview and give some commands form the mene, such as "halt" and "move there".

As you can see from third person, there are some hand-signals. I can't find the anim names for those ANYWHERE. Can someone help me?

Thanks!

EDIT: I tried using a eventhandler to figure out the names of the animation, did it like this

this addEventHandler ["AnimChanged", "hint format['Animation name is the following KeyActive %1',_this select 1]"]

Unfortunately it didn't give any names for the animations that I'm looking for, so I doubt it's possible to achieve what I want..

Edited by Toasted Duckie

Share this post


Link to post
Share on other sites

Already did that, the animations is not in there, unfortunately.

I don't get it, I can play the animation (give an AI unit the "STOP" order will make you play the animation)

but this code hints the animation name of the animation that is executed:

this addEventHandler ["AnimChanged", "hint format['Animation name is the following KeyActive %1',_this select 1]"]

However, when performing the animation it doest hint anything (not recognizing any animation).

Very confusing

Share this post


Link to post
Share on other sites

Code:
	            gestureAttack = {"GestureAttackStand", "Gesture"};
		gestureGo = {"GestureGoStand", "Gesture"};
		gestureGoB = {"GestureGoBStand", "Gesture"};
		gestureFreeze = {"GestureFreezeStand", "Gesture"};
		gesturePoint = {"GesturePointStand", "Gesture"};
		gestureCeaseFire = {"GestureCeaseFire", "Gesture"};
		gestureCover = {"GestureCover", "Gesture"};
		gestureUp = {"GestureUp", "Gesture"};
		gestureNo = {"GestureNo", "Gesture"};
		gestureYes = {"GestureYes", "Gesture"};
		gestureFollow = {"GestureFollow", "Gesture"};
		gestureAdvance = {"GestureAdvance", "Gesture"};
		gestureHi = {"GestureHi", "Gesture"};
		gestureHiB = {"GestureHiB", "Gesture"};
		gestureHiC = {"GestureHiC", "Gesture"};
		gestureNod = {"GestureNod", "Gesture"};or this??

Code:
		GestureSpasm0 = {"GestureSpasm0", "Gesture"};
		GestureSpasm1 = {"GestureSpasm1", "Gesture"};
		GestureSpasm2 = {"GestureSpasm2", "Gesture"};
		GestureSpasm3 = {"GestureSpasm3", "Gesture"};
		GestureSpasm4 = {"GestureSpasm4", "Gesture"};
		GestureSpasm5 = {"GestureSpasm5", "Gesture"};
		GestureSpasm6 = {"GestureSpasm6", "Gesture"};
		GestureSpasm0weak = {"GestureSpasm0weak", "Gesture"};
		GestureSpasm1weak = {"GestureSpasm1weak", "Gesture"};
		GestureSpasm2weak = {"GestureSpasm2weak", "Gesture"};
		GestureSpasm3weak = {"GestureSpasm3weak", "Gesture"};
		GestureSpasm4weak = {"GestureSpasm4weak", "Gesture"};
		GestureSpasm5weak = {"GestureSpasm5weak", "Gesture"};
		GestureSpasm6weak = {"GestureSpasm6weak", "Gesture"};

Seek and ye shall find.

Share this post


Link to post
Share on other sites

Charming :)

Edit:

switchMove "animationname";

and

playMove "animationname";

Either in trigger or units init (although if it's hand gestures, I assume you'll want to see it so put it in a trigger)

unitname switchMove "animationname";

Edited by Nemorz

Share this post


Link to post
Share on other sites

Yea, for some reason it's not working, can you give me an example with a working animation name in it? I also came across the "playgesture" command, I doubt it's any different then play- or switchmove, doesn't make a different...

I guess I'm being stupid again :icon_rolleyes:

---------- Post added at 06:24 AM ---------- Previous post was at 06:01 AM ----------

Looks like the "playaction" command does the trick.

Now, I can thank you :)

Thank you awful much, Nemorz!

kisses

Share this post


Link to post
Share on other sites

Hmmm I made a little script giving players the ability to hand signal stuff. In multiplayer, however, the other clients don't seem to see it. Looks like the animations are done only locally.

Any way to work around this?

Edited by Toasted Duckie

Share this post


Link to post
Share on other sites

The animations are done locally. I tested it out, and they work on dedicated servers when you setvehicleinit them.

So, for example:

player setvehicleinit "this playaction 'GestureNod'; "; processinitcommands;

or

player setvehicleinit "this playaction 'GestureHi'; "; processinitcommands;

Share this post


Link to post
Share on other sites

Hmm... What's the gesture for "Move"? The one where he uses his left hand? The first few I can't get to work with playAction, playActionNow, playMove, or playGesture. I'm sort of stuck with having to use "GestureAdvance". Not that it looks bad, it's just inconsistent from what it is ingame, and I don't like that.

And what is playGesture about anyway, considering we have to use playAction for gestures. Kinda confusing.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×