// Reward system for Headshot Kills// 0 = Off (default)// 1 = Onset ex_headshot_reward "1"// Points to be award to a player that gets a Headshot// 0 = min (default)// 99 = maxset ex_headshot_points "5"
A couple people -- like Kid and you Wanna -- have gotten it as a by-product of another fix
Can someone share this coolness with the rest of the community? I know our guys would love this!!
Joker you sir are a wonderful man!! Thanks bro!! If you were up here in the Great White North I'd buy ya a beer!
buy ya a beer!
//******************************************************************************// Reward/Bonus Points for Headshots and Knife Kills//******************************************************************************// Reward system for Headshot Kills// 0 = Off (default)// 1 = Onset ex_headshot_reward "1"// Points to be award to a player that gets a Headshot// 0 = min (default)// 99 = maxset ex_headshot_points "10"// Reward system for Knife Kills// 0 = Off (default)// 1 = Onset ex_melee_reward "1"// Points to be award to a player that kills with a Knife// 0 = min (default)// 99 = maxset ex_melee_points "10"
//**************************************************************************** // X4 Knife/Headshot Reward System //**************************************************************************** level.ex_headshotreward = [[level.ex_dvardef]] ("ex_headshot_reward", 0, 0, 1, "int"); level.ex_headshotpoints = [[level.ex_dvardef]] ("ex_headshot_points", 0, 0, 99, "int"); level.ex_meleereward = [[level.ex_dvardef]] ("ex_melee_reward", 0, 0, 1, "int"); level.ex_meleepoints = [[level.ex_dvardef]] ("ex_melee_points", 0, 0, 99, "int");
case "MOD_HEAD_SHOT": { obitad(attacker, "headshotkill", "headshotdeath", "", sMeansOfDeath, sWeapon); if(isWeaponType(sWeapon, "sniper")) obitstat(attacker, "sniperkill", "sniperdeath"); obitmain(attacker, sWeapon, sHitLoc, false); if(self.ex_obmonpmsg) attacker thread maps\mp\gametypes\_hud_message::oldNotifyMessage( &"OBITUARY_HEADSHOT" ); if(self.ex_obmonpsound) attacker playlocalSound("headshot"); if(level.ex_headshotreward) { attacker.pers["score"] = attacker.pers["score"] + level.ex_headshotpoints; attacker.score = attacker.score + 5; if(self.ex_obmonpmsg) attacker iprintlnbold("Headshot bonus: ^2+ " + level.ex_headshotpoints + " ^7pts"); } break; }
case "MOD_MELEE": { obitad(attacker, "knifekill", "knifedeath", "knifewhip", sMeansOfDeath, sWeapon); if(self.ex_obmonpmsg) self thread maps\mp\gametypes\_hud_message::oldNotifyMessage( &"OBITUARY_HUMILIATION" ); if(self.ex_obmonpsound) self playlocalSound("humiliation"); if(level.ex_meleereward) { attacker.pers["score"] = attacker.pers["score"] + level.ex_meleepoints; attacker.score = attacker.score + 5; if(self.ex_obmonpmsg) attacker iprintlnbold("Knife bonus: ^2+ " + level.ex_meleepoints + " ^7pts"); } break; }