lfnetwork.com mark read register faq members calendar

Thread: func_door as elevator how
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 10-17-2003, 05:00 AM   #1
aaw*s.n.a.f.u.*
Rookie
 
aaw*s.n.a.f.u.*'s Avatar
 
Join Date: Aug 2003
Location: Wangaratta, Victoria, Australia
Posts: 11
func_door as elevator how

i've made an elvator with func_door i want it to go down when stepped on, i was also wondering if there is way to make so it comes back down after it goes back up like adding a trigger or use_spawn flag


.......forgive them for they no not what they do
aaw*s.n.a.f.u.* is offline   you may: quote & reply,
Old 10-17-2003, 11:40 AM   #2
WadeV1589
Veteran
 
WadeV1589's Avatar
 
Join Date: Sep 2003
Location: Leeds, UK
Posts: 952
If you're using a func_door you...let me see if I get this right...set the angle to the opposite of the direction you want it to go (from where it starts, i.e. where you map it) and set a lip value of the distance you want it to travel + the height of the func door.

You could then just use trigger_multiples to make it move, if you place one at the bottom and check it to be "usable" and one at the top that triggers as you walk into it, target them both at a target_relay (with a wait value of the time it takes the door to complete a complete down/up motion) which is then targeted at the func_door...

2xtrigger_multiple--->target_relay(with wait value)--->func_door

That way both triggers can make the door move without causing it to "skip" if both triggers are hit simultaneously. You'd have to run the map once and hit a trigger to time how long the door takes to move down and then back up again....or work it out with the fact that 2*distance_door_moves_down / speed_of_door + wait_delay_on_door = total_time_of_movement So if the door moves 100 squares down at a speed of 50 and you've told it to wait 3 seconds at the bottom before it comes back up: 2*100/50+3=7 seconds. It is easy when you think about it


StargateMods.com - collaborating all the Stargate mods out there.

SG4RealJA - get a bit of SG realism!
SGEgyptJA - flying and dialing a gate only to be killed by it!
WadeV1589 is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > JA Mapping > func_door as elevator how

Thread Tools
Display Modes

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 Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:50 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.