Multiple Triggers Question

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

Multiple Triggers Question

Postby Valdez » Mon Mar 30, 2009 8:35 am

Hello Everyone!

I have been working on an elevator this past week and I finally got it moving with a button getting it up and down its 2-floor system. But, I need a callback button to get the elevator to the floor you are on when the elevator's not there. And I don't know how to go about doing it. I need 2 more triggers, but they would all be activating the same animation, and when one is pressed all the others must clicktimeout. How would I program such a thing? Or is there another way entirely?

Thanks,
Valdez :geek:

p.s. I used Quickscript for my trigger.
Fighting, Horrible disposition to others based on beliefs... What's the point anymore? Was there ever a point? Dead is what it is and always will be until peace is achieved through everyone.
User avatar
Valdez
 
Posts: 106
Joined: Fri Jan 04, 2008 4:44 pm

Re: Multiple Triggers Question

Postby Robert The Rebuilder » Tue Apr 07, 2009 5:33 am

Hello, Valdez:

Elevators are not easy, as you're finding out. You will need Python scripts and SDL variables to keep track of where the elevator is currently, what click regions to enable/disable, etc.

If you have libPlasma installed, you can take a look at how the Teledahn elevator logic is wired. Open up Teledahn_District_tldnWorkroom.prp. You'll notice there are LogicModifiers (and corresponding ResponderModifiers) for each button on each floor as well as inside the elevator. There's the PythonFileMod named cPythElevBrain that has references to many more ResponderModifiers, AnimEventModifiers and ExcludeRegionModifiers in order to regulate where the elevator should be when you link in and what clickables to turn off.

I just did a cursory glance, so I cannot provide a detailed how-to description.

Without all this stuff, you'll have artifacts like clicking on a button and seeing the elevator warp to another level, then animate toward your level. If that's OK to you, you could get away with just the logic modifiers/responder modifiers for each button.
Can we rebuild it? Yes, we can - here's how.

MOULagain KI# 1299

Myst Movie coming soon - spread the word!
User avatar
Robert The Rebuilder
 
Posts: 1383
Joined: Sat Sep 29, 2007 7:24 am
Location: Virginia, US

Re: Multiple Triggers Question

Postby Valdez » Tue Apr 07, 2009 11:12 am

Woah.... *scratches head* a bit too complex for me to handle....I don't even get what the compiled script in libPython means.... I may need extended help with this...

Thanks,
Valdez :geek:
Fighting, Horrible disposition to others based on beliefs... What's the point anymore? Was there ever a point? Dead is what it is and always will be until peace is achieved through everyone.
User avatar
Valdez
 
Posts: 106
Joined: Fri Jan 04, 2008 4:44 pm


Return to Building

Who is online

Users browsing this forum: No registered users and 5 guests

cron