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

Closed Thread
Thread Tools
Old 27-01-15, 10:26   #1
Join Date: Dec 2011
Location: Hungary
Posts: 2,377
Default TRNG - Screen timer types

Screen timers are timers you can see on the screen.
See about the customization of the look of the timer on the screen in this text tutorial:


The classic screen timer:

The classic screen timer is what you see running on the screen in TRLR when Lara and Von Croy are racing in Angkor Wat.
You need to type Timer=ENABLED at the level in the Script or else you won’t see this timer on the screen.

The timer could be controlled in some new ways in TRNG:

- F86 in “show” mode: puts the timer on the screen, starts it and turns it to 0.
- F86 in “hide” mode: removes the timer off the screen and stops it.
- C20 to study the value that the timer shows.
- See this tutorial to control the screen timer with variables:


= Adjust the timer to a required time.
= Running the timer in hidden mode (i.e. when the timer is not on the screen).
= Studying if the timer is hidden or not.
= Studying the value that the timer shows. (An extracted version of C20.)

TRNG screen timer:

You need to use Local Long Timer or Global Long Timer variables if you want to use the TRNG screen timer. Even if you are not a TRNG expert to use variables, don’t be afraid of Local/Global Long Timer now, because when you choose between Local/Global variable, then this is all you need to know now:

- If you choose Local Long Timer, that means the timer will keep its value only on the actual level.
- If you choose Global Long Timer, that means the timer will keep its value even in the further levels.

These are the triggers to use TRNG screen timer:

- F264 will start the timer.
- F265 will stop the timer.
- F266, F267 or F268 will define the time from which the decreasing timer starts/where the increasing timer stops.
- F269 will put the timer on the screen.
- F270 will take the timer off the screen.

If you don’t know which screen timer to choose (the classic or the TRNG one), then see they have some different features as well.

- If you want to force a new value for the timer, then use a “Variables. Numeric” FLIPEFFECT trigger (eg. F232 or F263) to force the new value (in tick frames) in Local/Global Long Timer, or just to modify the actual timer value with a given value (eg. F285).

- Some text features are probably not useful with TRNG screen timers. See eg. text color customization. If it is a problem for you, then skip F264-F270 triggers, and do something else with Local/Global Long Timer:
Put the ID of the Local/Global Long Timer into an extra string (see NG Center/References for variable IDs), and print/remove that string on/off the screen with “Text. Print” FLIPEFFECT triggers.
The triggers - that will print the text on the screen and an F285 that will add 1 (i.e. 1 tick frame) to that variable– must be placed in a GT_ALWAYS GlobalTrigger. So the GlobalTrigger will refresh the time value on the screen continuously, i.e. frame by frame, as if it were a real timer. - Now you can form the timer with a trigger that works for texts printed by “Text. Print” FLIPEFFECT triggers: see eg. TextFormat Script command for the color of some “Text. Print” FLIPEFFECT texts.
Disable the GlobalTrigger to stop the timer.

Printing object timers on the screen:

A52 will type the actual timer value of the given timed object on the screen.

Made using TRNG
AkyV is offline  
Closed Thread


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 04:17.

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