Script help required
Will somebody show me how to add the following items to the Script file so that they show up in the inventory correctly.
The names after the items are the ones I wish to use.
Puzzle item1 - Golden star (formally the hand of orion)
Puzzle item5 - Winged serpent (not sure what this was originally, however it looks like a winged serpent)
Puzzle item7 - Jewel key (Looks like a pyramid shape with three prongs at the bottom)
Key item1 - Gold key
Key item2 - Rusty key
Key item3 - Red key
Key item4 - Silver key
All key items were originaly from TR2.
Thank you in advance for your assistance.
Key= 1,Rusty Key, $0005,$04b0,$0000,$c000,$0000,$0002
Key= 2,Gold Key, $0005,$04b0,$0000,$c000,$0000,$0002
Key= 3,Red Key, $0004,$0300,$0000,$c000,$0000,$0002
Key= 4,Silver Key, $0004,$0300,$0000,$c000,$0000,$0002
Puzzle= [b]1,Golden Star,[b] $0017,$04b0,$4000,$0000,$0000,$0002
Puzzle= 5,Winged Serpent, $0005,$0200,$0000,$0000,$0000,$000a
Puzzle= 7,Jewel Key, $0005,$0200,$0000,$0000,$0000,$000a
and than U open the English.dat and change the lines u want to be changed(at best U rename the puzzle Item U used...)
But be careful,if u add a line u won't be able to konvert the script to a dat-file
in the script.txt the numbers before the ",...," says the game which slot the item is in,which is renamed
the numbers after ",...," are the positions where the object is showed in teh menue
Part II the english.txt
so u wanted to replace the golden verasus,the hand of orion,and for the jewel key we use the horsemans gem,for the keys we take anything unneeded (u can rename EVERY unneeded string,but be careful not to add a new line,as i said)
Egypt, present day.
Valley Of The Kings
Temple Of Karnak
The Great Hypostyle Hall
Tomb Of Semerkhet
Guardian Of Semerkhet
Pharos, Temple Of Isis
Temple Of Poseidon
The Lost Library
Hall Of Demetrius
City Of The Dead
Chambers Of Tulun
The Sphinx Complex
The Valley Temple
Underneath The Sphinx
Inside Menkaure's Pyramid
The Great Pyramid
Khufu's Queens Pyramids
Inside The Great Pyramid
Temple Of Horus
\x14 Select Ammo
\x14 Select Option
Colt Phyton + LaserSight
MP5 Sniper + LaserSight
AK-47 Normal Ammo
AK-47 Wideshot Ammo
Grenadegun Normal Ammo
Grenadegun Super Ammo
Grenadegun Flash Ammo
MP5 Normal Ammo
MP5 Special Ammo
MP5 Explosive Ammo
Small Waterskin (Empty)
Small Waterskin containing 1 litre
Small Waterskin containing 2 litres
Small Waterskin containing 3 litres
Large WaterSkin (Empty)
Large WaterSkin containing 1 litre
Large WaterSkin containing 2 litres
Large WaterSkin containing 3 litres
Large WaterSkin containing 4 litres
Large WaterSkin containing 5 litres
Amulet Of Horus
Mechanical Scarab With Key
The Guards Keys
Scrap Of Paper
Stone of Maat
Stone of Khepri
Stone of Atum
Stone of Re
Northern Shaft Key
Southern Shaft Key
Eastern Shaft Key
Fire Circle Scroll
Eye Of Horus
The Timeless Sands
The Hand Of Sirius
The Golden Serpent
Western Shaft Key
Canopic Jar 1
Canopic Jar 2
Cartouche Piece 1
Cartouche Piece 2
Nitrous Oxide Feeder
Nitrous Oxide Cannister
The Rules of Senet
Bag of Sand
Select Game To Load
Select Game To Save
Exit to Title
Health Packs Used
To win the game, get all your pieces off the\nboard by landing them on the final ankh\nsquare. On your turn spin the sticks. Your\n throw is the number of white sides showing.
If no white sides show, your throw is a six.\nIf you throw a six or land on an ankh square\nyou get an extra turn. If you land on an\nopponent's piece, it is returned to the start\n
For the serpents to live,\nall must first be stilled.\nprovoke each in turn,\nand the circle will burn\ncomplete.
and also be careful(there are many thing to be careful w/ )
THAT U REPLACE THE NAMES IN ENGLISH.TXT EXACTLY HOW U WROTE THEM IN SCRIPT.TXT or the bat-file will give u an error message,that the object isn't found in strings
[If u copy these strings,be carefull NOT TO COPY ALL THE STRINGS BECAUSE MY LEVELs NAME AND MY GUN-NAMES ARE IN THESE STRINGS TOO,and i don't think u want the crossbow's name to appear as MP5]
if u do not put the number of the key-slot (M-xx Key_Item_1... = Key= 1,Golden Key, xxxx xxxx xxxx)
and no other entry with the same number is,than there stands LOAD
yes, I had problems with the load thing too, just make sure you have the right number next to the right object and that should do it! Good luck Data
I had done so, however, how do I know which is the correct addresses for each key item as they were not in the original script i.e. $0005,$04b0,$0000,$c000,$0000,$0002 , what do each set of addresses refer to?
I'm not sure though.
these have nothing to do with the load problem, they are simply for position and rotation of the puzzle item when it appears on your screen and in the inventory. changing the value of any number will change its position and rotation, as El Diablo said. do you still have the load problem, or is that part solved? I'm going to check back on this thread in a few minutes.
Hmm, even though I had 'Rusty Key' in the English file I still had an error when outputting the file - Rusty key not found etc.
And yes, I still have the word 'Load' in place of the proper name.
This is the first time I have brought into the script, new objects, And is the only thing holding up the release of 'Castle Doomsday 2 - Doomsdays Dungeons'
I put the keys in the English file just like Quiet Serpent suggested, in exactly the same place as shown in his post, however I must be doing something in error......
Examine= 3,Caesar's Scroll, $0002,$0500,$0000,$4000,$0000,$0002
I used an examine object for variety, if that's too confusing, here is a key script, and below a puzzle object script:
Key= 10,Gate Key, $0008,$0300,$8000,$e000,$0000,$0002
Puzzle= 12,Black Beetle, $0008,$03b0,$0000,$e000,$0000,$000a
looking at the examine script, you can see this:
examine stands for the object in the wad, and three stands for the number of the object, ex. Examine3 object in wad, the number must coincide with the name of the object in the wad or the script will look to name an object that does not exist and will not come up with a name for rusty key etc, thus leaving it named load, this will also go for key and puzzle and pickup, etc. does that help/make sense?? now for the english.txt part...
in your english file you cannot make new lines of script you have to edit an original one, and it has to be the one you edited for your new name or the english will look to name an object that does not exist in the script, etc. you have to rename the original object you changed in the script, so whatever name you changed to rusty key must be changed in the english also, to prevent further problems. hope this helps, I'll check back in 1/2 hour or so!
I hope all that made sense, and I hope it works, Good luck Data!!!
Last edited by Chronicles5; 06-30-2002 at 03:44 PM.
Check the letters
You can either change in the script to Rusty Key, or change in the english to Rusty key.
It's only the capital letter that is causing you trouble!
Btw, the scripts are not monsters of seven heads...
... they have hundreds of them LOL j/k
Re: Part II the english.txt
I am sorry I have been unable to try your suggestion yet, however I will PM you if I still have a problem. Thank you for your effort.