You are viewing a potentially older version of this package. View all versions.
Dinorush-MeleeSwingCustomization-1.0.1 icon

MeleeSwingCustomization

Improves Bat's hitbox and adds customization for devs.

Date uploaded 3 months ago
Version 1.0.1
Download link Dinorush-MeleeSwingCustomization-1.0.1.zip
Downloads 445
Dependency string Dinorush-MeleeSwingCustomization-1.0.1

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

MeleeSwingCustomization

Improves bat hitbox by moving the swing (not direct hit) hitbox a little bit farther out.

Customization (Requires MTFO)

Reads custom files under Custom/MeleeSwingCustomization. You can customize the hitbox location for swings (i.e. the attack sphere) and pushes as well as adjusting the speed of swing/push animations. Speed adjustments automatically scale attack timings (i.e. MeleeAnimation times). A template file is generated on game launch if the folder does not exist. Files support LiveEdit, and immediately apply changes on save. They have the format:

[ // Can contain multiple blocks
    {
        "ArchetypeID": 4,       // MeleeArchetypeID of the target weapon
        "Name": "Improved Bat", // Purely for organization
        "AttackOffset": "(0 0.55 0)", // Position offset for the attack sphere. null uses the original.
        "PushOffset": null,     // Position offset the push sphere. null uses the original.
        "LightAttackSpeed": 1,  // Speed modifier for light attacks/hits
        "ChargedAttackSpeed": 1,// Speed modifier for charged attacks/hits
        "PushSpeed": 1          // Speed modifier for pushes
    },
]

CHANGELOG

v1.1.1

  • Fixed incorrect null/default hitbox locations

v1.1.0

  • Added Capsule hit detection support
    • Added several fields to facilitate customization
  • Added a setting to the config file to render the hitbox centers

v1.0.2

  • Fixed light attack speed not applying after equipping a second melee with a modified light attack speed

v1.0.1

  • Template's improved bat ID is now 0 to improve QOL-feature compatibility with modded rundowns

v1.0.0

  • Initial Release