-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'refs/remotes/origin/(0.0.8)'
- Loading branch information
Showing
115 changed files
with
2,342 additions
and
525 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file removed
BIN
-568 Bytes
@AresModAchillesExpansion/addons/data_f_achilles.pbo.achilles_0.0.7d.bisign
Binary file not shown.
Binary file added
BIN
+567 Bytes
@AresModAchillesExpansion/addons/data_f_achilles.pbo.achilles_0.0.8.bisign
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+45.7 KB
@AresModAchillesExpansion/addons/data_f_achilles/icons/icon_enyo_large.paa
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-568 Bytes
@AresModAchillesExpansion/addons/data_f_ares.pbo.achilles_0.0.7d.bisign
Binary file not shown.
Binary file added
BIN
+567 Bytes
@AresModAchillesExpansion/addons/data_f_ares.pbo.achilles_0.0.8.bisign
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-568 Bytes
@AresModAchillesExpansion/addons/functions_f_achilles.pbo.achilles_0.0.7d.bisign
Binary file not shown.
Binary file added
BIN
+567 Bytes
@AresModAchillesExpansion/addons/functions_f_achilles.pbo.achilles_0.0.8.bisign
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
...sModAchillesExpansion/addons/functions_f_achilles/functions/common/fn_deadlyExplosion.sqf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
Author: CreepPork_LV, shay_gman | ||
Description: | ||
Creates a deadly IED explosion. | ||
Parameters: | ||
_this select: 0 - ARRAY - Center of explosion | ||
_this select: 1 - NUMBER - Explosion Size | ||
Returns: | ||
Nothing | ||
*/ | ||
|
||
_spawnPos = _this select 0; | ||
_explosionSize = _this select 1; | ||
|
||
_explosiveClass = switch (_explosionSize) do { | ||
case 0: {"DemoCharge_Remote_Ammo_Scripted"}; | ||
case 1: {"IEDUrbanSmall_Remote_Ammo"}; | ||
case 2: {"IEDUrbanBig_Remote_Ammo"}; | ||
}; | ||
|
||
_IED = _explosiveClass createVehicle _spawnPos; | ||
|
||
hideObjectGlobal _IED; | ||
_IED setPosATL _spawnPos; | ||
|
||
sleep 0.1; | ||
|
||
_IED setDamage 1; |
79 changes: 79 additions & 0 deletions
79
...dAchillesExpansion/addons/functions_f_achilles/functions/common/fn_disablingExplosion.sqf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
/* | ||
Author: CreepPork_LV, shay_gman | ||
Description: | ||
Creates a medium sized explosion that can disable units. | ||
Parameters: | ||
_this select: 0 - ARRAY - Spawn position | ||
_this select: 1 - NUMBER - Explosion Size | ||
Returns: | ||
Nothing | ||
*/ | ||
|
||
_spawnPos = _this select 0; | ||
_explosionSize = _this select 1; | ||
_random = 0; | ||
|
||
switch (_explosionSize) do | ||
{ | ||
case 0: | ||
{ | ||
"SmallSecondary" createVehicle _spawnPos; | ||
_hitRadius = 20; | ||
_killRadius = 10; | ||
}; | ||
|
||
case 1: | ||
{ | ||
"M_AT" createVehicle _spawnPos; | ||
_hitRadius = 30; | ||
_killRadius = 20; | ||
}; | ||
|
||
case 2: | ||
{ | ||
"M_AT" createVehicle _spawnPos; | ||
_hitRadius = 50; | ||
_killRadius = 30; | ||
}; | ||
}; | ||
|
||
_targetUnits = _spawnPos nearObjects _hitRadius; | ||
|
||
{ | ||
_random = random 10; | ||
if(_x isKindOf "Man") then | ||
{ | ||
if (((_x distance _spawnPos) < _killRadius) && (_random > 1))then | ||
{ | ||
_x setHit ["legs", 0.9]; | ||
_x setdamage 0.7; | ||
}; | ||
}; | ||
|
||
if(_x isKindOf "Car") then | ||
{ | ||
if (((_x distance _spawnPos) < _killRadius) && (_random > 1))then | ||
{ | ||
_x setdamage 0.7; | ||
sleep 15; | ||
_x setdamage 1; | ||
} | ||
else | ||
{ | ||
_x setdamage 0.4; | ||
} | ||
}; | ||
|
||
if(_x isKindOf "Tank") then | ||
{ | ||
if (((_x distance _spawnPos) < _killRadius) && (_random > 1))then | ||
{ | ||
_x setdamage 0.7; | ||
sleep 15; | ||
_x setdamage 1; | ||
}; | ||
}; | ||
} forEach _targetUnits; |
17 changes: 17 additions & 0 deletions
17
@AresModAchillesExpansion/addons/functions_f_achilles/functions/common/fn_fakeExplosion.sqf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* | ||
Author: CreepPork_LV, shay_gman | ||
Description: | ||
Creates a fake (very small) explosion. | ||
Parameters: | ||
_this select: 0 - ARRAY - Spawn position | ||
Returns: | ||
Nothing | ||
*/ | ||
|
||
_spawnPos = _this select 0; | ||
|
||
_explosive = "SmallSecondary" createVehicle _spawnPos; | ||
_explosive setPos _spawnPos; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...ModAchillesExpansion/addons/functions_f_achilles/functions/common/fn_hasACEExplosives.sqf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
Author: CreepPork_LV | ||
Description: | ||
Checks if ACE3 Explosives is present. | ||
Parameters: | ||
NONE | ||
Returns: | ||
BOOL - if present | ||
*/ | ||
|
||
_hasACE = false; | ||
|
||
if (isClass (configFile >> "CfgPatches" >> "ace_explosives")) then | ||
{ | ||
_hasACE = true; | ||
}; | ||
|
||
_hasACE; |
31 changes: 31 additions & 0 deletions
31
...odAchillesExpansion/addons/functions_f_achilles/functions/common/fn_setVehicleAmmoDef.sqf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
// AUTHOR: Kex | ||
// DATE: 9/2/16 | ||
// VERSION: 1.0 | ||
// FILE: functions_f_achilles\functions\common\fn_setUnitAmmoDef.sqf | ||
// DESCRIPTION: set vehicle's magazine count based on given percentage | ||
// In contrast to setUnitAmmoDef, it can handle custom dynamic loadouts | ||
// | ||
// ARGUMENTS: | ||
// _this select 0: OBJECT - vehicle for which the ammo is changed | ||
// _this select 1: SCALAR - ammo value in range [0,1] | ||
// | ||
// RETURNS: | ||
// nothing (procedure) | ||
// | ||
// Example: | ||
// [_vehicle, 0.9] call Achilles_fnc_setVehicleAmmoDef; | ||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | ||
|
||
params ["_vehicle",["_percentage",1,[1]]]; | ||
|
||
_pylonMags = getPylonMagazines _vehicle; | ||
_vehicle setVehicleAmmoDef _percentage; | ||
{ | ||
private _cfg_ammoCount = getNumber (configfile >> "CfgMagazines" >> _x >> "count"); | ||
_vehicle setPylonLoadOut [_forEachIndex + 1, _x]; | ||
_vehicle setAmmoOnPylon [_forEachIndex + 1, round (_cfg_ammoCount * _percentage)]; | ||
} forEach _pylonMags; | ||
|
||
|
||
|
Oops, something went wrong.