Care package script |
The care packages are delivered by a proper cargo plane (not a noisy Osprey *rolls eyes*), and get attached to a parachute and pushed out the rear of the plane when it reaches the drop zone... in a proper camouflaged military crate (not a bright red/pink crate).
The care package is randomly and automatically calculated in each aspect, from the cargo planes start and finish zones to the drop position (which is also temporary marked on the map), the crate smoke and color, and the then actual care package random loud-out (what's actually inside the crate) as well as the loud-out per weapon (scope/muzzle/ammo).
Green marker?... Care package inbound! |
Care package deployed |
Follow that smoke, follow that parachute! |
The care package has landed |
Each primary weapon also has a custom load-out. All weapons are the base model (no attachments), based on probability it then may equip a silencer/muzzle, or an optic, or a laser pointer/flashlight... who knows, again, it's a 100% random weapon load-out.
The ammunition for each weapon is also inside the crate. There may be only one magazine or five, it's the luck of the draw.
With the care package, every single item is kept inside the crate too (unless a player puts it on the ground), not spilled out onto the ground itself... as it can cause further issues on not being able to quickly see/find/pick up due to the glitchy Arma 3 terrain (yeh, we all know what I'm talking about!).
Get the goodies you need, and run! |
My care package script is also split up into 5 separate scripts/functions in order to make things run quicker/better/more efficient on CPU usage, as well as for server side functioning and client side functioning (eg, smoke effects).
A short video demonstration of the in-game care package is below.
Learning, scripting, debugging... repeat.
-soul.