Tomb Raider Forums  

Go Back   Tomb Raider Forums > Tomb Raider Level Editor and Modding > Tomb Raider Level Editor > Tomb Raider Next Generation

Reply
 
Thread Tools
Old 19-07-20, 12:26   #14451
Ranpyon
Member
 
Ranpyon's Avatar
 
Joined: Jan 2013
Posts: 276
Default

I have a waterskin in my inventory, and I'd like to disable it (and then re-enable it again) at a certain point. I've used this tutorial, without success: basically the tutorial says to use the A54 + F255 triggers (changing the object flags).
Is there another way?
Ranpyon is offline   Reply With Quote
Old 20-07-20, 16:31   #14452
Titak
Moderator
 
Titak's Avatar
 
Joined: Jul 2003
Posts: 33,352
Question

STATUE_PLINTH issues...

I'm using it in one of my levels. Lara has to place her crossbow onto it because she can't enter the next area carrying any weapons.
This part works fine.
The crossbow (which is mesh1 of the statue-plinth object) appears on top of the pedestal like it should.

Now, at some point, Lara can pick up her crossbow again.
Since you obviously can't take anything from a statue-plinth again, I moved/killed/disappeared/animated the statue-plinth out of sight and moved another pedestal (looking exactly like the statue-plinth pedestal) in its place.
Crossbow and pistols items are placed on top.

This works except for one thing:
Mesh1 stays visible and in its original position even when killing/disappearing/moving/animating the statue-plinth out of sight.


What on earth is that about?!
Titak is offline   Reply With Quote
Old 20-07-20, 17:15   #14453
Tombraider95
Member
 
Tombraider95's Avatar
 
Joined: Dec 2008
Posts: 13,122
Default

So you have the pedestal in the STATUE_PLINTH slot and an Animating slot? and you switch to the Animating Slot when picking the crossbow back up? Is that right?

This might not be related but I recently had a duplicate of an enemy in the Animating slot and changed one of his hand meshes to include an item. After I did this the actual enemy had the mesh swapped too in game even though I only replaced it in the animating.

What happens if you add the STATUE_PLINTH back into the wad again as if it's a new object? That's what fixed it for me.
Tombraider95 is offline   Reply With Quote
Old 20-07-20, 20:31   #14454
Titak
Moderator
 
Titak's Avatar
 
Joined: Jul 2003
Posts: 33,352
Default

Quote:
Originally Posted by Tombraider95 View Post
What happens if you add the STATUE_PLINTH back into the wad again as if it's a new object? That's what fixed it for me.
Like copy it from the levelwad into the same levelwad?
I'll try. And I'll try copying from the wad I made it in.
Titak is offline   Reply With Quote
Old 20-07-20, 20:45   #14455
Tombraider95
Member
 
Tombraider95's Avatar
 
Joined: Dec 2008
Posts: 13,122
Default

No I'd copy it from wherever you got it from. So it's a fresh copy. Or if you have a copy of the wad before you made changes.
Tombraider95 is offline   Reply With Quote
Old 20-07-20, 20:51   #14456
Titak
Moderator
 
Titak's Avatar
 
Joined: Jul 2003
Posts: 33,352
Default

Quote:
Originally Posted by Tombraider95 View Post
Or if you have a copy of the wad before you made changes.
Copied it from a wad that does not have the version in the animating slot yet.
No luck.
I don't seem to have it in a wad I used when making it...

Well, I'll have to go the "work around" way I guess.
Make mesh1 of the statue-plinth invisible (using the magenta texture) and have another animating (crossbow) appear on the pedestal.
Or something...
Got to make sure Lara can't pick it up again before doing the other stuff that needs to be done first.
I'll figure something out.

Thank you for the suggestion though.
Titak is offline   Reply With Quote
Old 20-07-20, 21:00   #14457
Tombraider95
Member
 
Tombraider95's Avatar
 
Joined: Dec 2008
Posts: 13,122
Default

Actually I lied. I think how I solved it was texturing the rest of the animating invisible and leaving just the hand mesh with the item. It was only yesterday and I can't even remember

But yeah your work around might work. Fingers crossed!
Tombraider95 is offline   Reply With Quote
Old 20-07-20, 21:06   #14458
Titak
Moderator
 
Titak's Avatar
 
Joined: Jul 2003
Posts: 33,352
Red face

I'm sooooooo stupid!
I had a crossbow on that same tile already. The actual crossbow item I mean. And ofcourse that stayed in place when killing the statue-plinth.

I wonder why I had it set up like this though...
This whole addition of picking up the crossbow again afterwards is way more recent.

Well, issue solved then it seems.
Titak is offline   Reply With Quote
Old 20-07-20, 21:27   #14459
Tombraider95
Member
 
Tombraider95's Avatar
 
Joined: Dec 2008
Posts: 13,122
Default

Oops! lol Glad it's solved!
Tombraider95 is offline   Reply With Quote
Old 20-07-20, 21:38   #14460
Titak
Moderator
 
Titak's Avatar
 
Joined: Jul 2003
Posts: 33,352
Default

Quote:
Originally Posted by Titak View Post
I wonder why I had it set up like this though...
This whole addition of picking up the crossbow again afterwards is way more recent.
Looks like the mesh1 wasn't showing up in this case since Lara does not place a puzzle-item on the statue-plinth. So the "puzzle-done" version of the statue-plinth does not kick in.
Instead, the setup uses a GT with GT_SELECTED_INVENTORY_ITEM which is the crossbow item.

And yes, it is solved now.
Had to use the "kill enemy" trigger to make sure Lara could indeed pick up the items from the pedestal afterwards.

My my... why can things that seem so easy can turn out to be so difficult.
Titak is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 05:55.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Tomb Raider Forums is not owned or operated by CDE Entertainment Ltd.
Lara Croft and Tomb Raider are trademarks of CDE Entertainment Ltd.