Tomb Raider Forums  

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

Reply
 
Thread Tools
Old 31-10-22, 12:04   #291
Die Basis
Historian
 
Die Basis's Avatar
 
Join Date: Aug 2010
Location: Germany, Cologne
Posts: 441
Default

Quote:
Originally Posted by DaviDM View Post
it does not work


I am using the latest version of TEN 1.0.2
As I mentioned several times, KEYClear does not work yet in Volume Triggers, as the Volume Trigger overwrites it in some way. That's at least what Lwmte told me. So it's a bug.
It can only be used in .ON functions, so the use is a bit restricted at the moment.
__________________
TE - the place to unleash your creativity.

Last edited by Die Basis; 31-10-22 at 12:07.
Die Basis is offline   Reply With Quote
Old 31-10-22, 20:26   #292
Ado Croft
Historian
 
Join Date: Apr 2013
Posts: 343
Default

Hello, is it possilble to set switch triggers for each levers in that room?



I have tried it with box volume, but I don't know how to set it
I want to keep this possition of these switches.
Thank you for your help
Ado Croft is offline   Reply With Quote
Old 31-10-22, 20:40   #293
Kubsy
Explorer
 
Kubsy's Avatar
 
Join Date: Nov 2019
Location: Polska
Posts: 873
Default

Quote:
Originally Posted by Ado Croft View Post
Hello, is it possilble to set switch triggers for each levers in that room?

I have tried it with box volume, but I don't know how to set it
I want to keep this possition of these switches.
Thank you for your help
Hi Ado

try with the following two functions:

https://lwmte.github.io/2%20classes/...able:GetActive

https://lwmte.github.io/2%20classes/...able:GetStatus

where Moveable is of course your levers in your TE (you may need to get them by GetMoveableByName)

There may be a node function for this but I do not know, you should check

Hope this helps
__________________
Chronicles Lara: "Whatever"

Last edited by Kubsy; 31-10-22 at 20:42.
Kubsy is offline   Reply With Quote
Old 31-10-22, 20:59   #294
Die Basis
Historian
 
Die Basis's Avatar
 
Join Date: Aug 2010
Location: Germany, Cologne
Posts: 441
Default

Quote:
Originally Posted by Ado Croft View Post
Hello, is it possilble to set switch triggers for each levers in that room?
As for the position of the volume triggers, you can scale them and make them smaller for each switch with the cubes in each axe.

__________________
TE - the place to unleash your creativity.
Die Basis is offline   Reply With Quote
Old 31-10-22, 21:11   #295
Ado Croft
Historian
 
Join Date: Apr 2013
Posts: 343
Default

Well i'm not sure if it IS possible the make some effect when a current switch will turn on. For exampe when Lara turns a switch it will play some flip map in level, enable some animation etc... I also tried to make it happen with node editor in volume box section. Where is action and condition, but there isn't command to play some flip map in level
Ado Croft is offline   Reply With Quote
Old 31-10-22, 21:17   #296
Kubsy
Explorer
 
Kubsy's Avatar
 
Join Date: Nov 2019
Location: Polska
Posts: 873
Default

Quote:
Originally Posted by Ado Croft View Post
Well i'm not sure if it IS possible the make some effect when a current switch will turn on. For exampe when Lara turns a switch it will play some flip map in level, enable some animation etc... I also tried to make it happen with node editor in volume box section. Where is action and condition, but there isn't command to play some flip map in level
Flipmap node action will be available in the next version as there is no command for flipmap in 1.0.2 but there is in 1.0.3 (afaik)

regarding your initial question, you can also check by animation ID


(pseudocode to demonstrate)
If the animation ID is 3 then
//do something
else
// do this
__________________
Chronicles Lara: "Whatever"
Kubsy is offline   Reply With Quote
Old 31-10-22, 21:18   #297
Ado Croft
Historian
 
Join Date: Apr 2013
Posts: 343
Default

Quote:
Originally Posted by Die Basis View Post
As for the position of the volume triggers, you can scale them and make them smaller for each switch with the cubes in each axe.

But there is only trigger box, but i need to create switch trigger, key trigger etc. In this exampe something will happen when Lara crosses to this box, but i need to set some action when the swich is active
Ado Croft is offline   Reply With Quote
Old 31-10-22, 21:19   #298
Die Basis
Historian
 
Die Basis's Avatar
 
Join Date: Aug 2010
Location: Germany, Cologne
Posts: 441
Default

Quote:
Originally Posted by Ado Croft View Post
but there isn't command to play some flip map in level
Flipmaps with lua function aren't implemented yet.

you could trigger Rollingball via lua function. And rollingball triggers Flipmaps with Heavy Trigger.
__________________
TE - the place to unleash your creativity.
Die Basis is offline   Reply With Quote
Old 31-10-22, 21:29   #299
Ado Croft
Historian
 
Join Date: Apr 2013
Posts: 343
Default

Thanks guys. I will try these alternatives 🤗 and looking forward to the next version 😉
Ado Croft is offline   Reply With Quote
Old 31-10-22, 21:29   #300
Die Basis
Historian
 
Die Basis's Avatar
 
Join Date: Aug 2010
Location: Germany, Cologne
Posts: 441
Default

Quote:
Originally Posted by Ado Croft View Post
but i need to set some action when the swich is active
In Volume Triggers you can even set conditions with Node Editor or you can write them yourself with

if....

then...

and put them into functions and trigger those functions with Volume Triggers.
__________________
TE - the place to unleash your creativity.

Last edited by Die Basis; 31-10-22 at 21:30.
Die Basis 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 21:09.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, 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.