www.tombraiderforums.com

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

Closed Thread
 
Thread Tools
Old 14-08-15, 22:32   #1
AkyV
Moderator
 
Join Date: Dec 2011
Location: Hungary
Posts: 2,505
Default Alternative methods instead of Trigger Triggerer

Perhaps it is well-known for some of you, because it seems an old TRLE trick, but I must admit it is a brand new revelation for me, so I'll share it with you - because probably some of you also aren't aware of it:

So the question is how we can save object/trigger amount if we want to enable a trigger, using a Trigger Triggerer object on it.

This "trick" works with Key, Switch and Pickup setups:

KEY
Original setup:
Square#1 - contains:
- a key hole
- a KEY trigger for this hole
- a TRIGGER trigger to activate a Trigger Triggerer object
Square#2 - contains:
- that Trigger Triggerer object with its blue frame
- the trigger that is disabled till that Trigger Triggerer has been activated

It is 2 objects+3 triggers

Alternative setup:
Square#1 - contains:
- a key hole
Square#2 - contains:
- a KEY trigger for that hole
- a TRIGGER trigger that is disabled till the key has been used in that hole

It is 1 object+2 triggers

So you saved 1 object and 1 trigger amount.

The "alternative setup" is the well-known Key setup, except the hole and the triggers are over different squares.
So Lara cannot activate that trigger on Square#2. If she uses the key on Square#1 then nothing will happen - but, after that, she will be able to activate that trigger on Square#2.

And, just think about it:
The benefit is really big if the disabled trigger has many squares - for example six squares:

Original setup:
Square#1 - contains:
- a key hole
- a KEY trigger for this hole
- six TRIGGER triggers to activate six Trigger Triggerer objects
Square#2, 3, 4, 5, 6, 7 - contains:
- those Trigger Triggerer objects with their blue frames
- the trigger that is disabled till that Trigger Triggerer has been activated

It is 7 objects+8 triggers

Alternative setup:
Square#1 - contains:
- a key hole
Square#2, 3, 4, 5, 6, 7 - contains:
- a (six squares sized) KEY trigger for that hole
- a (six squares sized) TRIGGER trigger that is disabled till the key has been used in that hole

It is still 1 object+2 triggers!

SWITCH
Original setup:
Square#1 - contains:
- a switch
- a SWITCH trigger for this switch
- a TRIGGER trigger to activate a Trigger Triggerer object
Square#2 - contains:
- that Trigger Triggerer object with its blue frame
- the trigger that is disabled till that Trigger Triggerer has been activated

It is 2 objects+3 triggers

Alternative setup:
Square#1 - contains:
- a switch
Square#2 - contains:
- a SWITCH trigger for that switch
- a TRIGGER trigger that is disabled till that switch has been used

It is 1 object+2 triggers

PICKUP
Original setup:
Square#1 - contains:
- a pickable item with OCB=64
- a PICKUP trigger for this item
- a TRIGGER trigger to activate a Trigger Triggerer object
Square#2 - contains:
- that Trigger Triggerer object with its blue frame
- the trigger that is disabled till that Trigger Triggerer has been activated

It is 2 objects+3 triggers

Alternative setup:
Square#1 - contains:
- a pickable item with OCB=64
Square#2 - contains:
- a PICKUP trigger for that item
- a TRIGGER trigger that is disabled till that item has been picked up

It is 1 object+2 triggers
AkyV is online now  
Closed Thread

Bookmarks

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 21:52.


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