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 24-08-15, 08:24   #1
AkyV
Moderator
 
Join Date: Dec 2011
Location: Hungary
Posts: 2,376
Default TRNG - Setting the Number of Secrets

by Bedazzled


Syntax: Customize=CUST_SET_SECRET_NUMBER, NumberOfSecrets
Arguments: NumberOfSecrets

With this cutomize command you can change the text shown in the statistics screen of the game where it say's number: Secrets Found ".. / 70"
The value you type for (NumberOfSecrets) will substitute the default "70" for the maximum number of secrets in the level.

You can use this command in two ways:

* If you want to set a different number of secrets for each level of a multi-level game place the line Customize=CUST_SET_SECRET_NUMBER, NumberOfSecrets into each level section of the script.

Customize=CUST_SET_SECRET_NUMBER, NumberOfSecrets

* You can also modify the global number of secrets for the whole game by placing the number of secrets script into the Title section instead. In this case you have to use a single Customize=CUST_SET_SECRET_NUMBER, NumberOfSecrets line and place it in the Title section of the script.
For example, this is the Title script from Jungle Ruins NG which had 5 secrets in total for the whole game.

[Title]

LoadCamera= 0,0,0,0,0,0,0 ;src x,y,z target x,y,z, room
Level= DATA\TITLE,104
UVrotate= -256
Customize= CUST_NEW_SOUND_ENGINE, ignore, SEXT_MP3, ignore, ignore
Customize= CUST_CAMERA, FCAM_DISABLE_COMBAT_CAM
Customize=CUST_SET_SECRET_NUMBER, 5
AkyV 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 03:18.


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