Dinorush-ExtraToolCustomization icon

ExtraToolCustomization

Fixes Sentry bugs and adds customization for Sentries and Mines.

Last updated 2 weeks ago
Total downloads 1506
Total rating 2 
Categories Client Mods Rundown Mods Dev Tools
Dependency string Dinorush-ExtraToolCustomization-1.3.0
Dependants 7 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack_GTFO-3.2.1 icon
BepInEx-BepInExPack_GTFO

BepInEx pack for GTFO. Preconfigured and includes Unity Base DLLs.

Preferred version: 3.2.1

README

ExtraToolCustomization

Sentry Bugfixes

Burst Sentry

Fixes burst sentry behavior. It could previously preserve remaining burst across activations, firing less than expected. Additionally, it had extended lock on time on initial placement or if it had no remaining burst after killing the last enemy in range.

In other words: Burst Sentry has faster initial lock-on time and its first burst is always a full burst. Likely makes Burst Sentry stronger, so use in vanilla at your own risk!

Shotgun Sentry (Requires MTFO)

Allows Sentry_FireTowardsTargetInsteadOfForward in Archetype data to work on Shotgun Sentries.

Tool Customization (Requires MTFO)

Un-hardcodes Sentry archetype IDs. They are instead determined by GearCategory according to the fire mode defined in PlayerOffline (c:1):

  • 10: SemiArchetype
  • 11: AutoArchetype
  • 12: BurstArchetype
  • 13: SemiArchetype (Shotgun)

Sentries can be customized via custom files under Custom/ExtraToolCustomization/Sentry. A template file will be generated on game start if no files exist. The files are formatted as lists of data objects. For example, see the base template:

[
  {
    "ArchetypeID": 0,
    "Name": "Sentry Gun",
    "BackDamage": false
  }
]

Mines can likewise be customized via custom files under Custom/ExtraToolCustomization/Mine. Base template:

[
  {
    "OfflineID": 0, // OfflineID can be used for Mine Deployer tools
    "ItemID": 0,
    "Name": "Mine Deployer",
    "Delay": 0.25, // Delay before the mine detonates
    "Radius": 2.5, // Radius of the capsule hit detection
    "DistanceMin": 3, // Distance within which maximum damage is dealt
    "DistanceMax": 15, // Maximum length of the capsule hit detection; distance past which minimum damage is dealt
    "DamageMin": 15,
    "DamageMax": 50,
    "Force": 1000, // Force applied to killed enemies
    "PlacementTime": 0.5, // Time to place a mine
    "PlacementCooldown": 2, // Time you can't do anything after placing a mine
    "PickupTime": 0.5 // Time to pick up a mine
  },
  {
    "OfflineID": 0,
    "ItemID": 0, // Item ID can be used for consumables OR Mine Deployer tools
    "Name": "Consumable Mine",
    "Delay": 0.25,
    "Radius": 2,
    "DistanceMin": 2.5,
    "DistanceMax": 12,
    "DamageMin": 10,
    "DamageMax": 35,
    "Force": 700,
    "PlacementTime": 0.5,
    "PlacementCooldown": 2, // Has no impact on consumable mines
    "PickupTime": 0.5
  }
]