www.tombraiderforums.com

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

Reply
 
Thread Tools
Old Yesterday, 11:13   #12921
AkyV
Moderator
 
Join Date: Dec 2011
Location: Hungary
Posts: 2,979
Default

You are welcome.
Anyway, when you say "interval", then probably easier to understand for yourself if you say "tick frames", as it is written. So eg. 30 is 30 tick frames, 20 is 20 tick frames etc.
AkyV is offline   Reply With Quote
Old Yesterday, 12:42   #12922
Mystery-King
Archaeologist
 
Join Date: Jul 2009
Location: Sunny ol' England where no other TRFer seems to be! :L
Posts: 2,007
Default

Hey,

I'm having trouble trying to set up a puzzle (which in my mind I think I'm making it more difficult than it needs to be and every configuration I've tried so far has failed.)

So there is a pad which activates two hammers that smash elsewhere. I want to be able to push a pushable onto the hammer space, have it stay there, then go onto the trigger pad, to smash the pushable and then have an item be where the pushable smashed. (If that makes sense...)

I'm really not NG scripting knowledg-able (triggergroups, organizers and the like), so I'm trying to see if it can be done with a rollingball trick. I feel like the answer is staring me in the face but I'm just not seeing it!
Mystery-King is online now   Reply With Quote
Old Yesterday, 13:25   #12923
Titak
Moderator
 
Titak's Avatar
 
Join Date: Jul 2003
Location: Drenthe, The Netherlands
Posts: 31,143
Default

Perhaps this tutorial might help: http://www.tomb-raider-editor.com/en...hammers-en.php
__________________
If it walks like a duck and if it quacks like a duck, it is a duck.
Titak is online now   Reply With Quote
Old Yesterday, 13:27   #12924
Mystery-King
Archaeologist
 
Join Date: Jul 2009
Location: Sunny ol' England where no other TRFer seems to be! :L
Posts: 2,007
Default

Thanks Titak but the hammers already work fine. What I'm trying to get to work is once the pushable is on the space it can't be moved off and once the pushable is shattered a pickup appears in its place (as if the pushable was hiding the pickup inside of it.)

I thought setting the item as invisible, triggered by a heavyswitch(?) when the pushable is pushed onto the square would work, but I can still move the pushable off the square. There was a tutorial about locking a pushable object with an invisible animating object but I can't seem to get it to work either (I can still move the pushable)!

Last edited by Mystery-King; Yesterday at 13:30.
Mystery-King is online now   Reply With Quote
Old Yesterday, 13:32   #12925
Titak
Moderator
 
Titak's Avatar
 
Join Date: Jul 2003
Location: Drenthe, The Netherlands
Posts: 31,143
Default

You can change the OCB of the pushable once it is on that tile, using trigger A79.
The static can be triggered invisible/visible, or if it being invisible prevents you from pushing the pushable onto the tile, move it into the floor and instantly move it out of the floor when the pushable is shattered.
__________________
If it walks like a duck and if it quacks like a duck, it is a duck.
Titak is online now   Reply With Quote
Old Yesterday, 13:41   #12926
Mystery-King
Archaeologist
 
Join Date: Jul 2009
Location: Sunny ol' England where no other TRFer seems to be! :L
Posts: 2,007
Default

Sorry, how do I find trigger a79?
Mystery-King is online now   Reply With Quote
Old Yesterday, 13:44   #12927
Titak
Moderator
 
Titak's Avatar
 
Join Date: Jul 2003
Location: Drenthe, The Netherlands
Posts: 31,143
Default

Open the trigger window and hit the "Find trigger number" button.
You can then type A79 in the box.
It's an Action trigger.

And you'll need the Parameters= script for it.
__________________
If it walks like a duck and if it quacks like a duck, it is a duck.
Titak is online now   Reply With Quote
Old Yesterday, 14:05   #12928
Mystery-King
Archaeologist
 
Join Date: Jul 2009
Location: Sunny ol' England where no other TRFer seems to be! :L
Posts: 2,007
Default

Thank you so much Titak, I've solved it! Surprise, surprise it was something I hadn't even tried.
Mystery-King is online now   Reply With Quote
Old Yesterday, 15:37   #12929
Titak
Moderator
 
Titak's Avatar
 
Join Date: Jul 2003
Location: Drenthe, The Netherlands
Posts: 31,143
Default

So the whole setup is now working as intended?
If so, great job!
__________________
If it walks like a duck and if it quacks like a duck, it is a duck.
Titak is online now   Reply With Quote
Old Today, 07:46   #12930
Mystery-King
Archaeologist
 
Join Date: Jul 2009
Location: Sunny ol' England where no other TRFer seems to be! :L
Posts: 2,007
Default

Yep! It took a little while because I didn't know what I was doing but I solved with my putting Parameters = PARAM_BIG_NUMBERS, 448 into the script (pushable new features + disable pushing + disable pulling), used a heavy a79 trigger in game so when Lara pushes the pushable onto the space now, the pickup is triggered (but hidden by the large size of the pushable), she can't move it off the space so she has to go to the trigger pad to use the hammers to smash the pushable and retrieve the newly-revealed pickup!
Mystery-King is online now   Reply With Quote
Reply

Bookmarks

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 15:04.


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