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…
Volgarr the Viking 2 will take you back to your Ghosts ‘n Goblins days
A viking slashes a tree in Volgarr the Viking 2.

Developer Digital Eclipse is working on a surprising project: Volgarr the Viking 2. The 2D retro sequel will launch on August 6 for PlayStation 4, PS5, Xbox One, Xbox Series X/S, Nintendo Switch, and PC.

The news is an out of left field reveal. The first Volgarr the Viking game released in 2013 and was made as an ode to 1080s classics like Ghosts 'n Goblins. Despite being a small release, it sold over 1 million copies over the past decade. As revealed during today's Guerrilla Collective stream, the series is coming back with a new sequel by Digital Eclipse, the team behind this year's Llamasoft: The Jeff Minter Story.

Read more
3 Days of Play PS Plus games to try this weekend (June 7-9)
Key art for Streets of Rage 4.

June 2024 is shaping up to be a pretty great month for PlayStation players. Not only are we coming off an entertaining State of Play showcase, but a new Days of Play initiative surrounding all the video game showcases this month is bringing a lot of new PS Plus additions with it. Many of those games hit PS Plus this week, and three in particular stand out to us.

For owners of Sony's oft-neglected PlayStation VR2, the first game is one of its rare exclusives that take full advantage of the headset's eye-tracking by seeing how often players blink. The next is a new PS Plus Essential game that's a revival of Sega's classic beat-'em-up series for the modern gaming era. Finally, the last title is an atmospheric and eerie fishing game that should entice fans of Lovecraftian horror.
Before Your Eyes

Read more
3 first-party Xbox Game Pass games to try this weekend (June 7-9)
Gears 5 Kait Hero Close Up

Microsoft will hold an Xbox Games Showcase and Call of Duty: Black Ops 6 Direct. this Sunday. These shows will provide a much better idea of what to expect from Xbox over the course of the next year or two. That's really needed right now, as Microsoft has struggled to keep online discussions around Xbox positive as it went multiplatform with some games, laid off thousands of developers, and outright shut down the developers of Hi-Fi Rush and Redfall. Based on leaks and my personal expectations for the showcase, there are three games you can play on Xbox Game Pass this weekend to prepare for the event.

The first is the latest first-person shooter in a long-running series by id Software that might be getting a medieval-set spinoff. After that, we have the fifth entry in a sci-fi Xbox series that still looks fantastic on Xbox Series X/S even though it came out in 2019. Finally, you can prepare for Avowed with the latest RPG from Obsidian Entertainment, a satirical sci-fi game where player choice is critical.
Doom Eternal

Read more