FGD: Add new Mystery Box flags

This commit is contained in:
cypress 2023-08-29 12:31:38 -04:00
parent 3bb3a8e2f8
commit 620966101f
2 changed files with 12 additions and 2 deletions

View file

@ -461,9 +461,14 @@
// NZP Weapons
//
@PointClass size(-32 -8 -8, 32 8 8) base(Item, Appearflags) color(141 85 29) studio("models/machines/mystery.mdl") =
@PointClass size(-32 -8 -8, 32 8 8) base(Item, Appearflags) color(141 85 29) studio() =
mystery_box : "Mystery Box"
[
model(studio) : "Model" : "models/machines/mystery.mdl"
weapon2model(studio) : "Light Model" : "models/machines/mglow$.mdl"
cost(integer) : "Cost" : 950
oldmodel(string) : "Open Sound" : "sounds/machines/mbox_open.wav"
powerup_vo(string) : "Close Sound" : "sounds/machines/mbox_open.wav"
spawnflags(Flags) =
[
1 : "Not here" : 0

View file

@ -461,9 +461,14 @@
// NZP Weapons
//
@PointClass size(-32 -8 -8, 32 8 8) base(Item, Appearflags) color(141 85 29) model("models/machines/mystery.mdl") =
@PointClass size(-32 -8 -8, 32 8 8) base(Item, Appearflags) color(141 85 29) model({{ model != Null -> model, {"path":"models/machines/mystery.mdl"} }}) =
mystery_box : "Mystery Box"
[
model(model) : "Model" : "models/machines/mystery.mdl"
weapon2model(model) : "Light Model" : "models/machines/mglow$.mdl"
cost(integer) : "Cost" : 950
oldmodel(string) : "Open Sound" : "sounds/machines/mbox_open.wav"
powerup_vo(string) : "Close Sound" : "sounds/machines/mbox_open.wav"
spawnflags(Flags) =
[
1 : "Not here" : 0