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 04-07-11, 09:18   #1
Titak
Moderator
 
Titak's Avatar
 
Join Date: Jul 2003
Location: Drenthe, The Netherlands
Posts: 29,798
Default TRNG - "Lara's Home" in Main Menu

This is something that was posted by Sapper quite a long time ago but since it is a really nice TRNG feature I decided to post it here in the Tutorials section.
Original thread: GT_TITLE_SCREEN GlobalTrigger

-----------------------------------------------------------------------------

"Lara's Home" in Main Menu

by Sapper


Can't select it, but it's a good workaround.


Code:
[Title]

Parameters=PARAM_PRINT_TEXT,1,CL_WHITE,IGNORE,IGNORE,IGNORE,330,490

; I don't think this sound has time to play before level loaded.

; Exporting: TRIGGER(8045:0) for FLIPEFFECT(70)
; <#> : Sound. Play <&>Sound sample of first group (0-255) for (E) time
; <&> : MENU_SELECT                109  Ok       m_select
; (E) : Perform one single time
; Values to add in script command: $2000, 70, $1F6D

; With the Delay FLIPEFFECT, forever loads the level without delay

; Exporting: TRIGGER(4:0) for FLIPEFFECT(82)
; <#> : Delay. Load <&>level in (E)seconds
; <&> :     4 
; (E) : Forever (use other action/effect to disable it)
; Values to add in script command: $2000, 82, $4

TriggerGroup= 14, $2000, 70, $1F6D, $2000, 82, $4

; Exporting: TRIGGER(330:0) for FLIPEFFECT(203)
; <#> : Text. Print formatted text <&>ExtaNg string with (E)formatting data
; <&> : 74: Lara's Home (Press F7)
; (E) :  Parameters=PARAM_PRINT_TEXT,    1
; Values to add in script command: $2000, 203, $14A

; Exporting: TRIGGER(1025:0) for FLIPEFFECT(109)
; <#> : GlobalTriggers. <&>Enable/Disable the (E)GlobalTrigger
; <&> :  Enable global trigger
; (E) : GlobalTrigger=    4
; Values to add in script command: $2000, 109, $401

TriggerGroup= 19, $2000, 203, $14A, $2000, 109, $401


; Exporting: TRIGGER(0:0) for FLIPEFFECT(67)
; <#> : Text. Erase all strings showed with Print String effect
; <&> : 
; (E) : 
; Values to add in script command: $2000, 67, $0

; Exporting: TRIGGER(1024:0) for FLIPEFFECT(109)
; <#> : GlobalTriggers. <&>Enable/Disable the (E)GlobalTrigger
; <&> :  Disable global trigger
; (E) : GlobalTrigger=    4
; Values to add in script command: $2000, 109, $400

TriggerGroup= 20, $2000, 67, $0, $2000, 109, $400


; GlobalTrigger 4 Loads the level when F7 key pressed.
; Should probably use game keys instead.
GlobalTrigger=	4, IGNORE, GT_KEYBOARD_CODE, 65, IGNORE, 14, IGNORE

; GlobalTrigger 5 Prints "Lara's Home" and enables GlobalTrigger 4
; when on main title screen.
GlobalTrigger= 5, IGNORE, GT_TITLE_SCREEN, TSCR_MAIN_TITLES, IGNORE, 19, IGNORE

; GlobalTrigger 6 Erases "Lara's Home" and disables GlobalTrigger 4
; when not on main title screen.
GlobalTrigger= 6, FGT_NOT_TRUE, GT_TITLE_SCREEN, TSCR_MAIN_TITLES , IGNORE, 20, IGNORE

LoadCamera=	0,0,0,0,0,0,0
Level=		DATA\TITLE,55
__________________
If it walks like a duck and if it quacks like a duck, it is a duck.

Last edited by Titak; 28-07-11 at 17:59.
Titak is offline  
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 22:01.


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