posted 10-04-2001 08:25 PM
Script Editing:When you replace a current puzzle item or add one to your wad, you need to edit the script file.
Ex. if you are making a custom wad from the settomb wad by adding the Sun Disk from the karnak wad to the settomb wad.
To edit the script file for your newly added puzzle item from the karnak wad:
1) open the script file and find the line of script for the Sun Disk, and copy and paste it to your NEW script for your level.
[Level]
Name= The Tomb Of Seth
Puzzle= 1,Eye Of Horus, $0017,$0500,$0000,$0000,$0000,$0002
PuzzleCombo= 1,1,Eye Piece, $0017,$0500,$0000,$0000,$0000,$0002
PuzzleCombo= 1,2,Eye Piece, $0017,$0500,$0000,$0000,$0000,$0002
Puzzle= 2,The Timeless Sands, $0018,$0300,$0000,$0000,$0000,$0002
PuzzleCombo= 3,1,Cartouche Piece 1, $0000,$0400,$0000,$0000,$0000,$0002
PuzzleCombo= 3,2,Cartouche Piece 2, $0000,$0400,$0000,$0000,$0000,$0002
Puzzle= 3,Ba Cartouche, $0000,$0400,$0000,$0000,$0000,$0002
Puzzle= 4,Ra Cartouche, $0000,$0400,$0000,$0000,$0000,$0002
Puzzle= 7,Guardian Key, $0009,$0300,$0000,$0000,$0000,$0002
LoadCamera= 0,0,0,0,0,0,255
LoadCamera= 87075,-14188,26581,89090,-15443,25670,29
Level= DATA\SETTOMB,107
[Level]
Name= Temple Of Karnak
Horizon= ENABLED
Lightning= 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
--------------------------------------------
YOUR CUSTOM SCRIPT (EDITED settomb wad)
--------------------------------------------
[Level]
Name= Your level name
Puzzle= 1,Eye Of Horus, $0017,$0500,$0000,$0000,$0000,$0002
PuzzleCombo= 1,1,Sun Disk, $0000,$0180,$0000,$0000,$0000,$0002
PuzzleCombo= 1,1,Eye Piece, $0017,$0500,$0000,$0000,$0000,$0002
PuzzleCombo= 1,2,Eye Piece, $0017,$0500,$0000,$0000,$0000,$0002
Puzzle= 2,The Timeless Sands, $0018,$0300,$0000,$0000,$0000,$0002
PuzzleCombo= 3,1,Cartouche Piece 1, $0000,$0400,$0000,$0000,$0000,$0002
PuzzleCombo= 3,2,Cartouche Piece 2, $0000,$0400,$0000,$0000,$0000,$0002
Puzzle= 3,Ba Cartouche, $0000,$0400,$0000,$0000,$0000,$0002
Puzzle= 4,Ra Cartouche, $0000,$0400,$0000,$0000,$0000,$0002
Puzzle= 7,Guardian Key, $0009,$0300,$0000,$0000,$0000,$0002
LoadCamera= 0,0,0,0,0,0,255
LoadCamera= 87075,-14188,26581,89090,-15443,25670,29
Level= DATA\YOUR WAD NAME,107
--------------------------------------------
If you had replaced a puzzle item then take out the line of script for the one you replaced and add your new line of script for your wad.
Its a simple as that.