Note: I’m not sure if Feral monitors this forum, do they? I can report elsewhere too, but here it seems more helpful if other modders or mod players run into it.
GAME INFORMATION
These details are CRITICAL; DO NOT skip them or your issue may not be reviewed.
- GAME BUILD #: 101.103.48987.0 (#180059)(1.1.2RC1) 24094652
- GAME PLATFORM: Steam
- OPERATING SYSTEM: Mac
ISSUE EXPERIENCED
DESCRIBE THE ISSUE IN DETAIL (below). LIMIT TO ONE BUG PER THREAD.
When playing on Mac,xsCreateUnit does not use its bool arguments as given in code, leading to units being created wrong (e.g. playing a sound instead of being placed as a foundation). Specifically:
- The value for
foundationis instead used forplayCreatedSound. - The value for
playCreatedSoundis instead used forcheckCollision. - The value for
checkCollisiondoes not seem to be used, and making a foundation seems impossible.
Note: xsCreateUnit also has a Mac bug with parsing the position vector argument, which I’ll report separately.
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 descriptiv e!
Here’s the steps to reproduce the issue:
-
Download the scenario attached below.
- It has xs code inside of a trigger, which calls
xsCreateUnitto spawn palisades with all 8 combinations of those 3 arguments, on two different terrains (to testcheckCollision).
- It has xs code inside of a trigger, which calls
-
Test it using the Mac version of the game.
EXPECTED RESULT
What was SUPPOSED to happen if the bug you encountered were not prese nt?
Units should be created based on arguments passed to xsCreateUnit, as they do on Windows (cf. pics)
IMAGE
ALWAYS attach a PICTURE (.jpg, .png, .gif) or VIDEO (.mp4, YouTube link) that highlights the prob lem.
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 ser vice.
- bugCreateUnit.aoe2scenario (1.7 KB)

