Set up mission autorun. Beefed up enemy numbers where appropriate. Reduced allied NPC numbers to reduce server load. Tightened up auto-detection of mission completion etc. Integrated some newer learnings like custom functions and stuff. Still a couple things left to do to get mission-ready (primarily flavour text and loadouts)

This commit is contained in:
2026-05-21 00:37:08 +10:00
parent 189519bcb3
commit dd7ecb0dd6
17 changed files with 17565 additions and 4494 deletions
+18 -54
View File
@@ -1,57 +1,30 @@
_createRTB = mapObjectiveCommand addAction [
"CREATE TASK - RTB",
autoRunMission = mapObjectiveCommand addAction [
"AUTO RUN MISSION",
{
params ["_target", "_caller", "_actionID"];
var_task_00_rtbCreate = true;
var_task_01_defendNortheast = true;
missionNamespace setVariable ["autoRun", true, true];
publicVariable "var_task_01_defendNortheast";
_target removeAction _actionID;
},
nil,
1.5,
true,
true,
"",
"_this == missionCommander",
3,
false,
"",
""
];
_setRTB = mapObjectiveCommand addAction [
"SET TASK - RTB",
{["00", "ASSIGNED"] call BIS_fnc_taskSetState;},
nil,
1.5,
true,
true,
"",
"_this == missionCommander",
3,
false,
"",
""
];
_completeRTB = mapObjectiveCommand addAction [
"COMPLETE TASK - RTB",
{["00", "SUCCEEDED"] call BIS_fnc_taskSetState;},
nil,
1.5,
true,
true,
"",
"_this == missionCommander",
"true",
3,
false,
"",
""
];
];
_task01DefendNorthEast = mapObjectiveCommand addAction [
"1. SET TASK - Defend Northeast Frontline",
{
params ["_target", "_caller", "_actionID"];
var_task_01_defendNortheast = true;
publicVariable "var_task_01_defendNortheast";
missionNamespace setVariable ["var_task_01_defendNortheast", true, true];
_target removeAction _actionID;
},
nil,
@@ -70,8 +43,7 @@ _task02DestroyArmor = mapObjectiveCommand addAction [
"2. SET TASK - Destroy German Armor",
{
params ["_target", "_caller", "_actionID"];
var_task_02_destroyArmor = true;
publicVariable "var_task_02_destroyArmor";
missionNamespace setVariable ["var_task_02_destroyArmor", true, true];
_target removeAction _actionID;
},
nil,
@@ -90,8 +62,7 @@ _task03EliminateHVT = mapObjectiveCommand addAction [
"3. SET TASK - Eliminate HVT",
{
params ["_target", "_caller", "_actionID"];
var_task_03_eliminateHVT = true;
publicVariable "var_task_03_eliminateHVT";
missionNamespace setVariable ["var_task_03_eliminateHVT", true, true];
_target removeAction _actionID;
},
nil,
@@ -110,8 +81,7 @@ _task04SupportRetreat = mapObjectiveCommand addAction [
"4. SET TASK - Support Retreat",
{
params ["_target", "_caller", "_actionID"];
var_task_04_supportRetreat = true;
publicVariable "var_task_04_supportRetreat";
missionNamespace setVariable ["var_task_04_supportRetreat", true, true];
_target removeAction _actionID;
},
nil,
@@ -130,8 +100,7 @@ _task05RepelNorthwesternBrekathrough = mapObjectiveCommand addAction [
"5. SET TASK - Repel NW Breakthrough",
{
params ["_target", "_caller", "_actionID"];
var_task_05_repelNorthwestBreakthrough = true;
publicVariable "var_task_05_repelNorthwestBreakthrough";
missionNamespace setVariable ["var_task_05_repelNorthwestBreakthrough", true, true];
_target removeAction _actionID;
},
nil,
@@ -150,8 +119,7 @@ _task06DefendNorth = mapObjectiveCommand addAction [
"6. SET TASK - Defend North",
{
params ["_target", "_caller", "_actionID"];
var_task_06_defendNorth = true;
publicVariable "var_task_06_defendNorth";
missionNamespace setVariable ["var_task_06_defendNorth", true, true];
_target removeAction _actionID;
},
nil,
@@ -170,8 +138,7 @@ _task07RepelEasternBreakthrough = mapObjectiveCommand addAction [
"7. SET TASK - Repel E Breakthrough",
{
params ["_target", "_caller", "_actionID"];
var_task_07_repelEastBreakthrough = true;
publicVariable "var_task_07_repelEastBreakthrough";
missionNamespace setVariable ["var_task_07_repelEastBreakthrough", true, true];
_target removeAction _actionID;
},
nil,
@@ -190,8 +157,7 @@ _task08DefendEast = mapObjectiveCommand addAction [
"8. SET TASK - Defend East",
{
params ["_target", "_caller", "_actionID"];
var_task_08_defendEast = true;
publicVariable "var_task_08_defendEast";
missionNamespace setVariable ["var_task_08_defendEast", true, true];
_target removeAction _actionID;
},
nil,
@@ -210,8 +176,7 @@ _task09DelayArmor = mapObjectiveCommand addAction [
"9. SET TASK - Delay Armor",
{
params ["_target", "_caller", "_actionID"];
var_task_09_delayGermanArmor = true;
publicVariable "var_task_09_delayGermanArmor";
missionNamespace setVariable ["var_task_09_delayGermanArmor", true, true];
_target removeAction _actionID;
},
nil,
@@ -230,8 +195,7 @@ _task10Retreat = mapObjectiveCommand addAction [
"10. SET TASK - Retreat",
{
params ["_target", "_caller", "_actionID"];
var_task_10_retreat = true;
publicVariable "var_task_10_retreat";
missionNamespace setVariable ["var_task_10_retreat", true, true];
_target removeAction _actionID;
},
nil,