Author: Wolfrug
Author Website:

Requirements: No addons required

Version: Beta 1.2

Short description:

Date: 2009-02-18 16:56

Comments: (0)


RUG Campaign

Suite of scripts that allows you to create persistent camapaigns

- Comprehensive campaign saving over and beyond default BIS saveStatus/Identity commands:
- Uses saveStatus/saveIdentity to retain each soldier's and vehicle's damage levels, ammo levels and identity: can also be used to persistently keep vehicles 'dead' and load them 'dead' in the next mission.
- Separate scripts save the units' position, velocity, vector up and vector dir (=you can save while flying in the air and load at the exact same speed/velocity/vector etc.)
- Group saving script saves each group member's vehicle and vehicle role (gunner, commander, in cargo etc.), and allows you to load it in the next mission exactly as you left it.
- Various options for how much to load whenever loading (with or without vehicles, at their previous position or somewhere else etc.)
- Uses global variables to store the data needed: you can have as many "saves" as you want to of your units! (in the demo campaign, save your group with radio 0-0-0, which corresponds to a different global variable, end the mission, and then use radio 0-0-9 to load your previous position/status! Note: some restrictions apply)

If you can create a campaign description.ext, then you should be able to handle these scripts. The readme contains step-by-step instructions for how to apply it to your own mission.

Readme + more instructions available in the .rar. Just extract the RUG_Campaign_Beta1 folder into your Arma\Campaigns folder and it will show up with the rest of your campaigns.

Change log:
Beta 1
-first release

Beta 1.1
- Fixed slight player-saving error that would sometimes prevent the player from being saved when inside a vehicle (just forgot a saveVar)
- Added some stuff to the demo campaign

Beta 1.2
- Fixed error in loadVeh.sqf which would prevent proper vectorUp and vectorDir from being applied (using setpos nullified them, so I just moved the setpos to happen before the setvectordirandup)
- Allow the loadGrp.sqf script to also load class "Static" objects (i.e, houses, sandbag walls..) without throwing up an error -> does not work very well with all objects that have the setpos getpos bug (=if you setpos the object on its own getpos repeatedly, it will move across the map), leading to the object becoming sunk into the ground, moving around, etc. Also does not play nice if the object is destroyed -> in most cases it will simply not show up (static objects like houses that cause ruins will not load the ruins, since they're not the same object any longer). In some cases like radio masts, where the destruction is animated, the building shows up in a destroyed state without problems.

Small note concerning personal weapons & their ammo: you will notice you have "reloaded" your gun after each mission IF you have the ammo for it: just drop all your extra mags to find out that saveStatus and loadStatus really DOES save each individual bullet. It also does this for the vehicles [and their fuel status, and localized damage etc. etc.])

Extra disclaimer: NOT tried with mods like HWM or ACE : use at your own risk! (I suspect it should work fine, except that the content of the rucksacks and the like might not compute. Untested, as noted).

Forums Topic:
OFPEC Forums

Enable javascript to be able to download from Armaholic please!

Tags: No tags