FGD: Add support for item_radio model path

This commit is contained in:
cypress 2024-06-09 17:25:10 -07:00
parent 5162be1e98
commit 582eb410fb
2 changed files with 4 additions and 2 deletions

View file

@ -365,8 +365,9 @@
message(string) : "Message"
]
@PointClass size(-9 -9 -4, 9 9 4) base(Item) color(35 67 36) studio("models/props/radio.mdl") = item_radio : "Radio"
@PointClass size(-9 -9 -4, 9 9 4) base(Item) color(35 67 36) studio() = item_radio : "Radio"
[
model(studio) : "Model" : "models/props/radio.mdl"
tune(string) : "tune"
length(integer) : "length"
spawnflags(Flags) =

View file

@ -365,8 +365,9 @@
message(string) : "Message"
]
@PointClass size(-9 -9 -4, 9 9 4) base(Item) color(35 67 36) model("models/props/radio.mdl") = item_radio : "Radio"
@PointClass size(-9 -9 -4, 9 9 4) base(Item) color(35 67 36) model({{ model != Null -> model, {"path":"models/props/radio.mdl"} }}) = item_radio : "Radio"
[
model(string) : "Model" : "models/props/radio.mdl"
tune(string) : "tune"
length(integer) : "length"
spawnflags(Flags) =