Forum breadcrumbs - You are here:ForumCommunity Boards: Hammer and ModdingOnJump
Please or Register to create posts and topics.

OnJump

Page 1 of 2Next

I have been trying to find a way to make a sound trigger upon jumping.
So far i have tried making a layer of triggers on the entire ground so when you jump you stop touching the trigger, and even though it is glichy it seems to work decently fine. now i want it to only work in a single spot but the problem with this is that when a player walks into this it will activate.
does anyone know an easier way to activate a trigger upon jumping.

Try starting your trigger disabled, and have a trigger inside that trigger which enables the first trigger. This should solve the problem I think.

This Signature is Beyond Your Range of Seeing.

Image

Get a logic_playerproxy. It has an output for different things, including jumping. Connect it through a logic_relay, and enable and disable the relay to stop it outputting.

My stuff:
[spoiler]- BEE2 Addons | (BEE2)
- Hammer Addons
Maps:
- Crushed Gel
- Gel is Not Always Helpful[/spoiler]

Tmast98, that was a good idea and i saw the logic behind it, but it did not work, probably because the trig area that i am using is small enough were you touch the inner one and outer simaltaniouly.

TeamSpen210, thanks, worked like a charm.

The logic_playerproxy, like TeamSpen210 said, is generally the best option when it comes to having a certain output on a certain button press. I've seen a lot of suggestions of re-binding: DON'T do that, use this lovely entity instead :thumbup:

Lovely indeed! :thumbup: I didn't know about this entity >.<

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]

It's surprisingly obscure compared to the game_ui, but it's a wonderful thing to be able to use. I think I've rebound +duck to four different things in different maps with it.

Falsi sumus crusto!

Is there any way to make the jump command fire an output while being suppressed by a game_ui? Because this is for an SCP containment Breach map, and space bar is blink, and crouch is enabled, and left and right mouse buttons are being reserved for inventory functions inside my map.

My YouTube Channel: https://www.youtube.com/user/Camben24
Aperture Science: We do our science asbestos we can!
CamBen wrote:
... and left and right mouse buttons are being reserved for inventory functions inside my map.

A custom HUD? ;) (I'm planning on making one too for my mod :D)

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]
Page 1 of 2Next