Closed Sasabmeg closed 1 year ago
Whitespaces unfortunately have been committed, but the relevant part is:
////////////////////////
//// 1-hexing ////
//// only specific weapons
bool threeLines = !isNoSpread; // weapon not shotgun-like
if (shotDist == 1) {
if ((weapPid == PID_10MM_SMG) || (weapPid == PID_HK_P90C) || (weapPid == PID_GREASE_GUN) || (weapPid == PID_TOMMY_GUN)
|| (weapPid == PID_HK_G11) || (weapPid == PID_HK_G11E) || (weapPid == PID_LASER_SMG)) {
threeLines = false;
}
}
////
//// use this to 1-hex with every weapon, and remove above
// bool threeLines = shotDist > 1 ? !isNoSpread : false; // target not adjacent and weapon not shotgun-like -> use three lines, otherwise 1-hex with every weapon
/////////////////////////////
Enable 1-hexing with either all weapons or specific weapons. Weapons with close range perk and/or SMGs should be able to full burst into target at 1 hex distance. Describe how to switch between the two options, in case different server hosts or devs plans.