Tomb Raider Forums  

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

Reply
 
Thread Tools
Old 27-01-20, 12:20   #1
dcw123
Member
 
dcw123's Avatar
 
Joined: Nov 2007
Posts: 7,582
Default TR2/TRC Valve Handle Door

Didn't want to make this thread but feel I have no choice.
This is the only tutorial and the link is dead, sadly.
https://www.tombraiderforums.com/sho...d.php?t=197110

I tried following the NGLE method but it doesn't work.
I get the switch to work perfectly, but the doors are an issue.
Sometimes they won't even open. Tested the same setup with regular switches (pushbutton, lever, pulley etc) and they all work fine, so I assume its something to do with the valve handle itself.



Has anyone got this to work, and if so, how?
dcw123 is offline   Reply With Quote
Old 27-01-20, 13:20   #2
psiko
Member
 
psiko's Avatar
 
Joined: Apr 2001
Posts: 1,622
Default

in wadmerger's switch editor, there's a valve switch option for switch_type1--->6 just make the correct choice, save the wad, and inside ngle you have to type the correspondent ocb in the valve switch ocb window
psiko is offline   Reply With Quote
Old 27-01-20, 14:24   #3
dcw123
Member
 
dcw123's Avatar
 
Joined: Nov 2007
Posts: 7,582
Default

Quote:
Originally Posted by psiko View Post
in wadmerger's switch editor, there's a valve switch option for switch_type1--->6 just make the correct choice, save the wad, and inside ngle you have to type the correspondent ocb in the valve switch ocb window
Ahh. Thats not the issue I am having.
Lara performs the animation fine and the switch turns as she turns it.. then it swings back 90 degrees to sit on the wall (where the door would be when open)
However its the door thats the issue.
I tested everything and it refused to open.. I even tried other doors in my WAD.
When I use other switches however.. the door opens fine.

Closest I got was the door would open.. but about 3 seconds after the switch (instead of at the same time)
dcw123 is offline   Reply With Quote
Old 27-01-20, 14:38   #4
AkyV
Moderator
 
Joined: Dec 2011
Posts: 4,881
Default

That tutorial has a part with my addendum.
If you skip the original tutorial part, then my addendum should make your setup work like a charm. Follow only that from the start, and at the end it should also work for you nicely.
AkyV is online now   Reply With Quote
Old 27-01-20, 15:38   #5
dcw123
Member
 
dcw123's Avatar
 
Joined: Nov 2007
Posts: 7,582
Default

Quote:
Originally Posted by AkyV View Post
That tutorial has a part with my addendum.
If you skip the original tutorial part, then my addendum should make your setup work like a charm. Follow only that from the start, and at the end it should also work for you nicely.
Swore I tried that and it didn't work.
I also read an updated part not in the tutorial which means I don't have to edit the door animations at all (skip fake animation 1)
Only thing I can think of is that I'm using Tomb Editor and maybe thats causing some conflict in the script somehow?
I'll keep trying until I get it working.. or get it working as close as I can anyway
dcw123 is offline   Reply With Quote
Old 27-01-20, 17:04   #6
Tombraider95
Member
 
Tombraider95's Avatar
 
Joined: Dec 2008
Posts: 13,125
Default

I got them working in TR2 Revised.

This is the script command I used:

Quote:
;[Wheel Doors]

GlobalTrigger= 1, IGNORE, GT_CONDITION_GROUP, IGNORE, 1, 2, IGNORE
TriggerGroup= 1, $9000, 169, $215 ;- Switch is performing A2
TriggerGroup= 2, $5000, 170, $2B ;-Door Opens
A simple global trigger that forces the door to open when the matching opening wheel animation plays. You'll need to do this for every door with a wheel in the level!
Tombraider95 is offline   Reply With Quote
Old 27-01-20, 17:44   #7
SrDanielPonces
Member
 
SrDanielPonces's Avatar
 
Joined: Apr 2012
Posts: 10,346
Default

Tr95, thats the same setup I'm using
SrDanielPonces is offline   Reply With Quote
Old 27-01-20, 17:46   #8
AkyV
Moderator
 
Joined: Dec 2011
Posts: 4,881
Default

@dcw123:
You cannot ignore that thing in State Change Editor:

Door Animation0: Next Animation ID2 instead of ID1.
Door Animation2: Animation1 entry is removed.

If it worked for someone without that, that supposedly means that must be another door, not from the one of Offshore Rig, with different door animations.

Last edited by AkyV; 27-01-20 at 17:56.
AkyV is online now   Reply With Quote
Old 27-01-20, 19:22   #9
dcw123
Member
 
dcw123's Avatar
 
Joined: Nov 2007
Posts: 7,582
Default

Thanks guys.
I'll give it another go tomorrow
dcw123 is offline   Reply With Quote
Old 27-01-20, 20:24   #10
psiko
Member
 
psiko's Avatar
 
Joined: Apr 2001
Posts: 1,622
Default

Maybe your animation needs an anim command to activate triggers.

In wadmerger, animation editor, add an anim command. For the first field choose "play effect", for the second field type the required frame, in third field choose "6 - activate triggers"
psiko 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 08:04.


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.