Wind Deflection - Settings cleanup (#5838)

* Removed confusing 'simulationRadius' setting
This commit is contained in:
ulteq 2017-12-02 14:18:57 +01:00 committed by GitHub
parent b7be7d1cf4
commit c5e594ffb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1 additions and 48 deletions

View File

@ -21,12 +21,4 @@ class ACE_Settings {
value = 0.05;
sliderSettings[] = {0, 0.2, 0.05, 1};
};
class GVAR(simulationRadius) {
category = CSTRING(windDeflection_DisplayName);
displayName = CSTRING(simulationRadius_DisplayName);
description = CSTRING(simulationRadius_Description);
typeName = "SCALAR";
value = 3000;
sliderSettings[] = {0, 3000, 3000, 0};
};
};

View File

@ -30,12 +30,6 @@ class CfgVehicles {
typeName = "NUMBER";
defaultValue = 0.05;
};
class simulationRadius {
displayName = CSTRING(simulationRadius_DisplayName);
description = CSTRING(simulationRadius_Description);
typeName = "NUMBER";
defaultValue = 3000;
};
};
class ModuleDescription {
description = CSTRING(windDeflection_Description);

View File

@ -21,7 +21,7 @@ TRACE_10("firedEH:",_unit, _weapon, _muzzle, _mode, _ammo, _magazine, _projectil
if (missionNamespace getVariable [QEGVAR(advanced_ballistics,enabled), false] && {_projectile isKindOf "BulletBase" && {_unit isKindOf "Man"}}) exitWith {false};
if (!((_projectile isKindOf "BulletBase") || {_projectile isKindOf "GrenadeBase"})) exitWith {false};
if (_unit distance ACE_player > GVAR(simulationRadius)) exitWith {false};
if (_unit distance ACE_player > 2000) exitWith {false};
private _abort = false;
if (!local _unit && {_projectile isKindOf "BulletBase"}) then {

View File

@ -25,6 +25,5 @@ if !(_activated) exitWith {};
[_logic, QGVAR(enabled), "enabled"] call EFUNC(common,readSettingFromModule);
[_logic, QGVAR(vehicleEnabled), "vehicleEnabled"] call EFUNC(common,readSettingFromModule);
[_logic, QGVAR(simulationInterval), "simulationInterval"] call EFUNC(common,readSettingFromModule);
[_logic, QGVAR(simulationRadius), "simulationRadius"] call EFUNC(common,readSettingFromModule);
GVAR(simulationInterval) = 0 max GVAR(simulationInterval) min 0.2;

View File

@ -193,38 +193,6 @@
<Chinesesimp>定义每个计算之间的时间间隔</Chinesesimp>
<Chinese>定義每個計算之間的時間間隔</Chinese>
</Key>
<Key ID="STR_ACE_WindDeflection_simulationRadius_DisplayName">
<English>Simulation Radius</English>
<Polish>Zasięg symulacji</Polish>
<Spanish>Radio de simulación</Spanish>
<German>Simulationsradius</German>
<Czech>Oblast simulace</Czech>
<Portuguese>Radio da Simulação</Portuguese>
<French>Rayon de simulation</French>
<Hungarian>Szimulációs hatókör</Hungarian>
<Russian>Радиус симуляции</Russian>
<Italian>Raggio Simulazione</Italian>
<Japanese>シミュレーション半径</Japanese>
<Chinesesimp>模拟半径</Chinesesimp>
<Chinese>模擬半徑</Chinese>
<Korean>시뮬레이션 범위</Korean>
</Key>
<Key ID="STR_ACE_WindDeflection_simulationRadius_Description">
<English>Defines the radius around the player (in meters) at which projectiles are wind deflected</English>
<Polish>Określa obszar naokoło gracza (w metrach), na którym pociski są znoszone przez wiatr</Polish>
<Spanish>Define el radio alrededor del jugador (en metros) en el cual los proyectiles son desviados por el viento</Spanish>
<German>Gibt den Radius (in Metern) um den Spieler an, in dem Projektile vom Wind beeinflusst werden</German>
<Czech>Definuje oblast kolem hráče (v metrech) v které je projektil ovlivněn větrem</Czech>
<Portuguese>Define o raio ao redor do jogador (em metros) em qual os projéteis são desviados pelo vento</Portuguese>
<French>Défini un rayon autour du joueur (en mètres) autour duquel les projectiles sont influencés par le vent</French>
<Hungarian>Meghatározza a játékos körüli hatókört (méterben), ahol a lövedékeket háríthatja a szél</Hungarian>
<Russian>Определяет радиус вокруг игрока (а метрах), в котором снаряды отклоняются ветром</Russian>
<Italian>Definisce il raggio attorno al giocatore (in metri) dove viene applicata la deviazione del vento ai proiettili</Italian>
<Japanese>弾道が風によって影響される範囲をプレイヤーを中心とした半径で定義します (メートル)</Japanese>
<Korean>플레이어 주위로 발사체가 풍향 변화의 영향을 받는 범위를 정합니다 (미터)</Korean>
<Chinesesimp>定义玩家多少半径范围内(单位公尺)子弹会受到风偏的引响</Chinesesimp>
<Chinese>定義玩家多少半徑範圍內(單位公尺)子彈會受到風偏的引響</Chinese>
</Key>
<Key ID="STR_ACE_WindDeflection_windDeflection_Description">
<English>Wind influence on projectiles trajectory</English>
<Polish>Wpływ wiatru na trajektorię lotu pocisków</Polish>