Monday, August 31, 2009

RR Companions Sneaking Fix

http://www.fallout3nexus.com/downloads/file.php?id=7958


This was the first "mod" I ever released for public consumption.

About two weeks prior, I had found and downloaded a wonderful new mod, the RR Companions Vault. Normally, I'd have passed. Vaults aren't really my thing for personal living space.

What set this one apart, was that it included a form of the CM Companions system from Oblivion. CM Companions was my favorite, and I've made at least a dozen of 'em.

Naturally, the prospect of being able to run up my own companions in Fallout 3 appealed, so I snagged it, and made them up.

Almost immediately, a problem arose. While I'm not the sneaky-sneaky-avoid-combat type of player, I do use sneak mode often in the Wasteland to get the critical attack bonus while picking people off from great distances.

The problem? Whenever I entered sneak mode, my companions went batshit insane, and starting killing everything - including each other, and me. Not good. I tried it with the couple of "stock" companions that are included with the Vault, and they did the same thing, which led me to believe it was not my work, but something in the base script.

I ignored it for awhile, and just didn't use sneak. Eventually, though, I got tired of it, fired up the GECK, and set about fixing the problem. I notice that in the code is a modifier to the companions' behavior that, upon the player entering sneak mode, resets the companion's responsibility to zero, and their aggression to five.

What this means, from a practical standpoint, is that if they aren't in love with you, they try to rip out your spleen and hand it to you.

A simple value change from five to zero on the aggression change fixes the issue.

ttomwv added the change to the next version of his base mod, and I got a kudos out of it.

The file had a single screenshot uploaded:



Which simply proved that you could sneak without getting holed.

Even though long since unnecessary, I left the file up for download, and amazingly it draws a few more downloads every week. I have no idea why, but if people find it useful, what the hell.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.