www.tombraiderforums.com  

Go Back   www.tombraiderforums.com > Tomb Raider Modding > Tomb Raider Level Editor > Next Generation Level Editor

Reply
 
Thread Tools
Old 09-02-21, 02:32   #1
Richard_trle
Explorer
 
Richard_trle's Avatar
 
Join Date: Aug 2003
Location: Brazil
Posts: 733
Default Falling Rope or Polerope

Is there a way to implement a falling polerope or rope that, for example, when Lara climbs it, she grasp for awhile, but eventually both her and the rope/polerope falls down?
Richard_trle is online now   Reply With Quote
Old 09-02-21, 02:47   #2
adngel
Student
 
adngel's Avatar
 
Join Date: Jan 2004
Location: Surrey
Posts: 208
Default

I have not try to make something like that, but I am theorizing that yes, it's possible with the NGLE

That action would need 3 commands.

1- A flipeffect to force an animation on Lara, it may be possible to force her into the falling animation (330 POLE_FALL).

The poleorope could be separated in two objects, the actual polerope (invisible, mesh) and an animating (the rope itself),

2- So another command should activate the animating to show the rope falling

3- And the real polerope should move away (maybe move it under ground) to ensure Lara can't keep using it anymore. There is another ActionNG able to move the entity up or down.

So that would be the action, but the how or when you call it... żafter X time?, you could use a simple rollingball and activate those 3 triggers on it.

Or you could combine them in the script as a TriggerGroup and activate them with an Organizer.
__________________
Living and Left :)
adngel is offline   Reply With Quote
Old 09-02-21, 03:04   #3
Richard_trle
Explorer
 
Richard_trle's Avatar
 
Join Date: Aug 2003
Location: Brazil
Posts: 733
Default

I'm sorry, I'm dumb

What is an organizer?

Is there a way to trigger something without putting triggers on the editor? Or do you mean Flipeffect execute TriggerGroup?
Richard_trle is online now   Reply With Quote
Old 09-02-21, 03:19   #4
adngel
Student
 
adngel's Avatar
 
Join Date: Jan 2004
Location: Surrey
Posts: 208
Default

Yeap.

You can put those 3 triggers on a same sector, make them heavy and activate them with a Rollingball.

But you can also put them in a script and activate them "out of the editor".

When you put a trigger in the editor, in the window appears a weird serial number like:

$2000,80,$004A

If you paste that code in the script after the word TriggerGroup=

For example, I make a trigger in the editor, a Trigger, Flipeffect 80, (activate animation on Lara) and I choose the animation 330, it shows the next ID: $2000,80,$004A

So in the script, I put the next:

TriggerGroup= 8, $2000,80,$004A

(the 8 is an ID for the trigger, there can't be 2 TriggerGroups with the same ID in the same Level).

Then you can use that flipeffect to perform the TriggerGroup (number 8 in this case).

That's the same that if you put the flipeffect for Lara animation directly. The strong point is that with TriggerGroup, you can put multiples triggers in the same line, and activate them with more complex mechanisms.

But for the falling rope, I think is not needed to dig much more over there @_@



On another note, the Organizer, is another "object" like the triggerGroups, you can put the script, it's like a clock, yo activate it in the editor (there is a flipeffect to activate the organizer) and then it start to count, you can set a number of triggers to be activated at X time:

Example:
Organizer= 3, FO_TICK_TIME, IGNORE, 0, 24, 210, 25, 60, 26

When the editor activates the Organizer 3, it will count every frame, (each second are 30 frames), so,
- in the frame 0 it will activate the trigger 24
- After 210 frames, it will activate the trigger 25
- After other 60 frames, it will activate the trigger 26.
Etc...
(remember to stop the organizer when you don't need it, there is another trigger for that).


So, It's another NGLE temporizer.



/----------------------------------------------------------/Edit

Oh, I noticed I forgot the condition. (otherwise the trigger would activate for Lara just be in the sector), there is also a trigger ConditionNg that can check if Lara is doing X animation or in X state ID, you can put it in the sector of the poleorope before to see if activate the Rollingball or not.

(another easier is the condition of the height, understanding that Lara can only reach X height if she is in the polerope, but well... choices, choices, choies...)
__________________
Living and Left :)

Last edited by adngel; 09-02-21 at 03:26.
adngel is offline   Reply With Quote
Old 10-02-21, 10:32   #5
Richard_trle
Explorer
 
Richard_trle's Avatar
 
Join Date: Aug 2003
Location: Brazil
Posts: 733
Default

I have managed to do it, I have also made a setup where Lara falls from the polerope, simply when there is no actual pole rope to start with

Thank you very much adngel!
Richard_trle is online now   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 01:45.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.