Sid Meier's Civilization V

Sid Meier's Civilization V

View Stats:
Question about Scramble for Africa Ottoman victory conditions
How is the north african gold score calculated exactly? Is it based on your gross gold production, or your net gold production?
< >
Showing 1-4 of 4 comments
Rather Useless Mar 25, 2014 @ 4:06pm 
Still need that information. Would like to be able to get my cheevo.
pelop Jun 3, 2014 @ 1:54pm 
I think, it is based on total gold earned. That value is divided by 15 (formula can be found in lua script). However, sum of GPT is also good approximation as it is main part of gold production.
Last edited by pelop; Jun 3, 2014 @ 1:56pm
Ansive Mar 23, 2016 @ 11:57am 
It seems to be in
..\Steam\steamapps\common\Sid Meier's Civilization V\Assets\DLC\Expansion2\Scenarios\ScrambleAfricaScenario\TurnsRemaining.lua

-- GOLD/CULTURE VP local iLifetimeGoldPerVP = 15; local iLifetimeCulturePerVP = 2; local pPlayer = Players[iPlayer]; if (iPlayer == Egypt_PlayerID or iPlayer == Morocco_PlayerID or iPlayer == Ottoman_PlayerID) then local iGoldVP = pPlayer:GetLifetimeGrossGold() / iLifetimeGoldPerVP; local iNewVPEarned = iGoldVP - pPlayer:GetScoreFromScenario3(); pPlayer:ChangeScoreFromScenario3(iNewVPEarned); end if (iPlayer == Zulu_PlayerID or iPlayer == Boer_PlayerID or iPlayer == Ethiopia_PlayerID) then local iCultureVP = pPlayer:GetLastTurnLifetimeCulture() / iLifetimeCulturePerVP; local iNewVPEarned = iCultureVP - pPlayer:GetScoreFromScenario4(); pPlayer:ChangeScoreFromScenario4(iNewVPEarned); end

So in theory it should be 1 point for 15 gold gross. But I'm not sure if that's the whole story.
I reduced Egypt and Morocco to 0 GPT in the later game and they only got 14 and 9 points in those turns.
There's no way Egypt only had 14 * 15 = 210 gross with 18 cities and over 150 population.

The mystery is the value returned by GetScoreFromScenario3.

But anyway, that's not very relevant, for high gross the 1 to 15 formula seems to hold. 3000 GPT gross will net you 200 points per turn.
Rather Useless Mar 23, 2016 @ 4:33pm 
Fascinating. I believe that means that GetScoreFromScenario3 then must be just the iGoldVP from the previous turn, so that the new iNewVPEarned is just the new victory points accrued that turn-- the difference between all the Gold VP earned up to that turn, n, minus the Gold VP earned up to the previous turn n-1.

So that 210 isn't like, the lifetime gross, but just the gross from one turn to the next, as I had hoped.

See basically my original issue was motivated by "should I try to keep maintenance costs down in order to increase my score". Thanks to you, the answer is clearly "no, don't worry about it", because you've confirmed gold VP is calculated from gross gold and not net gold. WHich is awesome. And now maybe two years later, I'll go back and try to get my Ottoman deity cheevo again, lol.

Good work.
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Mar 24, 2014 @ 8:00pm
Posts: 4