From f5dcbc3839c57e735fbacacb14f0f5cced38f787 Mon Sep 17 00:00:00 2001 From: Abhid Islam Date: Fri, 29 Apr 2022 18:12:46 +0100 Subject: [PATCH] FGD: Fix model paths (#2) --- source/maps/fgd/hl-nzp.fgd | 23 +++++++++++------------ source/maps/fgd/tb-nzp.fgd | 22 +++++++++++----------- 2 files changed, 22 insertions(+), 23 deletions(-) diff --git a/source/maps/fgd/hl-nzp.fgd b/source/maps/fgd/hl-nzp.fgd index 2632c1d..1ac3883 100644 --- a/source/maps/fgd/hl-nzp.fgd +++ b/source/maps/fgd/hl-nzp.fgd @@ -87,7 +87,7 @@ mangle(string) : "Mangle (Pitch Yaw Roll)" ] -@PointClass size(-16 -16 -32, 16 16 56) base(Item) color(107 29 20) studio("progs/props/teleporter.mdl") = func_teleporter_entrance : "Teleporter Entrance" +@PointClass size(-16 -16 -32, 16 16 56) base(Item) color(107 29 20) studio("models/props/teleporter.mdl") = func_teleporter_entrance : "Teleporter Entrance" [ target(target_destination) : "Destination" cost(integer) : "Cost" @@ -101,24 +101,24 @@ tpTimer(integer) : "[Timed] Time before return" ] -@PointClass size(-16 -16 -32, 16 16 56) base(Item) color(107 29 20) studio("progs/props/mainframe_pad.mdl") = func_teleporter_destination : "Teleporter Destination" +@PointClass size(-16 -16 -32, 16 16 56) base(Item) color(107 29 20) studio("models/props/mainframe_pad.mdl") = func_teleporter_destination : "Teleporter Destination" [ targetname(target_source) : "Name" ] -@PointClass size(-16 -16 -32, 16 16 56) base(Item) color(171 73 252) studio("progs/props/mainframe_pad.mdl") = func_teleporter_timed : "Teleporter Timed Destination" +@PointClass size(-16 -16 -32, 16 16 56) base(Item) color(171 73 252) studio("models/props/mainframe_pad.mdl") = func_teleporter_timed : "Teleporter Timed Destination" [ targetname(target_source) : "Name" ] -@PointClass size(-16 -16 -32, 16 16 56) base(Item) color(62 0 132) studio("progs/props/mainframe_pad.mdl") = func_teleporter_pad : "Teleporter Pad" +@PointClass size(-16 -16 -32, 16 16 56) base(Item) color(62 0 132) studio("models/props/mainframe_pad.mdl") = func_teleporter_pad : "Teleporter Pad" [ targetname(target_source) : "Name" ] @PointClass color(114 224 172) studio() = func_ending : "Buyable Ending" [ - model(studio) : "Model" : "progs/props/" + model(studio) : "Model" : "models/props/" skin(integer) : "Skin" : 0 cost(integer) : "Cost" : 0 ] @@ -137,7 +137,7 @@ length(integer) : "length" ] -@PointClass size(-8 -8 -8, 8 8 8) base(Item) color(141 85 29) studio("progs/Misc/teddy.mdl") = teddy_spawn : "Teddy spawn location" [] +@PointClass size(-8 -8 -8, 8 8 8) base(Item) color(141 85 29) studio("models/props/teddy.mdl") = teddy_spawn : "Teddy spawn location" [] @PointClass size(-12 -12 -8, 12 12 8) color(35 67 36) studio() = zapper_switch : "Electro-Shock Activation Switch" @@ -153,7 +153,6 @@ ] cooldown(integer) : "Cooldown Time (s)" : 30 calc_time(integer) : "Lasting Time (s)" : 60 - zappername(string) : "Zapper Name" spawnflags(Flags) = [ 1 : "Requires Power" : 0 @@ -184,7 +183,7 @@ @PointClass color(114 224 172) studio() = trigger_song : "Song trigger" [ - model(studio) : "Model" : "progs/props/" + model(studio) : "Model" : "models/props/" skin(integer) : "Skin" : 0 tune(string) : "Trigger Sound" : "sounds/" spawnflags(Flags) = @@ -250,7 +249,7 @@ // Double Tap Root Beer @PointClass size(-16 -16 -32, 16 16 40) base(Item, Appearflags) color(214 203 1) studio() = perk_double : "Double Tap Root Beer" [ - model(studio) : "Model" : "models/machines/hl_scale/double_tap.mdl" + model(studio) : "Model" : "models/machines/hl_scale/double_tap_2.mdl" skin(integer) : "Skin" : 0 aistatus(string) : "Perk Sting" : "" anim_weapon_time(integer) : "Perk Sting Duration (s)" : 0 @@ -405,7 +404,7 @@ ] -@PointClass size(-24 -24 -32, 24 24 56) base(Item, Appearflags) color(0 117 58) studio("models/machines/speed_cola.mdl") = +@PointClass size(-24 -24 -32, 24 24 56) base(Item, Appearflags) color(0 117 58) studio("models/machines/hl_scale/speed_cola.mdl") = perk_random : "Random Perk-a-Cola" [ spawnflags(Flags) = @@ -458,7 +457,7 @@ @PointClass color(114 224 172) studio() = place_model : "Place a Model" [ - model(studio) : "Model" : "progs/Props/" + model(studio) : "Model" : "models/Props/" skin(integer) : "Skin" : 0 sequence(integer) : "Frame" : 0 spawnflags(Flags) = @@ -511,7 +510,7 @@ 25: "Grenade" 26: "Betty" ] - model(studio) : "World Model" : "progs/GModels/" + model(studio) : "World Model" : "models/GModels/" ] @PointClass base(Appearflags, Targetname) color(114 224 172) studio() = explosive_barrel : "Barrel that can explode when shot at" [ diff --git a/source/maps/fgd/tb-nzp.fgd b/source/maps/fgd/tb-nzp.fgd index be3cd57..bb1568f 100644 --- a/source/maps/fgd/tb-nzp.fgd +++ b/source/maps/fgd/tb-nzp.fgd @@ -87,7 +87,7 @@ mangle(string) : "Mangle (Pitch Yaw Roll)" ] -@PointClass size(-16 -16 -32, 16 16 56) base(Item) color(107 29 20) model("progs/props/teleporter.mdl") = func_teleporter_entrance : "Teleporter Entrance" +@PointClass size(-16 -16 -32, 16 16 56) base(Item) color(107 29 20) model("models/props/teleporter.mdl") = func_teleporter_entrance : "Teleporter Entrance" [ target(target_destination) : "Destination" cost(integer) : "Cost" @@ -101,24 +101,24 @@ tpTimer(integer) : "[Timed] Time before return" ] -@PointClass size(-16 -16 -32, 16 16 56) base(Item) color(107 29 20) model("progs/props/mainframe_pad.mdl") = func_teleporter_destination : "Teleporter Destination" +@PointClass size(-16 -16 -32, 16 16 56) base(Item) color(107 29 20) model("models/props/mainframe_pad.mdl") = func_teleporter_destination : "Teleporter Destination" [ targetname(target_source) : "Name" ] -@PointClass size(-16 -16 -32, 16 16 56) base(Item) color(171 73 252) model("progs/props/mainframe_pad.mdl") = func_teleporter_timed : "Teleporter Timed Destination" +@PointClass size(-16 -16 -32, 16 16 56) base(Item) color(171 73 252) model("models/props/mainframe_pad.mdl") = func_teleporter_timed : "Teleporter Timed Destination" [ targetname(target_source) : "Name" ] -@PointClass size(-16 -16 -32, 16 16 56) base(Item) color(62 0 132) model("progs/props/mainframe_pad.mdl") = func_teleporter_pad : "Teleporter Pad" +@PointClass size(-16 -16 -32, 16 16 56) base(Item) color(62 0 132) model("models/props/mainframe_pad.mdl") = func_teleporter_pad : "Teleporter Pad" [ targetname(target_source) : "Name" ] @PointClass color(114 224 172) model({"path" : model, "skin" : skin}) = func_ending : "Buyable Ending" [ - model(model) : "Model" : "progs/Props/" + model(model) : "Model" : "models/Props/" skin(integer) : "Skin" : 0 cost(integer) : "Cost" : 0 ] @@ -137,7 +137,7 @@ length(integer) : "length" ] -@PointClass size(-8 -8 -8, 8 8 8) base(Item) color(141 85 29) model("progs/Misc/teddy.mdl") = teddy_spawn : "Teddy spawn location" [] +@PointClass size(-8 -8 -8, 8 8 8) base(Item) color(141 85 29) model("models/props/teddy.mdl") = teddy_spawn : "Teddy spawn location" [] @PointClass size(-12 -12 -8, 12 12 8) color(35 67 36) model({"path" : model, "skin" : skin}) = zapper_switch : "Electro-Shock Activation Switch" @@ -183,7 +183,7 @@ @PointClass color(114 224 172) model({"path" : model, "skin" : skin}) = trigger_song : "Song trigger" [ - model(model) : "Model" : "progs/Props/" + model(model) : "Model" : "models/Props/" skin(integer) : "Skin" : 0 tune(string) : "Trigger Sound" : "sounds/" spawnflags(Flags) = @@ -400,11 +400,11 @@ @PointClass size(-32 -32 -32, 32 32 56) base(Item, Appearflags) color(125 196 187) model("models/machines/hl_scale/pap.mdl") = perk_pap : "Pack-A-Punch" -[ +[ ] -@PointClass size(-24 -24 -32, 24 24 56) base(Item, Appearflags) color(0 117 58) model("models/machines/speed_cola.mdl") = +@PointClass size(-24 -24 -32, 24 24 56) base(Item, Appearflags) color(0 117 58) model("models/machines/hl_scale/speed_cola.mdl") = perk_random : "Random Perk-a-Cola" [ spawnflags(Flags) = @@ -457,7 +457,7 @@ @PointClass color(114 224 172) model({"path" : model, "skin" : skin}) = place_model : "Place a Model" [ - model(model) : "Model" : "progs/Props/" + model(model) : "Model" : "models/Props/" skin(integer) : "Skin" : 0 sequence(integer) : "Frame" : 0 spawnflags(Flags) = @@ -510,7 +510,7 @@ 25: "Grenade" 26: "Betty" ] - model(string) : "World Model" : "progs/GModels/" + model(string) : "World Model" : "models/GModels/" ] @PointClass base(Appearflags, Targetname) color(114 224 172) model({"path" : model, "skin" : skin}) = explosive_barrel : "Barrel that can explode when shot at" [