08-21-2016, 04:39 AM
Well, area of effect attacks like explosions and missiles that have area of effects aren't affected by the DIAGONAL_ACTION switch. And if you want it so you cannot hurt allies, turn the CAN_HURT_ALLY switch in the first page off. That's the 51st line in the 1st config page.
I guess, if you want Diagonal movement but no diagonal combat, this is what you can do. Keep DIAGONAL_ACTION set to true.... then go to the attack_facing? method in "3a ABS Engine (General) ". Line #1967. Replace the entire:
block with
Insofar as the hud... They Lycan Hud is actually a separate entity, with switches you can turn on/off, values which lets you move parts around on the screen, and more. Heck, I've thought about making a sorta separate thread just for different layouts of the Lycan HUD with different graphics. With this, you could style a hud like in DIABLO, Perfect World, or more. Yes, even on dialup, I've played MMOs.
EDIT: the in_line? method only checks cartesian factors... no diagonal. So the above fix prevents diagonal attacks.
I guess, if you want Diagonal movement but no diagonal combat, this is what you can do. Keep DIAGONAL_ACTION set to true.... then go to the attack_facing? method in "3a ABS Engine (General) ". Line #1967. Replace the entire:
Code:
if Lycan::DIAGONAL_ACTION == true
return facing?(element, object)
else
return true if facing?(element, object) and
in_line?(element, object)
return false
end
Code:
return true if facing?(element, object) and in_line?(element, object)
Insofar as the hud... They Lycan Hud is actually a separate entity, with switches you can turn on/off, values which lets you move parts around on the screen, and more. Heck, I've thought about making a sorta separate thread just for different layouts of the Lycan HUD with different graphics. With this, you could style a hud like in DIABLO, Perfect World, or more. Yes, even on dialup, I've played MMOs.
EDIT: the in_line? method only checks cartesian factors... no diagonal. So the above fix prevents diagonal attacks.