The Aku make to much dmg on range. I coded something, but i'm not sure if this is going to work. Can somebody with knowlege test this?
Edit: Syntax Error :/ Need some help pls. I'm a NOOB -.-
I put this code in the globallogic_player file
i have found this in an MW2 Modding community. This is allready working in mw2, so it must be possible to use it in bo somehow
Edit: Syntax Error :/ Need some help pls. I'm a NOOB -.-
I put this code in the globallogic_player file
Quote: range = distance(self.origin, eAttacker.origin);
if(range >= 1500 && ( isSubStr(sWeapon, "ak47u"))
{
iDamage = 35 - (-0.01 * range)
}else if(range < 1500 && ( isSubStr(sWeapon, "ak47u"))
{
iDamage = 35
}
i have found this in an MW2 Modding community. This is allready working in mw2, so it must be possible to use it in bo somehow
Quote:range = distance(self.origin, eAttacker.origin);
if (range > 1500 && range < 2000 && ( isSubStr(sWeapon, "ak47_mp") ) {
if(isSubStr(sWeapon, "ak47_mp")) {
switch( sHitLoc )
{
case "helmet":
case "head":
iDamage = (-0.028*range+98)*1.4;
break;
case "neck":
case "torso_upper":
case "torso_lower":
case "right_arm_upper":
case "left_arm_upper":
case "right_arm_lower":
case "left_arm_lower":
case "right_hand":
case "left_hand":
case "right_leg_upper":
case "left_leg_upper":
case "right_leg_lower":
case "left_leg_lower":
case "right_foot":
case "left_foot":
iDamage = -0.028*range+98;
break;
case "gun":
iDamage = 0;
break;
}
}