<Nexus>
Traveler of the Multiverse
How do I disable the forced recalc tied to Caste System civic? It MAY BE responsible for the infinite loops appearing in my mod.
How do I disable the forced recalc tied to Caste System civic? It MAY BE responsible for the infinite loops appearing in my mod.
I want to change the city screen of AND2 from the first look to something like the second. Namely:
- Move resources to the right a bit
- Make the resource list longer
- Move the specialists to the left
- Make the specialists list taller (but IIRC that is auto-adjusting)
Spoiler :
So can someone help me what are the coordinates I need to edit? I only know that CvMainInterface.py is the file I need to tinker with.
I've implemented a few small additions to the AND DLL at the request of @Inthegrave; mostly just some XML tags. Would the AND team mind if I upload the modified source code publicly on GitHub? I'd set it to No License.
I can mention the features awhile that are being implemented.That's ok with me, I'm interested in seeing which tags you have added, and I suppose @Vokarya might be interested too.
Sounds a bit like Civ6 leader agendasAnother feature was the addition of leader bigotry, leaders can be assigned a gender and race in xml and can have a negative attitude penalty if they meet another leader of a specific gender or race they hate.
I would be preferable if you guys moved to git. That way it would be far easier for us to contribute by simply sending pull requests![]()
Yeah sort of. I wanted these features in my game because I like having many leaders and tweaking them to be more historically accurate.Sounds a bit like Civ6 leader agendas![]()
That's ok with me, I'm interested in seeing which tags you have added, and I suppose @Vokarya might be interested too.
Yeah sort of. I wanted these features in my game because I like having many leaders and tweaking them to be more historically accurate.
But with having so many leaders I find it harder to differentiate their personalities, so I figured a AI weight Civic system and
bigotry could bring out more individuality. Plus I like making diplomacy harder.
Yeah but in my case I would have to make a billion different flavors to achieve what I want and plus @f1rpo told meActually that was already possible by defining new flavours.
Well I described the added features in my other post, I'm the one who proposed their inclusion because I wanted them in my game.I'd be curious. I'd also like to know how much of this is extra complexity for the player.
Looks like I took the quicker but harder wayYeah but in my case I would have to make a billion different flavors to achieve what I want and plus @f1rpo told me
negative values don't tend to work well for making leaders hate certain Civics. He said he is making a work around to make that work properly.
IMHO diplomacy already tends to be... errr... "not the brightest part of the mod".But as far as adding extra complexity for the player? I mean it does make diplomacy harder but it doesn't make gameplay much more complex, you just get a diplo penalty
if another leader you meet hates your race or gender.
Well it's completely fine for a little more individuality between leaders. It's just in my case I want to get very specific with civics with what I know about a leader historically.Looks like I took the quicker but harder way![]()
Haha, well to be fair in both AND and vanilla, diplomacy is pretty easy. Leaders don't declare war often and the penalties for things like spies being caughtIMHO diplomacy already tends to be... errr... "not the brightest part of the mod".![]()
Well, I'm thinking about a diplo bonus between leaders of the same culture group (orientals, middle-east, greco-roman, etc) but I really don't know if introducing a "sympathy" mechanism would be good or bad. Interresing never the less.
What could genders be used for?
<LeaderGender>GENDER_MALE</LeaderGender>
<iOppositeGenderAttitudeChange>-1</iOppositeGenderAttitudeChange>
I think a implementation like that would be too general and plus when you look at history you will find a lot of male leaders wouldn't respect a woman in power.We could apply a general rule where every female leader enjoys a +1 diplomatic bonus from all male leaders
Yeah, I primarily wanted the gender mod made for myself, because I like the authenticity. I wouldn't think anyone on the AND team would actually want this feature in the mod.not because I really think it would really worth doing
I'd be curious. I'd also like to know how much of this is extra complexity for the player. That's not something I want too much of. Things that run mostly under-the-hood could be interesting.
Despite copying parts of the flavor code for the AI weight tag and using the Chronicles assets for testing, it didn't even occur to me to use the flavors instead. Could be useful for nudging AI leaders even without new flavor types.Actually that was already possible by defining new flavours. I did it too though I added only 3 (autocratic, oligarchic and democratic) and assigned them to different civics and leaders.
A negative multiplier at the end of the computation will flip the sign. Probably not a problem. It might be a problem when all available civics have negative values on the bottom line, so better to avoid doing that.[...]@f1rpo told me
negative values don't tend to work well for making leaders hate certain Civics. He said he is making a work around to make that work properly.
if (!GC.getGameINLINE().isOption(GAMEOPTION_AGGRESSIVE_AI)) {
for (iI = 0; iI < GC.getNumFlavorTypes(); iI++) {
iValue += AI_getFlavorValue((FlavorTypes)iI) *
GC.getCivicInfo(eCivic).getFlavorValue((FlavorTypes)iI); } }
/*iValue *= 5; iValue /= 4;
iValue += 6 * getNumCities() + 20;*/
iValue += iAIWeight / 10;
if (iValue > 0)
iValue = (iValue * (100 + iAIWeight)) / 100;
<FlavorType>FLAVOR_AUTOCRACY</FlavorType>
<FlavorType>FLAVOR_OLIGARCHY</FlavorType>
<FlavorType>FLAVOR_DEMOCRACY</FlavorType>
May I ask the devs of AND what version of AND includes these flavors is the GlobalTypes.XML?:
Code:<FlavorType>FLAVOR_AUTOCRACY</FlavorType> <FlavorType>FLAVOR_OLIGARCHY</FlavorType> <FlavorType>FLAVOR_DEMOCRACY</FlavorType>
I ask because I have recently been making use of a CvGameCoreDLL.dll for a newer version of AND then I currently have. A few days ago I downloaded what I assumed was the new version of AND
to replace the older AND files with the newer ones but when comparing the GlobalTypes.XML from the version I downloaded with the one my teammate made in the githud download (the post above mine)
I noticed that the AND update didn't include the above flavors in the GlobalTypes.XML, this is a discrepancy.
This must mean I have been trying to update to the wrong version, he is using some version I can't seem to find. Can anyone link me to the one that does include those flavors?
Thanks, I will just have to wait till my teammate responds so I can understand where the changes come from.GlobalTypes.xml hasn't been changed in 5 years