FGD: Add Barricade board health

This commit is contained in:
MotoLegacy 2023-12-09 10:42:17 -05:00
parent bfd6bd9fb9
commit 0377650e38
2 changed files with 6 additions and 2 deletions

View File

@ -737,10 +737,12 @@
@PointClass size(-32 -8 -8, 32 8 8) base(Item, Appearflags) color(151 104 34) studio("models/machines/mystery.mdl") =
mystery_box_tp_spot : "Mystery Box Possible Spawn Point" []
@PointClass size(-28 -28 -64, 28 28 40 ) base(Item, Appearflags) color(114 224 172) studio() = item_barricade : "Window Boards"
@PointClass size(-28 -28 -64, 28 28 40 ) base(Item, Appearflags) color(114 224 172) studio() = item_barricade : "Window Barricade"
[
model(studio) : "Model" : "models/misc/window.mdl"
skin(integer) : "Skin" : 0
health(integer) : "Starting Boards (-1 for none)" : 6
health_delay(integer) : "Max/Repairable Boards" : 6
oldmodel(string) : "Rebuild Sound" : "sounds/misc/barricade.wav"
aistatus(string) : "Destroy Sound" : "sounds/misc/barricade_destroy.wav"
spawnflags(Flags) =

View File

@ -737,10 +737,12 @@
@PointClass size(-32 -8 -8, 32 8 8) base(Item, Appearflags) color(151 104 34) model("models/machines/mystery.mdl") =
mystery_box_tp_spot : "Mystery Box Possible Spawn Point" []
@PointClass size(-28 -28 -64, 28 28 40 ) base(Item, Appearflags) color(114 224 172) model({{ model != Null -> model, {"path":"models/misc/window.mdl"} }}) = item_barricade : "Window Boards"
@PointClass size(-28 -28 -64, 28 28 40 ) base(Item, Appearflags) color(114 224 172) model({{ model != Null -> model, {"path":"models/misc/window.mdl"} }}) = item_barricade : "Window Barricade"
[
model(model) : "Model" : "models/misc/window.mdl"
skin(integer) : "Skin" : 0
health(integer) : "Starting Boards (-1 for none)" : 6
health_delay(integer) : "Max/Repairable Boards" : 6
oldmodel(string) : "Rebuild Sound" : "sounds/misc/barricade.wav"
aistatus(string) : "Destroy Sound" : "sounds/misc/barricade_destroy.wav"
spawnflags(Flags) =