Okay, after downloading and installing the freely available JustDecompile tool, I've browsed the Assembly-CSharp.dll file.
There are indeed hardcoded settings like minelaying-cost/cooldown and many other variables and functions there, but it doesn't look like there are more settings available for Data/variables.txt that we already see there:
Code: Select all
public static void ReadVariables()
{
StreamReader streamReader = new StreamReader(App.TryModPath("Data/variables.txt"));
while (!streamReader.EndOfStream)
{
string str = streamReader.ReadLine();
if (!(str != string.Empty) || str.Length <= 2 || str.StartsWith("//"))
{
continue;
}
string[] strArrays = str.Split(new char[] { "="[0] });
if (strArrays[0].Trim() == "landMaxSize")
{
Map.landMaxSize = float.Parse(strArrays[1]);
}
else if (strArrays[0].Trim() == "landMinSize")
{
Map.landMinSize = float.Parse(strArrays[1]);
}
else if (strArrays[0].Trim() == "airMaxSize")
{
Map.airMaxSize = float.Parse(strArrays[1]);
}
else if (strArrays[0].Trim() == "airMinSize")
{
Map.airMinSize = float.Parse(strArrays[1]);
}
else if (strArrays[0].Trim() == "infantryMaxSize")
{
Map.infantryMaxSize = float.Parse(strArrays[1]);
}
else if (strArrays[0].Trim() == "infantryMinSize")
{
Map.infantryMinSize = float.Parse(strArrays[1]);
}
else if (strArrays[0].Trim() == "navalMaxSize")
{
Map.navalMaxSize = float.Parse(strArrays[1]);
}
else if (strArrays[0].Trim() == "navalMinSize")
{
Map.navalMinSize = float.Parse(strArrays[1]);
}
else if (strArrays[0].Trim() == "largeScaleFactor")
{
Map.largeScaleFactor = float.Parse(strArrays[1]);
}
else if (strArrays[0].Trim() == "defaultZoomLevel")
{
CameraControl.defaultZoomLevel = int.Parse(strArrays[1]);
}
else if (strArrays[0].Trim() == "defaultMinZoom")
{
CameraControl.defaultMinZoom = int.Parse(strArrays[1]);
}
else if (strArrays[0].Trim() == "defaultMaxZoom")
{
CameraControl.defaultMaxZoom = int.Parse(strArrays[1]);
}
else if (strArrays[0].Trim() != "defaultMaxZoomEditor")
{
if (strArrays[0].Trim() != "terrainTextureSize")
{
continue;
}
Map3DGenerator.tileSize = float.Parse(strArrays[1]);
}
else
{
CameraControl.defaultMaxZoomEditor = int.Parse(strArrays[1]);
}
}
streamReader.Close();
}
It's theoretically still possible to add further variables though with proper compiling tool and coding knowledge of course. That's above my league.