mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Comment & documentation spelling and grammar improved
This commit is contained in:
parent
a0812371c9
commit
ff462333cb
@ -48,7 +48,7 @@ if (_isSidePlayer) then {
|
||||
|
||||
if (!_addProjectileEventHandlers) exitWith {};
|
||||
|
||||
// Add hitpart eventHandler
|
||||
// Add hitPart eventHandler
|
||||
_projectile addEventHandler [
|
||||
"HitPart",
|
||||
{
|
||||
@ -61,7 +61,7 @@ _projectile addEventHandler [
|
||||
}
|
||||
];
|
||||
|
||||
// Add explode eventHandler
|
||||
// Add explode event handler
|
||||
_projectile addEventHandler [
|
||||
"Explode",
|
||||
{
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "..\script_component.hpp"
|
||||
/*
|
||||
* Author: Lambda.Tiger
|
||||
* Cleares all dev spheres and traces
|
||||
* Clears all dev spheres and traces
|
||||
*
|
||||
* Arguments:
|
||||
* None
|
||||
|
@ -3,7 +3,7 @@
|
||||
* Author: Lambda.Tiger, based on fnc_dev_debugAmmo by "ACE-Team"
|
||||
* Dumps all ammo types to see if there's any reason to spawn fragments
|
||||
* given hit power and distance. Good for grasping the values used in
|
||||
* shouldFrag to cull non-fragementing rounds
|
||||
* shouldFrag to cull non-fragmenting rounds
|
||||
*
|
||||
* Arguments:
|
||||
* 0: Display rounds that will never frag (power < 5).
|
||||
|
@ -4,7 +4,7 @@
|
||||
* Add a hit box outline to an object
|
||||
*
|
||||
* Arguments:
|
||||
* 0 Object to draw hitbox <OBJECT>:
|
||||
* 0: Object to draw the hit box of <OBJECT>:
|
||||
* 1: Add sphere at object origin <BOOL>
|
||||
*
|
||||
* Return Value:
|
||||
|
@ -4,9 +4,9 @@
|
||||
* This function adds an object to have it's course tracked (every frame).
|
||||
*
|
||||
* Arguments:
|
||||
* 0: Object to draw hitbox <OBJECT>
|
||||
* 0: Object to draw track OBJECT>
|
||||
* 1: Color of trace <STRING>
|
||||
* 2: Whether the object is a projectile <BOOL>
|
||||
* 2: Whether the object is a projectile or whether to add projectile EHs <BOOL>
|
||||
*
|
||||
* Return Value:
|
||||
* None
|
||||
|
@ -28,7 +28,7 @@ params [
|
||||
["_shotParents", [objNull, objNull], [[]]]
|
||||
];
|
||||
|
||||
// Check for vehicle holdoff timeout
|
||||
// Check for vehicle hold-off timeout
|
||||
private _shotParentVic = _shotParents#0;
|
||||
if (_shotParentVic getVariable [QGVAR(nextFragTime), -1] > CBA_missionTime) exitWith {
|
||||
TRACE_1("vehicleTimeExit",_shotParentVic);
|
||||
|
@ -10,7 +10,7 @@
|
||||
* 2: Maximum range of fragments to calculate <SCALAR>
|
||||
* 3: Maximum number of fragments to produce <SCALAR>
|
||||
* 4: Types of fragments <ARRAY>
|
||||
* 5: A modified parameter used to calulate whether a framgent hits <SCALAR>
|
||||
* 5: A modified parameter used to calculate whether a fragment hits <SCALAR>
|
||||
* 6: Shot parent <ARRAY>
|
||||
*
|
||||
* Return Value:
|
||||
|
@ -42,12 +42,12 @@ if (isArray (configFile >> "cfgAmmo" >> _ammo >> QGVAR(CLASSES))) then {
|
||||
* GURNEY_C = sqrt(2E)
|
||||
*
|
||||
* _chargeMass = 185; - grams of comp-b
|
||||
* _metalMass = 210; - grams of fragmentating metal
|
||||
* _metalMass = 210; - grams of metal are accelerated by explosion
|
||||
* _geometryCoefficient = 3/5; - spherical K factor
|
||||
* _gurneyConstant = 2843; - Gurney constant of comp-b in /ms
|
||||
*
|
||||
* _chargeMass = 429; - grams of tritonal
|
||||
* _metalMass = 496; - grams of fragmentating metal
|
||||
* _metalMass = 496; - grams of metal are accelerated by explosion
|
||||
* _geometryCoefficient = 1/2; - cylindrical K factor
|
||||
* _gurneyConstant = 2320; - Gurney constant of tritonal in m/s
|
||||
* Equation - 0.8 for empirical 80% speed
|
||||
|
Loading…
Reference in New Issue
Block a user