Skip to content

Commit

Permalink
Merge pull request #197 from Sparker95/external-reinforcements
Browse files Browse the repository at this point in the history
External reinforcements
  • Loading branch information
Sparker95 authored Dec 12, 2019
2 parents 271cc5d + a6b25ac commit fa5db3b
Show file tree
Hide file tree
Showing 6 changed files with 3,481 additions and 2,322 deletions.
2 changes: 1 addition & 1 deletion Project_0.Altis/AI/Commander/AICommander.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
// Frequency of reinforcements, etc

// How ofter commander will consider to import external reinforcements
#define CMDR_EXT_REINF_INTERVAL [0, 0, 0, 0, 1]
#define CMDR_EXT_REINF_INTERVAL [0, 0, 0, 0, 45]

// Max amount of simultaneous actions
#define CMDR_MAX_TAKE_OUTPOST_ACTIONS 10
Expand Down
2 changes: 1 addition & 1 deletion Project_0.Altis/AI/Commander/Model/WorldModel.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ CLASS("WorldModel", "Storable")


// Force multiplier common for many functions
// https://www.desmos.com/calculator/pxsl3sglkw
// https://www.desmos.com/calculator/2mfk9ka5pi
// Other valuable formulas:
// https://www.desmos.com/calculator/csjhfdmntd - exponential response
// https://www.desmos.com/calculator/ezdykpdcqx - log response
Expand Down
2 changes: 1 addition & 1 deletion Project_0.Altis/GameMode/CivilWar/CivilWarGameMode.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ CLASS("CivilWarGameMode", "GameModeBase")
SET_STATIC_VAR("ClientMapUI", "campAllowed", false);
PUBLIC_STATIC_VAR("ClientMapUI", "campAllowed");
// Set enemy commander strategy
private _strategy = NEW("Phase3CmdrStrategy", []);
private _strategy = NEW("Phase1CmdrStrategy", []);
CALL_STATIC_METHOD("AICommander", "setCmdrStrategyForSide", [ENEMY_SIDE ARG _strategy]);
T_SETV("phase", 1);
};
Expand Down
2 changes: 1 addition & 1 deletion Project_0.Altis/config/saveVersion.hpp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5
6
2 changes: 1 addition & 1 deletion Project_0.Altis/config/version.hpp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[0,14]
[0,15]
Loading

0 comments on commit fa5db3b

Please sign in to comment.