Skip to content

Latest commit

 

History

History
69 lines (53 loc) · 4.5 KB

README.md

File metadata and controls

69 lines (53 loc) · 4.5 KB

Zeusops Mission Template

Arma 3 mission templates for Zeusops.

The templates have been created by Dyzalonius and Gehock.

The load screen images have been created by S. Holm.

How To Use The Template

  1. Clone the repository or download the ZIP file.
  2. Copy template files from Zeus_yymmdd_Template.Stratis folder to your mission folder.
  3. Copy mission items from Zeus_yymmdd_Template.Stratis mission to your mission file.
    • If mission.sqm already exists:
      1. Rename the template folder to the same map as the folder with the existing mission.sqm file.
      2. Open the existing mission file in Eden Editor.
      3. Merge the template mission.sqm with the existing mission.sqm (file > merge, or press 'ctrl' + 'm').

See the Zeus Guide for in-depth information about using the templates.

See the wiki for a list of map class names.

Limited arsenal faction templates

See limited-arsenal-howto.md for info on how to set up a limited arsenal.

CBRN template

See the feature/cbrn branch for a CBRN version of the template. The template is based on diwako_cbrn v1.1.0, with modifications by Jeepers and Gehock.

Useful Code

Move cover map:
[[_centerX, _centerY], [_radiusX, _radiusY]] call ZO_fnc_coverMap;
Change unit tracker color:
missionNameSpace setVariable ["unitTrackerColor", "newUnitColor", true];
Change unit tracker tracked elements:
missionNameSpace setVariable ["unitTrackerInfantry", ((missionNameSpace setVariable "unitTrackerInfantry") + ["nameOfTrackedElement"]), true];
missionNameSpace setVariable ["unitTrackerHQ", ((missionNameSpace setVariable "unitTrackerHQ") + ["nameOfTrackedElement"]), true];
missionNameSpace setVariable ["unitTrackerAir", ((missionNameSpace setVariable "unitTrackerAir") + ["nameOfTrackedElement"]), true];
missionNameSpace setVariable ["unitTrackerArmor", ((missionNameSpace setVariable "unitTrackerArmor") + ["nameOfTrackedElement"]), true];
missionNameSpace setVariable ["unitTrackerPlane", ((missionNameSpace setVariable "unitTrackerPlane") + ["nameOfTrackedElement"]), true];
missionNameSpace setVariable ["unitTrackerMotorized", ((missionNameSpace setVariable "unitTrackerMotorized") + ["nameOfTrackedElement"]), true];
missionNameSpace setVariable ["unitTrackerNaval", ((missionNameSpace setVariable "unitTrackerNaval") + ["nameOfTrackedElement"]), true];
Change default gear:
missionNameSpace setVariable ["gearUniform", "classnameOfUniform", true];
missionNameSpace setVariable ["gearVest", "classnameOfVest", true];
missionNameSpace setVariable ["gearBackpack", "classnameOfBackpack", true];
missionNameSpace setVariable ["gearHeadgear", "classnameOfHeadgear", true];
missionNameSpace setVariable ["gearRadio", "classnameOfRadio", true];
missionNameSpace setVariable ["gearBackpackLeader", "classnameOfBackpackLeader", true];
missionNameSpace setVariable ["gearNightvision", "classnameOfNightvision", true];
missionNameSpace setVariable ["gearWeapon1Use", "classnameOfWeapon", true];
missionNameSpace setVariable ["gearWeaponMain", ["classnameOfWeapon", "classnameOfAmmunition", ["classnameOfAttachment"]], true];
missionNameSpace setVariable ["gearWeaponAR", ["classnameOfWeapon", "classnameOfAmmunition", ["classnameOfAttachment"]], true];
missionNameSpace setVariable ["gearWeaponGrenadier", ["classnameOfWeapon", "classnameOfAmmunition", ["classnameOfAttachment"], "classnameOfSecondaryAmmunition"], true];
missionNameSpace setVariable ["gearWeaponMarksman", ["classnameOfWeapon", "classnameOfAmmunition", ["classnameOfAttachment"]], true];
missionNameSpace setVariable ["gearWeaponLauncher", ["classnameOfWeapon", "classnameOfAmmunition", ["classnameOfAttachment"]], true];

Set Fuel consumption

// When calling from the 3den Editor Object Init or
// When using the init mid operation make sure the execution mode is set to Global:
[_this, rateOfLeak] spawn ZO_fnc_fuelConsumption;

// When calling from the debug console:
[nameOfVehicle, rateOfLeak] spawn ZO_fnc_fuelConsumption;