lilypoppy Posted 15 minutes ago Share Posted 15 minutes ago My friends, get the popcorn ready… or your dinner. I put together a little something special for 0 A.D. Nothing serious, nothing historically verified — it's pure testing. But the result is hypnotic enough that you'll want to sit down and watch. The idea: a war far away. You're not a general, you're not a god. You're a spectator. A small 100% automated war, unfolding in 7 phases, lasting about 6 minutes. Both sides fight on their own, the triggers do their job, and you just watch. It's first and foremost a test bench: I wanted to see what 0 A.D.'s JavaScript and triggers have in their belly. The Oath of Ashes is that — a story of honor and ashes played out by units that know nothing about it. How to watch (100% automated mode) This is the default mode, the one the scenario was made for. You launch it, you watch, you don't touch anything. But watch out, there's a trap. When you start the game, by default you have you (the player) and Petra on the other side. If you leave it like that, Petra takes command of her side and the war no longer plays out on its own — she starts reacting, producing, attacking according to her AI, and the whole 7-phase timing goes up in smoke. So for the 100% auto mode, you need to set the player to unassigned. Concretely: in the game setup, assign unassigned to the player (you), and unassigned to Petra / player 2 as well. Nobody controls anything, both sides are driven only by the triggers, and the little war unfolds exactly as planned. Otherwise, it won't work. That's the real show mode: two armies with no general, and you, sitting in the stands. How to play with a friend (manual mode) Here we do the opposite: we want the players to take control back, so we disable the automation. Two things to do: 1. Delete the file maps/scenarios/the_oath_of_ashes_triggers.js. 2. Remove its reference in the_oath_of_ashes.xml. In the ScriptSettings block, the "TriggerScripts" line becomes: json "TriggerScripts": ["scripts/TriggerHelper.js"], (You can also delete the TriggerScripts entry entirely.) Then, in the game setup, assign an AI to player 2 (Kushites). Otherwise their army will just stand there while you attack them — and that's less fun. So if you run into graphical glitches, crashes, black screens, or weird rendering while running this scenario, please send me feedback. Tell me your OS, your 0 A.D. version, your OpenGL/driver situation if you know it, and what you saw. That kind of report is genuinely useful — it helps me figure out whether the issue comes from the scenario's triggers or from the OpenGL side itself. A war far away. — Lilypoppy the_oath_of_ashes.zip 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now