Yeah, that is strange. @Recursive IMHO a civ shouldn't want to pass this resolution if the civ controls less than average of natural wonders. What do you think?the natural wonders one(normally they all love that too)
Yeah, that is strange. @Recursive IMHO a civ shouldn't want to pass this resolution if the civ controls less than average of natural wonders. What do you think?the natural wonders one(normally they all love that too)
Yeah, that is strange. @Recursive IMHO a civ shouldn't want to pass this resolution if the civ controls less than average of natural wonders. What do you think?
Oh ok. I thought that AIs like this resolution no matter what.What if it would help an ally that's opposed to the civ's enemy? That's the issue with the World Congress..you can't just think about yourself.![]()
Oh ok. I thought that AIs like this resolution no matter what.
// Cultural Heritage Sites
if (pProposal->GetEffects()->iCulturePerWonder != 0)
{
int iNumWonders = GetPlayer()->GetNumWonders();
int iTempScore = -50;
if (iNumWonders > 0)
{
int iFactor = bSeekingCultureVictory ? 5 : 2;
iTempScore += iNumWonders * iFactor;
}
iScore += iTempScore;
iScore = MIN(70, iScore);
}
// Natural Heritage Sites
if (pProposal->GetEffects()->iCulturePerNaturalWonder != 0)
{
int iNumNaturalWonders = GetPlayer()->GetNumNaturalWondersInOwnedPlots();
int iTempScore = -35;
if (iNumNaturalWonders > 0)
{
int iFactor = bSeekingCultureVictory ? 20 : 15;
#if defined(MOD_BALANCE_CORE)
if (MOD_BALANCE_CORE) {
iFactor = bSeekingCultureVictory ? 50 : 30;
}
#endif
iTempScore += iNumNaturalWonders * iFactor;
}
iScore += iTempScore;
iScore = MIN(70, iScore);
}
Ok, so AI doesn't look at others for this proposal. It only counts how many World and Natural Wonders it has. Therefore AI could vote for it even if it would get the least from that, making it's situation relatively worse. I would vote otherwise in that case.
Therefore AI could vote for it even if it would get the least from that, making its situation relatively worse.
What do you mean I take this code too literally? Should I read between the lines? It's not exactly a poemI think you're taking this too literally, usually i play with comunitas with all (8)civs in one big continent and another unexplored continent, so there are a lot of natural wonders sometimes we get to Modern Era and there are still 1/2 Natural Wonders to settle, what I mean is, it would be dumb if just because the AI doesn't have a NaturalW when the voting occurs doesn't mean it's smart to vote against it...
If there are no more possible NaturalW to settle than it's only logical for the AI to vote against that if it doens't have any. That's my take on it![]()
It's not rare at all at that stage, when some civs conquer territories. Also not only Natural Wonders count, but World Wonders too and disparity here is almost always.Seems a bit of a niche situation. In games I've played if you have a natural wonder it's usually in your interest to vote for that resolution. Having more than one is kinda rare.
What do you mean I take this code too literally? Should I read between the lines? It's not exactly a poem
I'm not saying that AI should vote against that. AI shouldn't vote for it when it would benefit the least from that resolution, no? (It could vote for it just to improve relations with others, but it's not in the code that was pasted here)
It's not rare at all at that stage, when some civs conquer territories. Also not only Natural Wonders count, but World Wonders too and disparity here is almost always.
Also not only Natural Wonders count, but World Wonders too and disparity here is almost always.
Ok, you're right! My bad. Still, I don't consider having more than 1 Natural Wonder as a rare case.Natural Wonders and World Wonders belong to different congress resolutions though?
Looks like Recursive is looking into it anyway.
Tend to agree. Theoretically the logic should overweight Civs who are rivals and/or who are winning the game.Ok, you're right! My bad. Still, I don't consider having more than 1 Natural Wonder as a rare case.
If that's the intention then it's doing the jobalthough arguably there's a place for people-pleaser resolutions too, I guess.
arguably there's a place for people-pleaser resolutions too, I guess.
What do you mean I take this code too literally? Should I read between the lines? It's not exactly a poem
I'm not saying that AI should vote against that. AI shouldn't vote for it when it would benefit the least from that resolution, no? (It could vote for it just to improve relations with others, but it's not in the code that was pasted here).
I think @CppMaster 's point is that if your yields increase by (say) 1% and every other player's benefits by 5%, then you don't actually "benefit" in the sense that Civ is a game where only one player can win.I thought you were talking about something else not the code ahah (sorry). The way you wrote it(or I read it) I understood that you wanted to say that they "needed" to vote against. I totally agree with you, they should not vote in favour of something that they would not benefit in any way, unless their vote is bought of course![]()
But if one of those civs that benefits a lot is your ally, then that would also change things. It seems even a fairly simple proposal is more complicated than it seemsI think @CppMaster 's point is that if your yields increase by (say) 1% and every other player's benefits by 5%, then you don't actually "benefit" in the sense that Civ is a game where only one player can win.
Yeah, but does AI consider it? It's not evident from this code.But if one of those civs that benefits a lot is your ally, then that would also change things. It seems even a fairly simple proposal is more complicated than it seems.