So similar to brightmaps, one could simply draw out the hitbox they wanted like so: https://imgur.com/a/KOseq
Then within say the actors zscript file or it's own lump, the syntax would be something like this:
Code: Select all
Hitbox "right_arm_bullet" {
painType = "bullet"
painFactor = 1;
damageFactor = 0.9;
frame AAAA0 = HITBOX0;
frame AAAA1 = HITBOX1;
frame AAAA2 = HITBOX2;
frame AAAB0 = HITBOX3;
frame AAAB1 = HITBOX4;
frame AAAB2 = HITBOX5;
}