Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translations - German #6920

Merged
merged 88 commits into from
Jun 8, 2019
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
ecbe361
Add all missing german translations for the ace medical system
C0kkie Apr 3, 2019
9d63571
RHS Compat - Add 2 round hellfire to pylon options (#6893)
PabstMirror Apr 3, 2019
ccba663
Fastroping - Add user setting to confirm cutting ropes (#6876)
PabstMirror Apr 3, 2019
73304aa
compatibility with CBA scripted 2d optics framework
commy2 Apr 3, 2019
1d1c638
compatibility with CBA scripted 2d optics framework
commy2 Apr 3, 2019
ff061ab
Bewusstlosstatus -> Bewusstlosigkeit
C0kkie Apr 3, 2019
b1532e7
Verblutungseffekt -> Blutungs effekt
C0kkie Apr 3, 2019
dd34961
Aktivitere ACE Sanitäter Aktionen -> Aktiviere Sanitäter Aktionen
C0kkie Apr 3, 2019
7495231
Sanitätermenüs -> Sanitätsmenü
C0kkie Apr 3, 2019
fdf1a2b
kritsche -> kritische
C0kkie Apr 3, 2019
639c071
Update addons/medical_statemachine/stringtable.xml
dedmen Apr 3, 2019
9cec100
Update addons/medical_statemachine/stringtable.xml
dedmen Apr 3, 2019
eab810d
Update addons/medical_statemachine/stringtable.xml
dedmen Apr 3, 2019
312af8c
Update addons/medical_statemachine/stringtable.xml
dedmen Apr 3, 2019
8aaf457
Update addons/medical_treatment/stringtable.xml
dedmen Apr 3, 2019
e2f749c
Update addons/medical_treatment/stringtable.xml
dedmen Apr 3, 2019
8420fae
Update stringtable.xml
C0kkie Apr 3, 2019
cb3cdaf
Update stringtable.xml
C0kkie Apr 3, 2019
c35e39b
Update stringtable.xml
C0kkie Apr 3, 2019
f20a5c5
Add missing german translations for advanced fatigue, ai, arsenal & b…
C0kkie Apr 3, 2019
c516976
Merge branch 'master' of https://github.com/C0kkie/ACE3
C0kkie Apr 3, 2019
d8347ba
Update addons/ai/stringtable.xml
dedmen Apr 4, 2019
4f325fc
Update addons/arsenal/stringtable.xml
dedmen Apr 4, 2019
dca50f4
Update addons/medical_gui/stringtable.xml
dedmen Apr 4, 2019
7b48c48
Update addons/medical_statemachine/stringtable.xml
dedmen Apr 4, 2019
c5bf053
Update addons/medical_statemachine/stringtable.xml
dedmen Apr 4, 2019
65eed99
Update addons/medical_gui/stringtable.xml
dedmen Apr 4, 2019
2754800
Update addons/medical_gui/stringtable.xml
dedmen Apr 4, 2019
8b36670
Update addons/arsenal/stringtable.xml
dedmen Apr 4, 2019
0971103
Update stringtable.xml
C0kkie Apr 4, 2019
0144c70
Update stringtable.xml
C0kkie Apr 4, 2019
d918335
Update stringtable.xml
C0kkie Apr 4, 2019
ebcae96
Update stringtable.xml
C0kkie Apr 4, 2019
1b53bc6
Update stringtable.xml
C0kkie Apr 4, 2019
0025188
Update stringtable.xml
C0kkie Apr 4, 2019
fecef78
Update stringtable.xml
C0kkie Apr 4, 2019
1081424
Update stringtable.xml
C0kkie Apr 4, 2019
0bd88ad
Update stringtable.xml
C0kkie Apr 4, 2019
5c01f85
Update stringtable.xml
C0kkie Apr 4, 2019
5c4ebad
Update stringtable.xml
C0kkie Apr 4, 2019
6f49a0e
Update stringtable.xml
C0kkie Apr 4, 2019
5702b62
Update stringtable.xml
C0kkie Apr 4, 2019
10c004a
Update stringtable.xml
C0kkie Apr 4, 2019
cc31931
Update stringtable.xml
C0kkie Apr 4, 2019
b0ae18d
Update stringtable.xml
C0kkie Apr 4, 2019
7c63fc6
Update stringtable.xml
C0kkie Apr 4, 2019
0cb1391
Update stringtable.xml
C0kkie Apr 4, 2019
31ec078
Add missing german translations for ace cargo
C0kkie Apr 4, 2019
569b0e1
Add missing german translation for vehicles
C0kkie Apr 4, 2019
e25d559
Add missing german translation for weaponselect
C0kkie Apr 4, 2019
3a91f51
Add missing german translations für ace repair
C0kkie Apr 4, 2019
49e6750
Add missing german translations for ace quickmount
C0kkie Apr 4, 2019
56ca025
Add missing german translations for ace explosives
C0kkie Apr 4, 2019
b531184
Add missing german translations for ace common
C0kkie Apr 4, 2019
361261b
Ace flashlight missing german translation
C0kkie Apr 4, 2019
67da333
Add missing german translations for ace scopes
C0kkie Apr 4, 2019
ba66bb2
add missing translations for ace respawn
C0kkie Apr 4, 2019
b270f77
Add missing german translations for ace overpressure
C0kkie Apr 4, 2019
fc937ef
ACE Nametags german translation
C0kkie Apr 4, 2019
1f41f7a
.
C0kkie Apr 4, 2019
08e44ef
ace magazinerepack german translation
C0kkie Apr 4, 2019
67244aa
ace interaktion german translations
C0kkie Apr 4, 2019
56ea31f
add missing german translation for ace interaction menu
C0kkie Apr 4, 2019
3aa5510
ACE Hearing german translations
C0kkie Apr 5, 2019
b6676e3
Update stringtable.xml
C0kkie Apr 5, 2019
511e83c
Update stringtable.xml
C0kkie Apr 5, 2019
f4623b3
Missing german translation in ace dogtags
C0kkie Apr 6, 2019
4fe0751
Missing german translations ace hot
C0kkie Apr 6, 2019
1378486
ace pylons missing german translations
C0kkie Apr 6, 2019
7ab4df9
Merge branch 'master' into master
C0kkie Apr 21, 2019
dfb726a
ACE Cook off German Translations
C0kkie Apr 21, 2019
9aedc3b
zeus german translations
C0kkie Apr 21, 2019
52b4b18
Fast roping german translations
C0kkie Apr 21, 2019
0caa79e
gforces german translations
C0kkie Apr 21, 2019
3eb6d40
Update stringtable.xml
C0kkie Apr 21, 2019
bcafab8
Update stringtable.xml
C0kkie Apr 21, 2019
36b41d6
Update stringtable.xml
C0kkie Apr 21, 2019
bb23366
Update stringtable.xml
C0kkie Apr 21, 2019
e390edd
Map - Don't enable map light for parachutes (#6961)
PabstMirror Apr 25, 2019
20abd9d
Refuel - Drop nozzle at unit's feet if no valid pos found (#6957)
PabstMirror Apr 25, 2019
96cbd47
Common - Don't add UAV AI to localUnits array (#6951)
PabstMirror Apr 25, 2019
12e008a
Fastroping - Remove FRIES on vehicle deletion / adjust Ghosthawk Frie…
veteran29 Apr 25, 2019
9526477
Update stringtable.xml
C0kkie Apr 26, 2019
babfb0a
Nightvision german translations
C0kkie Apr 26, 2019
df01867
Merge branch 'master' of https://github.com/C0kkie/ACE3
C0kkie Apr 26, 2019
ceaf61f
Merge branch 'master' into pr/6920
PabstMirror Jun 8, 2019
42427cf
Update stringtable.xml
PabstMirror Jun 8, 2019
284f97c
remove non-stringtable stuff ???
PabstMirror Jun 8, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions addons/common/functions/fnc_setupLocalUnitsHandler.sqf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "script_component.hpp"
/*
* Author: dedmen
* Adds the local unit event handlers.
* Adds the local unit event handlers.
* Access with function `ace_common_fnc_getLocalUnits` or array `ace_common_localUnits`
*
* Arguments:
Expand All @@ -15,6 +15,8 @@
*
* Public: No
*/
// Ignore UAV/Drone AI
#define IGNORE_BASE_UAVPILOTS "B_UAV_AI", "O_UAV_AI", "UAV_AI_base_F"
C0kkie marked this conversation as resolved.
Show resolved Hide resolved

GVAR(localUnits) = [];

Expand All @@ -27,7 +29,7 @@ GVAR(localUnits) = [];
if (!alive _unit) exitWith {};
GVAR(localUnits) pushBack _unit;
};
}] call CBA_fnc_addClassEventHandler;
}, true, [IGNORE_BASE_UAVPILOTS]] call CBA_fnc_addClassEventHandler;

