- Add mission config, params, and function registrations - Implement faction helpers and mission generators - Include setup docs, CBA settings, and mission scaffolding
36 lines
1.6 KiB
Plaintext
36 lines
1.6 KiB
Plaintext
suitable[] = {"attack", "defend", "hostage", "destroy"};
|
|
|
|
/* Create a sqf file using fnc_attackMissionGenerator.sqf as a template for the task
|
|
infomation of appropriate formating and syntax for all the code can be found in the files located in the Guides folder */
|
|
|
|
/* Create a dynamic mission generator for this mission using the flowing points
|
|
|
|
- Generate a UI for setting the mission defaults that is only available to the player slots of CEO or Dispatch
|
|
- tickbox for selecting to either use the dialog or use the CfgMissions.sqf
|
|
- include options to set the following * points
|
|
* min/max money reward
|
|
* min/max reputation
|
|
* min/max penalty
|
|
* min/max timelimit
|
|
- pull all factions excluding blufor for enemy selection
|
|
- infomation of appropriate formating for the code can be found in the files located in the Guides folder */
|
|
|
|
createHashMapFromArray [
|
|
["funds", _logic getVariable ["CompanyFunds", 0]],
|
|
["ratingFail", _logic getVariable ["RatingFail", 0]],
|
|
["ratingSuccess", _logic getVariable ["RatingSuccess", 0]],
|
|
["endSuccess", _logic getVariable ["EndSuccess", false]],
|
|
["endFail", _logic getVariable ["EndFail", false]],
|
|
["defenseZone", _defenseZone],
|
|
["defendTime", _logic getVariable ["DefendTime", 600]],
|
|
["waveCount", _logic getVariable ["WaveCount", 3]],
|
|
["waveCooldown", _logic getVariable ["WaveCooldown", 300]],
|
|
["minBlufor", _logic getVariable ["MinBlufor", 1]],
|
|
["enemyTemplates", _templateGroups],
|
|
["equipment", _equipmentRewards],
|
|
["supplies", _supplyRewards],
|
|
["weapons", _weaponRewards],
|
|
["vehicles", _vehicleRewards],
|
|
["special", _specialRewards]
|
|
]
|