-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Anti-delay stuff for winter warehouse
- Remove vending machines in truck. Since truck has no roof entrance, this spot is used exclusively to delay rounds - Kill off props in the building when the zombie roof entrance opens, so any CTs that delay in the rooms instead of going to the roof can be killed by zombies. Also matches timing with chat warning to go to roof
- Loading branch information
1 parent
8ec593e
commit eeadd49
Showing
1 changed file
with
48 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"filter": [ | ||
// Remove vending machines in truck. Since truck has no roof entrance, this spot is used exclusively to delay rounds | ||
{ | ||
"classname": "prop_physics_override", | ||
"model": "models/props/cs_office/vending_machine.vmdl", | ||
"origin": "-612.709595 -32.000000 62.427197" | ||
}, | ||
{ | ||
"classname": "prop_physics_override", | ||
"model": "models/props/cs_office/vending_machine.vmdl", | ||
"origin": "-612.709595 -96.000000 62.427197" | ||
} | ||
], | ||
"modify": [ | ||
{ | ||
// Kill off props in the building when the zombie roof entrance opens, | ||
// so any CTs that delay in the rooms instead of going to the roof can be killed by zombies. | ||
// Also matches timing with chat warning to go to roof | ||
"match": { | ||
"io": [ | ||
{ | ||
"delay": 125, | ||
"overrideparam": "say TIP: You should go to the roof in less than 30 seconds." | ||
} | ||
] | ||
}, | ||
"insert": { | ||
"io": [ | ||
{ | ||
"outputname": "OnMapSpawn", | ||
"targetname": "prop", | ||
"targettype": 2, // ENTITY_IO_TARGET_ENTITYNAME | ||
"inputname": "Kill", | ||
"delay": 155 | ||
}, | ||
{ | ||
"outputname": "OnMapSpawn", | ||
"targetname": "barrier", | ||
"targettype": 2, // ENTITY_IO_TARGET_ENTITYNAME | ||
"inputname": "Break", | ||
"delay": 155 | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |