forked from TeamSpen210/HammerAddons
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
20 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,23 @@ | ||
@SolidClass base(Trigger) | ||
= trigger_setspeed : "Trigger for setting speed of the player." | ||
= trigger_setspeed : "A trigger volume that sets the exact speed of entities that are touching it." | ||
[ | ||
KeepHorizontalSpeed(integer) : "Keep horizontal speed" : 0 : "If you want to keep the horizontal (x/y axis velocity based) speed, set it to 1." | ||
KeepVerticalSpeed(integer) : "Keep vertical speed" : 0 : "If you want to keep the vertical (z axis velocity based) speed, set it to 1." | ||
HorizontalSpeedAmount(float) : "Horizontal speed amount" : 500 : "Set here the speed length based on x/y axis for the velocity direction." | ||
VerticalSpeedAmount(float) : "Vertical speed amount" : 100 : "Set here the speed based on z axis for the velocity direction." | ||
Direction(angle) : "Direction (Pitch Yaw Roll)" : "0 0 0" : "Direction of the speed applied. Keep in mind that only Y angle is taken into account because vertical speed can be set already." | ||
OnThink(integer) : "Update every intervals" : 0 : "If you want to make the trigger updating for each defined interval, set it to 1." | ||
Interval(float) : "Interval" : "1.0" : "Set here in seconds how many time the trigger should update." | ||
EveryTick(integer) : "Every tick" : 0 : "If you want the trigger to update and fire every tick, set this to 1." | ||
HorizontalSpeedMode(choices) : "Horizontal Speed Mode" : 0 : "Determines how horizontal speed is applied. If direction is not set, the entity's current velocity direction is retained. If the entity has no horizontal speed, its rotation is used for the velocity angle." = | ||
[ | ||
0: "Set exact speed and direction" | ||
1: "Set exact speed" | ||
2: "Increase only" | ||
3: "Decrease only" | ||
4: "Ignore" | ||
] | ||
HorizontalSpeed(float) : "Horizontal Speed" : 500 : "The new horizontal speed to apply. Direction depends on Horizontal Speed Mode." | ||
HorizontalSpeedAngle(angle) : "Horizontal Speed Angle (Pitch Yaw Roll)" : "0 0 0" : "If this entity's Horizontal Speed Mode is 'Set exact speed and direction', this angle determines the new horizontal velocity direction. Only the Yaw is used." | ||
VerticalSpeedMode(choices) : "Vertical Speed Mode" : 4 : "Determines how vertical speed is applied. 'Increase only' and 'Decrease only' factor in both sign and magnitude. For example, using 'Decrease only' with a speed of -500 will ensure an entity touching this is moving at least 500 units/sec downward." = | ||
[ | ||
1: "Set exact speed" | ||
2: "Increase only" | ||
3: "Decrease only" | ||
4: "Ignore" | ||
] | ||
VerticalSpeed(float) : "Vertical Speed" : 0 : "The new vertical speed to apply." | ||
StrictMode(boolean) : "Strict Mode" : 0 : "When enabled, the entity must enter the trigger while on the ground and without teleporting. If the entity is a player, they: must first touch a brush side which opposes the horizontal speed angle (with 'Set exact speed and direction' mode), are teleported to the exact edge of the trigger, and are prevented from ducking while in the trigger. If there is not enough space to do this, the trigger will not activate." | ||
] |