ExtraToolCustomization
Fixes Sentry bugs and adds customization for Sentries and Mines.
Date uploaded | 3 weeks ago |
Version | 1.2.0 |
Download link | Dinorush-ExtraToolCustomization-1.2.0.zip |
Downloads | 332 |
Dependency string | Dinorush-ExtraToolCustomization-1.2.0 |
This mod requires the following mods to function
BepInEx-BepInExPack_GTFO
BepInEx pack for GTFO. Preconfigured and includes Unity Base DLLs.
Preferred version: 3.2.1README
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
}
]
CHANGELOG
v1.2.0
- Sentry custom files now use "ArchetypeID" instead of "OfflineID".
- Fixed client sentry guns dealing no damage.
v1.1.4
- Renamed Mine field:
- PlacementTime -> PlacementCooldown
- Added Mine fields:
- PlacementTime: Time it takes to place a mine.
- PickupTime: Time it takes to pick up a mine. (Mine deployer only)
v1.1.3
- Fixed the error again because I can't read
v1.1.2
- Fixed an error that occurred when there are two customizations for the same itemID
v1.1.1
- Added Mine field:
- PlacementTime: Delay before you can act after placing a mine.
v1.1.0
- Added sentry customization:
- Only option currently is "BackDamage" enabled or disabled.
- Fixed sentry loadout text not pulling from Archetype.
v1.0.0
- Initial Release