Combo wrote:Actually you're wrong when you say it's the absolute lowest height rather than the range that is the problem. I just tested this and can see that introducing a high mountain/peak (RGB:256/256/256) on an otherwise working map introduces the black map bug.
So far as I can tell the problem is the range. Specifically the difference in height between the lowest and highest area shouldn't exceed more than approx. RGB:75/75/75 on the heightmap.
I fixed many maps for GW with the black area/black pane.
It only occures if "World Border" is on.
For some maps, you must only increase the loweser point (make the heightmap brighter).
Other maps you must reduce the range.
Some maps also work with a very high range ...
I have no idea, but maybe some intern values, like the inital Elev, Water Elev, Deep Elev, Abyss Elev impact on this.
Most of the custom maps have also a strange order of property in the sceneario file.
official order:
- Code: Select all
version = 3
ScenarioInfo = {
name = 'dragon_beach',
description = '',
type = 'skirmish',
starts = true,
preview = '',
size = {512, 512},
map = '/maps/dragon_beach/dragon_beach.scmap',
save = '/maps/dragon_beach/dragon_beach_save.lua',
script = '/maps/dragon_beach/dragon_beach_script.lua',
norushradius = 0.000000,
norushoffsetX_ARMY_1 = 0.000000,
norushoffsetY_ARMY_1 = 0.000000,
norushoffsetX_ARMY_2 = 0.000000,
norushoffsetY_ARMY_2 = 0.000000,
norushoffsetX_ARMY_3 = 0.000000,
norushoffsetY_ARMY_3 = 0.000000,
norushoffsetX_ARMY_4 = 0.000000,
norushoffsetY_ARMY_4 = 0.000000,
norushoffsetX_ARMY_5 = 0.000000,
norushoffsetY_ARMY_5 = 0.000000,
norushoffsetX_ARMY_6 = 0.000000,
norushoffsetY_ARMY_6 = 0.000000,
norushoffsetX_ARMY_7 = 0.000000,
norushoffsetY_ARMY_7 = 0.000000,
norushoffsetX_ARMY_8 = 0.000000,
norushoffsetY_ARMY_8 = 0.000000,
Configurations = {
['standard'] = {
teams = {
{ name = 'FFA', armies = {'ARMY_1','ARMY_2','ARMY_3','ARMY_4','ARMY_5','ARMY_6','ARMY_7','ARMY_8',} },
},
customprops = {
['ExtraArmies'] = STRING( 'ARMY_9 NEUTRAL_CIVILIAN' ),
},
},
}}
Most of the maps in Vault:
- Code: Select all
version = 3
ScenarioInfo = {
Configurations={
standard={
customprops={ ExtraArmies="ARMY_9 NEUTRAL_CIVILIAN" },
teams={
{
armies={
"ARMY_1",
"ARMY_2",
"ARMY_3",
"ARMY_4",
"ARMY_5",
"ARMY_6",
"ARMY_7",
"ARMY_8"
},
name="FFA"
}
}
}
},
description="",
map="/maps/gap of rohan.v0001/gap of rohan.scmap",
map_version=1,
name="gap of rohan",
norushoffsetX_ARMY_1=0,
norushoffsetX_ARMY_2=0,
norushoffsetX_ARMY_3=0,
norushoffsetX_ARMY_4=0,
norushoffsetX_ARMY_5=0,
norushoffsetX_ARMY_6=0,
norushoffsetX_ARMY_7=0,
norushoffsetX_ARMY_8=0,
norushoffsetY_ARMY_1=0,
norushoffsetY_ARMY_2=0,
norushoffsetY_ARMY_3=0,
norushoffsetY_ARMY_4=0,
norushoffsetY_ARMY_5=0,
norushoffsetY_ARMY_6=0,
norushoffsetY_ARMY_7=0,
norushoffsetY_ARMY_8=0,
norushradius=35,
preview="",
save="/maps/gap of rohan.v0001/gap of rohan_save.lua",
script="/maps/gap of rohan.v0001/gap of rohan_script.lua",
size={ 512, 512 },
starts=true,
type="skirmish"
}
What edtior did they use?
PS.: Source code is available for scmp loading:
http://www.hazardx.com/details.php?file=82