Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Momentum Mod teleport modes to point_teleport #250

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions fgd/point/point/point_teleport.fgd
Original file line number Diff line number Diff line change
Expand Up @@ -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. " +
Expand Down
Loading