Adding a Page to the Pedia

Joined
Aug 7, 2006
Messages
917
Location
Massachusetts
Just wondering if anyone knows how this would be done.

My goal is to add a new page to the CivoPedia that displays "Wonder Units".
For anyone that has played FFH2, they have a page that displays all the Hero's. This is exactly what I would like to incorporate into my mod.

I want to create a handful of "Wonder Units". Units that over the coarse of history were marvels at the time of their construction, or units that achieved something special. They wont be over-powering, just units with a little boost to give an edge in a specific part of the game.

Some Examples:
Mayflower: Will be a basic Caravel, except it will have 1 less movement and can carry only settlers. Giving the builder a jump on colonization.
Columbus's Expadition: Again similar to the Caravel, except with an extra move point to give a boost on exploration.
Bismarck: Stronger Battleship
Nautilus: An attack submarine that can be built shortly after Submarines and before normal Attack Submarines. giving its building a brief bonus.
Red Baron: Early "fighter" to counter those Airships.


Anyway, I would like these newly created "Wonder Units", to appear in the new page, which I would like located directly below the "Units" Page, and above the "Buildings" page

any help would be greatly appreciated.
 
Start by looking through the existing pedia code for the closest thing to what you want to add (probably the standard Units screen) and see if you can modify it for your needs.

Python\Screens\CvPediaMain.py defines the main screen including the list of categories and the other CvPedia* files in the same location create the individual detail screens.
 
Back
Top Bottom