Using float-values for land_percent in RMS

:play_button: GAME INFORMATION

:backhand_index_pointing_down: These details are CRITICAL; DO NOT skip them or your issue may not be reviewed.

  • GAME BUILD #: v101.103.21943.0
  • GAME PLATFORM: Steam
  • OPERATING SYSTEM: WIndows 10

:play_button: ISSUE EXPERIENCED

:backhand_index_pointing_down: DESCRIBE THE ISSUE IN DETAIL (below). LIMIT TO ONE BUG PER THREAD.

land_percent float values only works in create_land, not create_terrain

:play_button: FREQUENCY OF ISSUE

:backhand_index_pointing_down: How often does the issue occur? CHOSE ONE; DELETE THE REST!

  • 100% of the time / matches I play (ALWAYS)

:play_button: REPRODUCTION STEPS

:backhand_index_pointing_down: List CLEAR and DETAILED STEPS we can take to reproduce the issue ourselves… Be descriptive!

Here’s the steps to reproduce the issue:

  1. write an RMS script with

override_map_size 400
<LAND_GENERATION>
base_terrain DIRT
create_land {
terrain_type BIRCH_FOREST
land_percent 2.2
}

<TERRAIN_GENERATION>
create_terrain FOREST {
base_terrain DIRT
land_percent 3.2
}

  1. Change the float values, e.g change 2.2 to 2.4 or 2.7 or 2.1 and it will work for land generation
  2. Change the float vlaues, e.g change 3.2 to 3.1 or 3.3 will round down to 3 = the next integer everytime while at 3.5 will round up to 4 when using land_percent in terrain generation

:play_button: EXPECTED RESULT

:backhand_index_pointing_down: What was SUPPOSED to happen if the bug you encountered were not present?

**Both land_percent should work on terrain and land generation.

:play_button: IMAGE

:backhand_index_pointing_down: ALWAYS attach a PICTURE (.jpg, .png, .gif) or VIDEO (.mp4, YouTube link) that highlights the problem.

:play_button: GAME FILES (SAVE / RECORDING)

:backhand_index_pointing_down: Attach a SAVE GAME (.aoe2spgame) or GAME RECORDING (.aoe2record) of the match where you encountered the issue. Link it below if using an external file service.

Hello,
thx for the report, wer are now tracking the issue.