You are viewing a potentially older version of this package.
View all versions.
MeleeSwingCustomization
Improves Bat's hitbox and adds customization for devs.
| Date uploaded | 2 years ago |
| Version | 1.0.2 |
| Download link | Dinorush-MeleeSwingCustomization-1.0.2.zip |
| Downloads | 307 |
| Dependency string | Dinorush-MeleeSwingCustomization-1.0.2 |
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.1Dinorush-ModifierAPI
API for plugin developers to modify certain values without conflicts.
Preferred version: 1.3.0README
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.4.3
- Fixed the entity-only ray not preventing the entity sphere/capsule hitboxes from hitting.
v1.4.2
- Expanded API for external plugins to add custom melee data depending on weapon properties.
v1.4.1
- Added doors and locks as valid entities.
v1.4.0
- Added entity-only hitboxes.
- (Partially) Fixed entity/capsule hitboxes going through walls.
v1.3.2
- Fixed ChargedAttackSpeed affecting charge time.
v1.3.1
- Update to use ModifierAPI
v1.3.0
- Added API for external plugins to add custom melee data.
- Removed Bat QoL changes; ported to BetterMeleeHitbox.
v1.2.0
- Added capsule field "CapsuleDelay": An additional delay after DamageStartTime before the capsule hitbox starts.
v1.1.2
- Fixed capsule hitboxes granting collateral damage in some cases
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