["CAManBase", "respawn", {
params ["_unit"];
Expand All @@ -37,7 +39,7 @@ GVAR(localUnits) = [];
if (!alive _unit) exitWith {};
GVAR(localUnits) pushBack _unit;
};
}] call CBA_fnc_addClassEventHandler;
}, true, [IGNORE_BASE_UAVPILOTS]] call CBA_fnc_addClassEventHandler;

["CAManBase", "local", {
params ["_unit", "_local"];
Expand All @@ -49,7 +51,7 @@ GVAR(localUnits) = [];
} else {
GVAR(localUnits) deleteAt (GVAR(localUnits) find _unit);
};
}] call CBA_fnc_addClassEventHandler;
}, true, [IGNORE_BASE_UAVPILOTS]] call CBA_fnc_addClassEventHandler;

["CAManBase", "deleted", {
params ["_unit"];
Expand All @@ -64,7 +66,7 @@ GVAR(localUnits) = [];
};
}, [_unit]] call CBA_fnc_execNextFrame;
};
}] call CBA_fnc_addClassEventHandler;
}, true, [IGNORE_BASE_UAVPILOTS]] call CBA_fnc_addClassEventHandler;

["CAManBase", "killed", {
params ["_unit"];
Expand All @@ -73,4 +75,4 @@ GVAR(localUnits) = [];
if (local _unit) then {
GVAR(localUnits) deleteAt (GVAR(localUnits) find _unit);
};
}] call CBA_fnc_addClassEventHandler;
}, true, [IGNORE_BASE_UAVPILOTS]] call CBA_fnc_addClassEventHandler;
2 changes: 1 addition & 1 deletion addons/fastroping/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ class CfgVehicles {
GVAR(enabled) = 2;
GVAR(ropeOrigins)[] = {"ropeOriginRight", "ropeOriginLeft"};
GVAR(friesType) = "ACE_friesAnchorBar";
GVAR(friesAttachmentPoint)[] = {0.065, 2.2, -0.15};
GVAR(friesAttachmentPoint)[] = {0.035, 2.2, -0.15};
GVAR(onPrepare) = QFUNC(onPrepareCommon);
GVAR(onCut) = QFUNC(onCutCommon);
EQUIP_FRIES_ATTRIBUTE;
Expand Down
2 changes: 1 addition & 1 deletion addons/fastroping/XEH_PREP.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ PREP(canDeployRopes);
PREP(canFastRope);
PREP(canPrepareFRIES);
PREP(canStowFRIES);
PREP(checkVehicleThread);
PREP(cutRopes);
PREP(deployAI);
PREP(deployRopes);
Expand All @@ -18,3 +17,4 @@ PREP(onPrepareCommon);
PREP(onRopeBreak);
PREP(prepareFRIES);
PREP(stowFRIES);
PREP(unequipFRIES);
24 changes: 0 additions & 24 deletions addons/fastroping/functions/fnc_checkVehicleThread.sqf

This file was deleted.

13 changes: 3 additions & 10 deletions addons/fastroping/functions/fnc_equipFRIES.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Example:
* [_vehicle] call ace_fastroping_fnc_equipFRIES
*
* Public: No
* Public: Yes
*/
params ["_vehicle"];

Expand All @@ -24,15 +24,8 @@ if !(isNumber (_config >> QGVAR(enabled))) then {
private _fries = (getText (_config >> QGVAR(friesType))) createVehicle [0, 0, 0];
_fries attachTo [_vehicle, (getArray (_config >> QGVAR(friesAttachmentPoint)))];
_vehicle setVariable [QGVAR(FRIES), _fries, true];
_vehicle addEventHandler ["Killed", {
params ["_vehicle"];
deleteVehicle (_vehicle getVariable [QGVAR(FRIES), objNull]);
_vehicle setVariable [QGVAR(FRIES), nil, true];

if !((_vehicle getVariable [QGVAR(deployedRopes), []] isEqualTo [])) then {
[_vehicle] call FUNC(cutRopes);
};
}];
[FUNC(checkVehicleThread), [_vehicle, _fries], 5] call CBA_fnc_waitAndExecute;
_vehicle addEventHandler ["Killed", FUNC(unequipFRIES)];
_vehicle addEventHandler ["Deleted", FUNC(unequipFRIES)];
};
};
24 changes: 24 additions & 0 deletions addons/fastroping/functions/fnc_unequipFRIES.sqf
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#include "script_component.hpp"
/*
* Author: BaerMitUmlaut
* Removes FRIES from helicopter.
*
* Arguments:
* 0: The helicopter <OBJECT>
*
* Return Value:
* None
*
* Example:
* [_vehicle] call ace_fastroping_fnc_unequipFRIES
*
* Public: Yes
*/
params ["_vehicle"];

