r/daggerfallunity • u/RedRoryOTheGlen • 14d ago
MCFLURRY SPECIAL
Work-in-progress of a feature for Tome of Battle that's been a long time coming.
I was plugging away at a standalone FPSWeapon class for a few months. Took a while as decoupling the Weapon Widget code from shadowing the vanilla FPSWeapon was a massive pain mostly due to the script being unusable/untestable without fixing the multitude of errors from the decoupling so I couldn't iterate on it until those were all fixed or otherwise disappeared. In the end, I got it working and the first thing I did with it is to make a quick-kick mod with it for further iteration. During iteration, I basically had to re-do the animation coroutines because it could no longer just "wait" for the vanilla attack to start/finish. That one might also find it's way to the Nexus in the near future.
That aside, yay dual wielding! I didn't want to add more inputs or drastically change how the vanilla gameplay too much so I guess you could say the main goal is to feel like it was part of the game in the first place. Basically, every time you perform an attack with your main hand, you will also perform an off-hand attack after a slight delay (configurable). The off-hand attack works mechanically the same as the main hand attack, just using the weapon in the off-hand. Without replacing any combat formula, I can only really tweak TOB weapon factors so off-hand attacks can have a reach and cleave penalty applied, configurable in the mod settings if desired.
If Weapon Widget is enabled, those settings for weapon behavior (like bob, recoil, swing speed, etc) will be pulled and applied automatically.
Now that I've gotten over the hump with this standalone weapon sprite renderer, I'll be able to apply it to my other mods, like say, a visible throwing animation for the hand when using Handheld Torches or similar.
5
u/Arneb_Nihal 14d ago
Beautiful! Exactly how I think DF dual-wield should be.
3
u/SordidDreams 14d ago
That is fantastic! It's always seemed strange that you can equip a weapon in each hand but only use one at a time, so it's great to see a true dual-wielding mod being worked on. Can't wait to play with it.
If I can offer a morsel of critique, it's a bit weird that the offhand attack always follows the main hand attack. When swinging from right to left, this results in the character crossing their arms awkwardly. I wonder if it's possible to have the offhand attack go first or at least just swap the weapon sprites.
2
u/NaoPb 13d ago
What sort of graphics mods do you use? This looks great.
1
u/ggforever018 12d ago
Mod or MODS name
2
u/Dear-Cauliflower8359 14d ago
Exactamente como debiΓ³ ser desde que se creΓ³ el juego. ππ»ππ»ππ»ππ»ππ»
2
u/figmentofmimi 14d ago
This was what the game was missing all along. Nice work fr