www.tombraiderforums.com  

Go Back   www.tombraiderforums.com > Tomb Raider Modding > Tomb Raider Level Editor > Next Generation Level Editor

Reply
 
Thread Tools
Old 04-10-21, 12:29   #121
justin
Professor
 
Join Date: Aug 2001
Location: CT, USA
Posts: 4,307
Default

What a cool approach, Loch!

Since i've been using reusable torches, I actually do the opposite and use a bunch of triggers to put the torch out every time it's dropped or thrown
__________________
Alias: AnkhOfMishra
justin is offline   Reply With Quote
Old 06-10-21, 03:43   #122
loch
Student
 
Join Date: Dec 2004
Location: Oz
Posts: 183
Default

Yeh nice Justin, thats an aproach I might use instead for another day, saves on the stress of losing the torch and thinking you've softlocked and all the backtracking potentially involved.

I couldn't find a solution so I ended up just using a smoke effect instead of a flame - so it looks less strange when in the water and is still easier to find when it's dropped.
loch is offline   Reply With Quote
Old 06-10-21, 11:33   #123
justin
Professor
 
Join Date: Aug 2001
Location: CT, USA
Posts: 4,307
Default

Quote:
Originally Posted by loch View Post

I couldn't find a solution so I ended up just using a smoke effect instead of a flame - so it looks less strange when in the water and is still easier to find when it's dropped.
Nice! That's shallow water, right? Lara still can't pick up a torch in deep water?
__________________
Alias: AnkhOfMishra
justin is offline   Reply With Quote
Old 07-10-21, 00:20   #124
loch
Student
 
Join Date: Dec 2004
Location: Oz
Posts: 183
Default

Yeh, that's the shallow water only.
loch is offline   Reply With Quote
Old 08-10-21, 09:44   #125
Titak
Moderator
 
Titak's Avatar
 
Join Date: Jul 2003
Location: Drenthe, The Netherlands
Posts: 33,090
Default

Quote:
Originally Posted by loch View Post
Yeh nice Justin, thats an aproach I might use instead for another day, saves on the stress of losing the torch and thinking you've softlocked and all the backtracking potentially involved.

I couldn't find a solution so I ended up just using a smoke effect instead of a flame - so it looks less strange when in the water and is still easier to find when it's dropped.
How about making sure Lara can't even throw the torch away? So the torch acts like it does in TR2013?
(It might only work with a reusable torch though... I use that in my levels.)

Or does it need to be thrown on a burnable floor or something at some point?
__________________
If it walks like a duck and if it quacks like a duck, it is a duck.
Titak is offline   Reply With Quote
Old 08-10-21, 12:12   #126
justin
Professor
 
Join Date: Aug 2001
Location: CT, USA
Posts: 4,307
Default

Quote:
Originally Posted by Titak View Post
How about making sure Lara can't even throw the torch away? So the torch acts like it does in TR2013?
Oh so that's what I saw in your video! How did you manage that?? Did you add triggers to put the torch away when players use the weapon shortcut keys? (This is how I extinguish the torch)
__________________
Alias: AnkhOfMishra
justin is offline   Reply With Quote
Old 08-10-21, 19:06   #127
Titak
Moderator
 
Titak's Avatar
 
Join Date: Jul 2003
Location: Drenthe, The Netherlands
Posts: 33,090
Default

Can't use the weapons when Lara is holding a torch.
So condition that Lara is holding any torch, then disable draw weapon.
__________________
If it walks like a duck and if it quacks like a duck, it is a duck.
Titak is offline   Reply With Quote
Old 08-10-21, 19:26   #128
justin
Professor
 
Join Date: Aug 2001
Location: CT, USA
Posts: 4,307
Default

Quote:
Originally Posted by Titak View Post
Can't use the weapons when Lara is holding a torch.
So condition that Lara is holding any torch, then disable draw weapon.
Wait that stops the weapon shortcut, too?? Nice!
__________________
Alias: AnkhOfMishra
justin is offline   Reply With Quote
Old 08-10-21, 20:00   #129
Titak
Moderator
 
Titak's Avatar
 
Join Date: Jul 2003
Location: Drenthe, The Netherlands
Posts: 33,090
Default

I'm using this script to prevent drawing of weapons while on a swingpole and when holding a torch:
Code:
; ---- disable drawing of weapon and look while swinging around ----
; ---- disable drawing of weapon while swinging around, while performing the custom torch animation, while holding any torch ----
TriggerGroup=  21, $8000, 467, $1E, $8000 + TGROUP_OR, 582, $1E, $8000 + TGROUP_OR, 584, $1E, $8000 + TGROUP_OR, 585, $1E, $8000 + TGROUP_OR, 16, $23  
				; condition that Lara is performing animation 467 (swingpole swing around), or 582, 584, 585 (torch animations), or it holding any torch.
TriggerGroup=  22, $2000, 51, $A, $2000, 51, $14  ; disable "draw weapon" forever (use other action/effect to disable it)
TriggerGroup=   23, $2000, 52, $A, $2000, 52, $14 ; enable "draw weapon" when conditions are not true
GlobalTrigger=  11, -1, GT_CONDITION_GROUP, -1, 21, 22, 23
I have to admit I haven't tested this in a long time, it's been in my script since forever.


*** EDIT ***
Just tested in one of the levels and she does not draw pistols when hitting 1 or space when holding a torch.
__________________
If it walks like a duck and if it quacks like a duck, it is a duck.

Last edited by Titak; 08-10-21 at 20:04.
Titak is offline   Reply With Quote
Old 08-10-21, 21:21   #130
jvry
Hobbyist
 
jvry's Avatar
 
Join Date: Aug 2021
Posts: 19
Default

Well, now I know what Justin is doing on MondayÖ
jvry 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 09:29.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.