scripted portal exit
Quote from kevansevans on September 7, 2013, 11:54 pmI can't seem to find this anywhere, so I do apologize if this has been asked before.
I'm having an issue with my map where simply looking a certain direction alters the exit arc from leaving a portal, which as a result either leads to acid or laser field. How can i make it so when exiting I can have the player travel a specific arc, similar to a faith plate.
I can't seem to find this anywhere, so I do apologize if this has been asked before.
I'm having an issue with my map where simply looking a certain direction alters the exit arc from leaving a portal, which as a result either leads to acid or laser field. How can i make it so when exiting I can have the player travel a specific arc, similar to a faith plate.
Quote from wrathofmobius on September 8, 2013, 12:13 amYou can set up a trigger_catapult over where they'll be flinging out of, with an info_target where you'd like them to land - exactly like a faith plate but without the model/sound.
You can set up a trigger_catapult over where they'll be flinging out of, with an info_target where you'd like them to land - exactly like a faith plate but without the model/sound.
[spoiler]WOM Test 1
Laser Cube Quest
Mho' Power - Community Spotlight!
Four Corners[/spoiler]

Quote from TeamSpen210 on September 8, 2013, 12:23 amSet "use threshold check" to yes to make the catapult only activate if the player is travelling close to the correct speed, so simply walking through the portal won't throw the player.
Set "use threshold check" to yes to make the catapult only activate if the player is travelling close to the correct speed, so simply walking through the portal won't throw the player.
[spoiler]- BEE2 Addons | (BEE2)
- Hammer Addons
Maps:
- Crushed Gel
- Gel is Not Always Helpful[/spoiler]
Quote from wrathofmobius on September 8, 2013, 12:35 amOh, yeah, forgot about that
Whatever you do, though, don't make it increase/decrease your speed by too much. Make sure it looks as natural as possible, and if possible, put the trigger_catapult right in front of the portal, so the launching is done during the transition between portals.
Oh, yeah, forgot about that
Whatever you do, though, don't make it increase/decrease your speed by too much. Make sure it looks as natural as possible, and if possible, put the trigger_catapult right in front of the portal, so the launching is done during the transition between portals.
[spoiler]WOM Test 1
Laser Cube Quest
Mho' Power - Community Spotlight!
Four Corners[/spoiler]
Quote from kevansevans on September 8, 2013, 11:19 amThanks guys, that really helped, now I'm having another issue.
I can't seem to tell what speed I'm exiting the portal at, is there a console command that can display this info for me, or is it just trial and error? Also, when I have the threshold off to test the actual arc, it sends me in a more upwards direction despite the info_target being in a lower position (I do have it properly assigned under launch target), and the point direction button doesn't change the coordinates for launch direction. Will I have to adjust those number manually, or am I looking at the wrong properties?
EDIT: I also want to point out that the exit portal is on an angled panel.
Thanks guys, that really helped, now I'm having another issue.
I can't seem to tell what speed I'm exiting the portal at, is there a console command that can display this info for me, or is it just trial and error? Also, when I have the threshold off to test the actual arc, it sends me in a more upwards direction despite the info_target being in a lower position (I do have it properly assigned under launch target), and the point direction button doesn't change the coordinates for launch direction. Will I have to adjust those number manually, or am I looking at the wrong properties?
EDIT: I also want to point out that the exit portal is on an angled panel.

Quote from Gemarakup on September 8, 2013, 12:16 pmThere's a console command that let's you view the player's location and speed, but I forgot what it is. Check what the speed is when the player falls or let someone tell you.
There's a console command that let's you view the player's location and speed, but I forgot what it is. Check what the speed is when the player falls or let someone tell you.

Quote from josepezdj on September 9, 2013, 4:31 amyishbarr wrote:There's a console command that let's you view the player's location and speed, but I forgot what it is.It's in the wiki
It's in the wiki