deleteVehicle (_vehicle getVariable [QGVAR(FRIES), objNull]);
_vehicle setVariable [QGVAR(FRIES), nil, true];

if !((_vehicle getVariable [QGVAR(deployedRopes), []] isEqualTo [])) then {
[_vehicle] call FUNC(cutRopes);
};
1 change: 1 addition & 0 deletions addons/map/XEH_postInitClient.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ GVAR(vehicleLightColor) = [1,1,1,0];
switch (true) do {
case (_vehicle isKindOf "Tank");
case (_vehicle isKindOf "Wheeled_APC"): { {true} };
case (_vehicle isKindOf "ParachuteBase"): { {false} };
case (_vehicle isKindOf "Helicopter");
case (_vehicle isKindOf "Plane"): { {(driver _vehicle == _unit) || {gunner _vehicle == _unit}} };
default { {false} };
Expand Down
9 changes: 7 additions & 2 deletions addons/refuel/functions/fnc_dropNozzle.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,16 @@ _nozzle setVelocity [0, 0, 0];

private _groundPosition = getPosASL _nozzle;
private _posA = (getPosASL _nozzle) vectorAdd [0,0,0.05];
private _posB = (getPosASL _nozzle) vectorAdd [0,0,-1000];
private _posB = (getPosASL _nozzle) vectorAdd [0,0,- GVAR(hoseLength)];
private _intersections = lineIntersectsSurfaces [_posA, _posB, _unit, _nozzle, true, 1, "GEOM"];
TRACE_1("",_intersections);
if (_intersections isEqualTo []) then {
_groundPosition set [2, (getTerrainHeightASL _groundPosition) + 0.005];
WARNING_1("no ground intersections for nozzle drop @ %1",_groundPosition);
if (!isNull _unit) then {
_groundPosition = getPosASL _unit; // place at unit's feet
} else {
_groundPosition set [2, (getTerrainHeightASL _groundPosition) + 0.005];
};
} else {
_groundPosition = ((_intersections select 0) select 0) vectorAdd [0,0,0.005];
};
Expand Down
20 changes: 20 additions & 0 deletions docs/wiki/framework/fastroping-framework.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,23 @@ To create a custom FRIES you will need to look out for a few things:
The `onCut` and `onPrepare` functions are responsible for opening/closing the helicopter doors and animating the FRIES (if equipped) when the FRIES gets prepared and the ropes get cut.

ACE3 provides two functions that are compatible with most helicopters and all ACE3 FRIES. It is recommended to use the naming scheme for doors that is present in the base game so you can use the already existing functions `ace_fastroping_fnc_onCutCommon` and `ace_fastroping_fnc_onPrepareCommon`. You can however define your own functions if you so desire. Note that these functions run in the unscheduled environment, so commands like `sleep` and `waitUntil` will not work unless you use `spawn`. It is recommended to use `ace_common_fnc_waitAndExecute` and `ace_common_fnc_waitUntilAndExecute` instead though.

## 4. Scripting

### 4.1. Add FRIES to helicopter

`ace_fastroping_fnc_equipFRIES`

| | Arguments | Type | Optional (default value)
---| --------- | ---- | ------------------------
0 | Helicopter | Object | Required
**R** | None | None | Return value

### 4.2. Remove FRIES from helicopter

`ace_fastroping_fnc_unequipFRIES`

| | Arguments | Type | Optional (default value)
---| --------- | ---- | ------------------------
0 | Helicopter | Object | Required
**R** | None | None | Return value