shyuhe
Deity
I believe LC is up, unless he's too busy.
Possibly, possibly not. Anyway, the idea is not to trade away any Resources that we would need in the next 10 turns... I have no access to the game to check, but I imagine that it might be possible that we could do away with Resources for such a period of time. I see no point in trading into Unhappiness or Unhealthiness.No, we need to get both resources; otherwise the second one is there for an AI to trade for a mystery 3rd resource.
Well, when I was testing before, gifting or not gifting Resources made a difference. It shouldn't be too hard of a test to set up:I don't quite see where the link is between resource trading and gold limits.
The amount of gold they'll trade us depends on their population, gold per turn, etc, and how much gold they've traded to us, but not resource trade turns.
I don't believe us giving them resources will let them gift us more gold - as far as I can tell it's just a running total of how much they've given us free.
Please correct me if I am wrong, but there is at least one team that won't trade with us until we get them up to an average of a Pleased attitude toward us, right? If that situation is the case, then said AI team is our preferred target team of AIs to please.If we don't need the health and definitely won't, then fine, but the only benefit is +0.2 attitude for one AI, which is worthless unless there is a specific AI we want to please.
So, does that fact change the weighting to be in favour of Horseback Riding being easier to get in trade than Construction?You're right. I took getPrereqAndTech() to mean any of the prereqs, when it's really just the first one. (The other ones are hiding behind the function getPrereqAndTechs() )
Certainly, we wouldn't just go making a Demand/Request all willy-nilly, particularly sine once you ask, you can't ask again and expect to be successful for a minimum of 10 turns and more likely to be closer to 30 to 50 turns later. However, we can also potentially use such "no war for 10 turns" timing to our advantage to avoid being dog-piled at the right time, should an opportunity present itself.Begging for gold? We need to be really careful with that, since we don't want a peace treaty with the wrong person at the wrong time.
My understanding of what ZPV was saying yesterday was that HBR is more difficult to get in trade. TBH, that doesn't necessarily correspond with my playing experience. It's much easier to trade for in most games, though that possibly has to do with more AIs getting it sooner.
The main reason I want HBR first is so we can build a stable in Ivory or Washington and get an 8XP unit capturing the barb city, though. The trade stuff is a crapshoot anyway, since we don't actually know which will be available or when.
LC played just before me.
Dhoomstriker said:So, does that fact change the weighting to be in favour of Horseback Riding being easier to get in trade than Construction?
Ragnar/Asoka is the team that won't OB or trade tech until pleased. I just don't think it's feasible to get them Pleased, and we're going to be DoWing them sooner rather than later.Possibly, possibly not. Anyway, the idea is not to trade away any Resources that we would need in the next 10 turns... I have no access to the game to check, but I imagine that it might be possible that we could do away with Resources for such a period of time. I see no point in trading into Unhappiness or Unhealthiness.
Well, when I was testing before, gifting or not gifting Resources made a difference. It shouldn't be too hard of a test to set up:
Spoiler :1. Get an AI (or an AI team in this case) to be Pleased with us (such as using the World Builder Diplomacy Attitudes editing functionality or gifting techs)
2. Give yourself a bunch of extra connected Resources (a quick way is to put them on the same squares as your Cities are placed, but you can also use the World Builder to build an improvement)... just make sure that you have the relevant tech (such as Calendar) to be able to access said Resources
3. Optionally, use the World Builder with an improvement type selected and right-click on many of an AI's Resources, just to remove their Camps, Farms, Pastures, etc, giving you more trading options
4. Save the game as "save A" (call it whatever you want, I'll just pick that name here so that I can be clearer in what I am suggesting)
5. End the turn 10 times and save the game as "save B"
6. Load "save A," gift a bunch of Resources (like 5 of them) to an AI--maybe to both team members, even, since it's a team-based game, save the game as "save C" although you probably won't need to load this game
7. End the turn 10 times and save the game as "save D"
8. Play around with "save B" and "save D" to find out the Request a lump sum of Gold threshold is and see if the value is different. My testing in the past showed that the values were different.
Yeah, sometimes code-diving can be more conclusive but this testing shouldn't take too long to set up (for anyone that has access to Civ 4, which I do not have).
Please correct me if I am wrong, but there is at least one team that won't trade with us until we get them up to an average of a Pleased attitude toward us, right? If that situation is the case, then said AI team is our preferred target team of AIs to please.
Certainly, we wouldn't just go making a Demand/Request all willy-nilly, particularly sine once you ask, you can't ask again and expect to be successful for a minimum of 10 turns and more likely to be closer to 30 to 50 turns later. However, we can also potentially use such "no war for 10 turns" timing to our advantage to avoid being dog-piled at the right time, should an opportunity present itself.
Brennus has OrgRel as his favorite civic. The chart of attitudes doesn't show him giving anyone plusmods for that, though 5 AIs also have it. I don't know if the chart hides that because of random personalities, but maybe you can figure out Genghis based on this. It would be nice know if the chart reveals that detail or not, because AIs will start getting Monarchy soon and switch to HeredRule.That narrows Gandhi down to the personalities of Roosevelt, Asoka or Cyrus and confirms Montezuma behaves like Mansa Musa.
It also means that Genghis behaves like Brennus or Montezuma.
It doesn't hide favourite civic bonuses, once they are there. Montezuma/Brennus just doesn't feel right though. I'll think about it some more.Brennus has OrgRel as his favorite civic. The chart of attitudes doesn't show him giving anyone plusmods for that, though 5 AIs also have it. I don't know if the chart hides that because of random personalities, but maybe you can figure out Genghis based on this. It would be nice know if the chart reveals that detail or not, because AIs will start getting Monarchy soon and switch to HeredRule.
Speaking of HeredRule, all but Gandhi/Monte can research Monarchy. That's a problem for us if we want them to research HBR or Construction for us instead. If we can figure out who has HeredRule for a favorite civic we can get a better idea how many are less likely to research Monarchy.
IF we have a strong chance of getting both COnstr and HBR in trade, going Compass next would be great. It's important to decide now because we're gaining non-trivial beakers even at 0% slider. Furthermore, at 30bpt, we get more value on Compass than HBR or COnstruction.
ZPV, based on your latest calcs for HBR, how many AIs will need to know it to trade it (your best guesstimate).
Ahhh, so that fact WILL make for a relatively easier way of helping to confirm whether a leader has the personality that we suspect them of having.F4 Info Screen shows questions marks, so I think it's considered personality.
Very neat... if we want peace with a team, we can always hit up a single member of said team, as long as said member still likes us sufficiently. It's probably worth testing just to confirm that we can get 10 turns of peace being enforced with both team members, confirming whether or not we can request a gift from BOTH team members during overlapping times, and confirming whether or not the team member that isn't Pleased with us will get upset for our Demand.Btw, another phenomenon I noticed today. Genghis is pleased with us and thus we can ask him for friendly favors, whereas Gandhi is cautious so we can only threaten him to give us stuff. For some reason that is not affected by the average of their two attitude characteristics on that...
I still think that gifting a Resource will increase the amount of lump sum Gold that we can request. The code may not show so directly but such a gift may increase one variable that gets used in the Gift Requesting function.
if (iOurValue > 0 && 0 == pTheirList->getLength() && 0 == iTheirValue)
{
if (GET_TEAM(getTeam()).isVassal(GET_PLAYER(ePlayer).getTeam()) && CvDeal::isVassalTributeDeal(pOurList))
{
if (AI_getAttitude(ePlayer, false) <= GC.getLeaderHeadInfo(getPersonalityType()).getVassalRefuseAttitudeThreshold()
&& GET_TEAM(getTeam()).getAtWarCount(true) == 0
&& GET_TEAM(GET_PLAYER(ePlayer).getTeam()).getDefensivePactCount() == 0)
{
iOurValue *= (GET_TEAM(getTeam()).getPower(false) + 10);
iOurValue /= (GET_TEAM(GET_PLAYER(ePlayer).getTeam()).getPower(false) + 10);
}
else
{
return true;
}
}
else
{
if (AI_getAttitude(ePlayer) < ATTITUDE_PLEASED)
{
if (GET_TEAM(getTeam()).getPower(false) > ((GET_TEAM(GET_PLAYER(ePlayer).getTeam()).getPower(false) * 4) / 3))
{
return false;
}
}
if (AI_getMemoryCount(ePlayer, MEMORY_MADE_DEMAND_RECENT) > 0)
{
return false;
}
}
iThreshold = (GET_TEAM(getTeam()).AI_getHasMetCounter(GET_PLAYER(ePlayer).getTeam()) + 50);
iThreshold *= 2;
if (GET_TEAM(GET_PLAYER(ePlayer).getTeam()).AI_isLandTarget(getTeam()))
{
iThreshold *= 3;
}
iThreshold *= (GET_TEAM(GET_PLAYER(ePlayer).getTeam()).getPower(false) + 100);
iThreshold /= (GET_TEAM(getTeam()).getPower(false) + 100);
iThreshold -= GET_PLAYER(ePlayer).AI_getPeacetimeGrantValue(getID());
return (iOurValue < iThreshold);
}
Well, it's late and I'm tired, but if an AI "received" a gift, wouldn't that mean affecting their getPeacetimeGrantValue variable, which translates to them wanting to give us more? I'll be happy to be proven wrong but it can't hurt to at least try it out, right?The only possible thing gifting a resource could change is AI_getPeacetimeGrantValue. This happens in CvDeal.cpp:addTrades and CvDeal.cpp:doTurn, but it only affects the player receiving a free gift. The doTurn variant will be affected, if we are receiving a free resource from them, but that's it.
(it's also affected by gifting a unit, but that's somewhat irrelevant).
Well, it's late and I'm tired, but if an AI "received" a gift, wouldn't that mean affecting their getPeacetimeGrantValue variable, which translates to them wanting to give us more? I'll be happy to be proven wrong but it can't hurt to at least try it out, right?
Are you sure? That kind of coding doesn't make any sense... I'll give you some things and be nice to you so that you will be meaner to me in the future.Us giving them a gift increases "them.AI_PeacetimeGrantValue(Us).
The value that is used is "us.AI_PeacetimeGrantValue(them)", and we don't want to increase it since it is subtracted from the threshold.
Are you sure? That kind of coding doesn't make any sense... I'll give you some things and be nice to you so that you will be meaner to me in the future.