mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed author lists
This commit is contained in:
parent
601083bce3
commit
132dc6d4c8
@ -18,4 +18,4 @@
|
||||
params ["_proj"];
|
||||
TRACE_1("addBlackList",_round);
|
||||
|
||||
GVAR(shouldFragCache) set [typeOf _ammo, [false, false]];
|
||||
GVAR(shouldFragCache) set [typeOf _ammo, [false, false]];
|
@ -1,6 +1,6 @@
|
||||
#include "script_component.hpp"
|
||||
/*
|
||||
* Author: Lambda.Tiger
|
||||
* Author: Jaynus, NouberNou, Lambda.Tiger
|
||||
* This function handles creating both random and targeted fragments as well
|
||||
* as handling some of the performance optimizations.
|
||||
*
|
||||
@ -28,6 +28,7 @@ _args params [
|
||||
TRACE_3("",_proj,_posASL,_vel);
|
||||
|
||||
private _shotParents = getShotParents _proj;
|
||||
private _ammo = typeOf _proj;
|
||||
private _shotParentVic = _shotParents#0;
|
||||
if (_shotParentVic getVariable [QGVAR(nextFragTime), -1] > CBA_missionTime) exitWith {
|
||||
TRACE_1("vehicleTimeExit",_shotParentVic);
|
||||
@ -35,7 +36,7 @@ if (_shotParentVic getVariable [QGVAR(nextFragTime), -1] > CBA_missionTime) exit
|
||||
_shotParentVic setVariable [QGVAR(nextFragTime), CBA_missionTime + ACE_FRAG_HOLDOFF];
|
||||
|
||||
private _timeSince = CBA_missionTime - GVAR(lastFragTime);
|
||||
if (isNull _proj || {_posASL isEqualTo [0,0,0] || _timeSince < 0.2}) exitWith {
|
||||
if (_ammo isEqualTo "" || {_posASL isEqualTo [0,0,0] || _timeSince < 0.2}) exitWith {
|
||||
TRACE_3("timeExit",_timeSince,CBA_missionTime,GVAR(lastFragTime));
|
||||
};
|
||||
GVAR(lastFragTime) = CBA_missionTime;
|
||||
@ -43,7 +44,6 @@ private _maxFrags = round (linearConversion [0.1, 1.5, _timeSince, ACE_FRAG_COUN
|
||||
TRACE_3("",_timeSince,CBA_missionTime,_maxFrags);
|
||||
|
||||
|
||||
private _ammo = typeOf _proj;
|
||||
private _ammoArr = [_ammo] call FUNC(fragInfo);
|
||||
_ammoArr params ["_fragRange", "_fragVel", "_fragTypes", "_modFragCount"];
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "script_component.hpp"
|
||||
/*
|
||||
* Author: Lambda.Tiger
|
||||
* Author: Jaynus, NouberNou, Lambda.Tiger
|
||||
* This function creates fragments randomly spreading out from an explosion to
|
||||
* a maximum of 15
|
||||
*
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "script_component.hpp"
|
||||
/*
|
||||
* Author: Lambda.Tiger
|
||||
* Author: Jaynus, NouberNou, Lambda.Tiger
|
||||
* This function creates fragments targeted at specific entities, up to
|
||||
* a configured maximum
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user