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

I have tried to recreate some of the TREP moves using the scriptcommand Animation=, to get those moves to work with TRNG, since TRNG is not compatible with TREP.
You may freely use the scripts of the examples I will post.


EXAMPLE 1 - LADDER TO MONKEY
-------------------------------------------------------------------

This move allows Lara to grab a monkeybar ceiling above her, when she is on a clicmbable wall.


Download animation

446-ladder-to-monkey.zip

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


Script command

Animation= 446, KEY1_ACTION + KEY1_UP, IGNORE, IGNORE, ENV_MONKEY_CEILING, 1027, IGNORE, -164


What does it all mean?

446
This is the animationnumber of the ladder-to-monkey animation.

KEY1_ACTION + KEY1_UP
To activate the animation you have to press Action and arrow up.

IGNORE
No KEY2_ is assigned, so that’s why IGNORE is put in this field.

IGNORE
No FAN_flags are needed so that’s why IGNORE is put in this field.

ENV_MONKEY_CEILING
Since it is the ladder-to-monkey move, it should only be performed when Lara is below a monkeybar ceiling.

1027
This is the Distance for Env fvalue to make sure that Lara can only grab the monkeybars when she is right below them.

IGNORE
No Extra value/condition is needed so that’s why IGNORE is put in this field.

-164
This is the animationnumber of Lara climbing on a wall.
It is the animation when she is hanging still with her legs pulled up.

Note that if you use an animationnumber instead of a StateID, you have to use the negative number!!


Screenshot

__________________
If it walks like a duck and if it quacks like a duck, it is a duck.

Last edited by Titak; 30-12-14 at 10:00.
Titak is offline