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 11-03-17, 15:46   #1
TombHackR
Gold Contributor
 
TombHackR's Avatar
 
Join Date: Apr 2013
Location: Corrèze, France
Posts: 957
Default TRNG - Old Style Loading Screens

Works with TRNG 1.2.2.7 +

In Tomb Raider 4, unlike the previous games, the loading screen is a picture of a location in the level you just exited / a picture of a location in the title screen.The main difference is that the picture is based on coordinates within a level, rather than an image file.

e.g. Here's the loading screen for The Tomb of Seth after exiting the title screen, it's a picture of somewhere in the title flyby sequence.



In this tutorial I'll teach you how to have an image for the title screen like in the old games:



Firstly, create a folder within the TRLE folder and name it 'PIX'. Then, save your image as a bitmap (.bmp) in the 'PIX' folder. Rename the file IMAGE1.bmp (it can actually be any image number, but for this tutorial it will be 1).



Now open the NG Centre.

To be able to use the image you need to enable it using the Image command - you can put this in the title section of the script (so it can be used in any level throughout the game if you want).

Here's the syntax:

Image= IdImageCommand, IdImageFile, ImageFlags (IF_...), EffectTime, AudioTrack, XPosition, YPosition, SizeX, SizeY

And here's what I have used in my script:

Image= 1, 1, IGNORE, IGNORE, IGNORE, IGNORE, IGNORE, IGNORE, IGNORE

The 'IdImageCommand' is just an ID number for that image - it can be any number and it will be used to identify the image. The 'IdImageFile' is the number of the bitmap image file you saved in the 'PIX' folder earlier, I saved my image as IMAGE1.bmp, so the number to put in this would be 1. The rest of the command you do not need for this, so you can just put 'IGNORE'.

Now to set this image as the loading screen, you use the Customize and CUST_BACKGROUND command - this needs to go in the level section (e.g The Tomb of Seth for my script) or it will end up being the loading screen for all levels.

Here's the syntax:

Customize= CUST_BACKGROUND, BackGroundType (BKGDT_...), Flags (BKGDF_...), Parameter, ImageId

And here's what I have used in my script:

Customize= CUST_BACKGROUND, BKGDT_LOADING_LEVEL, IGNORE, IGNORE, 1

The '1' at the end is the ID for the Image command I made earlier.

We're nearly done now - the final step is to set all the LoadCamera coordinates for all levels to a pitch black area. Why? If you don't, then you will see a brief flash of the original style loading screen before seeing the image; so if the original loading screen is a pitch black area, then a pitch black image will be briefly seen, so the glitch will be invisible hence unnoticeable.

Now you're all set to go Here's the result when I open The Tomb of Seth


Last edited by TombHackR; 11-03-17 at 17:22.
TombHackR 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 17:51.


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