Skip to content

Instantly share code, notes, and snippets.

@TomGrobbe
Created December 27, 2018 18:54
Show Gist options
  • Save TomGrobbe/cced9be6452317adecede4e1f4b29f21 to your computer and use it in GitHub Desktop.
Save TomGrobbe/cced9be6452317adecede4e1f4b29f21 to your computer and use it in GitHub Desktop.
Weapon spawn names and their labels (localized names).
#region weapon names
public static readonly Dictionary<string, string> weaponNames = new Dictionary<string, string>()
{
{ "weapon_advancedrifle", GetLabelText("WT_RIFLE_ADV") },
{ "weapon_appistol", GetLabelText("WT_PIST_AP") },
{ "weapon_assaultrifle", GetLabelText("WT_RIFLE_ASL") },
{ "weapon_assaultrifle_mk2", GetLabelText("WT_RIFLE_ASL2") },
{ "weapon_assaultshotgun", GetLabelText("WT_SG_ASL") },
{ "weapon_assaultsmg", GetLabelText("WT_MG_ASL") },
{ "weapon_autoshotgun", GetLabelText("WT_AUTOSHOT") },
{ "weapon_bat", GetLabelText("WT_BAT") },
{ "weapon_ball", GetLabelText("WT_BALL") },
{ "weapon_battleaxe", GetLabelText("WT_BAXE") },
{ "weapon_bottle", GetLabelText("WT_BOTTLE") },
{ "weapon_bullpuprifle", GetLabelText("WT_BULLPUPRFL") },
{ "weapon_bullpuprifle_mk2", GetLabelText("WT_BULLRIFLE2") },
{ "weapon_bullpupshotgun", GetLabelText("WT_SG_BLP") },
{ "weapon_bzgas", GetLabelText("WT_BZGAS") },
{ "weapon_carbinerifle", GetLabelText("WT_RIFLE_CBN") },
{ "weapon_carbinerifle_mk2", GetLabelText("WT_RIFLE_CBN2") },
{ "weapon_combatmg", GetLabelText("WT_MG_CBT") },
{ "weapon_combatmg_mk2", GetLabelText("WT_MG_CBT2") },
{ "weapon_combatpdw", GetLabelText("WT_COMBATPDW") },
{ "weapon_combatpistol", GetLabelText("WT_PIST_CBT") },
{ "weapon_compactlauncher", GetLabelText("WT_CMPLAUNC") },
{ "weapon_compactrifle", GetLabelText("WT_SG_COMPR") },
{ "weapon_crowbar", GetLabelText("WT_CROWBAR") },
{ "weapon_dagger", GetLabelText("WT_DAGGER") },
{ "weapon_dbshotgun", GetLabelText("WT_SG_BBSHOT") },
{ "weapon_doubleaction", GetLabelText("WT_REV_DA") },
{ "weapon_fireextinguisher", GetLabelText("WT_FIRE") },
{ "weapon_firework", GetLabelText("WT_FWRKLNCHR") },
{ "weapon_flare", GetLabelText("WT_FLARE") },
{ "weapon_flaregun", GetLabelText("WT_FLAREGUN") },
{ "weapon_flashlight", GetLabelText("WT_FLASHLIGHT") },
{ "weapon_golfclub", GetLabelText("WT_GOLFCLUB") },
{ "weapon_grenade", GetLabelText("WT_GNADE") },
{ "weapon_grenadelauncher", GetLabelText("WT_GL") },
{ "weapon_gusenberg", GetLabelText("WT_GUSENBERG") },
{ "weapon_hammer", GetLabelText("WT_HAMMER") },
{ "weapon_hatchet", GetLabelText("WT_HATCHET") },
{ "weapon_heavypistol", GetLabelText("WT_HEAVYPSTL") },
{ "weapon_heavyshotgun", GetLabelText("WT_HVYSHOT") },
{ "weapon_heavysniper", GetLabelText("WT_SNIP_HVY") },
{ "weapon_heavysniper_mk2", GetLabelText("WT_SNIP_HVY2") },
{ "weapon_hominglauncher", GetLabelText("WT_HOMING") },
{ "weapon_knife", GetLabelText("WT_KNIFE") },
{ "weapon_knuckle", GetLabelText("WT_KNUCKLE") },
{ "weapon_machete", GetLabelText("WT_MACHETE") },
{ "weapon_machinepistol", GetLabelText("WT_MACHPIST") },
{ "weapon_marksmanpistol", GetLabelText("WT_MKPISTOL") },
{ "weapon_marksmanrifle", GetLabelText("WT_MKRIFLE") },
{ "weapon_marksmanrifle_mk2", GetLabelText("WT_MKRIFLE2") },
{ "weapon_mg", GetLabelText("WT_MG") },
{ "weapon_microsmg", GetLabelText("WT_SMG_MCR") },
{ "weapon_minigun", GetLabelText("WT_MINIGUN") },
{ "weapon_minismg", GetLabelText("WT_MINISMG") },
{ "weapon_molotov", GetLabelText("WT_MOLOTOV") },
{ "weapon_musket", GetLabelText("WT_MUSKET") },
{ "weapon_nightstick", GetLabelText("WT_NGTSTK") },
{ "weapon_petrolcan", GetLabelText("WT_PETROL") },
{ "weapon_pipebomb", GetLabelText("WT_PIPE") },
{ "weapon_pistol", GetLabelText("WT_PIST") },
{ "weapon_pistol50", GetLabelText("WT_PIST_50") },
{ "weapon_pistol_mk2", GetLabelText("WT_PIST2") },
{ "weapon_poolcue", GetLabelText("WT_POOLQ") },
{ "weapon_proxmine", GetLabelText("WT_PROXIM") },
{ "weapon_pumpshotgun", GetLabelText("WT_SG_PMP") },
{ "weapon_pumpshotgun_mk2", GetLabelText("WT_SG_PMP2") },
{ "weapon_railgun", GetLabelText("WT_RAILGUN") },
{ "weapon_revolver", GetLabelText("WT_REVLVR") },
{ "weapon_revolver_mk2", GetLabelText("WT_REVOLVER2") },
{ "weapon_rpg", GetLabelText("WT_RPG") },
{ "weapon_sawnoffshotgun", GetLabelText("WT_SG_SOF") },
{ "weapon_smg", GetLabelText("WT_SMG") },
{ "weapon_smg_mk2", GetLabelText("WT_SMG2") },
{ "weapon_smokegrenade", GetLabelText("WT_GNADE_SMK") },
{ "weapon_sniperrifle", GetLabelText("WT_SNIP_RIF") },
{ "weapon_snowball", GetLabelText("WT_SNWBALL") },
{ "weapon_snspistol", GetLabelText("WT_SNSPISTOL") },
{ "weapon_snspistol_mk2", GetLabelText("WT_SNSPISTOL2") },
{ "weapon_specialcarbine", GetLabelText("WT_RIFLE_SCBN") },
{ "weapon_specialcarbine_mk2", GetLabelText("WT_SPCARBINE2") },
{ "weapon_stickybomb", GetLabelText("WT_GNADE_STK") },
{ "weapon_stungun", GetLabelText("WT_STUN") },
{ "weapon_switchblade", GetLabelText("WT_SWTCHBLDE") },
{ "weapon_unarmed", GetLabelText("WT_UNARMED") },
{ "weapon_vintagepistol", GetLabelText("WT_VINTPSTL") },
{ "weapon_wrench", GetLabelText("WT_WRENC") }
};
#endregion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment