WeaponPool
Moderators: Lone Wolf, Snake Man
-
- Commander-In-Chief
- Posts: 9833
- Joined: 2000-07-31 22:01:01
- Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
- Editing Interests: All, I (try) to edit everything.
- Location: PMC
WeaponPool
It looks like the addMagazinePool and addWeaponPool commands now work in the first campaign mission also (they did not in OFP v1.96). You can see this on my PMC First Fight campaign, in the first mission you get full set of weapons through it.
This is the code I used, ran from sqs file called upon at init.sqs;
;west
addMagazinePool ["30Rnd_556x45_Stanag",50];
addMagazinePool ["30Rnd_556x45_StanagSD",50];
addMagazinePool ["FlareWhite_M203",50];
addMagazinePool ["FlareGreen_M203",50];
addMagazinePool ["FlareRed_M203",50];
addMagazinePool ["FlareYellow_M203",50];
addMagazinePool ["1Rnd_HE_M203",50];
addMagazinePool ["20Rnd_556x45_Stanag",50];
addMagazinePool ["30Rnd_556x45_G36",50];
addMagazinePool ["30Rnd_9x19_MP5",50];
addMagazinePool ["30Rnd_9x19_MP5SD",50];
addMagazinePool ["200Rnd_556x45_M249",50];
addMagazinePool ["100Rnd_762x51_M240",50];
addMagazinePool ["5Rnd_762x51_M24",50];
addMagazinePool ["15Rnd_9x19_M9",50];
addMagazinePool ["15Rnd_9x19_M9SD",50];
addMagazinePool ["10Rnd_127x99_M107",50];
addMagazinePool ["M136",50];
addMagazinePool ["JAVELIN",50];
addMagazinePool ["STINGER",50];
;east
addMagazinePool ["30Rnd_545x39_AK",50];
addMagazinePool ["FlareWhite_GP25",50];
addMagazinePool ["FlareGreen_GP25",50];
addMagazinePool ["FlareRed_GP25",50];
addMagazinePool ["FlareYellow_GP25",50];
addMagazinePool ["1Rnd_HE_GP25",50];
addMagazinePool ["30Rnd_545x39_AKSD",50];
addMagazinePool ["100Rnd_762x54_PK",50];
addMagazinePool ["10Rnd_762x54_SVD",50];
addMagazinePool ["5Rnd_127x108_KSVK",50];
addMagazinePool ["8Rnd_9x18_Makarov",50];
addMagazinePool ["8Rnd_9x18_MakarovSD",50];
addMagazinePool ["PG7V",50];
addMagazinePool ["PG7VR",50];
addMagazinePool ["STRELA",50];
;west
addWeaponPool ["M16A2",12];
addWeaponPool ["M16A4",12];
addWeaponPool ["M16A2GL",12];
addWeaponPool ["M16A4_GL",12];
addWeaponPool ["M16A4_ACG",12];
addWeaponPool ["M16A4_ACG_GL",12];
addWeaponPool ["M4",12];
addWeaponPool ["M4GL",12];
addWeaponPool ["M4AIM",12];
addWeaponPool ["M4A1SD",12];
addWeaponPool ["M4SPR",12];
addWeaponPool ["M4A1",12];
addWeaponPool ["M4A1GL",12];
addWeaponPool ["G36K",12];
addWeaponPool ["G36C",12];
addWeaponPool ["G36A",12];
addWeaponPool ["MP5A5",12];
addWeaponPool ["MP5SD",12];
addWeaponPool ["M249",12];
addWeaponPool ["M240",12];
addWeaponPool ["M24",12];
addWeaponPool ["M107",12];
addWeaponPool ["M9",12];
addWeaponPool ["M9SD",12];
addWeaponPool ["M136",12];
addWeaponPool ["JAVELIN",12];
addWeaponPool ["STINGER",12];
;east
addWeaponPool ["AK74",12];
addWeaponPool ["AK74GL",12];
addWeaponPool ["AKS74U",12];
addWeaponPool ["AKS74UN",12];
addWeaponPool ["AKS74PSO",12];
addWeaponPool ["PK",12];
addWeaponPool ["SVD",12];
addWeaponPool ["KSVK",12];
addWeaponPool ["Makarov",12];
addWeaponPool ["MakarovSD",12];
addWeaponPool ["RPG7V",12];
addWeaponPool ["STRELA",12];
;equipment
addMagazinePool ["Laserbatteries",50];
addWeaponPool ["Laserdesignator",12];
addWeaponPool ["NVGoggles",12];
addWeaponPool ["Binocular",12];
addWeaponPool ["PipeBomb",12];
addWeaponPool ["TimeBomb",12];
addWeaponPool ["Mine",12];
addWeaponPool ["MineE",12];
addWeaponPool ["SmokeShellRed",12];
addWeaponPool ["SmokeShellGreen",12];
addWeaponPool ["SmokeShell",12];
addWeaponPool ["HandGrenadeTimed",12];
addWeaponPool ["HandGrenade",12];
This is the code I used, ran from sqs file called upon at init.sqs;
;west
addMagazinePool ["30Rnd_556x45_Stanag",50];
addMagazinePool ["30Rnd_556x45_StanagSD",50];
addMagazinePool ["FlareWhite_M203",50];
addMagazinePool ["FlareGreen_M203",50];
addMagazinePool ["FlareRed_M203",50];
addMagazinePool ["FlareYellow_M203",50];
addMagazinePool ["1Rnd_HE_M203",50];
addMagazinePool ["20Rnd_556x45_Stanag",50];
addMagazinePool ["30Rnd_556x45_G36",50];
addMagazinePool ["30Rnd_9x19_MP5",50];
addMagazinePool ["30Rnd_9x19_MP5SD",50];
addMagazinePool ["200Rnd_556x45_M249",50];
addMagazinePool ["100Rnd_762x51_M240",50];
addMagazinePool ["5Rnd_762x51_M24",50];
addMagazinePool ["15Rnd_9x19_M9",50];
addMagazinePool ["15Rnd_9x19_M9SD",50];
addMagazinePool ["10Rnd_127x99_M107",50];
addMagazinePool ["M136",50];
addMagazinePool ["JAVELIN",50];
addMagazinePool ["STINGER",50];
;east
addMagazinePool ["30Rnd_545x39_AK",50];
addMagazinePool ["FlareWhite_GP25",50];
addMagazinePool ["FlareGreen_GP25",50];
addMagazinePool ["FlareRed_GP25",50];
addMagazinePool ["FlareYellow_GP25",50];
addMagazinePool ["1Rnd_HE_GP25",50];
addMagazinePool ["30Rnd_545x39_AKSD",50];
addMagazinePool ["100Rnd_762x54_PK",50];
addMagazinePool ["10Rnd_762x54_SVD",50];
addMagazinePool ["5Rnd_127x108_KSVK",50];
addMagazinePool ["8Rnd_9x18_Makarov",50];
addMagazinePool ["8Rnd_9x18_MakarovSD",50];
addMagazinePool ["PG7V",50];
addMagazinePool ["PG7VR",50];
addMagazinePool ["STRELA",50];
;west
addWeaponPool ["M16A2",12];
addWeaponPool ["M16A4",12];
addWeaponPool ["M16A2GL",12];
addWeaponPool ["M16A4_GL",12];
addWeaponPool ["M16A4_ACG",12];
addWeaponPool ["M16A4_ACG_GL",12];
addWeaponPool ["M4",12];
addWeaponPool ["M4GL",12];
addWeaponPool ["M4AIM",12];
addWeaponPool ["M4A1SD",12];
addWeaponPool ["M4SPR",12];
addWeaponPool ["M4A1",12];
addWeaponPool ["M4A1GL",12];
addWeaponPool ["G36K",12];
addWeaponPool ["G36C",12];
addWeaponPool ["G36A",12];
addWeaponPool ["MP5A5",12];
addWeaponPool ["MP5SD",12];
addWeaponPool ["M249",12];
addWeaponPool ["M240",12];
addWeaponPool ["M24",12];
addWeaponPool ["M107",12];
addWeaponPool ["M9",12];
addWeaponPool ["M9SD",12];
addWeaponPool ["M136",12];
addWeaponPool ["JAVELIN",12];
addWeaponPool ["STINGER",12];
;east
addWeaponPool ["AK74",12];
addWeaponPool ["AK74GL",12];
addWeaponPool ["AKS74U",12];
addWeaponPool ["AKS74UN",12];
addWeaponPool ["AKS74PSO",12];
addWeaponPool ["PK",12];
addWeaponPool ["SVD",12];
addWeaponPool ["KSVK",12];
addWeaponPool ["Makarov",12];
addWeaponPool ["MakarovSD",12];
addWeaponPool ["RPG7V",12];
addWeaponPool ["STRELA",12];
;equipment
addMagazinePool ["Laserbatteries",50];
addWeaponPool ["Laserdesignator",12];
addWeaponPool ["NVGoggles",12];
addWeaponPool ["Binocular",12];
addWeaponPool ["PipeBomb",12];
addWeaponPool ["TimeBomb",12];
addWeaponPool ["Mine",12];
addWeaponPool ["MineE",12];
addWeaponPool ["SmokeShellRed",12];
addWeaponPool ["SmokeShellGreen",12];
addWeaponPool ["SmokeShell",12];
addWeaponPool ["HandGrenadeTimed",12];
addWeaponPool ["HandGrenade",12];
PMC TACTICAL FORUM AND OTHER WEBSITES GO DOWN SEPTEMBER 13TH 2025 IF WEB HOSTING YEARLY FEES ARE NOT PAID.
IF YOU WANT TO KEEP USING PMC WEBSITES INCLUDING THIS FORUM, DOWNLOAD ADDONS, READ TUTORIALS, ETC, PLEASE HELP BY SUPPORTING PMC.
Support PMC
Please help to keep PMC websites online, if domains are let to expire then it will be "game over, man!".
IF YOU WANT TO KEEP USING PMC WEBSITES INCLUDING THIS FORUM, DOWNLOAD ADDONS, READ TUTORIALS, ETC, PLEASE HELP BY SUPPORTING PMC.
Support PMC
Please help to keep PMC websites online, if domains are let to expire then it will be "game over, man!".
-
- Commander-In-Chief
- Posts: 9833
- Joined: 2000-07-31 22:01:01
- Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
- Editing Interests: All, I (try) to edit everything.
- Location: PMC
First post updated. I added the remaining new weapons that came in from 1.04 or was it 1.05 I cant remember, you know the Barret M107 etc.
PMC TACTICAL FORUM AND OTHER WEBSITES GO DOWN SEPTEMBER 13TH 2025 IF WEB HOSTING YEARLY FEES ARE NOT PAID.
IF YOU WANT TO KEEP USING PMC WEBSITES INCLUDING THIS FORUM, DOWNLOAD ADDONS, READ TUTORIALS, ETC, PLEASE HELP BY SUPPORTING PMC.
Support PMC
Please help to keep PMC websites online, if domains are let to expire then it will be "game over, man!".
IF YOU WANT TO KEEP USING PMC WEBSITES INCLUDING THIS FORUM, DOWNLOAD ADDONS, READ TUTORIALS, ETC, PLEASE HELP BY SUPPORTING PMC.
Support PMC
Please help to keep PMC websites online, if domains are let to expire then it will be "game over, man!".