Set weapon damage Vs Players only
Hey, I want to weaken, but not completely remove tubing, and RPG/AT. The problem is, if I nerf the AT damage, it sucks at killing air support.
How do I make them do normal damage to air support, but reduced damage to players?
Edit: Using "_gl" seems to make the weapon the grenade launcher is attached to deal the same damage as the launcher it's self. How do I fix that?
How do I make them do like... 100 damage if shot right next to a player, and decrease it by radius? Current setting makes it so that it deals 70 damage at all ranges.
Code:
if(isSubStr(sWeapon, "_gl")) iDamage = 70; if(isSubStr(sWeapon, "at4_mp")) iDamage = 70; if(isSubStr(sWeapon, "m79")) iDamage = 70; if(isSubStr(sWeapon, "rpg_mp")) iDamage = 70;
How do I make them do normal damage to air support, but reduced damage to players?
Edit: Using "_gl" seems to make the weapon the grenade launcher is attached to deal the same damage as the launcher it's self. How do I fix that?
How do I make them do like... 100 damage if shot right next to a player, and decrease it by radius? Current setting makes it so that it deals 70 damage at all ranges.
