Howto: Make commutable jump pads

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators

Sat May 23, 2009 1:41 am

  • I discovered this trick with a map where I needed jump pads that could be commuted using triggers. By commuted I mean triggered to throw you to an alternative location, for example by shooting a button. Since I'm guessing many mappers could make good use of this and probably wanted such a feature I thought to share my method here :) These are the steps to creating such a jump pad:

    1 - Make your jump pad as usual. Surround it with the trigger_push and set the "target" key to lets say test1234.

    2 - Instead of making a target_position like you would normally, create another brush (make it as small as possible) and texture it with a normal texture that you can see for now. Right click and make it a func_door then set its "angle" and "lip" to where you want it to go and set the "speed" to 100000 so it moves instantly (not sure if -1 works instead). Its initial position will be where the jump pad throws you normally, while the position it goes to is the alternative position. Set the "wait" key to the amount of time you want the jump pad to remain commuted (unless you want it toggled) then set "targetname" to test1234 and the jump pad should link to it.

    3 - Create the brush that you want to commute the jump pad and make it a func_button. Set "health" to 1 if you want it to be triggered by shooting and tweak everything else then set its "target" to test1234 as well.

    4 - Compile the map and go in-game for testing. Watch where the little box goes when triggered and see if the jumppad throws you the way you want in each position. Once you're happy with it texture the func_door with the Hint common texture to make it invisible and non-colliding (don't use the Trigger texture as that makes it still collide, use Hint instead). Now your jump pad can be triggered to an alternative direction when you push or shoot the button :D Here's a snapshot of how I had them for a basic test:

    Image

    Do not try using this on teleporters! I tested it and it doesn't work, trigger_teleport only allows misc_teleporter_dest as a destination point or it brakes your map. And don't worry about the jump pad triggering the door, even if both trigger_push and func_button address func_door with a "target" key only the button causes the door to move. You may also want to add an indicator to show if the jump pad is commuted or not... a simple way to do this is by adding a func_door_rotating with an arrow texture which is triggered by the same button and has the same "wait" time as the jump pad's func_door. It would be nice if a correct way to make commutable jump pads could be added sometime (allow a jump pad to change its destination towards another target_position when triggered) but for now this should do well. Have fun :)
    User avatar
    MirceaKitsune
    Keyboard killer
     
    Posts: 593
    Joined: Thu Aug 14, 2008 6:48 am
    Location: Romania - Bucharest

Sat May 23, 2009 7:17 am

  • Heh, I have to try this :D
    Thanks for sharing!
    "One should strive to achieve; not sit in bitter regret."
    WE ARE NEXUIZ.
    Image
    Image
    User avatar
    C.Brutail
    Laidback mapper
     
    Posts: 2357
    Joined: Tue Feb 28, 2006 7:26 pm
    Location: Ironforge

Sat May 23, 2009 1:53 pm

Sat May 23, 2009 3:23 pm

  • wow cool trick also work with misc_follow :wink:
    User avatar
    Sven
    Alien trapper
     
    Posts: 315
    Joined: Sun Jun 01, 2008 8:38 am
    Location: Berlin; Germany

Sat May 23, 2009 4:01 pm

  • With misc_follow, you can also use it with misc_teleporter_dest - simply make misc_follow move the misc_teleporter_dest together with the func_door.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Sat May 23, 2009 4:13 pm

  • Great idea :) Wasn't familiar with misc_follow but that should make a misc_teleporter_dest movable on a door.
    User avatar
    MirceaKitsune
    Keyboard killer
     
    Posts: 593
    Joined: Thu Aug 14, 2008 6:48 am
    Location: Romania - Bucharest

Sat May 23, 2009 4:59 pm

  • ive made moveable trigger_teleports on my new map: Capturecity_revisited :wink:
    and maybe movable spot light with rt. light?
    User avatar
    Sven
    Alien trapper
     
    Posts: 315
    Joined: Sun Jun 01, 2008 8:38 am
    Location: Berlin; Germany



Return to Nexuiz - Editing




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest