From: Terri00 Date: Sat, 16 Mar 2019 02:29:44 +0000 (+0000) Subject: Custom entities FGD, WorldCraft fileformat (.wc) X-Git-Url: https://skaterift.com/git/?a=commitdiff_plain;h=3dcf85ea0ef7bf275508ed479c3c2fb748a86550;p=tar-legacy.git Custom entities FGD, WorldCraft fileformat (.wc) --- diff --git a/MCDV/CmdSeq.wc b/MCDV/CmdSeq.wc new file mode 100644 index 0000000..1129ba3 Binary files /dev/null and b/MCDV/CmdSeq.wc differ diff --git a/MCDV/MCDV.vcxproj b/MCDV/MCDV.vcxproj index 08ebf0a..fdba938 100644 --- a/MCDV/MCDV.vcxproj +++ b/MCDV/MCDV.vcxproj @@ -132,6 +132,7 @@ + @@ -155,11 +156,13 @@ + + diff --git a/MCDV/MCDV.vcxproj.filters b/MCDV/MCDV.vcxproj.filters index 3921fe0..f7ede5f 100644 --- a/MCDV/MCDV.vcxproj.filters +++ b/MCDV/MCDV.vcxproj.filters @@ -134,6 +134,12 @@ Header Files\util + + Header Files\valve + + + Header Files + @@ -145,6 +151,9 @@ OpenGL\engine + + Source Files + diff --git a/MCDV/globals.h b/MCDV/globals.h new file mode 100644 index 0000000..098dc3e --- /dev/null +++ b/MCDV/globals.h @@ -0,0 +1,2 @@ +#pragma once +#define entry_point_testing \ No newline at end of file diff --git a/MCDV/main.cpp b/MCDV/main.cpp index 4fd51d7..f721d81 100644 --- a/MCDV/main.cpp +++ b/MCDV/main.cpp @@ -1,3 +1,5 @@ +#include "globals.h" + // STDLib #include @@ -600,6 +602,7 @@ int app(int argc, const char** argv) { } /* Entry point */ +#ifndef entry_point_testing int main(int argc, const char** argv) { try { return app(argc, argv); @@ -609,4 +612,5 @@ int main(int argc, const char** argv) { } return 1; -} \ No newline at end of file +} +#endif \ No newline at end of file diff --git a/MCDV/main2.cpp b/MCDV/main2.cpp new file mode 100644 index 0000000..30d7720 --- /dev/null +++ b/MCDV/main2.cpp @@ -0,0 +1,23 @@ +#include "globals.h" + +#ifdef entry_point_testing + +#include "wc.hpp" + +int main() +{ + wc::filedata fileData("sample_stuff/CmdSeq.wc"); + + wc::Sequence seq_new = wc::Sequence(); + char name_new[128] = "Testeroonie BAP"; + memcpy(&seq_new.name, &name_new, 128); + + + fileData.sequences.push_back(seq_new); + fileData.serialize("CmdSeq.wc"); + system("PAUSE"); + return 0; +} + + +#endif \ No newline at end of file diff --git a/MCDV/sample_stuff/CmdSeq.wc b/MCDV/sample_stuff/CmdSeq.wc new file mode 100644 index 0000000..05829a9 Binary files /dev/null and b/MCDV/sample_stuff/CmdSeq.wc differ diff --git a/MCDV/sample_stuff/de_tavr_test.vmx b/MCDV/sample_stuff/de_tavr_test.vmx index 607f42c..c388348 100644 --- a/MCDV/sample_stuff/de_tavr_test.vmx +++ b/MCDV/sample_stuff/de_tavr_test.vmx @@ -2,7 +2,7 @@ versioninfo { "editorversion" "400" "editorbuild" "8075" - "mapversion" "51" + "mapversion" "53" "formatversion" "100" "prefab" "0" } @@ -44,7 +44,7 @@ viewsettings world { "id" "1" - "mapversion" "51" + "mapversion" "53" "classname" "worldspawn" "detailmaterial" "detail/detailsprites" "detailvbsp" "detail.vbsp" @@ -122,8 +122,6 @@ world editor { "color" "0 175 108" - "visgroupid" "8" - "visgroupid" "14" "visgroupshown" "1" "visgroupautoshown" "1" } @@ -1443,484 +1441,466 @@ world "visgroupautoshown" "1" } } - hidden + solid { - solid + "id" "40" + side { - "id" "40" - side - { - "id" "105" - "plane" "(-4128 4128 544) (4128 4128 544) (4128 -4128 544)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 -1 0 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "104" - "plane" "(-4128 4128 544) (-4128 -4128 544) (-4128 -4128 -160)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[0 1 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "103" - "plane" "(4128 4128 -160) (4128 -4128 -160) (4128 -4128 544)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[0 1 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "102" - "plane" "(4128 4128 544) (-4128 4128 544) (-4128 4128 -160)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "101" - "plane" "(4128 -4128 -160) (-4128 -4128 -160) (-4128 -4128 544)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "100" - "plane" "(4096 -4096 512) (4096 4096 512) (-4096 4096 512)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 -1 0 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - editor - { - "color" "220 220 220" - "groupid" "52" - "visgroupshown" "1" - "visgroupautoshown" "1" - } + "id" "105" + "plane" "(-4128 4128 544) (4128 4128 544) (4128 -4128 544)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 -1 0 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "104" + "plane" "(-4128 4128 544) (-4128 -4128 544) (-4128 -4128 -160)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[0 1 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "103" + "plane" "(4128 4128 -160) (4128 -4128 -160) (4128 -4128 544)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[0 1 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "102" + "plane" "(4128 4128 544) (-4128 4128 544) (-4128 4128 -160)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "101" + "plane" "(4128 -4128 -160) (-4128 -4128 -160) (-4128 -4128 544)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "100" + "plane" "(4096 -4096 512) (4096 4096 512) (-4096 4096 512)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 -1 0 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + editor + { + "color" "220 220 220" + "groupid" "52" + "visgroupshown" "1" + "visgroupautoshown" "1" } } - hidden + solid { - solid + "id" "42" + side { - "id" "42" - side - { - "id" "111" - "plane" "(-4128 -4128 -160) (4128 -4128 -160) (4128 4128 -160)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 -1 0 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "110" - "plane" "(-4128 4128 544) (-4128 -4128 544) (-4128 -4128 -160)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[0 1 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "109" - "plane" "(4128 4128 -160) (4128 -4128 -160) (4128 -4128 544)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[0 1 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "108" - "plane" "(4128 4128 544) (-4128 4128 544) (-4128 4128 -160)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "107" - "plane" "(4128 -4128 -160) (-4128 -4128 -160) (-4128 -4128 544)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "106" - "plane" "(4096 4096 -128) (4096 -4096 -128) (-4096 -4096 -128)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 -1 0 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - editor - { - "color" "220 220 220" - "groupid" "52" - "visgroupshown" "1" - "visgroupautoshown" "1" - } + "id" "111" + "plane" "(-4128 -4128 -160) (4128 -4128 -160) (4128 4128 -160)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 -1 0 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "110" + "plane" "(-4128 4128 544) (-4128 -4128 544) (-4128 -4128 -160)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[0 1 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "109" + "plane" "(4128 4128 -160) (4128 -4128 -160) (4128 -4128 544)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[0 1 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "108" + "plane" "(4128 4128 544) (-4128 4128 544) (-4128 4128 -160)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "107" + "plane" "(4128 -4128 -160) (-4128 -4128 -160) (-4128 -4128 544)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "106" + "plane" "(4096 4096 -128) (4096 -4096 -128) (-4096 -4096 -128)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 -1 0 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + editor + { + "color" "220 220 220" + "groupid" "52" + "visgroupshown" "1" + "visgroupautoshown" "1" } } - hidden + solid { - solid + "id" "44" + side { - "id" "44" - side - { - "id" "117" - "plane" "(-4128 4128 544) (-4128 -4128 544) (-4128 -4128 -160)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[0 1 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "116" - "plane" "(4128 4128 544) (-4128 4128 544) (-4128 4128 -160)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "115" - "plane" "(4128 -4128 -160) (-4128 -4128 -160) (-4128 -4128 544)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "114" - "plane" "(-4096 4096 512) (4096 4096 512) (4096 -4096 512)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 -1 0 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "113" - "plane" "(-4096 -4096 -128) (4096 -4096 -128) (4096 4096 -128)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 -1 0 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "112" - "plane" "(-4096 -4096 -128) (-4096 -4096 512) (-4096 4096 512)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[0 1 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - editor - { - "color" "220 220 220" - "groupid" "52" - "visgroupshown" "1" - "visgroupautoshown" "1" - } + "id" "117" + "plane" "(-4128 4128 544) (-4128 -4128 544) (-4128 -4128 -160)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[0 1 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "116" + "plane" "(4128 4128 544) (-4128 4128 544) (-4128 4128 -160)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "115" + "plane" "(4128 -4128 -160) (-4128 -4128 -160) (-4128 -4128 544)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "114" + "plane" "(-4096 4096 512) (4096 4096 512) (4096 -4096 512)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 -1 0 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "113" + "plane" "(-4096 -4096 -128) (4096 -4096 -128) (4096 4096 -128)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 -1 0 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "112" + "plane" "(-4096 -4096 -128) (-4096 -4096 512) (-4096 4096 512)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[0 1 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + editor + { + "color" "220 220 220" + "groupid" "52" + "visgroupshown" "1" + "visgroupautoshown" "1" } } - hidden + solid { - solid + "id" "46" + side { - "id" "46" - side - { - "id" "123" - "plane" "(4128 4128 -160) (4128 -4128 -160) (4128 -4128 544)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[0 1 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "122" - "plane" "(4128 4128 544) (-4128 4128 544) (-4128 4128 -160)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "121" - "plane" "(4128 -4128 -160) (-4128 -4128 -160) (-4128 -4128 544)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "120" - "plane" "(-4096 4096 512) (4096 4096 512) (4096 -4096 512)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 -1 0 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "119" - "plane" "(-4096 -4096 -128) (4096 -4096 -128) (4096 4096 -128)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 -1 0 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "118" - "plane" "(4096 -4096 512) (4096 -4096 -128) (4096 4096 -128)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[0 1 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - editor - { - "color" "220 220 220" - "groupid" "52" - "visgroupshown" "1" - "visgroupautoshown" "1" - } + "id" "123" + "plane" "(4128 4128 -160) (4128 -4128 -160) (4128 -4128 544)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[0 1 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "122" + "plane" "(4128 4128 544) (-4128 4128 544) (-4128 4128 -160)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "121" + "plane" "(4128 -4128 -160) (-4128 -4128 -160) (-4128 -4128 544)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "120" + "plane" "(-4096 4096 512) (4096 4096 512) (4096 -4096 512)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 -1 0 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "119" + "plane" "(-4096 -4096 -128) (4096 -4096 -128) (4096 4096 -128)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 -1 0 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "118" + "plane" "(4096 -4096 512) (4096 -4096 -128) (4096 4096 -128)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[0 1 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + editor + { + "color" "220 220 220" + "groupid" "52" + "visgroupshown" "1" + "visgroupautoshown" "1" } } - hidden + solid { - solid + "id" "48" + side { - "id" "48" - side - { - "id" "129" - "plane" "(4128 4128 544) (-4128 4128 544) (-4128 4128 -160)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "128" - "plane" "(-4096 4096 512) (4096 4096 512) (4096 -4096 512)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 -1 0 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "127" - "plane" "(-4096 -4096 -128) (4096 -4096 -128) (4096 4096 -128)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 -1 0 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "126" - "plane" "(-4096 4096 512) (-4096 -4096 512) (-4096 -4096 -128)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[0 1 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "125" - "plane" "(4096 4096 -128) (4096 -4096 -128) (4096 -4096 512)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[0 1 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "124" - "plane" "(-4096 4096 -128) (-4096 4096 512) (4096 4096 512)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - editor - { - "color" "220 220 220" - "groupid" "52" - "visgroupshown" "1" - "visgroupautoshown" "1" - } + "id" "129" + "plane" "(4128 4128 544) (-4128 4128 544) (-4128 4128 -160)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "128" + "plane" "(-4096 4096 512) (4096 4096 512) (4096 -4096 512)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 -1 0 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "127" + "plane" "(-4096 -4096 -128) (4096 -4096 -128) (4096 4096 -128)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 -1 0 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "126" + "plane" "(-4096 4096 512) (-4096 -4096 512) (-4096 -4096 -128)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[0 1 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "125" + "plane" "(4096 4096 -128) (4096 -4096 -128) (4096 -4096 512)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[0 1 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "124" + "plane" "(-4096 4096 -128) (-4096 4096 512) (4096 4096 512)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + editor + { + "color" "220 220 220" + "groupid" "52" + "visgroupshown" "1" + "visgroupautoshown" "1" } } - hidden + solid { - solid + "id" "50" + side { - "id" "50" - side - { - "id" "135" - "plane" "(4128 -4128 -160) (-4128 -4128 -160) (-4128 -4128 544)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "134" - "plane" "(-4096 4096 512) (4096 4096 512) (4096 -4096 512)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 -1 0 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "133" - "plane" "(-4096 -4096 -128) (4096 -4096 -128) (4096 4096 -128)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 -1 0 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "132" - "plane" "(-4096 4096 512) (-4096 -4096 512) (-4096 -4096 -128)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[0 1 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "131" - "plane" "(4096 4096 -128) (4096 -4096 -128) (4096 -4096 512)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[0 1 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - side - { - "id" "130" - "plane" "(-4096 -4096 512) (-4096 -4096 -128) (4096 -4096 -128)" - "material" "TOOLS/TOOLSSKYBOX" - "uaxis" "[1 0 0 0] 0.25" - "vaxis" "[0 0 -1 0] 0.25" - "rotation" "0" - "lightmapscale" "16" - "smoothing_groups" "0" - } - editor - { - "color" "220 220 220" - "groupid" "52" - "visgroupshown" "1" - "visgroupautoshown" "1" - } + "id" "135" + "plane" "(4128 -4128 -160) (-4128 -4128 -160) (-4128 -4128 544)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "134" + "plane" "(-4096 4096 512) (4096 4096 512) (4096 -4096 512)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 -1 0 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "133" + "plane" "(-4096 -4096 -128) (4096 -4096 -128) (4096 4096 -128)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 -1 0 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "132" + "plane" "(-4096 4096 512) (-4096 -4096 512) (-4096 -4096 -128)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[0 1 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "131" + "plane" "(4096 4096 -128) (4096 -4096 -128) (4096 -4096 512)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[0 1 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "130" + "plane" "(-4096 -4096 512) (-4096 -4096 -128) (4096 -4096 -128)" + "material" "TOOLS/TOOLSSKYBOX" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + editor + { + "color" "220 220 220" + "groupid" "52" + "visgroupshown" "1" + "visgroupautoshown" "1" } } solid @@ -2552,6 +2532,24 @@ world } } entity +{ + "id" "484" + "classname" "tar_config" + "aoSize" "16" + "customCol0" "39 56 79" + "customCol1" "77 74 72" + "customCol2" "178 113 65" + "enableShadows" "1" + "origin" "112.86 3.28465 33" + editor + { + "color" "220 30 220" + "visgroupshown" "1" + "visgroupautoshown" "1" + "logicalpos" "[0 0]" + } +} +entity { "id" "397" "classname" "func_detail" @@ -3164,7 +3162,3 @@ cordons { "active" "0" } -quickhide -{ - "count" "7" -} diff --git a/MCDV/sample_stuff/map_01.vmx b/MCDV/sample_stuff/map_01.vmx index 3c9ad69..54962b3 100644 --- a/MCDV/sample_stuff/map_01.vmx +++ b/MCDV/sample_stuff/map_01.vmx @@ -2,7 +2,7 @@ versioninfo { "editorversion" "400" "editorbuild" "8075" - "mapversion" "739" + "mapversion" "740" "formatversion" "100" "prefab" "0" } @@ -44,7 +44,7 @@ viewsettings world { "id" "1" - "mapversion" "739" + "mapversion" "740" "classname" "worldspawn" "detailmaterial" "detail/detailsprites" "detailvbsp" "detail.vbsp" @@ -234473,7 +234473,7 @@ entity side { "id" "14634" - "plane" "(-512 -3520 192) (-512 -2752 192) (320 -2752 192)" + "plane" "(-512 -3296 192) (-512 -2752 192) (-32 -2752 192)" "material" "TOOLS/TOOLSTRIGGER" "uaxis" "[1 0 0 0] 0.25" "vaxis" "[0 -1 0 0] 0.25" @@ -234484,7 +234484,7 @@ entity side { "id" "14633" - "plane" "(-512 -2752 1) (-512 -3520 1) (320 -3520 1)" + "plane" "(-512 -2752 1) (-512 -3296 1) (-32 -3296 1)" "material" "TOOLS/TOOLSTRIGGER" "uaxis" "[1 0 0 0] 0.25" "vaxis" "[0 -1 0 0] 0.25" @@ -234495,7 +234495,7 @@ entity side { "id" "14632" - "plane" "(-512 -3520 1) (-512 -2752 1) (-512 -2752 192)" + "plane" "(-512 -3296 1) (-512 -2752 1) (-512 -2752 192)" "material" "TOOLS/TOOLSTRIGGER" "uaxis" "[0 1 0 0] 0.25" "vaxis" "[0 0 -1 0] 0.25" @@ -234506,7 +234506,7 @@ entity side { "id" "14631" - "plane" "(320 -2752 1) (320 -3520 1) (320 -3520 192)" + "plane" "(-32 -2752 1) (-32 -3296 1) (-32 -3296 192)" "material" "TOOLS/TOOLSTRIGGER" "uaxis" "[0 1 0 0] 0.25" "vaxis" "[0 0 -1 0] 0.25" @@ -234517,7 +234517,7 @@ entity side { "id" "14630" - "plane" "(-512 -2752 1) (320 -2752 1) (320 -2752 192)" + "plane" "(-512 -2752 1) (-32 -2752 1) (-32 -2752 192)" "material" "TOOLS/TOOLSTRIGGER" "uaxis" "[1 0 0 0] 0.25" "vaxis" "[0 0 -1 0] 0.25" @@ -234528,7 +234528,148 @@ entity side { "id" "14629" - "plane" "(320 -3520 1) (-512 -3520 1) (-512 -3520 192)" + "plane" "(-32 -3296 1) (-512 -3296 1) (-512 -3296 192)" + "material" "TOOLS/TOOLSTRIGGER" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + editor + { + "color" "220 30 220" + "visgroupshown" "1" + "visgroupautoshown" "1" + } + } + solid + { + "id" "291583" + side + { + "id" "101553" + "plane" "(-32 -3200 192) (-32 -3040 192) (128 -3040 192)" + "material" "TOOLS/TOOLSTRIGGER" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 -1 0 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "101552" + "plane" "(-32 -3040 1) (-32 -3200 1) (128 -3040 1)" + "material" "TOOLS/TOOLSTRIGGER" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 -1 0 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "101551" + "plane" "(-32 -3200 1) (-32 -3040 1) (-32 -3040 192)" + "material" "TOOLS/TOOLSTRIGGER" + "uaxis" "[0 1 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "101550" + "plane" "(-32 -3040 1) (128 -3040 1) (128 -3040 192)" + "material" "TOOLS/TOOLSTRIGGER" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "101549" + "plane" "(128 -3040 1) (-32 -3200 1) (-32 -3200 192)" + "material" "TOOLS/TOOLSTRIGGER" + "uaxis" "[0 1 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + editor + { + "color" "220 30 220" + "visgroupshown" "1" + "visgroupautoshown" "1" + } + } + solid + { + "id" "291570" + side + { + "id" "101536" + "plane" "(-32 -3040 192) (-32 -2752 192) (320 -2752 192)" + "material" "TOOLS/TOOLSTRIGGER" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 -1 0 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "101535" + "plane" "(-32 -2752 1) (-32 -3040 1) (320 -3040 1)" + "material" "TOOLS/TOOLSTRIGGER" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 -1 0 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "101534" + "plane" "(-32 -3040 1) (-32 -2752 1) (-32 -2752 192)" + "material" "TOOLS/TOOLSTRIGGER" + "uaxis" "[0 1 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "101533" + "plane" "(320 -2752 1) (320 -3040 1) (320 -3040 192)" + "material" "TOOLS/TOOLSTRIGGER" + "uaxis" "[0 1 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "101532" + "plane" "(-32 -2752 1) (320 -2752 1) (320 -2752 192)" + "material" "TOOLS/TOOLSTRIGGER" + "uaxis" "[1 0 0 0] 0.25" + "vaxis" "[0 0 -1 0] 0.25" + "rotation" "0" + "lightmapscale" "16" + "smoothing_groups" "0" + } + side + { + "id" "101531" + "plane" "(320 -3040 1) (-32 -3040 1) (-32 -3040 192)" "material" "TOOLS/TOOLSTRIGGER" "uaxis" "[1 0 0 0] 0.25" "vaxis" "[0 0 -1 0] 0.25" @@ -234647,11 +234788,11 @@ entity "heistbomb" "0" solid { - "id" "16421" + "id" "291564" side { - "id" "14714" - "plane" "(-928 -672 64) (-928 -576 64) (-544 -576 64)" + "id" "101524" + "plane" "(-928 -672 64) (-832 -576 64) (-544 -576 64)" "material" "TOOLS/TOOLSTRIGGER" "uaxis" "[1 0 0 0] 0.25" "vaxis" "[0 -1 0 0] 0.25" @@ -234661,8 +234802,8 @@ entity } side { - "id" "14713" - "plane" "(-928 -576 0) (-928 -672 0) (-592 -864 0)" + "id" "101523" + "plane" "(-928 -672 0) (-592 -864 0) (-576 -864 0)" "material" "TOOLS/TOOLSTRIGGER" "uaxis" "[1 0 0 0] 0.25" "vaxis" "[0 -1 0 0] 0.25" @@ -234672,8 +234813,8 @@ entity } side { - "id" "14712" - "plane" "(-928 -672 0) (-928 -576 0) (-928 -576 64)" + "id" "101522" + "plane" "(-416 -704 0) (-416 -772.572 0) (-416 -772.572 64)" "material" "TOOLS/TOOLSTRIGGER" "uaxis" "[0 1 0 0] 0.25" "vaxis" "[0 0 -1 0] 0.25" @@ -234683,10 +234824,10 @@ entity } side { - "id" "14711" - "plane" "(-416 -704 0) (-416 -772.572 0) (-416 -772.572 64)" + "id" "101521" + "plane" "(-832 -576 0) (-544 -576 0) (-544 -576 64)" "material" "TOOLS/TOOLSTRIGGER" - "uaxis" "[0 1 0 0] 0.25" + "uaxis" "[1 0 0 0] 0.25" "vaxis" "[0 0 -1 0] 0.25" "rotation" "0" "lightmapscale" "16" @@ -234694,8 +234835,8 @@ entity } side { - "id" "14710" - "plane" "(-928 -576 0) (-544 -576 0) (-544 -576 64)" + "id" "101520" + "plane" "(-576 -864 0) (-592 -864 0) (-592 -864 64)" "material" "TOOLS/TOOLSTRIGGER" "uaxis" "[1 0 0 0] 0.25" "vaxis" "[0 0 -1 0] 0.25" @@ -234705,8 +234846,8 @@ entity } side { - "id" "14709" - "plane" "(-576 -864 0) (-592 -864 0) (-592 -864 64)" + "id" "101519" + "plane" "(-592 -864 0) (-928 -672 0) (-928 -672 64)" "material" "TOOLS/TOOLSTRIGGER" "uaxis" "[1 0 0 0] 0.25" "vaxis" "[0 0 -1 0] 0.25" @@ -234716,8 +234857,8 @@ entity } side { - "id" "14708" - "plane" "(-592 -864 0) (-928 -672 0) (-928 -672 64)" + "id" "101518" + "plane" "(-416 -772.574 0) (-576 -864 0) (-576 -864 64)" "material" "TOOLS/TOOLSTRIGGER" "uaxis" "[1 0 0 0] 0.25" "vaxis" "[0 0 -1 0] 0.25" @@ -234727,10 +234868,10 @@ entity } side { - "id" "14707" - "plane" "(-416 -772.572 0) (-576 -864 0) (-576 -864 64)" + "id" "101517" + "plane" "(-544 -576 0) (-416 -704 0) (-416 -704 64)" "material" "TOOLS/TOOLSTRIGGER" - "uaxis" "[1 0 0 0] 0.25" + "uaxis" "[0 1 0 0] 0.25" "vaxis" "[0 0 -1 0] 0.25" "rotation" "0" "lightmapscale" "16" @@ -234738,8 +234879,8 @@ entity } side { - "id" "14706" - "plane" "(-544 -576 0) (-416 -704 0) (-416 -704 64)" + "id" "101516" + "plane" "(-928 -672 0) (-832 -576 0) (-832 -576 64)" "material" "TOOLS/TOOLSTRIGGER" "uaxis" "[0 1 0 0] 0.25" "vaxis" "[0 0 -1 0] 0.25" diff --git a/MCDV/wc.hpp b/MCDV/wc.hpp new file mode 100644 index 0000000..c14591a --- /dev/null +++ b/MCDV/wc.hpp @@ -0,0 +1,115 @@ +#pragma once +#include +#include +#include +#include +#include + +namespace wc +{ +#pragma pack(push, 1) + + struct Command{ + int is_enabled; // 0/1, If command is enabled. + int special; + char executable[260]; // Name of EXE to run. + char args[260]; // Arguments for executable. + int is_long_filename; // Obsolete, but always set to true. Disables MS-DOS 8-char filenames. + int ensure_check; // Ensure file post-exists after compilation + char ensure_file[260]; // File to check exists. + int use_proc_win; // Use Process Window (ignored if exectuable = $game_exe). + + // V 0.2+ only: + int no_wait; // Wait for keypress when done compiling. + }; + + struct SequenceHeader + { + char name[128]{ '\0' }; + uint32_t command_count; // Number of commands + }; + + struct Sequence + { + char name[128]; + std::vector commands; + }; + + struct Header { + char signature[31] = { 'W','o','r','l','d','c','r','a','f','t',' ','C','o','m','m','a','n','d',' ','S','e','q','u','e','n','c','e','s','\r','\n','\x1a' }; // Yikes. + float version = 0.2f; + uint32_t seq_count; + }; + +#pragma pack(pop) + + class filedata + { + public: + std::vector sequences; + + filedata(std::string path) + { + std::ifstream reader(path, std::ios::in | std::ios::binary); + + if (!reader) { + throw std::exception("WC::LOAD Failed"); return; + } + + Header header = Header(); + reader.read((char*)&header, sizeof(header)); + + for (int i = 0; i < header.seq_count; i++) + { + Sequence sequence = Sequence(); + reader.read((char*)&sequence.name, 128); + + uint32_t command_count; + reader.read((char*)&command_count, sizeof(uint32_t)); + + if (command_count > 1024) { + throw std::exception("Too many commands!!!"); + } + + for (int cc = 0; cc < command_count; cc++) + { + Command command = Command(); + + reader.read((char*)&command, sizeof(Command)); + + sequence.commands.push_back(command); + } + + this->sequences.push_back(sequence); + } + + reader.close(); + } + + void serialize(std::string path) + { + std::fstream writer(path, std::ios::out | std::ios::binary); + + // Write header + Header header = Header(); + header.seq_count = sequences.size(); + writer.write((char*)&header, sizeof(header)); + + // Write Sequences + for (auto && sequence : this->sequences){ + + writer.write((char*)&sequence.name, 128); + uint32_t cmdCount = sequence.commands.size(); + + writer.write((char*)&cmdCount, sizeof(uint32_t)); + + for (auto && command : sequence.commands) + { + writer.write((char*)&command, sizeof(command)); + } + } + + writer.close(); + } + }; +} \ No newline at end of file diff --git a/tar_entities/tar_config.png b/tar_entities/tar_config.png new file mode 100644 index 0000000..914d7ad Binary files /dev/null and b/tar_entities/tar_config.png differ diff --git a/tar_entities/tar_config.psd b/tar_entities/tar_config.psd new file mode 100644 index 0000000..eacd1b4 Binary files /dev/null and b/tar_entities/tar_config.psd differ diff --git a/tar_entities/tar_config.vmt b/tar_entities/tar_config.vmt new file mode 100644 index 0000000..0ec3a71 --- /dev/null +++ b/tar_entities/tar_config.vmt @@ -0,0 +1,7 @@ +"Sprite" +{ + "$spriteorientation" "vp_parallel" + "$spriteorigin" "[ 0.50 0.50 ]" + "$basetexture" "tar/editor/tar_config" + "$no_fullbright" 1 +} \ No newline at end of file diff --git a/tar_entities/tar_config.vtf b/tar_entities/tar_config.vtf new file mode 100644 index 0000000..8d59462 Binary files /dev/null and b/tar_entities/tar_config.vtf differ diff --git a/tar_entities/tar_entities.fgd b/tar_entities/tar_entities.fgd new file mode 100644 index 0000000..f0dad97 --- /dev/null +++ b/tar_entities/tar_entities.fgd @@ -0,0 +1,39 @@ +@PointClass base(Targetname) iconsprite("tar/editor/tar_config.vmt") = tar_config : + "Configuration entity for Terri's Auto Radar" +[ + // HB Color + + colorScheme(choices) : "Color Scheme" : 0 = + [ + 0: "Dust 2" + 1: "Mirage" + 2: "Overpass" + 3: "Cache" + 4: "Inferno" + 5: "Train" + 6: "Nuke" + 7: "Custom Scheme" + ] + + customCol0(color255) : "Custom low level color" : "39 56 79" + customCol1(color255) : "Custom middle level color" : "77 74 72" + customCol2(color255) : "Custom high level color" : "178 113 65" + + // Ambient occlusion + + enableAO(choices) : "Ambient Occlusion" : 0 = + [ + 0: "Enabled" + 1: "Disabled" + ] + + aoSize(float) : "Ambient Occlusion Size" : "16" + + // Shadows + + enableAO(choices) : "Shadows" : 1 = + [ + 0: "Enabled" + 1: "Disabled" + ] +] \ No newline at end of file