PDA

View Full Version : Script help required



Data
30th Jun 2002, 17:19
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. :)

Quiet Serpent
30th Jun 2002, 17:33
[Level]
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= 1,Golden Star,[b] $0017,$04b0,$4000,$0000,$0000,$0002
Puzzle= [b]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

Quiet Serpent
30th Jun 2002, 17:44
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)

[Strings]
Cambodia, 1984
Egypt, present day.
Crash 01
Crash 02
jungles2
jungles3
Valley Of The Kings
KV5
Temple Of Karnak
The Great Hypostyle Hall
Sacred Lake
Lake 2
Tomb Of Semerkhet
Guardian Of Semerkhet
Desert Railroad
Alexandria
Coastal Ruins
Pharos, Temple Of Isis
Cleopatra's Palaces
Catacombs
Temple Of Poseidon
The Lost Library
Hall Of Demetrius
City Of The Dead
Trenches
Chambers Of Tulun
Citadel Gate
Street Bazaar
Citadel
The Sphinx Complex
The Valley Temple
Underneath The Sphinx
Menkaure's Pyramid
Inside Menkaure's Pyramid
The Mastabas
The Great Pyramid
Khufu's Queens Pyramids
Inside The Great Pyramid
Temple Of Horus
Unlimited %s
USE
CHOOSE AMMO
COMBINE
SEPERATE
EQUIP
COMBINE WITH
LOAD GAME
SAVE GAME
EXAMINE
\x14 More
\x14 Select Ammo
\x14 Select Option
\x14 Combine
Uzi
Pistols
AK-47
Colt Phyton
Colt Phyton + LaserSight
MP5 Sniper
MP5 Sniper + LaserSight
Grenade Gun
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
Revolver Ammo
Uzi Ammo
Pistol Ammo
LaserSight
Large Medipack
Small Medipack
Binoculars
Flares
Compass
Load
Save
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
Crowbar
Amulet Of Horus
Breast Plate
Left Greave
Right Greave
Left Gauntlet
Right Gauntlet
Mechanical Scarab
Mechanical Scarab With Key
Winding Key
Armory 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
Black Beetle
Broken Beetle
Broken Gl*****
Fire Circle Scroll
Ignition Key
Music Scroll
Coin Piece
Eye Of Horus
Eye Piece
The Timeless Sands
Golden Star
The Hand Of Sirius
Scarab Talisman
The Golden Serpent
Golden Skull
Metal Blade
Wooden Handle
Silver Key
Western Shaft Key
Shovel
Holy Scripture
Canopic Jar 1
Canopic Jar 2
Sun Goddess
Sun Disk
Sun Talisman
Cartouche Piece 1
Cartouche Piece 2
Ba Cartouche
Ra Cartouche
Winged Serpent
Guardian Key
Hypostyle Key
Temple Key
Nitrous Oxide Feeder
Valve Pipe
Nitrous Oxide Cannister
Car-Jack
Car-Jack Body
Handle
Rusty Key
Red Key
Silver Key
Golden Key
Silver Key
Key 1
Key 2
Golden Key
Blue Fuse
Yellow Fuse
Hathor Effigy
Ornate Handle
Portal Guardian
Jewel Key
Pharos Knot
Pharos Pillar
Token
Gate Key
The Rules of Senet
Bag of Sand
Jerrycan
Yes
No
Load Game
New Game
Paused
Select Game To Load
Select Game To Save
GAME OVER
Save Game
Exit to Title
DEMO MODE
Current Location
Statistics
Distance Travelled
Ammo Used
Secrets Found
Location
Health Packs Used
Time Taken
days
of
Action
Draw Weapon
Jump
Roll
Walk
Look
Duck
Dash
Inventory
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/ :D;))
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]

Data
30th Jun 2002, 18:00
I appear to have the key item titled 'LOAD' instead of 'Golden key' or 'silver key' etc.?

Quiet Serpent
30th Jun 2002, 18:02
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

Data
30th Jun 2002, 18:07
Originally posted by Quiet Serpent
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

I do not quite understand, could you explain in laid out terms please. :)

El Diablo
30th Jun 2002, 18:11
Originally posted by Data
I do not quite understand, could you explain in laid out terms please. :)
I think he means that you have to enter Key= 1, for the key that is in the KEY_ITEM1 WAD slot.

Quiet Serpent
30th Jun 2002, 18:19
and I think hteS is right :D ;)
and for Key_Item 2 u enter Key= 2,...

Chronicles5
30th Jun 2002, 18:20
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 ;)

Data
30th Jun 2002, 18:35
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?

El Diablo
30th Jun 2002, 19:48
Originally posted by Data
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 believe they are for X position, Y position, Z position, X rotation, Y rotation and Z rotation. In an order like this:
Xpos,Ypos,Zpos,Xrot,Yrot,Zrot

I'm not sure though.

Chronicles5
30th Jun 2002, 20:06
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. ;)

Data
30th Jun 2002, 21:23
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...... :(

Chronicles5
30th Jun 2002, 21:54
Originally posted by Data
And is the only thing holding up the release of 'Castle Doomsday 2 - Doomsdays Dungeons

nooooo!!!! well, check that your numbers in the script correspond to the number of the puzzle in the wad as shown below:


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= 3
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!!! ;)

Treeble
30th Jun 2002, 23:31
Originally posted by Data
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.

You have Rusty Key in your english.txt and the program can't find Rusty key.

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

Treeble
30th Jun 2002, 23:36
Originally posted by Quiet Serpent
Broken Gl*****

LOL! It seems that the forum censoring REALLY works!

Chronicles5
1st Jul 2002, 03:13
*bump*

El Diablo
1st Jul 2002, 06:46
Originally posted by Quiet Serpent
Broken Gl*****



Originally posted by TREEBLE
LOL! It seems that the forum censoring REALLY works!

Yeah, it works too good! :rolleyes:

Chronicles5
1st Jul 2002, 17:28
*awaiting Data's return*

*BUMP*

Chronicles5
1st Jul 2002, 21:27
Originally posted by Chronicles5
*awaiting Data's return*

*BUMP*

* still awaiting Data's return*

*BUMP*

Data
2nd Jul 2002, 16:49
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. :)

Chronicles5
2nd Jul 2002, 17:16
that's ok dont worry about it Data ;) Glad to hep :)

Data
2nd Jul 2002, 20:41
Success ;) , thank you to all that helped; I am now a certified script monger. :)

Chronicles5
2nd Jul 2002, 20:47
Congrats, Data ;)

Treeble
3rd Jul 2002, 16:06
So, we are still waiting for Doomsday Dungeons :D