- Jul 5, 2009
- 249
- 28
I'm working on a map, and one of the key features is a series of ramps you can run up and then be launched from, with the goal of landing on (or in) a given target.
When I set the push speed to 40000 inches/second, it reset it to 40. Which, as one might expect, just sort of nudge the player a bit. When I set it to 40 and the alternate tick to 1000, I found myself on the other side of the map. When I set it to 4 and 1000, I was getting nudges again. Finally, I set it to 4000 and 1, and that seemed to work. Sort of.
Then I played with the angle. I tried using the 'point at' tool. I pointed it at a prop beyond my target. That launched me straight forward into a wall. I tried altering the angle. Still hit the wall. I set the angle to 60 0 0, and hit the wall. I set the angle to -60 0 0, and still hit the wall.
Then I deleted the trigger, rebuilt it without ever pointing at anything, set the angle to -60 0 0, and was launched sideways into a different wall.
After much experimentation, -90 90 0 appears to achieve an angle that works. But, it doesn't always push you. If you walk up the ramp, you get where you're going. If you walk up and jump, you fall short.
I extended the ramp to ensure nobody could just walk under the trigger and get launched in the air by their head being inside it. Then walking up the ramp did little or nothing, and jumping from the ramp could land you on the target. Or drop you short. The end result appears random.
Furthermore, I cloned the whole thing and set up a second one. They're aligned to the grid, and there's an identical target an identical distance at an identical angle. This one, you miss the target regularly.
So I'm more or less stumped here. Someone please explain how exactly this all works, because it doesn't appear to follow any sort of logical pattern that I can discern.
When I set the push speed to 40000 inches/second, it reset it to 40. Which, as one might expect, just sort of nudge the player a bit. When I set it to 40 and the alternate tick to 1000, I found myself on the other side of the map. When I set it to 4 and 1000, I was getting nudges again. Finally, I set it to 4000 and 1, and that seemed to work. Sort of.
Then I played with the angle. I tried using the 'point at' tool. I pointed it at a prop beyond my target. That launched me straight forward into a wall. I tried altering the angle. Still hit the wall. I set the angle to 60 0 0, and hit the wall. I set the angle to -60 0 0, and still hit the wall.
Then I deleted the trigger, rebuilt it without ever pointing at anything, set the angle to -60 0 0, and was launched sideways into a different wall.
After much experimentation, -90 90 0 appears to achieve an angle that works. But, it doesn't always push you. If you walk up the ramp, you get where you're going. If you walk up and jump, you fall short.
I extended the ramp to ensure nobody could just walk under the trigger and get launched in the air by their head being inside it. Then walking up the ramp did little or nothing, and jumping from the ramp could land you on the target. Or drop you short. The end result appears random.
Furthermore, I cloned the whole thing and set up a second one. They're aligned to the grid, and there's an identical target an identical distance at an identical angle. This one, you miss the target regularly.
So I'm more or less stumped here. Someone please explain how exactly this all works, because it doesn't appear to follow any sort of logical pattern that I can discern.