Skip to content

dpikt/pop-chart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pop-chart

Population chart mod for 0 A.D. https://play0ad.com/

Population chart example

How To Install

Download zip: https://github.com/dpikt/pop-chart/archive/master.zip

Automatic install

Right click zip file > click open with 0 A.D.

More info: https://trac.wildfiregames.com/wiki/Modding_Guide#Howtoinstallmods

Manual install

Unzip and copy the resulting folder into the 0ad mods directory.

  • Linux: ~/.local/share/0ad/mods/
  • Windows: ~\Documents\My Games\0ad\mods\
  • Mac: ~/Library/Application\ Support/0ad/mods/

More info: https://trac.wildfiregames.com/wiki/Modding_Guide#Wherearethemods

Then enable the mod from the Mod Selection screen in 0 A.D.

Limitations

  • Calculation: This mod naively calculates total population by subtracting units killed from units trained, plus the initial starting units. This is adequate for most cases but will be inaccurate in the following ways:
    • Maps/modes with non-standard starts (like Empire) will be slightly off
    • Civs with non-standard starting units (Mauryans and Britons) will be slightly off
    • Dogs will be counted in population
    • Heroes, seige, and any other units that take >1 population space will be counted as taking 1 population space
    • Units deleted by a player will not be counted against population

PRs on any of these items are welcome.

  • Translations: I wasn't sure how to add translations for the "on map" text - if anyone can point me to the right files I'd be happy to add some.

Credits

Thanks to fpre and badosu for the fgod and balanced-maps mods respectively - those examples were extremely helpful for getting started.