www.tombraiderforums.com

www.tombraiderforums.com (https://www.tombraiderforums.com/index.php)
-   Next Generation Level Editor (https://www.tombraiderforums.com/forumdisplay.php?f=40)
-   -   AkyVís released plugins (https://www.tombraiderforums.com/showthread.php?t=219148)

justin 04-10-21 12:29

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 :vlol:

loch 06-10-21 03:43

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.

justin 06-10-21 11:33

Quote:

Originally Posted by loch (Post 8323476)

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?

loch 07-10-21 00:20

Yeh, that's the shallow water only.

Titak 08-10-21 09:44

Quote:

Originally Posted by loch (Post 8323476)
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? :ponder:
(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?

justin 08-10-21 12:12

Quote:

Originally Posted by Titak (Post 8323743)
How about making sure Lara can't even throw the torch away? So the torch acts like it does in TR2013? :ponder:

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)

Titak 08-10-21 19:06

Can't use the weapons when Lara is holding a torch.
So condition that Lara is holding any torch, then disable draw weapon.

justin 08-10-21 19:26

Quote:

Originally Posted by Titak (Post 8323805)
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!

Titak 08-10-21 20:00

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.

jvry 08-10-21 21:21

Well, now I know what Justin is doing on MondayÖ :jmp:


All times are GMT. The time now is 16:18.

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