Tomb Raider Forums

Tomb Raider Forums (https://www.tombraiderforums.com/index.php)
-   Tutorials and Resources (https://www.tombraiderforums.com/forumdisplay.php?f=28)
-   -   TRNG - Lockpicks & Skeleton Keys | Same Square, Multi-Key Doors (https://www.tombraiderforums.com/showthread.php?t=214307)

matrix54 20-03-16 13:58

TRNG - Lockpicks & Skeleton Keys | Same Square, Multi-Key Doors
 
[SIZE="1"][I]*Pictures and editing will come later, I promise. I made it as easy to follow as possible.*[/I][/SIZE]

Have you ever come across a situation where you wanted Lara to have a door that could be opened with two different types of keys? One being the normal key, but you also wanted Lara to have an alternative to open the same door, such as a lockpick? This is similar to Resident Evil, where Chris has to use small keys to open a door, while Jill has a lockpick. Well, that's actually possible, and doesn't take very much work at all! :D

[U][B]Step 1:[/B][/U]
Open up WadMerger, and the .wad file you wish to edit.

Ideally, you want to have two keys in your inventory, but this setup will work with puzzle items as well, so it's very flexible. If you want a system similar to Resident Evil, you'll need:

[B]PUZZLE_ITEM1:[/B] A puzzle item can function the same as a key with OCB 131, and several can be collected.

[B]KEY_ITEM12:[/B] KEY_ITEM12 will never leave Lara's inventory, so it's great for lockpicking.

Also, add in the respective key & puzzle holes - make sure they're [I]all the same object[/I]! If you need one quickly, you can copy the transparent key hole from the coastal.wad.

Of course, add in whatever you're triggering.

-

[U][B]Step 2:[/B][/U]
You'll also want to edit Lara's key animation, and add an extra animation slot. Don't worry, it's nothing difficult.

Go to animation 131. Go to the last frame and select "Frame > Copy" from the drop down menu above. Then, delete the last frame. Down toward the bottom of the screen, you'll see "Next Animation" - for our purposes, we'll use animation 445.

For any other puzzle animation, you can do the same thing: Delete the last frame, and change "Next animation" from 11 to 445.

Create a new animation (it should be 445). Copy the frame here. The animation must be one frame. Set the "Next Animation" of this animation to 11. For every puzzle animation you change, have it link to this animation. Save the wad, and close WadMerger.

-

[U][B]Step 3:[/B][/U]
A great feature about key and puzzle items is their ability to be used without a trigger. We'll use this to our advantage.

Place the items as you normally would except his time, add the extra key or puzzle hole item(s). Now, instead of using a KEY trigger, we're going to use a CONDITION trigger:

Lara (Animation) - Here, we test is Lara is playing animation #445.

Afterwards, add a TRIGGER for whatever it is you're trigger (usually, a DOOR). Then. place an ACTION trigger for each KEY_HOLE/PUZZLE_HOLE:

Enemy (Kill) - Have it just remove the key hole items on the square altogether. This way, Lara will never be asked yo use any of the key items that the door requires.

-

Now, you're all done! You can now have a key, and a lockpick (or any other combination) for the same door, on the same tile.


All times are GMT. The time now is 13:06.

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.