Skip to content

Commit

Permalink
Add 2 checkpoints and rpg to map loadout on c17_06
Browse files Browse the repository at this point in the history
  • Loading branch information
knoxed committed Mar 23, 2024
1 parent 115b122 commit f79fd67
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions gamemode/gametypes/hl2ep1/mapscripts/ep1_c17_06.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ end

local MAPSCRIPT = {}
MAPSCRIPT.DefaultLoadout = {
Weapons = {"weapon_crowbar", "weapon_physcannon", "weapon_pistol", "weapon_smg1", "weapon_357", "weapon_shotgun", "weapon_frag", "weapon_ar2", "weapon_crossbow"},
Weapons = {"weapon_crowbar", "weapon_physcannon", "weapon_pistol", "weapon_smg1", "weapon_357", "weapon_shotgun", "weapon_frag", "weapon_ar2", "weapon_rpg", "weapon_crossbow"},
Ammo = {
["Pistol"] = 18,
["SMG1"] = 45,
Expand All @@ -13,7 +13,8 @@ MAPSCRIPT.DefaultLoadout = {
["Grenade"] = 3,
["AR2"] = 50,
["SMG1_Grenade"] = 1,
["XBowBolt"] = 4
["XBowBolt"] = 4,
["RPG_Round"] = 3,
},
Armor = 0,
HEV = true
Expand All @@ -39,10 +40,27 @@ MAPSCRIPT.GlobalStates = {
}

MAPSCRIPT.Checkpoints = {
{
Pos = Vector(12302, 9626, -728),
Ang = Angle(0, 90, 0),
Trigger = {
Pos = Vector(12308, 9405, -678),
Mins = Vector(-68, -19, -54),
Maxs = Vector(68, 19, 54)
}
},
{
Pos = Vector(11934, 8531, -728),
Ang = Angle(0, 90, 0),
Trigger = {
Pos = Vector(11946, 8528, -696),
Mins = Vector(-101, -64, -40),
Maxs = Vector(101, 64, 40)
}
},
}

function MAPSCRIPT:PostInit()

-- Replace the train start trigger with a bigger one and a teamwait keyvalue and create a checkpoint parented to the train
local trainCheckpoint = GAMEMODE:CreateCheckpoint(Vector(11986, 8409, -759), Angle(0, 90, 0))

Expand Down

0 comments on commit f79fd67

Please sign in to comment.