correct gradient names
authorTerri00 <thrustmediaproductions@gmail.com>
Mon, 18 Mar 2019 17:52:16 +0000 (17:52 +0000)
committerTerri00 <thrustmediaproductions@gmail.com>
Mon, 18 Mar 2019 17:52:16 +0000 (17:52 +0000)
MCDV/main.cpp
MCDV/sample_stuff/de_tavr_test.vmx
MCDV/textures/gradients/gradientmap.png [deleted file]
MCDV/textures/gradients/gradientmap_0.png [new file with mode: 0644]
MCDV/textures/gradients/gradientmap_1.png
MCDV/textures/gradients/gradientmap_2.png
MCDV/textures/gradients/gradientmap_3.png
MCDV/textures/gradients/gradientmap_7.png [new file with mode: 0644]
tar_entities/tar_entities.fgd

index bdd5dc5a500eb3645be78336649c53735af8f39f..8ce3997e47d21d4ecd592bb8b7beec56f57a2583 100644 (file)
@@ -295,7 +295,7 @@ int app(int argc, const char** argv) {
 
                // Color scheme
                std::string schemeNum = kv::tryGetStringValue(tar_config->keyValues, "colorScheme", "0");
-               if (schemeNum == "7") { // Custom color scheme
+               if (schemeNum == "-1") { // Custom color scheme
                        tar_cfg_gradientMap = new GradientTexture(
                                kv::tryGetStringValue(tar_config->keyValues, "customCol0", "0   0   0   255"),
                                kv::tryGetStringValue(tar_config->keyValues, "customCol1", "128 128 128 255"),
index b1237b16c344b4653ca3a0d3f050b0a483ba2f4f..d463c67088de66cba3389650ddbd6e0fd7b2eb8c 100644 (file)
@@ -2,7 +2,7 @@ versioninfo
 {
        "editorversion" "400"
        "editorbuild" "8075"
-       "mapversion" "91"
+       "mapversion" "94"
        "formatversion" "100"
        "prefab" "0"
 }
@@ -38,7 +38,7 @@ viewsettings
 world
 {
        "id" "1"
-       "mapversion" "91"
+       "mapversion" "94"
        "classname" "worldspawn"
        "detailmaterial" "detail/detailsprites"
        "detailvbsp" "detail.vbsp"
@@ -2375,7 +2375,7 @@ entity
        "id" "484"
        "classname" "tar_config"
        "aoSize" "10"
-       "colorScheme" "1"
+       "colorScheme" "-1"
        "customCol0" "32 68 136"
        "customCol1" "149 0 0"
        "customCol2" "179 217 26"
diff --git a/MCDV/textures/gradients/gradientmap.png b/MCDV/textures/gradients/gradientmap.png
deleted file mode 100644 (file)
index 231bf8a..0000000
Binary files a/MCDV/textures/gradients/gradientmap.png and /dev/null differ
diff --git a/MCDV/textures/gradients/gradientmap_0.png b/MCDV/textures/gradients/gradientmap_0.png
new file mode 100644 (file)
index 0000000..231bf8a
Binary files /dev/null and b/MCDV/textures/gradients/gradientmap_0.png differ
index 4b5639a0874525ae6a95f68d62502c695be6334e..e238b9440540cfd677adbe2006b4cfd748644860 100644 (file)
Binary files a/MCDV/textures/gradients/gradientmap_1.png and b/MCDV/textures/gradients/gradientmap_1.png differ
index e238b9440540cfd677adbe2006b4cfd748644860..a0cf9849e38e1eef7d31d7b8afa4e5abbbf0de9b 100644 (file)
Binary files a/MCDV/textures/gradients/gradientmap_2.png and b/MCDV/textures/gradients/gradientmap_2.png differ
index a0cf9849e38e1eef7d31d7b8afa4e5abbbf0de9b..4b5639a0874525ae6a95f68d62502c695be6334e 100644 (file)
Binary files a/MCDV/textures/gradients/gradientmap_3.png and b/MCDV/textures/gradients/gradientmap_3.png differ
diff --git a/MCDV/textures/gradients/gradientmap_7.png b/MCDV/textures/gradients/gradientmap_7.png
new file mode 100644 (file)
index 0000000..095ce0a
Binary files /dev/null and b/MCDV/textures/gradients/gradientmap_7.png differ
index 0ae2cf0bd3bbec4c60bf2d5aac4181e72da20f66..95d1168a69d8542f2dcd40e83fc39a539399e047 100644 (file)
@@ -12,7 +12,8 @@
                4: "Inferno"
                5: "Train"
                6: "Nuke"
-               7: "Custom Scheme"
+               7: "Vertigo"
+               -1: "Custom Scheme"
        ]
        
        customCol0(color255) : "Custom low level color" : "39 56 79" : "What the color of the radar should be at the lowest points of the map"