View Full Version : tomb4 crashing when i die/exit

17-05-07, 21:17
On lvl wads which do not have a sky or horizen (such as cleopal or settomb), when i play lvls i have converted with these object sets the game plays fine until I die or exit to title, which brings up the error message 'tomb4 has encountered a problem' then the program shuts down. It works fine with sky-enabled lvls such as tut1 and karnak. Is this a normal problem with the program? Do I have to enable sky in the script and add horizen objects etc. into the wad or is there some other way to sort this out? thx ;)

17-05-07, 21:38
You have to change the Load Camera part of the script for that level's level block so that it equals 0,0,0,0,0,0,0

Here's an example:
Name= Lara's Home
Horizon= ENABLED
Layer1= 56,72,8,16
Puzzle= 1,Nitrous Oxide Feeder, $0004,$0300,$0000,$0000,$0000,$0002
Puzzle= 2,Car-Jack, $0000,$0400,$4000,$8000,$4000,$0002
Puzzle= 4,Roof Key, $0000,$0300,$4000,$d000,$b000,$0002
Puzzle= 5,Weapon Code Key, $0000,$0200,$8000,$c000,$0000,$0002
Puzzle= 8,Mine Detonator, $0008,$0400,$8000,$0000,$0000,$2002
PuzzleCombo= 1,1,Valve Pipe, $0004,$0300,$0000,$0000,$0000,$000a
PuzzleCombo= 1,2,Nitrous Oxide Cannister, $0002,$0300,$0000,$0000,$0000,$0002
PuzzleCombo= 2,1,Car-Jack Body, $0000,$0400,$4000,$8000,$4000,$0002
PuzzleCombo= 2,2,Handle, $0000,$0300,$4000,$8000,$4000,$0002
PuzzleCombo= 8,1,Mine Detonator Body, $0008,$0400,$8000,$0000,$0000,$0002
PuzzleCombo= 8,2,Mine Position Data, $0004,$0280,$8000,$c000,$0000,$0002
Puzzle= 1,Nitrous Oxide Feeder, $0004,$0300,$0000,$0000,$0000,$0002
LoadCamera= 0,0,0,0,0,0,0
Level= DATA\House,106

18-05-07, 10:04
Explained fully here:


18-05-07, 18:52
thankyou very much for the solution :) although i've run into another problem whilst trying to sort this out.

I downloaded the Windows XP/Vista trle from http://www.tombraiderchronicles.com/vista/trle.html (here) and it includes all the extra wads such as angkor. However, the script.txt file only includes the original levels (playable tutorial - city of the dead), whereas the script.dat file must already contain all this data because all the levels appear on the main menu on tomb4. Where can I find the information to copy into the script.txt file so that I can update the script without all these levels disappearing from the main menu? The levels that go missing are: Angkor Wat, Guardian of Semerket, The Lost Library and New City. thankyou again! :)