News for hackers. Stuff that matters.
Re:A Perceptron in Age of Empires II by StepS on Saturday June 20, 2026 @12:08AM (#48606279)
The latest Definitive Edition of the game actually allows writing code using Ensemble Studios' original scripting language, XS. There are some great docs on it here: https://ugc.aoe2.rocks/general/xs/

The scripting functionalities, such as built-in functions, are still getting expanded with most major updates.

There is also a python-based tool for creating and editing scenarios and triggers via python scripts called AoE2ScenarioParser - and a lot of people are using it as well!

Re:A Perceptron in Age of Empires II by egeozcan on Saturday June 20, 2026 @01:12AM (#48606530)
Back in the day, I had so much fun making Red Alert 2 and Age of Empires 2 maps. The whole GUI based triggers/conditions were so frustrating though!

So, I think you just made me lose my weekend.