informa
1 MIN READ
News

Colonial Marines modder finds big AI fix by changing one letter of code

Word is spreading on ResetEra today about how an experienced modder of Gearbox's 2013 bomb Aliens: Colonial Marines found a way to significantly improve the game's AI by changing one letter of code.

Word is spreading over on ResetEra today about how an experienced modder of Gearbox's 2013 bomb Aliens: Colonial Marines discovered a way to significantly improve the game's AI by changing one letter of code.

Specifically, a modder who goes by James Dickinson published a note on ModDB last October explaining that they'd discovered a typo in a line of the game's AI code that, when fixed, notably improved the way enemies in the game track and follow targets.

The line in question, which at least one ResetEra user claims to have found in their own copy of the game's code, reads "ClassRemapping=PecanGame.PecanSeqAct_AttachXenoToTether -> PecanGame.PecanSeqAct_AttachPawnToTeather." When the "a" is cut from "Teather", at least one ResetEra user claims that the game's enemies become far more mobile and challenging.

"Why is this line important?" Dickinson wrote. "There are two reasons : 1) AttachXenoToTeather doesn't do anything. It's basically empty or stripped 2) AttachPawnToTether does ALOT. It controls tactical position adjustment, patrolling and target zoning."

When a Xeno is spawned, it is attached to a zone tether," they continued. "This zone tells the Xeno what area is its fighting space and where different exits are. In Combat, a Xeno will be forced to switch to a new tether (such as one behind you) so as to flank, or disperse so they aren't so grouped up etc. (*disclaimer* this is inferred opinion, I cant see the actual code only bits.)"

It's a good reminder that modders often play a vital role in deconstructing and improving games post-launch, even a game like Colonial Marines, which sparked a class action lawsuit against Gearbox and publisher Sega after it launched in 2013 looking much different than it did in promotional materials. Gearbox was eventually dropped from the suit in 2015.

Latest Jobs

Xbox Game Studios

Redmond, Washington
10.5.22
Technical Lighting Artist

Innogames

Hamburg, Germany
10.5.22
Game Designer - Elvenar

Bandai Namco Mobile

Barcelona, Spain
10.5.22
Principal 3D Animator

Cryptic Studios

Los Gatos, California
10.5.22
Staff Core Software Engineer
More Jobs   

CONNECT WITH US

Explore the
Subscribe to
Follow us

Game Developer Job Board

Game Developer Newsletter

@gamedevdotcom

Explore the

Game Developer Job Board

Browse open positions across the game industry or recruit new talent for your studio

Browse
Subscribe to

Game Developer Newsletter

Get daily Game Developer top stories every morning straight into your inbox

Subscribe
Follow us

@gamedevdotcom

Follow us @gamedevdotcom to stay up-to-date with the latest news & insider information about events & more