Cerridan
-
Posts
3 -
Joined
-
Last visited
Posts posted by Cerridan
-
-
I've implemented attack icons in tooltips:
My icons are pretty ugly but maybe the art team can come up with something better.
Here's the files:
-
Kind of unrelated, but maybe we can get Totalbiscuit of Cynical Brit to do a WTF is... on 0AD? Might bring in a bit more publicity.
- 1
Resource icons in tooltips
in Game Development & Technical Discussion
Posted · Edited by Cerridan
I've implemented the colored unit counters, like so:
This was basically done by modifying the .xml files with the tooltip descriptions with color tags. I just edited the general templates, so the more specific tooltips, like the Macedonians' Companion Cavalry, were not affected.
ColoredCounters.patch
I've switched the damage icons to the left of the number.
AttackIconsLeft.patch
AttackIconsLeft.zip
The 'Getting Started' guide for programmers can be found here: http://trac.wildfire...rtedProgrammers
It's written in C++ for the core, and JavaScript for the game files (what you will be editing). Most of the code is found under the
binaries\mods\public directory. Good luck!