Advertisement
TheRouletteBoi

Weapon Componet

Jun 4th, 2015
902
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 10.62 KB | None | 0 0
  1. #include "weapons.h"
  2.  
  3.  
  4. extern const WeaponS Weapons[58] =
  5. {
  6.     //slot special (1)
  7.     { "GADGET_PARACHUTE", "Parachute" },
  8.     //slot unarmed (10)
  9.     { "WEAPON_UNARMED", "Unarmed" },
  10.     { "WEAPON_KNIFE", "Knife" },
  11.     { "WEAPON_NIGHTSTICK", "Night Stick" },
  12.     { "WEAPON_HAMMER", "Hammer" },
  13.     { "WEAPON_BAT", "Baseball Bat" },
  14.     { "WEAPON_CROWBAR", "Crowbar" },
  15.     { "WEAPON_BOTTLE", "Bottle" },
  16.     { "WEAPON_GOLFCLUB", "Golf Club" },
  17.     { "WEAPON_DAGGER", "Antique Cavalry Dagger" },
  18.     { "WEAPON_HATCHET", "Hatchet" },
  19.     //slot pistol (9)
  20.     { "WEAPON_PISTOL", "Pistol" },
  21.     { "WEAPON_COMBATPISTOL", "Combat Pistol" },
  22.     { "WEAPON_PISTOL50", "Pistol .50" },
  23.     { "WEAPON_HEAVYPISTOL", "Heavy Pistol" },
  24.     { "WEAPON_VINTAGEPISTOL", "Vintage Pistol" },
  25.     { "WEAPON_APPISTOL", "AP Pistol" },
  26.     { "WEAPON_STUNGUN", "Stun Gun" },
  27.     { "WEAPON_SNSPISTOL", "SNS Pistol" },
  28.     { "WEAPON_FLAREGUN", "Flare Gun" },
  29.     //slot Shotgun (6)
  30.     { "WEAPON_PUMPSHOTGUN", "Pump Shotgun" },
  31.     { "WEAPON_SAWNOFFSHOTGUN", "Sawed-Off Shotgun" },
  32.     { "WEAPON_BULLPUPSHOTGUN", "Bullpup Shotgun" },
  33.     { "WEAPON_ASSAULTSHOTGUN", "Assault Shotgun" },
  34.     { "WEAPON_MUSKET", "Musket" },
  35.     { "WEAPON_HEAVYSHOTGUN", "Heavy Shotgun" },
  36.     //slot MG (6)
  37.     { "WEAPON_MICROSMG", "Micro SMG" },
  38.     { "WEAPON_SMG", "SMG" },
  39.     { "WEAPON_ASSAULTSMG", "Assault SMG" },
  40.     { "WEAPON_MG", "MG" },
  41.     { "WEAPON_COMBATMG", "Combat MG" },
  42.     { "WEAPON_GUSENBERG", "Gusenberg Sweeper" },
  43.     //slot Rifle (5)
  44.     { "WEAPON_ASSAULTRIFLE", "Assault Rifle" },
  45.     { "WEAPON_CARBINERIFLE", "Carbine Rifle" },
  46.     { "WEAPON_ADVANCEDRIFLE", "Advance Rifle" },
  47.     { "WEAPON_SPECIALCARBINE", "Special Carbine" },
  48.     { "WEAPON_BULLPUPRIFLE", "Bullpup Rifle" },
  49.     //slot Sniper (3)
  50.     { "WEAPON_SNIPERRIFLE", "Sniper Rifle" },
  51.     { "WEAPON_HEAVYSNIPER", "Heavy Sniper" },
  52.     { "WEAPON_MARKSMANRIFLE", "Marksman Rifle" },
  53.     //slot throwables (11)
  54.     { "WEAPON_GRENADE", "Grenade" },
  55.     { "WEAPON_STICKYBOMB", "Sticky Bomb" },
  56.     { "WEAPON_PROXMINE", "Proximity Mine" },
  57.     { "WEAPON_SMOKEGRENADE", "Tear Gas" },
  58.     { "WEAPON_BZGAS", "Bz Gas" },
  59.     { "WEAPON_MOLOTOV", "Molotov" },
  60.     { "WEAPON_FIREEXTINGUISHER", "Fire Extinguisher" },
  61.     { "WEAPON_PETROLCAN", "Jerry Can" },
  62.     { "WEAPON_BALL", "Ball" },
  63.     { "WEAPON_SNOWBALL", "Snowball" },
  64.     { "WEAPON_FLARE", "Flare" },
  65.     //slot launcher (6)
  66.     { "WEAPON_GRENADELAUNCHER", "Grenade Launcher" },
  67.     { "WEAPON_RPG", "RPG" },
  68.     { "WEAPON_MINIGUN", "Minigun" },
  69.     { "WEAPON_FIREWORK", "Firework Launcher" },
  70.     { "WEAPON_RAILGUN", "Railgun" },
  71.     { "WEAPON_HOMINGLAUNCHER", "Homing Launcher" },
  72.     { "NULL", "Random Weapon"},
  73.  
  74.  
  75. };
  76.  
  77. extern const WeaponSA Attachments[57] =
  78. {
  79.     { "GADGET_PARACHUTE", "Parachute",0, 77,77 },
  80.     { "WEAPON_UNARMED", "Unarmed",0 ,77,77},
  81.     { "WEAPON_KNIFE", "Knife" ,0,77,77},
  82.     { "WEAPON_NIGHTSTICK", "Night Stick",0 ,77,77},
  83.     { "WEAPON_HAMMER", "Hammer",0 ,77,77},
  84.     { "WEAPON_BAT", "Baseball Bat",0 ,77,77},
  85.     { "WEAPON_CROWBAR", "Crowbar",0 ,77,77},
  86.     { "WEAPON_BOTTLE", "Bottle",0 ,77,77},
  87.     { "WEAPON_GOLFCLUB", "Golf Club",0 ,77,77},
  88.     { "WEAPON_DAGGER", "Antique Cavalry Dagger",0 ,77,77},
  89.     { "WEAPON_HATCHET", "Hatchet" ,0,77,77},
  90.     { "WEAPON_PISTOL", "Pistol", 3, 0, 2 },
  91.     { "WEAPON_COMBATPISTOL", "Combat Pistol", 3, 3, 5 },
  92.     { "WEAPON_PISTOL50", "Pistol .50", 3, 6, 8 },
  93.     { "WEAPON_HEAVYPISTOL", "Heavy Pistol", 3, 9, 11 },
  94.     { "WEAPON_VINTAGEPISTOL", "Vintage Pistol", 2, 12, 13 },
  95.     { "WEAPON_APPISTOL", "AP Pistol", 3, 14, 16 },
  96.     { "WEAPON_STUNGUN", "Stun Gun",0,77,77 },
  97.     { "WEAPON_SNSPISTOL", "SNS Pistol", 1, 17, 17 },
  98.     { "WEAPON_FLAREGUN", "Flare Gun",0,77,77 },
  99.     { "WEAPON_PUMPSHOTGUN", "Pump Shotgun", 2, 18, 19 },
  100.     { "WEAPON_SAWNOFFSHOTGUN", "Sawed-Off Shotgun", 0, 77, 77 },
  101.     { "WEAPON_BULLPUPSHOTGUN", "Bullpup Shotgun", 3, 20, 22 },
  102.     { "WEAPON_ASSAULTSHOTGUN", "Assault Shotgun", 4, 23, 26 },
  103.     { "WEAPON_MUSKET", "Musket",0,77,77 },
  104.     { "WEAPON_HEAVYSHOTGUN", "Heavy Shotgun", 1, 76, 76 },
  105.     { "WEAPON_MICROSMG", "Micro SMG", 4, 27, 30 },
  106.     { "WEAPON_SMG", "SMG", 4, 31, 34 },
  107.     { "WEAPON_ASSAULTSMG", "Assault SMG", 4, 35, 38 },
  108.     { "WEAPON_MG", "MG", 2, 39, 40 },
  109.     { "WEAPON_COMBATMG", "Combat MG", 3, 41, 43 },
  110.     { "WEAPON_GUSENBERG", "Gusenberg Sweeper", 1, 44, 44 },
  111.     { "WEAPON_ASSAULTRIFLE", "Assault Rifle", 5, 45, 49 },
  112.     { "WEAPON_CARBINERIFLE", "Carbine Rifle", 5, 50, 54 },
  113.     { "WEAPON_ADVANCEDRIFLE", "Advance Rifle", 4, 55, 58 },
  114.     { "WEAPON_SPECIALCARBINE", "Special Carbine", 5, 64, 68 },
  115.     { "WEAPON_BULLPUPRIFLE", "Bullpup Rifle", 5, 59, 63 },
  116.     { "WEAPON_SNIPERRIFLE", "Sniper Rifle", 2, 69, 70 },
  117.     { "WEAPON_HEAVYSNIPER", "Heavy Sniper", 1, 71, 71 },
  118.     { "WEAPON_MARKSMANRIFLE", "Marksman Rifle", 1, 75, 75 },
  119.     { "WEAPON_GRENADE", "Grenade",0,77,77 },
  120.     { "WEAPON_STICKYBOMB", "Sticky Bomb",0,77,77 },
  121.     { "WEAPON_PROXMINE", "Proximity Mine" ,0,77,77},
  122.     { "WEAPON_SMOKEGRENADE", "Tear Gas",0,77,77 },
  123.     { "WEAPON_BZGAS", "Bz Gas" ,0,77,77},
  124.     { "WEAPON_MOLOTOV", "Molotov",0,77,77 },
  125.     { "WEAPON_FIREEXTINGUISHER", "Fire Extinguisher" ,0,77,77},
  126.     { "WEAPON_PETROLCAN", "Jerry Can",0,77,77 },
  127.     { "WEAPON_BALL", "Ball",0,77,77 },
  128.     { "WEAPON_SNOWBALL", "Snowball" ,0,77,77},
  129.     { "WEAPON_FLARE", "Flare",0,77,77 },
  130.     { "WEAPON_GRENADELAUNCHER", "Grenade Launcher", 3, 72, 74 },
  131.     { "WEAPON_RPG", "RPG" ,0,77,77},
  132.     { "WEAPON_MINIGUN", "Minigun",0,77,77 },
  133.     { "WEAPON_FIREWORK", "Firework Launcher",0,77,77 },
  134.     { "WEAPON_RAILGUN", "Railgun" ,0,77,77},
  135.     { "WEAPON_HOMINGLAUNCHER", "Homing Launcher" ,0,77,77}
  136.    
  137.    
  138.  
  139.    
  140.  
  141. };
  142.  
  143. extern const WEAPONSSAD AttachmentsD[78]=
  144. {
  145.     { "WEAPON_PISTOL", "COMPONENT_PISTOL_CLIP_02", "Extended Clip", },
  146.     { "WEAPON_PISTOL","COMPONENT_AT_PI_FLSH", "Flashlight", },
  147.     { "WEAPON_PISTOL", "COMPONENT_AT_PI_SUPP_02", "Supressor" },
  148.     { "WEAPON_COMBATPISTOL", "COMPONENT_COMBATPISTOL_CLIP_02", "Extended Clip" },
  149.     { "WEAPON_COMBATPISTOL", "COMPONENT_AT_PI_FLSH", "Flashlight" },
  150.     { "WEAPON_COMBATPISTOL", "COMPONENT_AT_PI_SUPP", "Supressor" },
  151.     { "WEAPON_PISTOL50", "COMPONENT_PISTOL50_CLIP_02", "Extended Clip" },
  152.     { "WEAPON_PISTOL50", "COMPONENT_AT_PI_FLSH", "Flashlight" },
  153.     { "WEAPON_PISTOL50", "COMPONENT_AT_AR_SUPP_02", "Supressor" },
  154.     { "WEAPON_HEAVYPISTOL", "COMPONENT_HEAVYPISTOL_CLIP_02", "Extended Clip" },
  155.     { "WEAPON_HEAVYPISTOL", "COMPONENT_AT_PI_FLSH", "Flashlight" },
  156.     { "WEAPON_HEAVYPISTOL", "COMPONENT_AT_PI_SUPP", "Supressor" },
  157.     { "WEAPON_VINTAGEPISTOL", "COMPONENT_VINTAGEPISTOL_CLIP_02", "Extended Clip" },
  158.     { "WEAPON_VINTAGEPISTOL", "COMPONENT_AT_PI_SUPP", "Supressor" },
  159.     { "WEAPON_APPISTOL", "COMPONENT_APPISTOL_CLIP_02", "Extended Clip" },
  160.     { "WEAPON_APPISTOL", "COMPONENT_AT_PI_FLSH", "Flashlight" },
  161.     { "WEAPON_APPISTOL", "COMPONENT_AT_PI_SUPP", "Supressor" },
  162.     { "WEAPON_SNSPISTOL", "COMPONENT_SNSPISTOL_CLIP_02", "Extended Clip" },
  163.     { "WEAPON_PUMPSHOTGUN", "COMPONENT_AT_AR_FLSH", "Flashlight" },
  164.     { "WEAPON_PUMPSHOTGUN", "COMPONENT_AT_SR_SUPP", "Supressor" },
  165.     { "WEAPON_BULLPUPSHOTGUN", "COMPONENT_AT_AR_FLSH", "Flashlight" },
  166.     { "WEAPON_BULLPUPSHOTGUN", "COMPONENT_AT_AR_SUPP_02", "Supressor" },
  167.     { "WEAPON_BULLPUPSHOTGUN", "COMPONENT_AT_AR_AFGRIP", "Grip" },
  168.     { "WEAPON_ASSAULTSHOTGUN", "COMPONENT_ASSAULTSHOTGUN_CLIP_02", "Extended Clip" },
  169.     { "WEAPON_ASSAULTSHOTGUN", "COMPONENT_AT_AR_FLSH", "Flashlight" },
  170.     { "WEAPON_ASSAULTSHOTGUN", "COMPONENT_AT_AR_SUPP", "Supressor" },
  171.     { "WEAPON_ASSAULTSHOTGUN", "COMPONENT_AT_AR_AFGRIP", "Grip" },
  172.     { "WEAPON_MICROSMG", "COMPONENT_MICROSMG_CLIP_02", "Extended Clip" },
  173.     { "WEAPON_MICROSMG", "COMPONENT_AT_PI_FLSH", "Flashlight" },
  174.     { "WEAPON_MICROSMG", "COMPONENT_AT_AR_SUPP_02", "Supressor" },
  175.     { "WEAPON_MICROSMG","COMPONENT_AT_SCOPE_MACRO", "Scope" },
  176.     { "WEAPON_SMG", "COMPONENT_SMG_CLIP_02", "Extended Clip" },
  177.     { "WEAPON_SMG", "COMPONENT_AT_AR_FLSH", "Flashlight" },
  178.     { "WEAPON_SMG", "COMPONENT_AT_PI_SUPP", "Supressor" },
  179.     { "WEAPON_SMG", "COMPONENT_AT_SCOPE_MACRO_02", "Scope" },
  180.     { "WEAPON_ASSAULTSMG", "COMPONENT_ASSAULTSMG_CLIP_02", "Extended Clip" },
  181.     { "WEAPON_ASSAULTSMG", "COMPONENT_AT_AR_FLSH", "Flashlight" },
  182.     { "WEAPON_ASSAULTSMG", "COMPONENT_AT_AR_SUPP_02", "Supressor" },
  183.     { "WEAPON_ASSAULTSMG", "COMPONENT_AT_SCOPE_MACRO", "Scope" },
  184.     { "WEAPON_MG", "COMPONENT_MG_CLIP_02", "Extended Clip" },
  185.     { "WEAPON_MG", "COMPONENT_AT_SCOPE_SMALL_02", "Scope" },
  186.     { "WEAPON_COMBATMG", "COMPONENT_COMBATMG_CLIP_02", "Extended Clip" },
  187.     { "WEAPON_COMBATMG", "COMPONENT_AT_SCOPE_MEDIUM", "Scope" },
  188.     { "WEAPON_COMBATMG", "COMPONENT_AT_AR_AFGRIP", "Grip" },
  189.     { "WEAPON_GUSENBERG", "COMPONENT_GUSENBERG_CLIP_02", "Extended Clip" },
  190.     { "WEAPON_ASSAULTRIFLE", "COMPONENT_ASSAULTRIFLE_CLIP_02", "Extended Clip" },
  191.     { "WEAPON_ASSAULTRIFLE", "COMPONENT_AT_AR_FLSH", "Flashlight" },
  192.     { "WEAPON_ASSAULTRIFLE", "COMPONENT_AT_AR_SUPP_02", "Supressor" },
  193.     { "WEAPON_ASSAULTRIFLE", "COMPONENT_AT_SCOPE_MACRO", "Scope" },
  194.     { "WEAPON_ASSAULTRIFLE", "COMPONENT_AT_AR_AFGRIP", "Grip" },
  195.     { "WEAPON_CARBINERIFLE", "COMPONENT_CARBINERIFLE_CLIP_02", "Extended Clip" },
  196.     { "WEAPON_CARBINERIFLE", "COMPONENT_AT_AR_FLSH", "Flashlight" },
  197.     { "WEAPON_CARBINERIFLE", "COMPONENT_AT_AR_SUPP", "Supressor" },
  198.     { "WEAPON_CARBINERIFLE", "COMPONENT_AT_SCOPE_MEDIUM", "Scope" },
  199.     { "WEAPON_CARBINERIFLE", "COMPONENT_AT_AR_AFGRIP", "Grip" },
  200.     { "WEAPON_ADVANCEDRIFLE", "COMPONENT_ADVANCEDRIFLE_CLIP_02", "Extended Clip" },
  201.     { "WEAPON_ADVANCEDRIFLE", "COMPONENT_AT_AR_FLSH", "Flashlight" },
  202.     { "WEAPON_ADVANCEDRIFLE", "COMPONENT_AT_AR_SUPP", "Supressor" },
  203.     { "WEAPON_ADVANCEDRIFLE", "COMPONENT_AT_SCOPE_SMALL", "Scope" },
  204.     { "WEAPON_BULLPUPRIFLE", "COMPONENT_BULLPUPRIFLE_CLIP_02", "Extended Clip" },
  205.     { "WEAPON_BULLPUPRIFLE", "COMPONENT_AT_AR_FLSH", "Flashlight" },
  206.     { "WEAPON_BULLPUPRIFLE", "COMPONENT_AT_AR_SUPP", "Supressor" },
  207.     { "WEAPON_BULLPUPRIFLE", "COMPONENT_AT_SCOPE_SMALL", "Scope" },
  208.     { "WEAPON_BULLPUPRIFLE", "COMPONENT_AT_AR_AFGRIP", "Grip" },
  209.     { "WEAPON_SPECIALCARBINE", "COMPONENT_SPECIALCARBINE_CLIP_02", "Extended Clip" },
  210.     { "WEAPON_SPECIALCARBINE", "COMPONENT_AT_AR_FLSH", "Flashlight" },
  211.     { "WEAPON_SPECIALCARBINE", "COMPONENT_AT_AR_SUPP_02", "Supressor" },
  212.     { "WEAPON_SPECIALCARBINE", "COMPONENT_AT_SCOPE_MEDIUM", "Scope" },
  213.     { "WEAPON_SPECIALCARBINE", "COMPONENT_AT_AR_AFGRIP", "Grip" },
  214.     { "WEAPON_SNIPERRIFLE", "COMPONENT_AT_AR_SUPP_02", "Supressor" },
  215.     { "WEAPON_SNIPERRIFLE", "COMPONENT_AT_SCOPE_MAX", "Scope" },
  216.     { "WEAPON_HEAVYSNIPER", "COMPONENT_AT_SCOPE_LARGE", "Scope" },
  217.     { "WEAPON_GRENADELAUNCHER", "COMPONENT_AT_AR_FLSH", "Flashlight" },
  218.     { "WEAPON_GRENADELAUNCHER", "COMPONENT_AT_SCOPE_SMALL", "Scope" },
  219.     { "WEAPON_GRENADELAUNCHER", "COMPONENT_AT_AR_AFGRIP", "Grip" },
  220.     { "WEAPON_MARKSMANRIFLE", "COMPONENT_MARKSMANRIFlE_CLIP_02", "Extended Clip" },
  221.     { "WEAPON_HEAVYSHOTGUN", "COMPONENT_HEAVYSHOTGUN_CLIP_02", "Extended Clip" },
  222.     { "NONE","NONE", "No Attachments"}
  223.  
  224. };
  225.  
  226.  
  227.  
  228. //COMPONENT_COMBATPDW_CLIP_01
  229. //COMPONENT_COMBATPDW_CLIP_02
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement