GAME INFORMATION
These details are CRITICAL; DO NOT skip them or your issue may not be reviewed.
- GAME BUILD #: 101.102.28520.0 (#94056) 12194550 (The live version as of October 18th, 2023).
- GAME PLATFORM: Steam
- OPERATING SYSTEM: Windows 10
ISSUE EXPERIENCED
DESCRIBE THE ISSUE IN DETAIL (below). LIMIT TO ONE BUG PER THREAD.
When using the (relatively new) override_map_size
instruction in a random map script, the camera is not positioned at the center of the map when generating maps in the editor. Instead it is centered at the right corner.
This behavior is disruptive to the workflow of map scripting, since the map author needs to scroll the camera repeatedly when generating sample maps using the scenario editor.
FREQUENCY OF ISSUE
How often does the issue occur? CHOSE ONE; DELETE THE REST!
- 100% of the time / matches I play (ALWAYS)
REPRODUCTION STEPS
List CLEAR and DETAILED STEPS we can take to reproduce the issue ourselves… Be descriptive!
Here’s the steps to reproduce the issue:
- Create a map script with
override_map_size 36
- Use the Map tab in the editor.
- Generate a random map on Tiny size using that map script.
- Observe the camera is not at the center of the map, but rather at the corner of the map.
EXPECTED RESULT
What was SUPPOSED to happen if the bug you encountered were not present?
The camera should be centered at the center of the map. Or, if the map does not change size, should remain at the same location without moving (this would be a feature enhancement though).
IMAGE
ALWAYS attach a PICTURE (.jpg, .png, .gif) or VIDEO (.mp4, YouTube link) that highlights the problem.
In the image, see how the rightmost corner of the map is at the center of the camera just after we clicked “Generate Map.”
GAME FILES (SAVE / RECORDING)
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.
Here’s a minimal script to showcase the issue.
<PLAYER_SETUP>
override_map_size 36