Universal Crate Filler v2.01
by Tophe of Östgöta Ops [OOPS]
>>ARMAHOLIC DOWNLOAD<<
This script will fill crates or vehicles with weapons, ammo and equipment.
It is universal so you can set it to fill the crate with an optional amount of BLUFOR or OPPFOR weapons, magazines and equipment.
Also you can choose to use weapons from Arma2, Arrowhead, BAF, PMC or all.
To run with default settings, just put this in the units init line:
nul = [this] execVM "crateFiller.sqf"
OPTIONS
There are some optional settings. The format for these are:
nul = [this, "side", "game", refill, amount weapons, amount magazines, amount equipment] execVM "crateFiller.sqf"
If you only put [this] the default settings will be used, they look like this:
nul = [this,"west","all",false,30,75,30] execVM "crateFiller.sqf"
Side:
Set from which side you want to add equipment.
You must put this in quotations. Default is West.
- "west"
- "east"
- "all"
Example: nul = [this,"east"] execVM "crateFiller.sqf"
Game:
Set from which game configurations you want to add weapons.
- "all" - Both Arma 2 and Arrowhead
- "arma" - Only Arma 2 equipment
- "oa" - Only Arrowhead equipment (including baf & pmc)
- "baf" - Only BAF equipment
- "pmc" - Only PMC equipment
- "user" - Only user defined arrays (*more info further down)
Example: nul = [this,"east","AO"] execVM "crateFiller.sqf"
Refill:
If you want to it to refill every 5 minutes set this to TRUE, if
you want it to fill up only once set this to FALSE.
- TRUE - Refill every 5 minutes
- FALSE - Fill up once.
Example: nul = [this,"east","AO",FALSE] execVM "crateFiller.sqf"
Amount of Weapons, Magazines and Equipment:
Set the the amount in that order.
This example will add 10 of each weapon, 50 magazines and 5 of each equipment (binocular, NV's etc.)
Example: nul = [this,"east","AO",FALSE,10,50,5] execVM "crateFiller.sqf"
Just remember that some vehicles and containers have limits to what they can hold.
*USER DEFINED ARRAYS:
In the script there are four empty arrays to use for user defined weapon loadouts:
These allows the mission maker to add custom loadouts.Code:_user_weapons_west = []; _user_magazines_west = []; _user_weapons_east = []; _user_magazines_east = [];
The user defined arrays are activated when the option game is set to user.
FUTURE PLANS
================
- Backpacks
- ACE support
VERSION HISTORY
================
v2.01 - 2011-02-07
- Completely rewritten
- Added BAF and PMC
- Added support for User Defined Loadouts
- MP bug
v1.0 - 2010-07-20
- Initial release
HOME 
Reply With Quote






