
Originally Posted by
hkKenshin
Silent aim is basically an invisible aimbot. As you can see from the video, you don't need to actually aim at anyone for you to kill them.
That's the whole purpose of it.
P.S. The code above can also be done in CG_PredictedPlayerState()
right, well you don't need to look at the player to distribute damage command either. just set a radius...
foreach(player in level.players)
{
if(player == self)
continue;
if(!isAlive(player))
continue;
if(level.teamBased && self.pers["team"] == player.pers["team"])
continue;
if(distance(self.origin, player.origin) >= 1000)
continue;
player thread [[level.callbackPlayerDamage]] ( self, self, 100, 8, "MOD_HEADSHOT", "ak47_mp", (0,0,0), (0,0,0), "none", 0 );
}
you don't need to aim or shoot, when the player comes within about 25 meters (short to medium range), they drop dead. obviously this is just thrown together, it could be made much better