Loading...
  OR  Zero-K Name:    Password:   

Post edit history

Capabilities of /MapSettingsOverride

To display differences between versions, select one or more edits in the list using checkboxes and click "diff selected"
Post edit history
Date Editor Before After
2/15/2017 7:52:24 PMCArankTheMooseIsLoose before revert after revert
Before After
1 Can Zero-K/LuaUI/Configs/MapSettingsOverride/ be used in other ways then shown, like to remove unneeded depend = {"whatever"} from maps? 1 Can Zero-K/LuaUI/Configs/MapSettingsOverride/ be used in other ways then shown, like to remove unneeded depend = {"whatever"} from maps?
2 \n 2 \n
3 Example map settings override for Battle for PlanetXVII 3 Example map settings override for Battle for PlanetXVII
4 \n 4 \n
5 [q]return { 5 [q]
6 return {
6 ["fog"]= { 7 ["fog"]= {
7 ["sunColor"]= {0.71739131, 0.70434785, 0.70434785, 0.84347826}, 8 ["sunColor"]= {0.71739131, 0.70434785, 0.70434785, 0.84347826},
8 ["fogStart"]= -4.2199998, 9 ["fogStart"]= -4.2199998,
9 ["fogColor"]= {1, 1, 1, 0}, 10 ["fogColor"]= {1, 1, 1, 0},
10 ["cloudColor"]= {0.63043481, 0.61739129, 0.78695655, 0.89999998}, 11 ["cloudColor"]= {0.63043481, 0.61739129, 0.78695655, 0.89999998},
11 ["skyColor"]= {0.6652174, 0.63913041, 0.64347827, 0.9173913}, 12 ["skyColor"]= {0.6652174, 0.63913041, 0.64347827, 0.9173913},
12 ["fogEnd"]= -5, 13 ["fogEnd"]= -5,
13 }, 14 },
14 ["sun"]= { 15 ["sun"]= {
15 ["groundDiffuseColor"]= {0.65338647, 0.65438247, 0.65438247, 0.85321099}, 16 ["groundDiffuseColor"]= {0.65338647, 0.65438247, 0.65438247, 0.85321099},
16 ["groundAmbientColor"]= {0.70176989, 0.7061947, 0.71238941, 1}, 17 ["groundAmbientColor"]= {0.70176989, 0.7061947, 0.71238941, 1},
17 ["unitAmbientColor"]= {0.59565216, 0.5782609, 0.47391304, 1}, 18 ["unitAmbientColor"]= {0.59565216, 0.5782609, 0.47391304, 1},
18 ["groundSpecularColor"]= {0.05929204, 0.05663717, 0.03982301, 1}, 19 ["groundSpecularColor"]= {0.05929204, 0.05663717, 0.03982301, 1},
19 ["specularExponent"]= -1.5699999, 20 ["specularExponent"]= -1.5699999,
20 ["unitDiffuseColor"]= {0.92660552, 0.93043476, 0.89130437, 1}, 21 ["unitDiffuseColor"]= {0.92660552, 0.93043476, 0.89130437, 1},
21 ["unitSpecularColor"]= {1, 1, 1, 1}, 22 ["unitSpecularColor"]= {1, 1, 1, 1},
22 }, 23 },
23 ["minimap"] = { 24 ["minimap"] = {
24 ["groundAmbientColor"]= {0.8, 0.8, 0.8, 1}, 25 ["groundAmbientColor"]= {0.8, 0.8, 0.8, 1},
26 }
25 } 27 }
26 } [/q] 28 [/q]