From 6dba7ddfc22b500b3dee72f5b1c3bb40c99764f4 Mon Sep 17 00:00:00 2001 From: Pinsplash <39359267+Pinsplash@users.noreply.github.com> Date: Thu, 11 May 2023 22:45:14 -0500 Subject: [PATCH] spawnable ground turrets closes #12 --- .gitignore | 3 +- .../models/props_c17/turretcover.vmt | 6 + .../models/props_c17/turretcover.vtf | Bin 0 -> 2097297 bytes .../models/props_c17/turretcover.dx80.vtx | Bin 0 -> 897 bytes .../models/props_c17/turretcover.dx90.vtx | Bin 0 -> 897 bytes .../ep1chaos/models/props_c17/turretcover.mdl | Bin 0 -> 1768 bytes .../ep1chaos/models/props_c17/turretcover.phy | Bin 0 -> 1853 bytes .../models/props_c17/turretcover.sw.vtx | Bin 0 -> 897 bytes .../ep1chaos/models/props_c17/turretcover.vvd | Bin 0 -> 3904 bytes .../models/props_c17/turretcover.vmt | 6 + .../models/props_c17/turretcover.vtf | Bin 0 -> 2097297 bytes .../models/props_c17/turretcover.dx80.vtx | Bin 0 -> 897 bytes .../models/props_c17/turretcover.dx90.vtx | Bin 0 -> 897 bytes .../ep2chaos/models/props_c17/turretcover.mdl | Bin 0 -> 1768 bytes .../ep2chaos/models/props_c17/turretcover.phy | Bin 0 -> 1853 bytes .../models/props_c17/turretcover.sw.vtx | Bin 0 -> 897 bytes .../ep2chaos/models/props_c17/turretcover.vvd | Bin 0 -> 3904 bytes .../models/props_c17/turretcover.vmt | 6 + .../models/props_c17/turretcover.vtf | Bin 0 -> 2097297 bytes .../models/props_c17/turretcover.dx80.vtx | Bin 0 -> 897 bytes .../models/props_c17/turretcover.dx90.vtx | Bin 0 -> 897 bytes .../hl2chaos/models/props_c17/turretcover.mdl | Bin 0 -> 1768 bytes .../hl2chaos/models/props_c17/turretcover.phy | Bin 0 -> 1853 bytes .../models/props_c17/turretcover.sw.vtx | Bin 0 -> 897 bytes .../hl2chaos/models/props_c17/turretcover.vvd | Bin 0 -> 3904 bytes sp/src/game/server/hl2/chaos.h | 1 + sp/src/game/server/hl2/hl2_player.cpp | 134 +++++++++++++++--- sp/src/game/server/hl2/npc_turret_ground.cpp | 8 ++ 28 files changed, 141 insertions(+), 23 deletions(-) create mode 100644 sourcemods/ep1chaos/materials/models/props_c17/turretcover.vmt create mode 100644 sourcemods/ep1chaos/materials/models/props_c17/turretcover.vtf create mode 100644 sourcemods/ep1chaos/models/props_c17/turretcover.dx80.vtx create mode 100644 sourcemods/ep1chaos/models/props_c17/turretcover.dx90.vtx create mode 100644 sourcemods/ep1chaos/models/props_c17/turretcover.mdl create mode 100644 sourcemods/ep1chaos/models/props_c17/turretcover.phy create mode 100644 sourcemods/ep1chaos/models/props_c17/turretcover.sw.vtx create mode 100644 sourcemods/ep1chaos/models/props_c17/turretcover.vvd create mode 100644 sourcemods/ep2chaos/materials/models/props_c17/turretcover.vmt create mode 100644 sourcemods/ep2chaos/materials/models/props_c17/turretcover.vtf create mode 100644 sourcemods/ep2chaos/models/props_c17/turretcover.dx80.vtx create mode 100644 sourcemods/ep2chaos/models/props_c17/turretcover.dx90.vtx create mode 100644 sourcemods/ep2chaos/models/props_c17/turretcover.mdl create mode 100644 sourcemods/ep2chaos/models/props_c17/turretcover.phy create mode 100644 sourcemods/ep2chaos/models/props_c17/turretcover.sw.vtx create mode 100644 sourcemods/ep2chaos/models/props_c17/turretcover.vvd create mode 100644 sourcemods/hl2chaos/materials/models/props_c17/turretcover.vmt create mode 100644 sourcemods/hl2chaos/materials/models/props_c17/turretcover.vtf create mode 100644 sourcemods/hl2chaos/models/props_c17/turretcover.dx80.vtx create mode 100644 sourcemods/hl2chaos/models/props_c17/turretcover.dx90.vtx create mode 100644 sourcemods/hl2chaos/models/props_c17/turretcover.mdl create mode 100644 sourcemods/hl2chaos/models/props_c17/turretcover.phy create mode 100644 sourcemods/hl2chaos/models/props_c17/turretcover.sw.vtx create mode 100644 sourcemods/hl2chaos/models/props_c17/turretcover.vvd diff --git a/.gitignore b/.gitignore index caba56ab..4ab21ed4 100644 --- a/.gitignore +++ b/.gitignore @@ -64,4 +64,5 @@ config.cfg ep1_gamestats.dat **/DownloadLists/* -chaos_random_cc.raw \ No newline at end of file +chaos_random_cc.raw +modelsounds.cache \ No newline at end of file diff --git a/sourcemods/ep1chaos/materials/models/props_c17/turretcover.vmt b/sourcemods/ep1chaos/materials/models/props_c17/turretcover.vmt new file mode 100644 index 00000000..f5c85367 --- /dev/null +++ b/sourcemods/ep1chaos/materials/models/props_c17/turretcover.vmt @@ -0,0 +1,6 @@ +"VertexLitGeneric" +{ + "$basetexture" "models/props_c17/turretcover" + "$surfaceprop" "Metal" + "$nodecal" 1 +} diff --git a/sourcemods/ep1chaos/materials/models/props_c17/turretcover.vtf b/sourcemods/ep1chaos/materials/models/props_c17/turretcover.vtf new file mode 100644 index 0000000000000000000000000000000000000000..bb54a2715b3c587b9101675161de6cb2e6aa270c GIT binary patch literal 2097297 zcmbrm*PA5gb>>;!UEceu%t}}3z0ZiqNE49}krC;$D$BP;10dl^00h8>H-u;akd!EL zq*)Eg6}?8}j2tOZW;9wi`?u`HUhX{4-t7LqYHIe`%YC*G$c{=^5uZ8dJ@0wXIX|_h z=BB2mZu0*T|4&U{pHAHn=lpzkw$SkY-k{O=i)!QXGaqQ;y-O=Rtk3`J+aABfV_f|& z)qnizC;!kj{!8`eb1VP!zfJzf{a;-C*Z(VS{15wq@BQ%aQ{3OBakz9W1 z+1|A4fB!$;nEJ*feE7p3es4;tRco47mWw>r^;W)|%M~-#W}~6EWL2uxB~{aFx?Za{ z>usmnR7!HOP|5TDMzhIBYKmfZ28SVEFdPU)L)l!aR&P|Rsv;}4-HT`9$xI@h&y*^8 zRcpwmUe|TavYKYI*-~}0ZdeVaZL4ZcZ8YkJQP=dUT5Fi?s%4+to*0hKVLGjrtu?Ji zwV^meyWTQtk}R1f7tpLXYgJVrj%vM8JaM?Zym;Vo?eFdF?C!WduBF9=LMhYG^%l2g znT=LURk@0W+3nW*<7^@6K5#|jp)vC>=EJ=-egRwA- zc3CNgW8p$6o6To3g1;Yv%;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