r/daggerfallunity • u/RedRoryOTheGlen • Dec 11 '24
WIP Vanilla Combat Event Handler
https://streamable.com/dhp0wzAnother upcoming mod, this overrides the base game's combat formula and adds "events" that other mods can subscribe to. This lets those mods "listen" for attacks as well as check attack information like attacker, target, weapon etc.
In the video, it is used to power a "Combat Log" mod I wrote up quickly as a showcase, as well as a new Recoil module for Weapon Widget that changes the swing animation depending on the target/result of an attack.
Unfortunately it won't be compatible with mods that also override the same formula like Physical Combat and Armor Overhaul, but it's a neat proof-of-concept for the necessity of a combat event system.
8
u/Ambitious_Freedom440 Dec 11 '24
This would kinda help make the lower game speed settings a little more playable if you wanted to do less of simply walk backwards and swing/shoot away in Daggerfall's combat and just let the dice rolls decide dodges for you. Maybe some people would get annoyed at the event text but I love event text spam in Daggerfall regardless so I'm all for mods like this. Maybe a specific sort of console window where it keeps a log of all this text would be a little better for displaying mods that do this sort of thing?
3
u/RedRoryOTheGlen Dec 12 '24
CLANG CLANG CLANG
More experimenting with Combat Events. Now we can make VFX happen when an attack collides with a hitbox but the to-hit roll misses. Gives you a better idea of whether you missed due to a bad roll or if you just completely missed the target's hitbox.
2
u/Sad_Environment_2474 Dec 11 '24
its a bit complex. I do like the recoil stuff there is a recoil in the game Since i have used walls to kill an enemy. if i have the Hammer i love to yell FORE and then send a rat crashing into a wall. I don't think i would reallly notice the dialog scroll since i do a lot of Maneuvers to dodge attacks.
2
u/knifeinurasshole Dec 13 '24
would be epic if we could replace the F10 panel with a chat box for the text. epic work once again rory
5
u/Heathenhearted Dec 11 '24
Pardon the unrelated question, can this UI frame be toggled in settings or is this another mod? Yours looks different from the others I've seen and I like the labels.
1
u/[deleted] Dec 21 '24
Could you add hooks so that the other modules could be compatible?
2
u/MrGottem Dec 12 '24
this looks so flipping awesome