About this mod
Automatic shoulder bash and dodge mod for Great Sword. When facing monster attacks, this mod automatically executes shoulder bash during charge, armed roll when weapon is drawn, or unarmed roll when sheathed.
- Requirements
- Permissions and credits
- Mirrors
如果你是国人,请转到这:【3.10新更新】自动铁山靠/闪避不覆盖相杀与角斗
Required prerequisites: "CatLib v1.7+" and "REFramework"
This mod is designed specifically for the Great Sword weapon. I wrote this with limited coding experience, so the code is quite messy - about 800 lines just to implement a few features. My priority was to make it functional rather than elegant ~~(definitely not because... the mod stops working when I try to optimize the code... sob)~~. If you encounter any errors, please share the error messages in the comments so I can try to fix them.
Installation Instructions
- Place the LUA file in: \MonsterHunterWilds\reframework\autorun
- After launching the game, locate the "Script Generated UI"
- Expand it and find "Auto Shoulder Bash" to adjust settings
- Make sure "Disable Cooldown" is enabled, as I couldn't fix that bug
I don't know why the cooldown timer has a bug - when set, the mod doesn't respond properly. I've tried everything but couldn't fix it, so I'm keeping it this way for now. Without a cooldown timer, there may be a bug with continuous rolling, but I haven't been able to replicate it in my testing. Let me know if you encounter it.
When the shoulder bash/tackle is triggered, it interrupts your charge, which means you won't be charging anymore. Since you're not charging, it won't trigger again, so it's not a major issue.
Enable Armed Roll
- Automatically triggers a roll dodge when hit while your weapon is drawn
- If "Enable Charge Shoulder Bash" is not enabled, this will also activate when hit during charging
- Self-explanatory - automatically dodges when hit while your weapon is sheathed
- Triggers a shoulder bash/tackle when hit during weapon charging
- This overrides the Armed Roll setting
- Keep both of these options checked
- They're remnants of my spaghetti code - the mod breaks if I remove them
- The mod is basically running on bugs at this point... lol
- These sections are for debugging purposes
- They're not particularly useful but removing them might break the code
"The shoulder bash resets charge level"
- I can't fix this issue yet. It's technically challenging to implement, but I might find a solution in the future.
- This happens because there are two different shoulder bash action IDs - one for normal charging and one for strong charging. I've modified it so that after triggering, you can continue into a True Charge.
- I tried, but it seems automatic Perfect Guard doesn't properly interact with monster attacks for the Guard Angle mechanic. It may be due to my lack of technical skill... Plus, I personally find the automatic Perfect Guard disrupts my flow too much.
- I've tried to fix this, but it causes bugs since I needed the shoulder bash to override the charged roll... My technical skills are limited, so I couldn't activate the two separately. I removed the Rising Slash charge hit roll option during code optimization. I'll try to fix this together with the strong/true charge derivation issue later, but I have work to do, so it might not happen until mid-March or later... or maybe tomorrow, or maybe never - who knows!
I have limited coding experience - much of this was cobbled together while learning with the help of AI language models. The code is messy, and I'm just grateful it works at all! I don't know if it causes performance issues, so please let me know if you notice any. My system is GPU-limited, so I can't tell if it impacts CPU performance.
Please don't be too harsh in your criticism - I'm socially anxious!
Note about CJK Font Library:This mod may require the CJK (Chinese/Japanese/Korean) font library for REFramework for proper UI display. Without it, some UI text might appear as "???" or boxes, especially in the debug information. The core functionality of auto shoulder bash and dodging should still work properly regardless of font support.
Don't use this in multiplayer! Whether reporting actually does anything or not, you should know that players have the option to report cheats (evil whisper)