www.tombraiderforums.com  

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

Reply
 
Thread Tools
Old 08-04-21, 05:13   #14691
cornchild
Student
 
Join Date: Feb 2006
Posts: 138
Default

Quote:
Originally Posted by Craig Michaels View Post
Thank you for the suggestion, I'm still confused: the idea would be to have the spiked ceiling descend to the floor and then ascend to the ceiling, back and forth a predictable number of clicks just like F144 would do for an itemgroup - but have the object damage Lara if it touches her. The switches are not to reverse the direction, they would *stop* the movement entirely. Perhaps I misunderstood your suggestion.
Take a look at FMOV_INFINITE_LOOP in the script editor. I think this constant might be what you're looking for.
cornchild is offline   Reply With Quote
Old 12-04-21, 10:21   #14692
vandit
Historian
 
vandit's Avatar
 
Join Date: Apr 2007
Location: Austria
Posts: 265
Default

Hi,

is there a way to extend the underwater display time for Lara? Normally it takes 60 seconds for Lara to lose health. Can I double this value for example?

In FLEP I can only slow down the time where she loses health via Damage Customizer but not for the air meter. Or am I blind?

Help!

Edit: Okay, here it is: https://www.tombraiderforums.com/sho...d.php?t=205089 ^^
__________________
"Was zum Teufel ist hier eigentlich los?"

Last edited by vandit; 12-04-21 at 10:26.
vandit is offline   Reply With Quote
Old Yesterday, 04:55   #14693
Richard_trle
Explorer
 
Richard_trle's Avatar
 
Join Date: Aug 2003
Location: Brazil
Posts: 729
Default

Hey everyone, I'm having issues with ActionNG trigger, Activate Sink (A46)

It simply does not work, anyone have any idea why?
Richard_trle is offline   Reply With Quote
Old Yesterday, 05:38   #14694
AkyV
Moderator
 
Join Date: Dec 2011
Location: Hungary
Posts: 4,272
Default

Hello!
Here is a little tutorial for A46 sink trigger.

https://www.tombraiderforums.com/sho...d.php?t=206559
AkyV is online now   Reply With Quote
Old Yesterday, 06:04   #14695
Richard_trle
Explorer
 
Richard_trle's Avatar
 
Join Date: Aug 2003
Location: Brazil
Posts: 729
Default

Thank you AkyV, I was using Single Execution

It obviously wouldn't work, needed to use either F118 or F372
Richard_trle is offline   Reply With Quote
Old Today, 11:58   #14696
saintjunia
Hobbyist
 
saintjunia's Avatar
 
Join Date: Jul 2020
Location: Riga, Latvia
Posts: 96
Default

I've created a puzzle where Lara should rotate 4 discs. It works fine, but somehow if I rotate the 3d disc correctly the last, the triggers don't work. Basically, there is something wrong with the script that makes it pay attention to the order or something. How can I change it so that it doesn't matter when each disc is put into the correct position?

Code:
Parameters=	PARAM_ORIENTATION_CONTROL, 1, FORC_VERTICAL+FORC_MOVEABLE, 6, 358, 359 
Parameters=	PARAM_ORIENTATION_CONTROL, 2, FORC_VERTICAL+FORC_MOVEABLE, 5, 359, 1 
Parameters=	PARAM_ORIENTATION_CONTROL, 3, FORC_VERTICAL+FORC_MOVEABLE, 2, 359, 1 
Parameters=	PARAM_ORIENTATION_CONTROL, 4, FORC_VERTICAL+FORC_MOVEABLE, 7, 269, 271 

GlobalTrigger= 1, IGNORE, GT_ALWAYS, IGNORE, 1, 2, IGNORE
TriggerGroup= 1, $028000, 1, $D7, $028000, 2, $D7, $028000, 3, $D7, $028000, 4, $D7 ; all four discs are rotated correctly
TriggerGroup= 2, $2000,68,$011B, $5000,10,$002D ; play CD, open door
__________________
woah, das ist so philosophisch :o // working on TR: Shadows of the Past
saintjunia is online now   Reply With Quote
Old Today, 16:41   #14697
AkyV
Moderator
 
Join Date: Dec 2011
Location: Hungary
Posts: 4,272
Default

Hello!

Quote:
- An "equal" condition is "too exact", perhaps it will never be true. If you'd like to check eg. exactly 17 degrees, then perhaps you should check "more than 15" and "less than 19" instead.
It depends on the speed of the rotation as well. I mean, if the object turns very fast, then perhaps that 15-19 interval is still too thin for that, the object will jump from 13 degrees to 20 degress when turning, never being in the 15-19 interval.
(Yes, even if the rotation looks smooth, the detected position could jump some values!)
This is what I typed at PARAM_ORIENTATION_CONTROL description.
So perhaps one or more of your intevals is not true.
For 270 (=269/271) and mostly the frequent 360 (=359-1) degrees those two degrees' side intervals should be true.
But for 358 or 359 that 1 degree sized interval seems too tight, mostly that 358 and 359 should be rare angles. I mean, if the object is mostly detected at 360 degree, then I don't think that usually the next detection is at 358 or 359. The disc should be rotating very low for that.
AkyV is online now   Reply With Quote
Old Today, 17:23   #14698
saintjunia
Hobbyist
 
saintjunia's Avatar
 
Join Date: Jul 2020
Location: Riga, Latvia
Posts: 96
Default

The problem does not seem to be in that. The puzzle works, but only as long as the last disc, which is scripted at the end of the trigger group ($028000, 4, $D7) is the last Lara rotates. I have tried to do it in 2-3-4 and 3-2-4 order (the 1st is already in a correct position so I don't touch it) and it works. But 2-4-3 does not.

Changing degrees does not help, I have tried. =(
__________________
woah, das ist so philosophisch :o // working on TR: Shadows of the Past
saintjunia is online now   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 17:40.


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