0 of 0

File information

Last updated

Original upload

Created by

c6

Uploaded by

c6dev

Virus scan

Safe to use

About this mod

Say, turn this record over, you ain't heard nothing yet

Requirements
Permissions and credits
Changelogs
He's hackin' and wackin' and smackin'
He's hackin' and wackin' and smackin'
He's hackin' and wackin' and smackin'
He just hacks, wacks, choppin' that meat


ButcherPete FOSE is an extender plugin (similar to Command Extender) that implements some script functions from New Vegas for modders to use, and fixes some existing ones. Documentation is available on the GECK Wiki.


New functions:

  • GetCrosshairRefEx
  • GetLockedAlt - a variant of GetLocked for terminals that accounts for Hacked state
  • IsLoadDoor
  • Get/SetLightingTemplateTraitNumeric
  • SetBipedIconPathAlt
  • SetCustomMapMarkerIcon
  • PatchFreezeTime
  • SetHotkeyItem
  • ClearHotkey
  • SetTexturePath
  • GetKiller
  • IsKeyPressedAlt - a variant of IsKeyPressed that detects keys that were disabled with DisableKey
  • MessageBoxEx
  • MessageExAlt
  • IsOwned
  • AddItemOwnership
  • Get/SetWorldspaceFlag
  • GetPCCanFastTravel
  • GetRadiationLevelAlt
  • GetButcherPeteVersion

Function fixes:

  • ListAddForm, ListAddReference (FOSE) - fixed memory corruption caused by wrong allocation size
  • GetHotKeyItem (FOSE) - fixed crashes while looping through player's inventory
  • GetRadiationLevel - fixed the function not working when called on NPCs
  • GetCurrentAIPackage - added more descriptive console prints including the package ref ID

Game patches:
  • Fixed crashes when loading a save with increased uGridsToLoad after lowering it back
  • Increased grass render range by 1 cell distance, affected by fGrassStartFadeDistance

Requirements:

Version checking:

  • GetButcherPeteVersion function returns currently installed version of the mod multiplied by 100, i.e. 110 for version 1.1. The function is registered in an unused vanilla opcode that returns 0 by default, so it will work even if the plugin isn't installed.

Compatibility:

See also:

  • Command Extender - even more script functions and fixes, you'll want it installed.

Source code:

Thanks to jazzisparis, lStewieAl and NVSE team for the original code of some of the functions and patches, as well as their work reverse engineering these games over the years.
Special thank you to hairylegs222 for extensive testing and requests, they're the reason this mod exists at all.

If you like what i do, please consider buying me a coffee.