Doom3world

The world is yours! Doom 3 - Quake 4 - ET:QW - Prey - Rage
It is currently Sat May 25, 2013 3:31 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Lift help please
PostPosted: Wed Sep 28, 2011 5:54 pm 
Offline
is connecting to Doom3world.org

Joined: Wed Sep 28, 2011 5:50 pm
Posts: 6
I am trying to make a lift that will go to the top and stay there until I trigger it.
Would anyone lend me some assistance?


Top
 Profile E-mail  
 
 Post subject: Re: Lift help please
PostPosted: Wed Sep 28, 2011 6:07 pm 
Offline
Invisibility
User avatar

Joined: Fri Aug 13, 2004 4:39 pm
Posts: 3654
Location: Right there! Look!
I would use a func_mover for that. You can create a brush, then make that a func_mover.
Then move it via a mapscript either to info_path corners, or move it in a steady direction (e.g. up, down).

Actually, my 'sanctity mod' is a small download and the map in it is filled with examples you could use. ;)

_________________
Check out GRIMM Quest for the Gatherer's Key!
Grimm's Youtube Channel

Follow Grimm Quest on Twitter!


Top
 Profile E-mail  
 
 Post subject: Re: Lift help please
PostPosted: Wed Sep 28, 2011 6:43 pm 
Offline
is connecting to Doom3world.org

Joined: Wed Sep 28, 2011 5:50 pm
Posts: 6
do you have a download link?


Top
 Profile E-mail  
 
 Post subject: Re: Lift help please
PostPosted: Wed Sep 28, 2011 6:43 pm 
Offline
is connecting to Doom3world.org

Joined: Wed Sep 28, 2011 5:50 pm
Posts: 6
nm I see it


Top
 Profile E-mail  
 
 Post subject: Re: Lift help please
PostPosted: Wed Sep 28, 2011 7:52 pm 
Offline
is connecting to Doom3world.org

Joined: Wed Sep 28, 2011 5:50 pm
Posts: 6
I took a look through your map (very impressive) but I did not find what I was looking for


Top
 Profile E-mail  
 
 Post subject: Re: Lift help please
PostPosted: Wed Sep 28, 2011 8:50 pm 
Offline
Invisibility
User avatar

Joined: Fri Aug 13, 2004 4:39 pm
Posts: 3654
Location: Right there! Look!
Create a func_mover, name it something like 'func_mover_1'.
Create a script file for your map (new text document in the same folder as your map file, call it the same as your map but give a .script extension).
Paste the two script events below into it. Edit the $yourfuncmover to $<whatever you named your func_mover in the editor>.
Make sure to add the dollar sign.
Now create triggers in your map.
Give them the the key 'call' 'moveup' and 'call' 'movedown' respectively for moving up, or down.

Use this script to move your mover up and down.
The $yourfuncmover.move() command takes two values: the direction and the amount of units to move.
like this $mover.move(-2,200) //up 200 units. -1 = down and all other angles (0-360) are the regular x-angles you can move to.

Code:
void   moveup() {
         $yourfuncmover.move(-2,248); //move up
         sys.waitFor($yourfuncmover);
   }
void   movedown() {
         $yourfuncmover.move(-1,248);  //move down
         sys.waitFor($yourfuncmover);
   }

_________________
Check out GRIMM Quest for the Gatherer's Key!
Grimm's Youtube Channel

Follow Grimm Quest on Twitter!


Top
 Profile E-mail  
 
 Post subject: Re: Lift help please
PostPosted: Thu Sep 29, 2011 5:25 am 
Offline
is connecting to Doom3world.org

Joined: Wed Sep 28, 2011 5:50 pm
Posts: 6
Thanks for the info. Unfortunately I took the upper lvl and the lift out before I read this last bit you posted, but food for thought for next time.


Top
 Profile E-mail  
 
 Post subject: Re: Lift help please
PostPosted: Thu Sep 29, 2011 10:44 am 
Offline
Invisibility
User avatar

Joined: Fri Aug 13, 2004 4:39 pm
Posts: 3654
Location: Right there! Look!
That's a pity. There *I* was putting time and effort into making an example for you.

_________________
Check out GRIMM Quest for the Gatherer's Key!
Grimm's Youtube Channel

Follow Grimm Quest on Twitter!


Top
 Profile E-mail  
 
 Post subject: Re: Lift help please
PostPosted: Thu Sep 29, 2011 11:34 am 
Offline
is connecting to Doom3world.org

Joined: Wed Sep 28, 2011 5:50 pm
Posts: 6
Dude don't sweat it the info will more than likely come in handy later on down the road


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group