lfnetwork.com mark read register faq members calendar

Thread: Rotating door
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 09-18-2002, 09:35 PM   #1
Jemek Sunns
 
Jemek Sunns's Avatar
 
Join Date: Apr 2002
Posts: 20
Rotating door

Well I'm working on a little something for my level, it's not really a door, but I need part of the floor to flip down 90 degrees, stay that way for a few seconds, so that whoever was ther can fall to their demise , and tehn return to it's original position.

Now I've managed to ger it to rotate down, the only probablly is that it continues around a full 360 degrees. Does any one know how to make it stop at 90, then retract?
Jemek Sunns is offline   you may: quote & reply,
Old 09-19-2002, 10:44 AM   #2
JavaGuy
 
JavaGuy's Avatar
 
Join Date: Aug 2002
Posts: 141
I posted a similar question a while back, and the response I got was go learn ICARUS scripting, which I'm working on.

It sounds like you used a func_rotating, which was my initial approach. The problem is that it will continue rotating until you deactivate it, and when you deactivate it, it will "snap back" to its original position. Doh!

So forget making it a func_rotating. You need a script that does this:

rotate( <-90 0 0>, 1000 );

The three numbers in the brackets are pitch, yaw and roll. Pitching it down 90 degrees will make it rotate down. Then do another one to pitch it back to zero to bring it back.
JavaGuy is offline   you may: quote & reply,
Old 09-19-2002, 11:26 AM   #3
Jemek Sunns
 
Jemek Sunns's Avatar
 
Join Date: Apr 2002
Posts: 20
Sounds simple enough, so I just create the script, but how do I make it target the door?
Jemek Sunns is offline   you may: quote & reply,
Old 09-19-2002, 02:19 PM   #4
Darth Link
 
Darth Link's Avatar
 
Join Date: Jul 2002
Posts: 91
make a target_scriptrunner and ctrl+k it to the door.i think thats how it works but since ive never done scripting,im not sure.
Darth Link is offline   you may: quote & reply,
Old 09-20-2002, 09:25 AM   #5
JavaGuy
 
JavaGuy's Avatar
 
Join Date: Aug 2002
Posts: 141
Give the door a targetname, then put an affect clause in your script.

affect ( "my_door", FLUSH )
{
rotate ( < -90 0 0 >, 1000 );
}

A sound to go with it would be good too. People don't put enough sound in their maps.
JavaGuy 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 > JO Mapping > Rotating door

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 06:12 PM.

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