Skip to main content

A typo in ‘Civilization VI’ game code can ‘yeild’ some strange A.I. behavior

Civilization VI review
Image used with permission by copyright holder

If you’ve noticed that the priorities of your A.I. opponents in Civilization VI seem to be a little off, you’re not alone. Straight White Shark, a modder on the Something Awful forums, seems to have been the first to discover a typographical error in the game file that governs the default behaviors of the game’s various leaders.

via @Hentzau, it appears that Civilisation VI's AI was completely broken on release because of… a typo. pic.twitter.com/RufPrcjzQX

— mike cook #notGDC (@mtrc) March 14, 2018

This appears to be the only place where “YIELD” is misspelled, meaning that these priorities are not used by the A.I. As you can see, the programmers meant for the A.I. leaders to emphasize production, followed by gold, science, and culture, with faith as the lowest priority.

The typo means these priorities are never implemented, so faith gets treated with the same importance as production.

How something like this could have survived thousands of hours of testing and evaluation is a mystery, especially for such a high-profile title as Civilization VI. It’s not clear if these errors were in the original release version of the game, or if they’re the result of a recent update.

Shark and others have verified that correcting the code does make a difference in A.I. behavior. PC Gamer used multiple tests to evaluate the differences. When running identical Autoplay games, for example, Pedro II of Brazil produced far less faith over a 100-turn span when using the corrected code.

Firaxis has responded with a statement to PC Gamer, confirming that the errors were not intentional, and they would be corrected:

“We’re aware of a community-reported bug that has a minor impact on AI behavior. We’ve also made sure that everyone knows that I goes before E except after C … or other weird exceptions,” the developer said. “Thanks to all who helped bring this to our attention and there will be a fix included in our next update.”

If you don’t want to wait for the update, there’s also a mod on the Steam Workshop that corrects the priorities.

Spelling errors aside, we found Civilization VI to be one of the best games of 2016. Expanding on the best features of Civ V, it adds new features and systems that integrate flawlessly with the Civ experience you’ve grown to love. If you’re just getting started, we’ve got some hints and tips for you here, and if you grabbed the recent Rise & Fall expansion you won’t want to miss our strategy summary.

Editors' Recommendations

Mark Austin
Former Digital Trends Contributor
Mark’s first encounter with high-tech was a TRS-80. He spent 20 years working for Nintendo and Xbox as a writer and…
Best PlayStation deals: PS5, controllers, headsets on sale
PS5 and DualSense art.

The latest Sony PlayStation 5 is packed with power and while it took a little while to really take off, now that we're a few years down the line, things have improved considerably when it comes to the library. Of course, not everybody has picked up one of the consoles, and if you've been waiting for the best time to pick one up, there are quite a few good deals you can take advantage of. You can also check out some other great gaming console deals if you're not set on the PS5, or if you already have one, check out these excellent PS5 game deals.
Sony PlayStation 5 Marvel’s Spider-Man 2 bundle — $450, was $600

If you’re looking to get your hands on a PlayStation 5 console with a game to get you going, try this bundle with Marvel’s Spider-Man 2. This console features the PlayStation 5’s slim design, yet still has 1TB of solid state storage built in. It also comes with one DualSense Wireless Controller, and of course, a digital voucher for Marvel’s Spider-Man 2.

Read more
Is Roblox free?
Group of Roblox players exploring.

It's hard to overstate the massive appeal of Roblox. Millions of players from around the world are hooked on this creation tool that lets players experience thousands of games made by others, or start making games for themselves to share with the world. It has evolved beyond being just a game and into a platform rivaling Fortnite. There are plenty of games out there that say they're free only to push players to spend real money on in-game items or currencies. If you want to know if there's a cost of entry to Roblox, or if you will need to spend any money once you're playing, we can break it all down for you.
Is Roblox free?
Yes, downloading and playing Roblox won't cost you a single cent. However, there is a special currency in the game you do need to pay for called Robux, which can be used in each experience to enhance your character's avatar or unlock special abilities. What you get and how much you will need to spend will vary from game to game. The cost of Robux, however, is always the same. You can buy them in packages on the Roblox site for the following rates:

400 Robux: $5

Read more
Activision forms studio to develop new narrative-driven franchise
Soldiers battle in an abandoned airport.

Activision is known as the Call of Duty publisher, but now it's trying something different. The company announced Thursday that it's formed a new internal studio called Elsewhere Entertainment that is dedicated to developing a "new narrative-based and genre-defining AAA franchise."

An official blog post notes that Elsewhere is a "standalone studio" inside the company and headquartered in Warsaw, Poland. It's employing a number of games industry veterans who've worked on franchises like Uncharted, Cyberpunk, Destiny, and others. According to LinkedIn, this includes Michal Madej, who worked on the original Witcher at CD Projekt Red and has been with Activision for the past few years. He's currently listed as a game director.

Read more