"UnofficialTRLE Chatbox Network - Live Help & Chat
TRLE FAQ and Community
  Eidos Interactive Forums
  Tomb Raider - The Level Editor
  How do I make things disappear from the inventory?

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   How do I make things disappear from the inventory?
Malte
Member

Posts: 33
From:Germany
Registered: Apr 2002

posted 04-02-2002 01:55 AM     Click Here to See the Profile for Malte   Click Here to Email Malte     Edit/Delete Message   Reply w/Quote
Hi

I'm working on five levels. In the first level you can use the jeep and of course you must find the key. But in the following levels you no longer need the key. Can I make it disappear when you finish the next level (maybe in the script???)?

I know I could add the key to every WAD but if I could make it disappear I would do it.

IP: Logged

hteS
Member

Posts: 1006
From: yellaV of the sgniK, tpygE
Registered: Aug 2001

posted 04-02-2002 02:06 AM     Click Here to See the Profile for hteS   Click Here to Email hteS     Edit/Delete Message   Reply w/Quote
In the script, scroll down to the blocks of levels where you don't need the key. Remove

Puzzle= 1,Ignition Key, $0008,$0400,$2000,$3000,$4000,$0002

from the blocks. Now the key will be gone from the inventory in the levels you don't want it in.

------------------

IP: Logged

Malte
Member

Posts: 33
From:Germany
Registered: Apr 2002

posted 04-02-2002 02:22 AM     Click Here to See the Profile for Malte   Click Here to Email Malte     Edit/Delete Message   Reply w/Quote
I've tested it but the key is still in the inventory even with the right settings (name). TR TLR contains also levels where you find things (for example the Golden Skulls in Ankor Wat) and they are no longer in the inventory in the next level. Has it something to do with the line "ResetHUB=..." in the script?

IP: Logged

aktrekker
Member

Posts: 1036
From:WA, USA
Registered: Apr 2001

posted 04-04-2002 04:08 AM     Click Here to See the Profile for aktrekker     Edit/Delete Message   Reply w/Quote
Try removing the key from your wad file for the levels you don't need it.

IP: Logged

Malte
Member

Posts: 33
From:Germany
Registered: Apr 2002

posted 04-04-2002 05:56 AM     Click Here to See the Profile for Malte   Click Here to Email Malte     Edit/Delete Message   Reply w/Quote
quote:
Originally posted by aktrekker:
Try removing the key from your wad file for the levels you don't need it.

If I did this the key would stay in the inventory in the following levels but he would look a bit strange (like a mesh of Lara for example).

IP: Logged

Tomb_Raider_Nut
Member

Posts: 1049
From:Millwaukee,Wi,USA
Registered: Jun 2001

posted 04-04-2002 07:19 AM     Click Here to See the Profile for Tomb_Raider_Nut   Click Here to Email Tomb_Raider_Nut     Edit/Delete Message   Reply w/Quote
Did you try taking it out of the wad and the script?

IP: Logged

Malte
Member

Posts: 33
From:Germany
Registered: Apr 2002

posted 04-04-2002 07:27 AM     Click Here to See the Profile for Malte   Click Here to Email Malte     Edit/Delete Message   Reply w/Quote
Hmmm... I'm not sure. I will try.

IP: Logged

Malte
Member

Posts: 33
From:Germany
Registered: Apr 2002

posted 04-04-2002 09:06 AM     Click Here to See the Profile for Malte   Click Here to Email Malte     Edit/Delete Message   Reply w/Quote
It still doesn't work. The game shows me a part of Lara as key. The settings of the script are right although I have removed them in the second level.

IP: Logged

Malte
Member

Posts: 33
From:Germany
Registered: Apr 2002

posted 04-06-2002 03:05 AM     Click Here to See the Profile for Malte   Click Here to Email Malte     Edit/Delete Message   Reply w/Quote
Do I need a cutscene to make items disappear?

IP: Logged

eTux
Member

Posts: 808
From:Valmiera, Latvia
Registered: Jan 2002

posted 04-06-2002 03:21 AM     Click Here to See the Profile for eTux   Click Here to Email eTux     Edit/Delete Message   Reply w/Quote
There is a line in the original script, Remove Amulet, and it removes the amulet of Horus from your inventory in the next level. Maybe try - Remove Puzzle Item 1(or the number, for the puzzle item, that the jeeps key is)

IP: Logged

Malte
Member

Posts: 33
From:Germany
Registered: Apr 2002

posted 04-06-2002 03:53 AM     Click Here to See the Profile for Malte   Click Here to Email Malte     Edit/Delete Message   Reply w/Quote
I tried but it doesn't work. I think the line in the script is hardcoded in the game because the Amulet of Horus is in the slot PICKUP_ITEM1 before. But the line tells nothing about the slot.
But I realized another solution, but I'm not sure whether is works. The key for the jeep is saved in the slot PUZZLE_ITEM1 in my WAD. I think EXAMINE objects disappears from the WAD in the next levels. Is it possible to replace the key in the slot EXAMINE1? I don't know whether this is possible because I had to save the key in the slot PUZZLE_ITEM1 to get it to work.

IP: Logged

aktrekker
Member

Posts: 1036
From:WA, USA
Registered: Apr 2001

posted 04-06-2002 09:17 AM     Click Here to See the Profile for aktrekker     Edit/Delete Message   Reply w/Quote
The key should be in KEY_ITEM1, and the lock you want to open with it should be KEY_HOLE1.
As for the Remove script suggestion, you could try Remove Ignition Key.
If that doesn't work, you could try Remove Ignition (it might not like spaces, as in Amulet of Horus, only the first word is used with remove).
Maybe only certain types of objects can be removed from the inventory, and this isn't one of them.

