Creating a trampoline Created 16 years ago2008-03-08 08:10:01 UTC by Pike Pike

Created 16 years ago2008-03-08 08:10:01 UTC by Pike Pike

Posted 16 years ago2008-03-08 08:10:01 UTC Post #247393
Hi. Im quite new to half-life mapping and i need help greating a working trampoline. I have tried some stuff like altering the gravity (but then i just get stuck in the celing forever), and creating a push (but then the push is only horizontal). I want the net (floor) to be a button that triggers the jump so that the player gets thrown up into the air. Im thinking something like those alien bouncie things from the map bounce.
I have probably just missed to change some options or something, but i hope someone can help me with this.
Posted 16 years ago2008-03-08 08:19:42 UTC Post #247394
You actually use a trigger_push.

See that pitch thing?
There is a scroll down bar beneth it, click on it and select "up", and up you go. :)

Notice that the force needs to be great enough to push the player up tho.

Oh, and you might wanna use a trigger_multiple (correct me if I am wrong people) beneth the push, so that the push initially is disabled, but when you trigger the trigger_multiple, the push become active.
This prevents some annoying gameplay obsticles.

So the trigger_multiple triggers a multimanager which at first activates the push, and then deactivates it after like a second or whatever. The timing depends on the size and speed of the push.

Good luck.
Madcow MadcowSpy zappin my udder
Posted 16 years ago2008-03-08 08:27:57 UTC Post #247395
trigger_push in the upwards direction only works when you are in the air (i.e. jumping) so you just have to put it in and you'll only get pushed up when you jump :)
Penguinboy PenguinboyHaha, I died again!
Posted 16 years ago2008-03-08 09:27:20 UTC Post #247401
If it only works when you're in the air, maybe you could supplement the trigger_push with a little, invisible func door underneath that pushes you up, or even a trapdoor at the top of the trampoline: when it drops you (leaving you in the air), maybe the func_push would push you up as desired?
Captain Terror Captain Terrorwhen a man loves a woman
Posted 16 years ago2008-03-08 12:40:15 UTC Post #247416
Ok now i have the push going up :D .But this trigger_multiple doesn't work (dont triggers when i jump on the trampoline).The push is either always on or never on (if i click the flags "starf off").
Do i need to link the trigger_multiple to another trigger to make it work?
Im a beginner, have mercy :nuts:
Posted 16 years ago2008-03-08 12:45:00 UTC Post #247418
Ja, you use the trigger multiple to trigger the push twice.
Once for turning it on, and once for turning it off again.

Keep in mind that the trigger needs to be repeatable.

There is a turorial on multimanagers in the turorial section, search the word multimanager.
Madcow MadcowSpy zappin my udder
Posted 16 years ago2008-03-09 12:13:27 UTC Post #247471
Setting it up is easy. Just need a trigger_push and a func_illusionary. For the trigger set the angle up and the speed value to 4000. To get higher you have to do the same as when you bunnyhop (without pressing the jump button). For the illusionary I recommend to use an invisible texture (not the whole texture is invisible, but its parts, like fences), because the higher you jump up the lower you fall down, and thus from the first person view it is look like much more better, but it is a little bit ugly when see another person's "jumping".
User posted image
You must be logged in to post a response.