Skip to content

Commit

Permalink
Merge pull request #297 from GMLambda/ep1-c17-05-cp
Browse files Browse the repository at this point in the history
Add checkpoint for ep1_c17_05
  • Loading branch information
ZehMatt authored May 31, 2024
2 parents e706baa + 3015484 commit 41575fc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
0.9.25 (in development)
- Improved: Hints will no longer show duplicates, instead it will renew the existing hint that has the same text.
- Improved: ep1_c17_05: Add a checkpoint after the hallway.
- Fixed: ep1_c17_02a: Alyx not picking up a shotgun.

0.9.24
Expand Down
13 changes: 12 additions & 1 deletion gamemode/gametypes/hl2ep1/mapscripts/ep1_c17_05.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,18 @@ MAPSCRIPT.GlobalStates = {
["super_phys_gun"] = GLOBAL_OFF
}

MAPSCRIPT.Checkpoints = {}
MAPSCRIPT.Checkpoints = {
{
Pos = Vector(9777, 9720, -735),
Ang = Angle(0, 90, 0),
Trigger = {
Pos = Vector(9777, 9720, -735),
Mins = Vector(-106, -111, -64),
Maxs = Vector(106, 111, 64)
}
},
}

function MAPSCRIPT:PostInit()
-- Force the NPCs to follow the player. Squads in Garry's Mod are a bit broken, the replacement
-- lambda_player_follow entity is a bit more reliable but also quite hacky.
Expand Down

0 comments on commit 41575fc

Please sign in to comment.