-
Notifications
You must be signed in to change notification settings - Fork 36
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
27 changed files
with
128 additions
and
75 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
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
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
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
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
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
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
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
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
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
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
This file was deleted.
Oops, something went wrong.
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
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
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
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,6 +1,15 @@ | ||
@KeyframeClass base(BaseEntityPoint, KeyFrame, RopeKeyFrame) | ||
// Valve originally had move_rope and keyframe_rope, intended in that order. | ||
// Engine-wise they're exactly identical. | ||
// So we want to combine the logic, but Hammer still thinks they're the same. | ||
// It only detects @MoveClass, so we're alright not using @KeyFrameClass. | ||
//@MoveClass and animator() is required to allow them to be the first in a chain. | ||
// keyframe() automatically renames when copied. | ||
|
||
@MoveClass base(BaseEntityPoint, RopeKeyFrame) | ||
studio("models/editor/axis_helper_thick.mdl") | ||
keyframe() | ||
= keyframe_rope: "A node entity that marks a point in a rope. The first node in the rope should be a move_rope, followed by 1 or more keyframe_ropes." | ||
animator() keyframe() | ||
= keyframe_rope: "A node entity that marks a point in a rope. " + | ||
"Traditionally, one move_rope is used to start the chain and then is followed by one or more keyframe_rope entities. " + | ||
"However they are freely interchangeable." | ||
[ | ||
] |
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
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
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,13 +1,15 @@ | ||
@MoveClass base(BaseEntityPoint, KeyFrame, RopeKeyFrame) | ||
// Valve originally had move_rope and keyframe_rope, intended in that order. | ||
// Engine-wise they're exactly identical. | ||
// So we want to combine the logic, but Hammer still thinks they're the same. | ||
// It only detects @MoveClass, so we're alright not using @KeyFrameClass. | ||
//@MoveClass and animator() is required to allow them to be the first in a chain. | ||
// keyframe() automatically renames when copied. | ||
|
||
@MoveClass base(BaseEntityPoint, RopeKeyFrame) | ||
studio("models/editor/axis_helper.mdl") | ||
animator() | ||
= move_rope: "The first node in set of nodes that are used to place ropes in the world. It should connect to 1 or more keyframe_rope entities." | ||
animator() keyframe() | ||
= move_rope: "A node entity that marks a point in a rope. " + | ||
"Traditionally, one move_rope is used to start the chain and then is followed by one or more keyframe_rope entities. " + | ||
"However they are freely interchangeable." | ||
[ | ||
positioninterpolator[engine](integer) : "Position Interpolator" : 2 | ||
positioninterpolator(choices) : "Position Interpolator" : 2 : "Curve Type. Currently only type 2 (Rope) is fully supported." = | ||
[ | ||
0: "Linear" | ||
1: "Catmull-Rom Spline" | ||
2: "Rope" | ||
] | ||
] |
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
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
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
This file was deleted.
Oops, something went wrong.
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,10 +1,9 @@ | ||
|
||
@PointClass base(BaseDriveableVehicle) | ||
appliesto(ASW, EP1, EP2, HL2, P1, P2) | ||
studioprop() = vehicle_viewcontroller: "Vehicle hack to control player view" | ||
studioprop() | ||
= vehicle_viewcontroller: "Vehicle hack to control player view" | ||
[ | ||
|
||
// Inputs | ||
input ForcePlayerIn(string) : "Force the player into the vehicle. The animation to use can be specified in the parameter. Without a parameter, the player just teleports." | ||
input ForcePlayerIn(string) : "Force the player into the vehicle. The animation to use can be specified in the parameter. " + | ||
"Without a parameter, the player just teleports." | ||
input ForcePlayerOut(void) : "Force the player out of the vehicle." | ||
] |
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
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
Oops, something went wrong.