forked from TeamSpen210/HammerAddons
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add hammer model keyvalue to npc_cscanner and add mine inputs
- Loading branch information
Showing
1 changed file
with
8 additions
and
1 deletion.
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,10 +1,17 @@ | ||
@NpcClass base(BaseNPC, CombineScanner) | ||
appliesto(+HL2_ENTITIES) | ||
studio("models/combine_scanner.mdl") | ||
studioprop() | ||
= npc_cscanner: "City Scanner" | ||
[ | ||
// This works even in episodic, but only claw scanners ever drop landmines. | ||
// So you should just use that in that situation. | ||
model[!engine](choices) : "[H] Model" : "models/combine_scanner.mdl" : "These become Claw Scanners if the map name starts with 'd3_c17'. "+ | ||
"Use this to change the model shown in Hammer." = | ||
[ | ||
"models/combine_scanner.mdl" : "City Scanner" | ||
"models/shield_scanner.mdl" : "Claw Scanner" | ||
] | ||
|
||
input DeployMine(void) : "Drop landmine (if carrying one)" | ||
input EquipMine(void) : "Equip with landmine" | ||
] |