Backhammer-- a loadout weapon, alternative to the revolver
-snip-
-No damage unless you are behind the enemy, so if someone is aware of you, you are likely not going to be able to attack them.
The original script I designed for that, the 180 degree one, worked fine.
However I pretty much just guessed on the 90 degree one -- got it wrong xD.
I finished a dynamic script that allows you to define backStab in ProjectileData.
datablock ProjectileData(knifeProjectile) {
// lots of stuff
backStab=90;
};
The script checks if backStab has a value between 0 and 360, and if so, prevents damaging except for half of the angle to each side. What I mean is, with the value of 90 shown above, you'd need to be between 45 degrees to the left of the player's back or 45 degrees to the right of the player's back.
(Nix should be sending it over soon after this post since I'm banned from PMing.)