Hello
How to avoid collisions of city centers with terrain and other objects? Although there is enough space on the map where centers can appear randomly, they are constantly generated in more or less the same places and: on each other, in the forest, in cliffs. How to prevent this? In the HD version this did not happen…
Thanks in advance for your help.
1 Like
Looks pretty cool, actually But, yeah, would be hard to play, lol. Did you look at other .RMS files?
Do you have things in your map script like:
<PLAYER_SETUP>
random_placement
and/or
create_player_lands
{
land_percent 100
base_size 9
}
In more context, it may look like this, for example:
create_player_lands
{
if ALPINE_MAP
terrain_type GRASS2
elseif ASIAN_MAP
terrain_type GRASS2
elseif FROZEN_MAP
terrain_type SNOW
else
terrain_type GRASS
endif
land_percent 100
base_size 9
start_random
percent_chance 30
set_zone_by_team
percent_chance 70
set_zone_randomly
end_random
start_random
percent_chance 50
other_zone_avoidance_distance 12
percent_chance 50
other_zone_avoidance_distance 14
end_random
border_fuzziness 15
}
I don’t know the cause, but in looking at my own (based on an HD map), those look they’d be pretty helpful or critical to have. I’ve not seen your issue happen before.
Thanks for the answer, I’ll see if it works this weekend.
Is there a guide to the editor somewhere? In the HD versions it was much easier.
1 Like