How can I incorporate this into my game?
What files do I have to edit?
Yes, here: https://github.com/OpenXcom/OpenXcom/blob/master/src/Battlescape/MeleeAttackBState.cpp#L171
Is this already enabled in OXCE?
I couldnt find the MeleeAttackBState.cpp file in my xpiratez download folder. I am going to assume that I need to download a seperate OXCE from somewhere?
2. Delete lines 171-175 then commit those changes
All steps are correct except the quoted ones, don't delete the lines, just remove the comments from the code, other than the obvious comment at the start.Comments are the // symbols.
https://imgur.com/a/KOpEddHI am going to assume that this is now correct? I am going to assume with these edits units will not be able to reaction fire with their equipped weapons when engaged by enemies in melee?
Just want to confirm, because I am very new to this,1.Create a fork on github for this https://github.com/OpenXcom/OpenXcom/blob/master/src/Battlescape/MeleeAttackBState.cpp#L1712. Delete lines 171-175 then commit those changes3 Follow instructions here about compiling https://openxcom.org/forum/index.php/topic,7048.0.html