Civopedia and routes

Koshling

Vorlon
Joined
Apr 11, 2011
Messages
9,254
As far as I have ben able to find, the routes don't show up in the pedia as entities with their own entries. How easy would this be to address (I don't know much about how the pedia works I'm afraid, apart from some of its entry-text-generation which is DLL code). I assume it's mostly Python, so if someone could add a section for 'routes' I could add a Python-exposed text generation call like those used for other entities...
 
I think he means that you cannot look up for example "road" in the civipedia to see what effects it has. You have to use a worker and check the Worker action on-mouse-over info to see effects, and at least some of the on-mouse-overs shows erroneous information I think (mud path gives +1 movement, not double movement, so a movement one unit would move 2, but a movement 2 would only move 3 and not 4, and so on).
 
I think he means that you cannot look up for example "road" in the civipedia to see what effects it has. You have to use a worker and check the Worker action on-mouse-over info to see effects, and at least some of the on-mouse-overs shows erroneous information I think (mud path gives +1 movement, not double movement, so a movement one unit would move 2, but a movement 2 would only move 3 and not 4, and so on).

Right, exactly, and you don't get to see later routes that the worker in question cannot even build that way either.
 
Ooo, I hope someone can figure this out. It has driven me nuts since Civ4 was released that this information was not available in the pedia. When mods started making changes to the roads it bothered me even more.
 
Was it not in the Civopedia for one of the versions of AND? I'm going to have to go and check to make sure my mind isn't playing tricks on me!
 
In the next few days I will hopefully be working on the civpedia correcting and adding things. I will look into making a basic roads info section under Improvements listing the names and movement bonuses they provide.
 
In the next few days I will hopefully be working on the civpedia correcting and adding things. I will look into making a basic roads info section under Improvements listing the names and movement bonuses they provide.

It isn't likely to be quite that simple. Pedia entries that are for game entities (so pretty much all of them except for the concepts section) are mostly generated text from the DLL that directly inserts values from the defini XML. That's why the pedia entries automatically update as the XML is changed. Most likely you'll need some new python that in turn requires a new DLL routine to generate the core of the (functional) description. Only the purely descriptive pieces ( like the strategy texts) are subject to straightforward textua editing.
 
It isn't likely to be quite that simple. Pedia entries that are for game entities (so pretty much all of them except for the concepts section) are mostly generated text from the DLL that directly inserts values from the defini XML. That's why the pedia entries automatically update as the XML is changed. Most likely you'll need some new python that in turn requires a new DLL routine to generate the core of the (functional) description. Only the purely descriptive pieces ( like the strategy texts) are subject to straightforward textua editing.
Indeed, the Sevopedia screens are all separate Python files so it would be necessary to add a new one (although a lot of that would be copying an existing one).
 
You can ignore my plans to do pedia work, it looks like I've been tasked with Icon work first and foremost.....so delay on that.. but NEW ICONS YAY!
 
Back
Top Bottom