AI spaceship travel faster ?

lietkynes

Hello sword !
Joined
Aug 27, 2002
Messages
884
Location
Rome
In my last game, I launch the spaceship 1 turn before Asoka, yet both spaceships arrive to Alpha Centauri in the same turn, and the game gives victory to Asoka :rolleyes:

saved game: link
 
AI space ships only travel faster if they build more thrusters/engines than the player.

i have 2 engines, so that's not the case
load the saved game and try it yourself
 
I would load it if not at work. It's the same with thrusters, too. If your ship and the AI ship launched on the same year with the same exact parts, you'd win (your turn comes before the AI turn in SP), so I suspect strongly you're mistaken somewhere, though again maybe not ---> can't access save.
 
come oooon, anyone has any idea what happened here ?
 
In the very rare event that >1 teams pass the victory tests during the same IBT, the game determines the winner via a dice roll ... :eek: (IIRC that is different from the way World Wonders are handled in a tie break which are always given to the team with the lowest ID --> usually the human player with ID=0).

Code is in CvGame::testVictory()
Code:
if (aaiWinners.size() > 0)
{
	int iWinner = [B][COLOR="Red"]getSorenRandNum[/COLOR][/B](aaiWinners.size(), "Victory tie breaker");
	setWinner(((TeamTypes)aaiWinners[iWinner][0]), ((VictoryTypes)aaiWinners[iWinner][1]));
}
bad luck for you :p
 
Oh, wow. I apologize for my misinformation above. I'd never heard of a "coin flip" dice roll to determine a tie-breaker. Usually, the line of civ IV is "there are no tie breakers, because there are no ties".

Looks like we have ourselves an exception.
 
Interesting, I'd been wondering myself about tiebreakers but seeing the code is better than remembering an old thread from a different Civ version!
 
i have 2 engines, so that's not the case
load the saved game and try it yourself

On a related note, what's the formula for the thrusters and engines? I often find myself building only one engine in my Ironworks city and launching--I can usually beat waiting for a second engine by a turn or two by going without it.
 
Each engine/thruster is 2 turns faster on normal speed. Unless you get fusion before other techs or can build engines concurrently at VERY similar rates, it's better to launch with 1 in many cases.
 
In the very rare event that >1 teams pass the victory tests during the same IBT, the game determines the winner via a dice roll ... :eek:
ok but the point is that i launched the spaceship 1 turn before him
how can he complete spaceship on same turn as me....
 
I tried your save and Asoka launched his incomplete space ship (only 4 casings) immediately after me --> on the exact same game turn.
 
Yes, that's what you get (BTS 3.17) -- actually quite hard to miss, since the game even re-centers the map on the rival's capital to show the space ship's lift-off:

AsokaLaunch.jpg
 
Back
Top Bottom