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 16-03-07, 12:07   #1
Uvavoo
Archaeologist
 
Join Date: Jul 2002
Location: Huddersfield
Posts: 2,215
Default Load Camera Coordinates Explained

A common question posed by new builders is ...
"In my level when Lara dies the program crashes to desktop".

This is a problem caused by incorrect load camera coordinates and can be adjusted by editing the script. The load picture shown during loading the level is produced by taking a 'shot' from a camera using these coordinates:
LoadCamera= 89366,-258,48077,88372,-1300,45701,0
where the first six numbers are x,y,z coordinates of the camera and the x,y,z coordinates of the camera 'target' (which direction it is pointing). The last number being the room number.


How to fix it!

Here is a block of script for the Karnak level.

[Level]
Name= Temple Of Karnak
Horizon= ENABLED
Layer1= 128,96,64,7
Puzzle= 2,Canopic Jar 1, $0001,$0320,$0000,$0000,$0000,$0002
Puzzle= 3,Canopic Jar 2, $0001,$0320,$0000,$0000,$0000,$0002
Puzzle= 1,Sun Talisman, $0000,$0500,$0000,$0000,$0000,$0002
PuzzleCombo= 1,1,Sun Disk, $0000,$0180,$0000,$0000,$0000,$0002
PuzzleCombo= 1,2,Sun Goddess, $0000,$04b0,$0000,$0000,$0000,$0002
Puzzle= 5,Golden Vraeus, $0003,$0300,$0000,$0000,$0000,$0002
Puzzle= 7,Guardian Key, $0009,$0300,$0000,$0000,$0000,$0002
Key= 2,Hypostyle Key, $0000,$0400,$0000,$c000,$0000,$0002
LoadCamera= 89366,-258,48077,88372,-1300,45701,0
Level= DATA\KARNAK,110


Notice the line in bold.

Simply change it to the following and your level will not crash


LoadCamera= 0,0,0,0,0,0,0

In order to get a nice picture play your level and when you are in a nice area use 'look' to get a nice 'shot'. Press F1 which will bring up a series of numbers in the top left corner, either take a screenshot or note down these numbers. Replace the zeros with your new numbers and the picture will be displayed on loading.

Don't forget to run script.bat to create your new Script.dat and English.dat files which should be placed loose in the LE folder.
__________________
Me Like Blue Me no like Purple

Last edited by Uvavoo; 16-03-07 at 12:11.
Uvavoo 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:49.


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