Skip to content

Commit

Permalink
FGD: Add support for item_radio model path
Browse files Browse the repository at this point in the history
  • Loading branch information
MotoLegacy committed Jun 10, 2024
1 parent 5162be1 commit 582eb41
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion source/maps/fgd/hl-nzp.fgd
Original file line number Diff line number Diff line change
Expand Up @@ -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) =
Expand Down
3 changes: 2 additions & 1 deletion source/maps/fgd/tb-nzp.fgd
Original file line number Diff line number Diff line change
Expand Up @@ -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) =
Expand Down

0 comments on commit 582eb41

Please sign in to comment.