C2C Pedia

@Dancing Hoskuld

Your routes link to animals. And even when you hover over them they give animal info. Such as the Jumplane links to the Beluga.

attachment.php
 

Attachments

  • jumpbeluga.jpg
    jumpbeluga.jpg
    123.2 KB · Views: 324
That is because as stated it does not work! Requires some dll magic. The problem is that it is almost as difficult to take out a page as it is to add it in. I'll remove it!
 
That is because as stated it does not work! Requires some dll magic. The problem is that it is almost as difficult to take out a page as it is to add it in. I'll remove it!

No dont go that EXTREME, pls. Just leave it, people can deal with it till it gets fixed.
 
When route types will have impact on trade route commerce income?
 
Some units are not showing up. For instance the South African culture unit.

I have not changed what goes on the page, ie the contents. Did this work before for those units? What is different about those units compared with the other culture resource units? It is most likely something in their XML.
 
Are all units that use the expression system to define their requirements also missing? If so then the problem is in the pedia/dll otherwise it is probably something in your XML for those particular units.
 
Are all units that use the expression system to define their requirements also missing? If so then the problem is in the pedia/dll otherwise it is probably something in your XML for those particular units.
Dependencies that are in expressions are not easily queried at the moment and especially not from Python.
 
Code:
	int getSubCombatType(int i) const;
	int getNumSubCombatTypes() const;
	bool isSubCombatType(int i);
You do that by adding lines to CyInfoInterface1.cpp.
Actually, you already exposed getSubCombatType there so you just need to add the other two. Then all the combat type querying for unit types can be done from Python.

@Thunderbrd did you end up exposing these to python?

Also the stuff I need done for routes is apparently done in the modules as described here, I think. I need a WIDGET_PEDIA_JUMP_TO_ROUTE.
 
Yes, those were exposed on the Team Update. I've also got another request, hopefully not too difficult in regards to some needed pedia screen work on Promotions. I put the request Here.

I'll put your request for the routes up at the top of the list then. I MAY be able to work that out. Might twist the noodle a bit but I've done a Widget or two already - just need to do some more reading and comprehending on that post you listed to see exactly what I need to provide.
 
For Cultural units if you can put the cultural bonus in the bonus tags rather than use the expression system they should show up in the pedia correctly.

I may then be able to also exclude them from the upgrade tree by checking the units do not require a culture type bonus before they go into the process that creates the tree.
 
I have manages to drop most of the culture units from the unit upgrade tree which makes it a bit simpler. however I can only achieve this for units where the culture bonus is in the BonusType tag. I can't get it to work if it is in the PrereqBonuses list.

I am trying a few things using the split function. EG doing s split on the scout means that the hunter line is not cluttering up the main units line.
 
Back
Top Bottom