View Single Post
Old 02-06-08, 17:49   #4
Titak
Moderator
 
Titak's Avatar
 
Join Date: Jul 2003
Location: Drenthe, The Netherlands
Posts: 32,750
Default

EXAMPLE 2 - 180 DEGREE TURN ON MONKEYBARS
-------------------------------------------------------------------

This move allows Lara to make a 180 degree turn while hanging still from monkeybars.


Download animation

257-180-degree-turn-on-monkey.zip

This animation was originally created by Geckokid.
The script I made works with this animation.


Script command

Animation= 257, KEY1_ROLL, IGNORE, IGNORE, IGNORE, IGNORE, IGNORE, -234


What does it all mean?

257
This is the number of 180-degree-on-monkeybars animation.

When you view this slot in WADMerger’s animation Editor you’ll see that there actually is a very simple turning around animation in there.
That’s why this slot can be used for this move without having to create extra animation slots.

KEY1_ROLL
To make Lara perform the move, you need to press the ROLL button.

IGNORE, IGNORE, IGNORE, IGNORE, IGNORE
No KEY2_ is assigned, no FAN_flags are needed, no ENV_Environment conditions are needed, no Distance for Env is needed and no Extra values are needed, so that’s why IGNORE is put in all these fields.

-234
The number of the animation from which Lara should perform the move.
It is the number of the hanging-still-on-monkeybars animation.

NOTE:
The thing I noticed with this animation is that there’s a delay.
You need to press the ROLL button for about a second before Lara performs the move.


Screenshot



NOTE:
If you are also using FLEP, you can tick the patch "Monkeyswing: 180 turn (stop)" and no scripting for this move is required.
__________________
If it walks like a duck and if it quacks like a duck, it is a duck.

Last edited by Titak; 08-12-16 at 14:07.
Titak is offline