I also installed it using only the pip install AoE2ScenarioParser
command line.
Pay attention that you must use Python 3.6 (or above).
If this can help, here are the two files I designed using this library for the Age of Salamanders scenario:
age_of_salamanders.txt (21.6 KB) aoe2_generic.txt (5.2 KB)
(replace the extension with .py
, the .txt
is only to be allowed to upload these files).
aoe2_generic.py
is a file with generic AoE2ScenarioParser intermediate layer functions, while age_of_salamanders.py
is the script generating the scenario.
I used this script for the two parts in the scenario that you can see in action below:
Automatically computing the Optimal Walling and placing foundations accordingly:
Computing the Tile Indicator and placing the bonfires accordingly:
I really like the Pacifist videos