Worldeater/Sandbox – User
Jump to navigation
Jump to search
Worldeater (talk | contribs) No edit summary |
Worldeater (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
==ArmA2 - Weapon List== | ==ArmA2 - Weapon List== | ||
<pre>private ["_weaponList","_weapon","_muzzles","_magazines"]; | |||
_weaponList = configFile >> "CfgWeapons"; | |||
for "_i" from 0 to (count _weaponList - 1) do { | |||
_weapon = _weaponList select _i; | |||
if isClass _weapon then { | |||
_muzzles = getArray (_weapon >> "muzzles"); | |||
_magazines = getArray (_weapon >> "magazines"); | |||
if (count _muzzles > 0 && count _magazines > 0) then { | |||
_weapon = configName _weapon; | |||
_muzzles set [0, _weapon]; | |||
localize ">>>|-valign=""top""<<<"; | |||
localize format [">>>%1 || %2 || %3<<<", _weapon, _muzzles, _magazines]; | |||
}; | |||
}; | |||
}; | |||
</pre> | |||
<pre> | |||
sed -e 's/String >>> \(.*\) <<< not found/\1/g' -e 's/[]"[]//g' -e 's/,/<br\/>/g' -e 's/^/|/g' -e 's/$/\n|-valign="top"/g'<arma2.RPT >wiki_table.txt | |||
</pre> | |||
{|border="1" | {|border="1" | ||
|+ | |+ |
Revision as of 10:37, 31 May 2009
ArmA2 - Weapon List
private ["_weaponList","_weapon","_muzzles","_magazines"]; _weaponList = configFile >> "CfgWeapons"; for "_i" from 0 to (count _weaponList - 1) do { _weapon = _weaponList select _i; if isClass _weapon then { _muzzles = getArray (_weapon >> "muzzles"); _magazines = getArray (_weapon >> "magazines"); if (count _muzzles > 0 && count _magazines > 0) then { _weapon = configName _weapon; _muzzles set [0, _weapon]; localize ">>>|-valign=""top""<<<"; localize format [">>>%1 || %2 || %3<<<", _weapon, _muzzles, _magazines]; }; }; };
sed -e 's/String >>> \(.*\) <<< not found/\1/g' -e 's/[]"[]//g' -e 's/,/<br\/>/g' -e 's/^/|/g' -e 's/$/\n|-valign="top"/g'<arma2.RPT >wiki_table.txt
Weapon | Muzzles | Magazines |
---|---|---|
M9 | M9 | 15Rnd_9x19_M9 15Rnd_9x19_M9SD |
M9SD | M9SD | 15Rnd_9x19_M9 15Rnd_9x19_M9SD |
Makarov | Makarov | 8Rnd_9x18_Makarov 8Rnd_9x18_MakarovSD |
MakarovSD | MakarovSD | 8Rnd_9x18_Makarov 8Rnd_9x18_MakarovSD |
M16_base | M16_base | 30Rnd_556x45_Stanag 30Rnd_556x45_StanagSD 20Rnd_556x45_Stanag 30Rnd_556x45_G36 100Rnd_556x45_BetaCMag 30Rnd_556x45_G36SD |
M16A2 | M16A2 | 30Rnd_556x45_Stanag 30Rnd_556x45_StanagSD 20Rnd_556x45_Stanag 30Rnd_556x45_G36 100Rnd_556x45_BetaCMag 30Rnd_556x45_G36SD |
M16A2GL | M16A2GL M203Muzzle |
30Rnd_556x45_Stanag 30Rnd_556x45_StanagSD 20Rnd_556x45_Stanag 30Rnd_556x45_G36 100Rnd_556x45_BetaCMag 30Rnd_556x45_G36SD |
m16a4 | m16a4 | 30Rnd_556x45_Stanag 30Rnd_556x45_StanagSD 20Rnd_556x45_Stanag 30Rnd_556x45_G36 100Rnd_556x45_BetaCMag 30Rnd_556x45_G36SD |
m16a4_acg | m16a4_acg | 30Rnd_556x45_Stanag 30Rnd_556x45_StanagSD 20Rnd_556x45_Stanag 30Rnd_556x45_G36 100Rnd_556x45_BetaCMag 30Rnd_556x45_G36SD |
M16A4_GL | M16A4_GL M203Muzzle |
30Rnd_556x45_Stanag 30Rnd_556x45_StanagSD 20Rnd_556x45_Stanag 30Rnd_556x45_G36 100Rnd_556x45_BetaCMag 30Rnd_556x45_G36SD |
M16A4_ACG_GL | M16A4_ACG_GL M203Muzzle |
30Rnd_556x45_Stanag 30Rnd_556x45_StanagSD 20Rnd_556x45_Stanag 30Rnd_556x45_G36 100Rnd_556x45_BetaCMag 30Rnd_556x45_G36SD |
M24 | M24 | 5Rnd_762x51_M24 |
M40A3 | M40A3 | 5Rnd_762x51_M24 |
M240 | M240 | 100Rnd_762x51_M240 |
Mk_48 | Mk_48 | 100Rnd_762x51_M240 |
M249 | M249 | 200Rnd_556x45_M249 30Rnd_556x45_Stanag 20Rnd_556x45_Stanag 30Rnd_556x45_StanagSD 100Rnd_556x45_BetaCMag 30Rnd_556x45_G36 30Rnd_556x45_G36SD |
M4A1 | M4A1 | 30Rnd_556x45_Stanag 30Rnd_556x45_StanagSD 20Rnd_556x45_Stanag 30Rnd_556x45_G36 100Rnd_556x45_BetaCMag 30Rnd_556x45_G36SD |
M4A1_Aim | M4A1_Aim | 30Rnd_556x45_Stanag 30Rnd_556x45_StanagSD 20Rnd_556x45_Stanag 30Rnd_556x45_G36 100Rnd_556x45_BetaCMag 30Rnd_556x45_G36SD |
M4A1_Aim_camo | M4A1_Aim_camo | 30Rnd_556x45_Stanag 30Rnd_556x45_StanagSD 20Rnd_556x45_Stanag 30Rnd_556x45_G36 100Rnd_556x45_BetaCMag 30Rnd_556x45_G36SD |
M4SPR | M4SPR | 20Rnd_556x45_Stanag 30Rnd_556x45_Stanag 30Rnd_556x45_StanagSD 30Rnd_556x45_G36 100Rnd_556x45_BetaCMag 30Rnd_556x45_G36SD |
M4A1_RCO_GL | M4A1_RCO_GL M203Muzzle |
30Rnd_556x45_Stanag 30Rnd_556x45_StanagSD 20Rnd_556x45_Stanag 30Rnd_556x45_G36 100Rnd_556x45_BetaCMag 30Rnd_556x45_G36SD |
M4A1_AIM_SD_camo | M4A1_AIM_SD_camo | 30Rnd_556x45_StanagSD 30Rnd_556x45_G36SD |
M4A1_HWS_GL_SD_Camo | M4A1_HWS_GL_SD_Camo M203Muzzle |
30Rnd_556x45_StanagSD 30Rnd_556x45_G36SD |
M4A1_HWS_GL | M4A1_HWS_GL M203Muzzle |
30Rnd_556x45_Stanag 30Rnd_556x45_StanagSD 20Rnd_556x45_Stanag 30Rnd_556x45_G36 100Rnd_556x45_BetaCMag 30Rnd_556x45_G36SD |
M4A1_HWS_GL_camo | M4A1_HWS_GL_camo M203Muzzle |
30Rnd_556x45_Stanag 30Rnd_556x45_StanagSD 20Rnd_556x45_Stanag 30Rnd_556x45_G36 100Rnd_556x45_BetaCMag 30Rnd_556x45_G36SD |
MP5SD | MP5SD | 30Rnd_9x19_MP5SD |
MP5A5 | MP5A5 | 30Rnd_9x19_MP5 30Rnd_9x19_MP5SD |
PK | PK | 100Rnd_762x54_PK |
Pecheneg | Pecheneg | 100Rnd_762x54_PK |
SVD | SVD | 10Rnd_762x54_SVD |
SVD_CAMO | SVD_CAMO | 10Rnd_762x54_SVD |
G36C | G36C | 30Rnd_556x45_G36 100Rnd_556x45_BetaCMag 30Rnd_556x45_G36SD 30Rnd_556x45_Stanag 30Rnd_556x45_StanagSD 20Rnd_556x45_Stanag |
G36_C_SD_eotech | G36_C_SD_eotech | 30Rnd_556x45_G36SD 30Rnd_556x45_StanagSD |
G36a | G36a | 30Rnd_556x45_G36 100Rnd_556x45_BetaCMag 30Rnd_556x45_G36SD 30Rnd_556x45_Stanag 30Rnd_556x45_StanagSD 20Rnd_556x45_Stanag |
G36K | G36K | 30Rnd_556x45_G36 100Rnd_556x45_BetaCMag 30Rnd_556x45_G36SD 30Rnd_556x45_Stanag 30Rnd_556x45_StanagSD 20Rnd_556x45_Stanag |
MG36 | MG36 | 100Rnd_556x45_BetaCMag 30Rnd_556x45_G36 30Rnd_556x45_G36SD 30Rnd_556x45_Stanag 30Rnd_556x45_StanagSD 20Rnd_556x45_Stanag |
M136 | M136 | M136 |
Javelin | Javelin | Javelin |
Stinger | Stinger | Stinger |
RPG7V | RPG7V | PG7V PG7VL PG7VR OG7 |
Strela | Strela | Strela |
Igla | Igla | Igla |
MetisLauncher | MetisLauncher | AT13 |
Laserdesignator | Laserdesignator | Laserbatteries |
Laserdesignator_mounted | Laserdesignator_mounted | Laserbatteries |
PipeBomb | PipeBomb PipeBombMuzzle MineMuzzle MineEMuzzle |
this |
SmokeLauncher | SmokeLauncher | SmokeLauncherMag |
FlareLauncher | FlareLauncher | FlareLauncherMag |
M134 | M134 | 2000Rnd_762x51_M134 4000Rnd_762x51_M134 |
M134_2 | M134_2 | 2000Rnd_762x51_M134 4000Rnd_762x51_M134 |
TwinM134 | TwinM134 | 2000Rnd_762x51_M134 4000Rnd_762x51_M134 |
M240_veh | M240_veh | 100Rnd_762x51_M240 1200Rnd_762x51_M240 |
M240_veh_2 | M240_veh_2 | 100Rnd_762x51_M240 1200Rnd_762x51_M240 |
M240_veh_MG_Nest | M240_veh_MG_Nest | 100Rnd_762x51_M240 1200Rnd_762x51_M240 |
PKT | PKT | 100Rnd_762x54_PK 1500Rnd_762x54_PKT 2000Rnd_762x54_PKT 250Rnd_762x54_PKT_T90 200Rnd_762x54_PKT |
PKT_MG_Nest | PKT_MG_Nest | 100Rnd_762x54_PK 1500Rnd_762x54_PKT 2000Rnd_762x54_PKT 250Rnd_762x54_PKT_T90 200Rnd_762x54_PKT |
PKT_veh | PKT_veh | 100Rnd_762x54_PK 1500Rnd_762x54_PKT 2000Rnd_762x54_PKT 250Rnd_762x54_PKT_T90 200Rnd_762x54_PKT |
DT_veh | DT_veh | 60Rnd_762x54_DT |
TwinVickers | TwinVickers | 500Rnd_TwinVickers |
M2 | M2 | 100Rnd_127x99_M2 |
M3P | M3P | 250Rnd_127x99_M3P |
DSHKM | DSHKM | 50Rnd_127x107_DSHKM 150Rnd_127x107_DSHKM |
KORD | KORD | 150Rnd_127x108_KORD 50Rnd_127x108_KORD |
KPVT | KPVT | 500Rnd_145x115_KPVT |
M168 | M168 | 2100Rnd_20mm_M168 |
M197 | M197 | 750Rnd_M197_AH1 |
AZP85 | AZP85 | 2000Rnd_23mm_AZP85 |
2A14 | 2A14 | 1000Rnd_23mm_2A14_HE 1000Rnd_23mm_2A14_AP |
GAU12 | GAU12 | 300Rnd_25mm_GAU12 |
2A42 | 2A42 | 150Rnd_30mmAP_2A42 150Rnd_30mmHE_2A42 230Rnd_30mmAP_2A42 230Rnd_30mmHE_2A42 250Rnd_30mmAP_2A42 250Rnd_30mmHE_2A42 |
2A72 | 2A72 | 250Rnd_30mmAP_2A72 250Rnd_30mmHE_2A72 |
M242 | M242 | 210Rnd_25mm_M242_HEI 210Rnd_25mm_M242_APDS |
YakB | YakB | 1470Rnd_127x108_YakB |
GSh23L | GSh23L | 520Rnd_23mm_GSh23L |
GSh302 | GSh302 | 750Rnd_30mm_GSh301 |
GAU8 | GAU8 | 1350Rnd_30mmAP_A10 |
2A38M | 2A38M | 1904Rnd_30mmAA_2A38M |
AGS30 | AGS30 | 29Rnd_30mm_AGS30 |
AGS17 | AGS17 | 400Rnd_30mm_AGS17 |
MK19 | MK19 | 48Rnd_40mm_MK19 |
M119 | M119 | 30Rnd_105mmHE_M119 ARTY_30Rnd_105mmHE_M119 ARTY_30Rnd_105mmWP_M119 ARTY_30Rnd_105mmSADARM_M119 ARTY_30Rnd_105mmLASER_M119 ARTY_30Rnd_105mmSMOKE_M119 ARTY_30Rnd_105mmILLUM_M119 |
M256 | M256 | 20Rnd_120mmSABOT_M1A2 20Rnd_120mmHE_M1A2 |
D30 | D30 | 30Rnd_122mmHE_D30 ARTY_30Rnd_122mmHE_D30 ARTY_30Rnd_122mmWP_D30 ARTY_30Rnd_122mmSADARM_D30 ARTY_30Rnd_122mmLASER_D30 ARTY_30Rnd_122mmSMOKE_D30 ARTY_30Rnd_122mmILLUM_D30 |
D81 | D81 | 23Rnd_125mmSABOT_T72 22Rnd_125mmHE_T72 |
ZiS_S_53 | ZiS_S_53 | 10Rnd_85mmAP 33Rnd_85mmHE |
2A46M | 2A46M | 23Rnd_125mmSABOT_T72 22Rnd_125mmHE_T72 |
FFARLauncher | FFARLauncher | 38Rnd_FFAR 28Rnd_FFAR |
FFARLauncher_14 | FFARLauncher_14 | 14Rnd_FFAR |
CamelGrenades | CamelGrenades | 6Rnd_Grenade_Camel |
57mmLauncher | 57mmLauncher | 192Rnd_57mm 128Rnd_57mm 64Rnd_57mm |
57mmLauncher_64 | 57mmLauncher_64 | 64Rnd_57mm |
57mmLauncher_128 | 57mmLauncher_128 | 128Rnd_57mm 64Rnd_57mm |
80mmLauncher | 80mmLauncher | 40Rnd_80mm 40Rnd_S8T |
S8Launcher | S8Launcher | 80Rnd_80mm 40Rnd_80mm 40Rnd_S8T 80Rnd_S8T |
SidewinderLaucher | SidewinderLaucher | 4Rnd_Sidewinder_AV8B |
SidewinderLaucher_F35 | SidewinderLaucher_F35 | 2Rnd_Sidewinder_F35 |
SidewinderLaucher_AH1Z | SidewinderLaucher_AH1Z | 2Rnd_Sidewinder_AH1Z |
AT5Launcher | AT5Launcher | 5Rnd_AT5_BRDM2 |
AT5LauncherSingle | AT5LauncherSingle | 8Rnd_AT5_BMP2 |
2A46MRocket | 2A46MRocket | 5Rnd_AT11_T90 |
AT10LauncherSingle | AT10LauncherSingle | 8Rnd_AT10_BMP3 |
AT11LauncherSingle | AT11LauncherSingle | 5Rnd_AT11_T90 |
AT13LauncherSingle | AT13LauncherSingle | 6Rnd_AT13 |
TOWLauncher | TOWLauncher | 2Rnd_TOW 2Rnd_TOW2 |
TOWLauncherSingle | TOWLauncherSingle | 6Rnd_TOW_HMMWV 6Rnd_TOW2 |
HellfireLauncher | HellfireLauncher | 8Rnd_Hellfire |
VikhrLauncher | VikhrLauncher | 12Rnd_Vikhr_KA50 |
BombLauncher | BombLauncher | 6Rnd_GBU12_AV8B |
BombLauncherF35 | BombLauncherF35 | 2Rnd_GBU12 |
BombLauncherA10 | BombLauncherA10 | 4Rnd_GBU12 |
GSh301 | GSh301 | 180Rnd_30mm_GSh301 |
R73Launcher | R73Launcher | 4Rnd_R73 |
R73Launcher_2 | R73Launcher_2 | 2Rnd_R73 |
Ch29Launcher | Ch29Launcher | 4Rnd_Ch29 |
Ch29Launcher_Su34 | Ch29Launcher_Su34 | 6Rnd_Ch29 4Rnd_Ch29 |
2A70Rocket | 2A70Rocket | 8Rnd_AT10_BMP3 |
2A70 | 2A70 | 22Rnd_100mm_HE_2A70 |
AT6Launcher | AT6Launcher | 4Rnd_AT6_Mi24V |
AT9Launcher | AT9Launcher | 4Rnd_AT9_Mi24P |
AT2Launcher | AT2Launcher | 4Rnd_AT2_Mi24D |
HeliBombLauncher | HeliBombLauncher | 2Rnd_FAB_250 |
AirBombLauncher | AirBombLauncher | 4Rnd_FAB_250 2Rnd_FAB_250 |
Mk82BombLauncher | Mk82BombLauncher | 3Rnd_Mk82 |
Mk82BombLauncher_6 | Mk82BombLauncher_6 | 6Rnd_Mk82 |
StingerLaucher | StingerLaucher | 8Rnd_Stinger |
StingerLauncher_twice | StingerLauncher_twice | 2Rnd_Stinger |
AALauncher_twice | AALauncher_twice | 2Rnd_Stinger |
Igla_twice | Igla_twice | 2Rnd_Igla |
MaverickLauncher | MaverickLauncher | 2Rnd_Maverick_A10 |
9M311Laucher | 9M311Laucher | 8Rnd_9M311 |
SPG9 | SPG9 | PG9_AT OG9_HE |
GRAD | GRAD | ARTY_40Rnd_120mmHE_BM21 40Rnd_GRAD |
MLRS | MLRS | ARTY_12Rnd_227mmHE_M270 12Rnd_MLRS |
AK_BASE | AK_BASE | 30Rnd_545x39_AK 30Rnd_545x39_AKSD |
AKS_BASE | AKS_BASE | 30Rnd_545x39_AK 30Rnd_545x39_AKSD |
AK_107_BASE | AK_107_BASE | 30Rnd_545x39_AK 30Rnd_545x39_AKSD |
AK_47_M | AK_47_M | 30Rnd_762x39_AK47 |
AK_47_S | AK_47_S | 30Rnd_762x39_AK47 |
AKS_GOLD | AKS_GOLD | 30Rnd_762x39_AK47 |
AK_74 | AK_74 | 30Rnd_545x39_AK 30Rnd_545x39_AKSD |
AK_74_GL | AK_74_GL GP25Muzzle |
30Rnd_545x39_AK 30Rnd_545x39_AKSD |
AK_107_kobra | AK_107_kobra | 30Rnd_545x39_AK 30Rnd_545x39_AKSD |
AK_107_GL_kobra | AK_107_GL_kobra GP25Muzzle |
30Rnd_545x39_AK 30Rnd_545x39_AKSD |
AK_107_GL_pso | AK_107_GL_pso GP25Muzzle |
30Rnd_545x39_AK 30Rnd_545x39_AKSD |
AK_107_pso | AK_107_pso | 30Rnd_545x39_AK 30Rnd_545x39_AKSD |
AKS_74_kobra | AKS_74_kobra | 30Rnd_545x39_AK 30Rnd_545x39_AKSD |
AKS_74_pso | AKS_74_pso | 30Rnd_545x39_AK 30Rnd_545x39_AKSD |
AKS_74_U | AKS_74_U | 30Rnd_545x39_AK 30Rnd_545x39_AKSD |
AKS_74_UN_kobra | AKS_74_UN_kobra | 30Rnd_545x39_AKSD |
RPK_74 | RPK_74 | 75Rnd_545x39_RPK 30Rnd_545x39_AK 30Rnd_545x39_AKSD |
bizon | bizon | 64Rnd_9x19_Bizon 64Rnd_9x19_SD_Bizon |
bizon_silenced | bizon_silenced | 64Rnd_9x19_SD_Bizon |
Colt1911 | Colt1911 | 7Rnd_45ACP_1911 |
DMR | DMR | 20Rnd_762x51_DMR |
ksvk | ksvk | 5Rnd_127x108_KSVK |
M1014 | M1014 | 8Rnd_B_Beneli_74Slug |
m107 | m107 | 10Rnd_127x99_m107 |
M252 | M252 | ARTY_8Rnd_81mmHE_M252 ARTY_8Rnd_81mmWP_M252 ARTY_8Rnd_81mmILLUM_M252 |
2B14 | 2B14 | ARTY_8Rnd_82mmHE_2B14 ARTY_8Rnd_82mmWP_2B14 ARTY_8Rnd_82mmILLUM_2B14 |
Saiga12K | Saiga12K | 8Rnd_B_Saiga12_74Slug |
VSS_vintorez | VSS_vintorez | 10Rnd_9x39_SP5_VSS 20Rnd_9x39_SP5_VSS |
m8_base | m8_base | 30Rnd_556x45_G36 100Rnd_556x45_BetaCMag 30Rnd_556x45_G36SD 30Rnd_556x45_Stanag 30Rnd_556x45_StanagSD 20Rnd_556x45_Stanag |
m8_carbine | m8_carbine | 30Rnd_556x45_G36 100Rnd_556x45_BetaCMag 30Rnd_556x45_G36SD 30Rnd_556x45_Stanag 30Rnd_556x45_StanagSD 20Rnd_556x45_Stanag |
m8_carbineGL | m8_carbineGL XM320Muzzle |
30Rnd_556x45_G36 100Rnd_556x45_BetaCMag 30Rnd_556x45_G36SD 30Rnd_556x45_Stanag 30Rnd_556x45_StanagSD 20Rnd_556x45_Stanag |
m8_compact | m8_compact | 30Rnd_556x45_G36 100Rnd_556x45_BetaCMag 30Rnd_556x45_G36SD 30Rnd_556x45_Stanag 30Rnd_556x45_StanagSD 20Rnd_556x45_Stanag |
m8_sharpshooter | m8_sharpshooter | 30Rnd_556x45_G36 100Rnd_556x45_BetaCMag 30Rnd_556x45_G36SD 30Rnd_556x45_Stanag 30Rnd_556x45_StanagSD 20Rnd_556x45_Stanag |
m8_SAW | m8_SAW | 30Rnd_556x45_G36 100Rnd_556x45_BetaCMag 30Rnd_556x45_G36SD 30Rnd_556x45_Stanag 30Rnd_556x45_StanagSD 20Rnd_556x45_Stanag |
huntingrifle | huntingrifle | 5x_22_LR_17_HMR |
RPG18 | RPG18 | RPG18 |
SMAW | SMAW | SMAW_HEAA SMAW_HEDP |
PKT_2 | PKT_2 | 100Rnd_762x54_PK 1500Rnd_762x54_PKT 2000Rnd_762x54_PKT 250Rnd_762x54_PKT_T90 200Rnd_762x54_PKT |
PKT_3 | PKT_3 | 100Rnd_762x54_PK 1500Rnd_762x54_PKT 2000Rnd_762x54_PKT 250Rnd_762x54_PKT_T90 200Rnd_762x54_PKT |