Convoy Manager
Version: 1.0
Author: DTM2801
Description:
This addon wil create a fully configurable convoy and will monitor all convoy vehicles to maintain formation using fsm script.
Standard settings can be changed in the userconfig file (more details below), but can also be changed in the initfield of the module through 'setvariable' commands.
When a vehicle is unable to move (or driver is dead) an attempt will be done to reinventory available vehicles to restore the convoy formation.
If the distance between convoy vehicles gets too far the forward vehicle will slowdown and eventually stop until the follower gets back
in formation.
This addon is MP compatible, running serverside only.
Addon is signed and key is included.
Usage:
IMPORTANT: *** CM_config_DTM2801.hpp has to be placed in this location on your harddrive: <ARMA2 DIR>\userconfig\DTM2801 ***
Convoy options:
1. Convoy with default vehicles, spawns vehicles using the convoysize and default side vehicles with controlscript.
- Place the module [Convoy Manager - DTM2801] on the map where you want the convoy to start (incl. direction), settings will be read from the userconfig file.
2. Convoy with classname vehicles, spawns all vehicles in the defined array with controlscript.
- Place the module [Convoy Manager - DTM2801] on the map where you want the convoy to start (incl. direction).
- Module init:or change the default values in userconfig file. This will change the default settings!Code:this setvariable ["CM_vehiclearray",["classname","classname"]];
3. Convoy with preplaced vehicles on the map, adds waypoints and controlscript.
- Place the module [Convoy Manager - DTM2801] on the map where you want the convoy to start (incl. direction).
- Module init:or change the default values in userconfig file. This will change the default settings!Code:this setvariable ["CM_customarray",[vehiclename,vehiclename]];
4. Convoy with preplaced vehicles and waypoints, using only the control script.
- Place the vehicles on the map and name them.
- Vehicle inits:
1st vehicle - nothing
next vehicles -Details on the userconfig default values can be found in the file as comments.Code:nul= [this,true/false debug] execFSM "\CM_DTM2801\fsms\CM_control_DTM2801.fsm";
Editor module init variables:
CM_location - Starting location of the spawned convoy (default: this)
CM_side - Side of spawned vehicles (WEST,EAST,RESISTANCE,CIVILIAN)
CM_wparray - Names of the waypoint markers (with "")
CM_wpcycle - Waypoint cycle (true/false)
CM_convoysize - Number of spawned convoy vehicles (default: 5)
CM_delay - Time between spawns (default :7)
CM_vehiclearray - Vehicle classnames to replace defaults (with "")
CM_customarray - Vehicle names on the map (without "")
CM_wpmarkers - Waypoint dots on the map (true/false)
CM_debug - Debug messages (true/false)
CM_west - Default West vehicle
CM_east - Default East vehicle
CM_resistance - Default Resistance vehicle
CM_civilian - Default Civilian vehicle
CM_vehname - Name of spawned vehicles, number will be added behind name (with "")
Usage:for multiple entries like vehicles, waypoint marker names.Code:this setvariable ["nameofvariable",[setting]];
for single entries like side, wpcycle, debugCode:this setvariable ["nameofvariable",setting];
You can enter multiple variable strings in one placed module, so you have different kinds of convoys on the same map with its own settings (side,vehicles,waypoints, etc).
Todo & upcoming features:
- code improvements, depending on feedback.
Please report any encountered errors/bugs.
Required addons:
- Community Base Addons
Mirrors:
Armaholic - http://www.armaholic.com/page.php?id=8389
Filefront - http://www.filefront.com/15003119/CM_DTM2801_v.1.0.rar
HOME
Reply With Quote



