moving stone?

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
IJsbeer
Private
Posts: 1
Joined: Sat Apr 05, 2003 3:52 pm

moving stone?

Post by IJsbeer »

i want to build a large stone in my multipayer level and when you activate a trigger the stone moves aside (just like in the campaign).
Does anyone know how to fix this?
tnx
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

If you're a script-o-fobic, this might work:
  1. Make the stone a script_object.
  2. Create an info_splinepath where you want the stone to move to.
  3. Select first the stone, then the splinepath and press ctrl + k.
  4. Create a trigger(_multiple?) that has to activate the stone.
  5. Select first the trigger, then the stone and press ctrl + k.
  6. If there's a line from the trigger to the stone to the splinepath, you're done. Otherwise check targets and targetnames.
If this doesn't work I might have to move this thread to scripting :?
Image
User avatar
wacko
Field Marshal
Posts: 2085
Joined: Fri Jul 05, 2002 8:42 pm
Location: Germany

Post by wacko »

A func_door might work aswell, make a trigger_use with key/value target/stone for the switch or a trigger_multiple for a area the player must enter to move the stone (i.e. the func_door) which has targetname/stone and give it the angle, where it should move to, the distance can be set with the lip key. I think with a key/value lip/0 the stone moves it's length in this direction, a value lower than 0 makes it move further...
Post Reply