//////////////////////////////////////////////////////////////////////////////////// // SVR Mod, for CoD Support site: http://aigaming.net | number_07@hotmail.com // //////////////////////////////////////////////////////////////////////////////////// // ADMINS: Be very careful when editing this file, as the server may crash! // Edit the text at the end of each line. Do not change anything else. // // Example: To change Attack Dog to Rabid Dog, you would end up with this: // // case "Attack Dog": return "Rabid Dog"; getMiscText(txt) { switch (txt) { case "Attack Dog": return "Attaque de chien"; case "Crushed": return "Ecrasé"; case "Explosion": return "Explosion"; case "Knife": return "Couteau"; case "Bayonet": return "Baïonette"; case "Minefield": return "Champs de Mine"; case "killed": return "Tué"; case "Suicide Bomb": return "Bombe Suicidaire"; case "was killed": return "A été Flingué"; case "was killed by": return "a été dessoudé par"; case "killed himself": return "S'est tué lui même!Le boulet!"; case "killed a teammate": return "A tué un membre de son équipe!Noob!"; case "stumbled on his tripwire": return "A trébuché sur sa mine"; case "stumbled on a team tripwire": return "A trébuché sur une mine Amie"; default: return txt; } } getModType(mod) { switch (mod) { case "MOD_EXPLOSIVE": return "Explosif"; case "MOD_GRENADE": return "Grenade"; case "MOD_PROJECTILE": return "Projectile"; case "MOD_FALLING": return "Tomber"; case "MOD_WATER": return "Noyer"; case "MOD_SUICIDE": return "Suicide"; case "MOD_CRUSH": return "Ecrasé"; case "MOD_TRIGGER_HURT":return "Trigger"; default: return undefined; } } getHitLocName(hitloc) { switch (hitloc) { case "helmet": case "head": return "Tête"; case "neck": return "Cou"; case "torso_upper": case "torso_lower": return "Torse Velu"; case "right_arm_upper": case "left_arm_upper": return "Biceps"; case "right_arm_lower": case "left_arm_lower": return "Avant Bras"; case "right_leg_upper": case "left_leg_upper": case "right_leg_lower": case "left_leg_lower": return "Jambe"; case "gun": case "right_hand": case "left_hand": return "Main"; case "right_foot": case "left_foot": return "Pied"; default: return hitloc; } } getWeaponName(weapon) { switch (weapon) { // Assault case "ak47_acog_mp": case "ak47_gl_mp": case "ak47_mp": case "ak47_reflex_mp": case "ak47_silencer_mp": return "Ak-47"; // case "m16_acog_mp": case "m16_gl_mp": case "m16_mp": case "m16_reflex_mp": case "m16_silencer_mp": return "M16A4"; // case "m4_acog_mp": case "m4_gl_mp": case "m4_mp": case "m4_reflex_mp": case "m4_silencer_mp": return "M4 Carbine"; // case "g3_acog_mp": case "g3_gl_mp": case "g3_mp": case "g3_reflex_mp": case "g3_silencer_mp": return "G3"; // case "g36c_acog_mp": case "g36c_gl_mp": case "g36c_mp": case "g36c_reflex_mp": case "g36c_silencer_mp": return "G36C"; // case "m14_acog_mp": case "m14_gl_mp": case "m14_mp": case "m14_reflex_mp": case "m14_silencer_mp": return "M14"; // case "mp44_mp": return "MP44"; // // SMG's case "mp5_acog_mp": case "mp5_mp": case "mp5_reflex_mp": case "mp5_silencer_mp": return "MP5"; // case "skorpion_acog_mp": case "skorpion_mp": case "skorpion_reflex_mp": case "skorpion_silencer_mp": return "Skorpion"; // case "uzi_acog_mp": case "uzi_mp": case "uzi_reflex_mp": case "uzi_silencer_mp": return "Mini-Uzi"; // case "ak74u_acog_mp": case "ak74u_mp": case "ak74u_reflex_mp": case "ak74u_silencer_mp": return "AK-74u"; // case "p90_acog_mp": case "p90_mp": case "p90_reflex_mp": case "p90_silencer_mp": return "P90"; // // LMG's case "saw_acog_mp": case "saw_bipod_crouch_mp": case "saw_bipod_prone_mp": case "saw_bipod_stand_mp": case "saw_grip_mp": case "saw_mp": case "saw_reflex_mp": return "M249 SAW"; // case "rpd_acog_mp": case "rpd_grip_mp": case "rpd_mp": case "rpd_reflex_mp": return "RPD"; // case "m60e4_acog_mp": case "m60e4_grip_mp": case "m60e4_mp": case "m60e4_reflex_mp": return "M60E4"; // // Snipers case "m40a3_acog_mp": case "m40a3_mp": return "M40A3 Sniper"; // case "m21_acog_mp": case "m21_mp": return "M21 Sniper"; // case "dragunov_acog_mp": case "dragunov_mp": return "Dragunov"; // case "remington700_acog_mp": case "remington700_mp": return "R700 Sniper"; // case "barrett_acog_mp": case "barrett_mp": return "Barrett .50"; // // Shotguns case "m1014_grip_mp": case "m1014_mp": case "m1014_reflex_mp": case "winchester1200_grip_mp": case "winchester1200_mp": case "winchester1200_reflex_mp": return "Shotgun"; // // Pistols case "beretta_mp": case "beretta_silencer_mp": return "Beretta M9"; // case "usp_mp": case "usp_silencer_mp": return "USP .45"; // case "colt45_mp": case "colt45_silencer_mp": return "Colt M1911"; // case "deserteaglegold_mp": case "deserteagle_mp": return "DesertEagle"; // // Exp case "c4_mp": return "C4 Explosives"; case "claymore_mp": return "Claymore Mine"; case "frag_grenade_mp": case "frag_grenade_short_mp": return "Frag Grenade"; case "rpg_mp": return "RPG"; case "gl_g36c_mp": case "gl_g3_mp": case "gl_m14_mp": case "gl_m16_mp": case "gl_m4_mp": case "gl_mp": return "M203 Grenade"; // // Air case "airstrike_mp": case "artillery_mp": return "Airstrike"; case "cobra_20mm_mp": case "cobra_ffar_mp": case "hind_ffar_mp": return "Helicopter"; // // Bomb case "briefcase_bomb_defuse_mp": case "briefcase_bomb_mp": return "Bomb"; // // Misc case "destructible_car": return "Explosion"; case "concussion_grenade_mp": return "Concussion Grenade"; case "flash_grenade_mp": return "Flash Grenade"; case "smoke_grenade_mp": return "Smoke Grenade"; case "helicopter_mp": return "Helicopter"; case "humvee_50cal_mp": return "HumVee 50cal"; case "pTRS41_Antitank_Rifle_mp": return "PTRS41"; case "aw50_mp": case "aw50_acog_mp": return "AW50"; // default: return weapon; } }