请教如何控制两块陆地之间河流的宽度???
想做一个由河流分割每个组队,并且有道路或浅滩连接的随机地图。但是,比较菜,用RMS尝试了很久,虽然可以实现分组分割并浅滩连接了,但始终无法调整河流的宽度。
现在只能做到像截图这样……
请教如何在现有的连接方式下,增加陆地之间的距离????
下面是随机的截图和RMS的地形代码。请高手前辈指点。。。。。。
谢谢!!!
/* 区域设置*/
base_terrainWATER /* 基本地形 */
create_player_lands /* 游戏者区域 */
{
terrain_typeGRASS
land_percent80
base_size10
border_fuzziness10
other_zone_avoidance_distance5
clumping_factor8
set_zone_by_team
}
<TERRAIN_GENERATION>
/* 地形设置 */
create_terrainFOREST /* 添加地形:森林 */
{
base_terrainGRASS
land_percent20
number_of_clumps30
set_scale_by_groups
spacing_to_other_terrain_types5
set_avoid_player_start_areas
clumping_factor53
}
/* 混合水域 */
create_terrain MED_WATER
{
base_terrain WATER
number_of_clumps 10
spacing_to_other_terrain_types 2
land_percent 40
}
create_terrain MED_WATER
{
base_terrain WATER
number_of_clumps 30
spacing_to_other_terrain_types 1
land_percent 1
}
create_terrain DEEP_WATER
{
base_terrain MED_WATER
number_of_clumps 8
spacing_to_other_terrain_types 3
land_percent 20
}
create_terrain DEEP_WATER
{
base_terrain MED_WATER
number_of_clumps 30
spacing_to_other_terrain_types 1
land_percent 1
}
create_terrain MED_WATER
{
base_terrain DEEP_WATER
number_of_clumps 30
spacing_to_other_terrain_types 1
land_percent 1
}
create_terrain WATER
{
base_terrain MED_WATER
number_of_clumps 30
spacing_to_other_terrain_types 1
land_percent 1
}……
<CONNECTION_GENERATION>
/* 连接 */
create_connect_all_players_land
{
if FROZEN_MAP
replace_terrain WATER ICE
replace_terrain MED_WATER ICE
replace_terrain DEEP_WATER ICE
else
replace_terrain WATER SHALLOW
replace_terrain MED_WATER SHALLOW
replace_terrain DEEP_WATER SHALLOW
endif
terrain_cost WATER 31
terrain_cost MED_WATER 42
terrain_cost DEEP_WATER 53
terrain_cost FOREST 7
terrain_cost PINE_FOREST 7
terrain_cost SNOW_FOREST 7
terrain_cost ICE 3
terrain_cost SHALLOW 3
terrain_cost DESERT 1
terrain_cost DIRT2 1
terrain_cost DIRT3 1
terrain_cost GRASS 2
terrain_cost SNOW 2
terrain_cost GRASS2 2
terrain_cost GRASS3 2
terrain_cost GRASS_SNOW 2
terrain_cost DIRT_SNOW 2
terrain_cost BEACH 7
terrain_size WATER 2 1
terrain_size MED_WATER 2 1
terrain_size DEEP_WATER 2 1
terrain_size GRASS 0 0
terrain_size SNOW 0 0
terrain_size GRASS2 0 0
terrain_size GRASS3 0 0
terrain_size GRASS_SNOW 0 0
terrain_size GRASS_DIRT 0 0
terrain_size FOREST 0 0
terrain_size PINE_FOREST 0 0
terrain_size DESERT 0 0
terrain_size DIRT2 0 0
terrain_size DIRT3 0 0
}这是随机出来的几个截图,无论我怎么调整陆地的比例,不管周围出现多么大的海洋,在陆地连接的地方,仍然是非常窄的河道。
好高深 哪里高深了?这就是那个RMS生成器生成的文件,我根据论坛里的教程做了一些调整,但实现不了我要的地图。 other_zone_avoidance_distance10
<CONNECTION_GENERATION>
create_connect_all_players_land
{
if FROZEN_MAP
replace_terrain WATER ICE
replace_terrain MED_WATER ICE
replace_terrain DEEP_WATER ICE
else
replace_terrain WATER SHALLOW
replace_terrain MED_WATER SHALLOW
replace_terrain DEEP_WATER SHALLOW
replace_terrain BEACH SHALLOW
endif
terrain_cost WATER 7
terrain_cost MED_WATER 10
terrain_cost DEEP_WATER 15
terrain_cost FOREST 7
terrain_cost PINE_FOREST 7
terrain_cost SNOW_FOREST 7
terrain_cost ICE 3
terrain_cost SHALLOW 3
terrain_cost DESERT 2
terrain_cost DIRT2 2
terrain_cost DIRT3 2
terrain_cost GRASS 2
terrain_cost SNOW 2
terrain_cost GRASS2 2
terrain_cost GRASS3 2
terrain_cost GRASS_SNOW 2
terrain_cost DIRT_SNOW 2
terrain_cost BEACH 7
terrain_size WATER 2 1
terrain_size MED_WATER 2 1
terrain_size DEEP_WATER 2 1
terrain_size BEACH 2 1
terrain_size GRASS 0 0
terrain_size SNOW 0 0
terrain_size GRASS2 0 0
terrain_size GRASS3 0 0
terrain_size GRASS_SNOW 0 0
terrain_size GRASS_DIRT 0 0
terrain_size FOREST 0 0
terrain_size PINE_FOREST 0 0
terrain_size DESERT 0 0
terrain_size DIRT2 0 0
terrain_size DIRT3 0 0
}
Zetnus 发表于 2015-12-26 06:33
other_zone_avoidance_distance10
哦,感谢指导,我这就试试看……
页:
[1]