mirror of
https://github.com/acemod/ACE3.git
synced 2025-07-25 04:42:48 +00:00
* General - Fix modifying read-only configs * Update addons/minedetector/CfgAmmo.hpp Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com> --------- Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
18 lines
593 B
C++
18 lines
593 B
C++
class CfgAmmo {
|
|
class Default;
|
|
class Grenade: Default {
|
|
GVAR(torqueDirection)[] = {1, 1, 0};
|
|
GVAR(torqueMagnitude) = "(50 + random 100) * selectRandom [1, -1]";
|
|
};
|
|
class GrenadeCore: Default {};
|
|
class FlareCore: GrenadeCore {};
|
|
class FlareBase: FlareCore {
|
|
GVAR(torqueDirection)[] = {1, 1, 0};
|
|
GVAR(torqueMagnitude) = "(50 + random 100) * selectRandom [1, -1]";
|
|
};
|
|
class GrenadeBase: GrenadeCore {
|
|
GVAR(torqueDirection)[] = {1, 1, 0};
|
|
GVAR(torqueMagnitude) = "(50 + random 100) * selectRandom [1, -1]";
|
|
};
|
|
};
|