mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
0.3.9.0534
max out zombie count on spawn chance allow variable increase to antagonist array
This commit is contained in:
parent
ecd09836e0
commit
fa2185a27d
Server_Install_Pack
@epochhive/addons
mpmissions
epoch.Altis.pboepoch.Australia.pboepoch.Bootcamp_ACR.pboepoch.Bornholm.pboepoch.Chernarus.pboepoch.Chernarus_Summer.pboepoch.Desert_E.pboepoch.Esseker.pboepoch.Mountains_ACR.pboepoch.Napf.pboepoch.Porto.pboepoch.ProvingGrounds_PMC.pboepoch.Sara.pboepoch.SaraLite.pboepoch.Sara_dbe1.pboepoch.Shapur_BAF.pboepoch.Stratis.pboepoch.Takistan.pboepoch.Tanoa.pboepoch.VR.pboepoch.Woodland_ACR.pboepoch.Zargabad.pboepoch.utes.pbo
Sources
epoch_code/compile
epoch_config
epoch_server
epoch_server_core
epoch_server_settings
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -13,7 +13,8 @@
|
||||
https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_unitSpawnDecrease.sqf
|
||||
*/
|
||||
private ["_index"];
|
||||
_index = EPOCH_spawnIndex find _this;
|
||||
params ["_spawnName", ["_decrease",1]];
|
||||
_index = EPOCH_spawnIndex find _spawnName;
|
||||
if (_index != -1) then{
|
||||
EPOCH_playerSpawnArray set[_index, ((EPOCH_playerSpawnArray select _index) - 1) max 0];
|
||||
EPOCH_playerSpawnArray set[_index, ((EPOCH_playerSpawnArray select _index) - _decrease) max 0];
|
||||
};
|
||||
|
@ -13,7 +13,8 @@
|
||||
https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/compile/EPOCH_unitSpawnIncrease.sqf
|
||||
*/
|
||||
private ["_index"];
|
||||
_index = EPOCH_spawnIndex find _this;
|
||||
params ["_spawnName", ["_increase",1]];
|
||||
_index = EPOCH_spawnIndex find _spawnName;
|
||||
if (_index != -1) then{
|
||||
EPOCH_playerSpawnArray set[_index, ((EPOCH_playerSpawnArray select _index) + 1) min (EPOCH_spawnLimits select _index)];
|
||||
EPOCH_playerSpawnArray set[_index, ((EPOCH_playerSpawnArray select _index) + _increase) min (EPOCH_spawnLimits select _index)];
|
||||
};
|
||||
|
@ -4,7 +4,7 @@ if (random EPOCH_droneRndChance < _spawnChance) then {
|
||||
};
|
||||
if (EPOCH_mod_Ryanzombies_Enabled) then {
|
||||
if (random EPOCH_zombieRndChance < _spawnChance) then {
|
||||
"EPOCH_RyanZombie_1" call EPOCH_unitSpawnIncrease;
|
||||
["EPOCH_RyanZombie_1",12] call EPOCH_unitSpawnIncrease;
|
||||
};
|
||||
};
|
||||
if (random EPOCH_sapperRndChance < _spawnChance) then {
|
||||
|
@ -1 +1 @@
|
||||
build=533;
|
||||
build=534;
|
||||
|
@ -1 +1 @@
|
||||
build=533;
|
||||
build=534;
|
||||
|
@ -1 +1 @@
|
||||
build=533;
|
||||
build=534;
|
||||
|
@ -1 +1 @@
|
||||
build=533;
|
||||
build=534;
|
||||
|
@ -1 +1 @@
|
||||
533
|
||||
534
|
||||
|
Loading…
x
Reference in New Issue
Block a user