You must be logged in to post messages.
Please login or register

AI & RM Scripting
Moderated by Leif Ericson

Hop to:    
Welcome! You are not logged in. Please Login or Register.No replies
Age of Kings Heaven » Forums » AI & RM Scripting » Avoidance Distance not working as expected with Borders
Bottom
Topic Subject:Avoidance Distance not working as expected with Borders
local boi
Squire
(id: dragon14)
posted 06-23-18 00:30 AM CT (US)         

<LAND_GENERATION>
create_land
{
terrain_type DIRT
other_zone_avoidance_distance 12
zone 10
base_size 8
right_border 15
left_border 15
top_border 0
bottom_border 0
land_position 50 0
land_percent 50
}

create_land
{
terrain_type ICE
other_zone_avoidance_distance 1
zone 20
land_position 50 99
land_percent 50
right_border 40
left_border 40
top_border 0
bottom_border 0
}

The Dirt avoids the Ice



<LAND_GENERATION>
create_land
{
terrain_type DIRT
other_zone_avoidance_distance 12
zone 10
right_border 15
left_border 50
top_border 0
bottom_border 0
land_percent 100
}

create_land
{
terrain_type ICE
other_zone_avoidance_distance 1
zone 20
right_border 40
left_border 40
top_border 0
bottom_border 0
}

Again, but this time actual code from a map I was trying to make (https://pastebin.com/JHjKt6cX)



<LAND_GENERATION>
create_land
{
terrain_type DIRT
other_zone_avoidance_distance 12
zone 10
right_border 15
left_border 50
top_border 0
bottom_border 50
land_percent 30
}
create_land
{
terrain_type DIRT
other_zone_avoidance_distance 12
zone 10
right_border 15
left_border 50
top_border 50
bottom_border 0
land_percent 30
}

create_land
{
terrain_type ICE
other_zone_avoidance_distance 1
zone 20
right_border 40
left_border 40
top_border 50
bottom_border 0
}
create_land
{
terrain_type ICE
other_zone_avoidance_distance 1
zone 20
right_border 40
left_border 40
top_border 0
bottom_border 50
}

Its maddening. I can't get rid of that extra space >

USA
katsup or mustard

[This message has been edited by local boi (edited 06-23-2018 @ 00:55 AM).]

You must be logged in to post messages.
Please login or register

Hop to:    

Age of Kings Heaven | HeavenGames