Page MenuHomeWildfire Games

Roll The Dice custom scenario map
AbandonedPublic

Authored by wraitii on Apr 17 2017, 3:11 PM.

Details

Reviewers
elexis
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Summary

This commit requires D274 and D281.

I have been porting over the classic "Roll The Dice" scenario from Age of Empires to 0 A.D.
It's a very fun scenario, checkout out ZeroEmpires' video about it (e.g. https://www.youtube.com/watch?v=jAW_u62H1Vk).

This map also showcases the extreme flexibility of our trigger scripts, by changing simulation code without mods and even adding a custom ability to make the "abilities" such as the panic-button integrated into the GUI instead of using a workaround, like in Age of Empires.

I have not reimplemented everything, and this does requires 2 changes:
-Triggers support the "Attacked" message
-All units have an empty Abilities component by default, to support adding custom abilities.

Test Plan

Start a Roll The Dice scenario. Setting some players as AI will remove them, so leave them unassigned. This was done to have a scenario that still allows variable number of players, but it's a little broken obviously.

Diff Detail

Repository
rP 0 A.D. Public Repository
Branch
/ps/trunk
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 1197
Build 1895: Vulcan BuildJenkins
Build 1894: arc lint + arc unit

Event Timeline

wraitii created this revision.Apr 17 2017, 3:11 PM
Owners added subscribers: Restricted Owners Package, Restricted Owners Package.Apr 17 2017, 3:11 PM
Vulcan added a subscriber: Vulcan.Apr 17 2017, 3:46 PM

Build has FAILED

Link to build: http://jw:8080/job/phabricator/796/
See console output for more information: http://jw:8080/job/phabricator/796/console

wraitii updated this revision to Diff 1363.Apr 19 2017, 5:33 PM

Fix a bug with technologies (should be split).

Fix bugs with the map and improve gameplay. Added a semblance of AI if you play against AI players, and even though they're insanely dumb it does make the game mode already quite fun I think.

Also correctly upload the PMP file.

wraitii updated this revision to Diff 1364.Apr 19 2017, 5:55 PM

Version I uploaded of course had a bug. This one works.

Build has FAILED

Link to build: http://jw:8080/job/phabricator/826/
See console output for more information: http://jw:8080/job/phabricator/826/console

Build has FAILED

Link to build: http://jw:8080/job/phabricator/827/
See console output for more information: http://jw:8080/job/phabricator/827/console

elexis requested changes to this revision.May 26 2017, 7:22 PM
elexis added a subscriber: elexis.

Removing this from the review queue until the dependencies are implemented.

This revision now requires changes to proceed.May 26 2017, 7:22 PM
elexis abandoned this revision.Aug 27 2017, 6:44 PM

I'm taking this out of the queue of patches-that-should-be-finished too until the dependencies are implemented.