Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
News - Colonial Marines modder finds big AI fix by changing one letter of code

#1
Colonial Marines modder finds big AI fix 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.

Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  News - Changing Cortana's Look In Halo Season 2 Was No Easy Task xSicKxBot 0 1,451 02-29-2024, 12:36 PM
Last Post: xSicKxBot
  News - Twitch Is Changing Its Revenue Split For Its Biggest Streamers From 2023 xSicKxBot 0 1,441 09-21-2022, 10:32 PM
Last Post: xSicKxBot
  News - Elden Ring Modder Obtained Pre-Release Build And Streamed It xSicKxBot 0 1,344 08-14-2022, 01:12 AM
Last Post: xSicKxBot
  News - Cyberpunk 2077 Modder Adds Ability To Change In-Game Hairstyle For PC xSicKxBot 0 2,226 12-22-2020, 06:41 PM
Last Post: xSicKxBot
  News - Destiny 2 Is Changing Its Face Customization Options For Greater Diversity xSicKxBot 0 1,527 09-25-2020, 04:50 PM
Last Post: xSicKxBot
  News - Modder Makes Wii The Size Of A Game Boy xSicKxBot 0 1,518 08-31-2020, 08:08 AM
Last Post: xSicKxBot
  News - Modder Gets Bloodborne Running At 60 FPS On PS4 xSicKxBot 0 1,365 04-29-2020, 12:22 AM
Last Post: xSicKxBot
  News - Silent Hills Hacker Finds Their Way Into The Town In The P.T. Demo xSicKxBot 0 1,731 12-28-2019, 02:34 PM
Last Post: xSicKxBot
  News - Kenny Omega's AEW Dynamite Entrance Is A Love Letter To Undertale xSicKxBot 0 1,639 10-31-2019, 09:08 PM
Last Post: xSicKxBot
  News - New Pirates Of The Caribbean Movie Finds Writers, And One Is Unexpected xSicKxBot 0 1,764 10-29-2019, 05:50 PM
Last Post: xSicKxBot

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB Theme © iAndrew 2016