IP: Logged

Harly Wuson
Member

Posts: 34
From:Taipei
Registered: Jan 2002

posted 04-06-2002 09:40 AM     Click Here to See the Profile for Harly Wuson   Click Here to Email Harly Wuson     Edit/Delete Message   Reply w/Quote
Try it~
In the script,first level.

ResetHUB= 2

IP: Logged

Netslider
Member

Posts: 640
From:Entroncamento, Portugal
Registered: Feb 2001

posted 04-06-2002 09:44 AM     Click Here to See the Profile for Netslider   Click Here to Email Netslider     Edit/Delete Message   Reply w/Quote
What is the ResetHUB line for?

------------------
Keep visiting Tomb Raider Level Editing:

IP: Logged

Malte
Member

Posts: 33
From:Germany
Registered: Apr 2002

posted 04-06-2002 10:05 AM     Click Here to See the Profile for Malte   Click Here to Email Malte     Edit/Delete Message   Reply w/Quote
YES!!!!! It works! I added "ResetHUB=2" to the first level and PUZZLE_ITEM1 (The jeeps key) was no longer in the inventory in the second level!

I don't know, why number 2, but that's not important for me (now)!

Thank you all for your help!

IP: Logged

aktrekker
Member

Posts: 1036
From:WA, USA
Registered: Apr 2001

posted 04-07-2002 10:24 AM     Click Here to See the Profile for aktrekker     Edit/Delete Message   Reply w/Quote
Congrats
But this is strange. I thought ResetHUB did something else.

IP: Logged

TREEBLE
Member

Posts: 270
From: Wolves lair
Registered: May 2001

posted 04-07-2002 10:30 AM     Click Here to See the Profile for TREEBLE   Click Here to Email TREEBLE     Edit/Delete Message   Reply w/Quote

So does that mean that each number applies to each object??

IP: Logged

Malte
Member

Posts: 33
From:Germany
Registered: Apr 2002

posted 04-08-2002 08:41 AM     Click Here to See the Profile for Malte   Click Here to Email Malte     Edit/Delete Message   Reply w/Quote
I don't know.
You can find the line "ResetHUB=2" in the original script.txt in the first level. In this level it removes the Golden Skulls that are saved in the slot PUZZLE_ITEM1 as the jeeps key in my level.
But something is strange. If you finish the level KV5 in TR TLR the jeeps key will disappear. It's also saved in the slot PUZZLE_ITEM1 but the line in the script is "ResetHUB=7". I've tested this line in my level and it didn't work with number 7. Why? What stands the number for?

Because of the different numbers there isn't any number for a slot. Or is this false?

IP: Logged

Harly Wuson
Member

Posts: 34
From:Taipei
Registered: Jan 2002

posted 04-08-2002 09:32 AM     Click Here to See the Profile for Harly Wuson   Click Here to Email Harly Wuson     Edit/Delete Message   Reply w/Quote
Why number 2?
Because the next level is Second level,trust me.

IP: Logged

aktrekker
Member

Posts: 1036
From:WA, USA
Registered: Apr 2001

posted 04-08-2002 09:47 AM     Click Here to See the Profile for aktrekker     Edit/Delete Message   Reply w/Quote
Exactly. While looking thru the original script, I noticed ResetHUB at several levels. Each had a different number. When I checked, it was always the number of the next level.
Remember, level 0 is the title level, so the first playable level is 1. Not sure what happens if you remove the title level from the script.

IP: Logged

Malte
Member

Posts: 33
From:Germany
Registered: Apr 2002

posted 04-08-2002 10:08 AM     Click Here to See the Profile for Malte   Click Here to Email Malte     Edit/Delete Message   Reply w/Quote
But why knows the game which item to remove? Or removes it always PUZZLE_ITEM1 with the ResetHUB line in the script? It could be that those items are removed that aren't saved in the WAD of the next level. But I can't imagine that because when I first tested the line to remove the jeeps key the key was still saved in the WAD of the next level and in the script, too.

IP: Logged

Netslider
Member

Posts: 640
From:Entroncamento, Portugal
Registered: Feb 2001

posted 04-08-2002 11:36 AM     Click Here to See the Profile for Netslider   Click Here to Email Netslider     Edit/Delete Message   Reply w/Quote
Maybe it just removes the objects you didn't use in the previous level and aren't in the actual level wad.
I remember of something strange happening to me on the psx version of TR: TLR:
I used the cheat to jump level after using an all items cheat, and in the next level, the items where there with the same name, but, they were Lara's *** .

------------------
Keep visiting Tomb Raider Level Editing:

IP: Logged

TombRaiderMania
Member

Posts: 94
From:Grecce
Registered: Feb 2002

posted 04-08-2002 12:08 PM     Click Here to See the Profile for TombRaiderMania   Click Here to Email TombRaiderMania     Edit/Delete Message   Reply w/Quote
the manual and the cheat books says that things may dissapear or look like laras *** when level jumping

IP: Logged

Malte
Member

Posts: 33
From:Germany
Registered: Apr 2002

posted 04-09-2002 05:22 AM     Click Here to See the Profile for Malte   Click Here to Email Malte     Edit/Delete Message   Reply w/Quote
Hehehe

I thought a bit and realized that that line in the script removes all items that are saved in any PUZZLE_ITEMx, KEY_ITEMx or PICKUP_ITEMx. I'm not sure but I could imagine . . .

IP: Logged

All times are PST (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | Eidos.com

[Copyright 1999/2000 - Eidos Interactive, Inc.; Mpath Interactive]

Powered by Infopop www.infopop.com © 2000
Ultimate Bulletin Board 5.45c