Skip to content

Commit

Permalink
Add hammer model keyvalue to npc_cscanner and add mine inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke18033 authored and braem committed Jun 17, 2022
1 parent 7a4df0d commit 34b75ae
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion fgd/point/npc/npc_cscanner.fgd
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"
]

0 comments on commit 34b75ae

Please sign in to comment.