From 6f381b4e4640dfde9fb2ade7fd4c7acbbed932c0 Mon Sep 17 00:00:00 2001 From: Lumia <66639143+chovelyoukai@users.noreply.github.com> Date: Thu, 6 Feb 2025 18:20:53 -0500 Subject: [PATCH] feat(momentum): Add teleport modes to point_teleport --- fgd/point/point/point_teleport.fgd | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/fgd/point/point/point_teleport.fgd b/fgd/point/point/point_teleport.fgd index 7af28f7f9..5959f8e3f 100644 --- a/fgd/point/point/point_teleport.fgd +++ b/fgd/point/point/point_teleport.fgd @@ -14,6 +14,18 @@ 2: "Into Duck (episodic)" : 0 ] + UseDestinationAngles[MOMENTUM](boolean) : "Use Destination Angles" : 0 : "Forces the teleported object to snap to the angles of the destination." + + VelocityMode[MOMENTUM](choices) : "Velocity Mode" : 0 = + [ + 0 : "Keep Velocity" + 1 : "Reset Velocity" + 2 : "Keep Negative Z Velocity Only" + 3 : "Redirect Velocity" + ] + + SetSpeed[MOMENTUM](float) : "Redirect Velocity Speed" : 400 : "If Velocity Mode is set to Redirect Velocity, the entity's speed will be set to this amount when teleported. When this speed is <= 0, use the entity's current speed instead." + // Inputs input Teleport(void) : "Teleport the target entity." input TeleportToCurrentPos(void) : "Teleport the target entity to wherever the point_teleport entity is currently. " +