mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Rename Advanced Throwing component to be in-line with other advanced_ components (#4318)
* Rename Advanced Throwing component to be in-line with other advanced_ components * Rename wiki page as well * Add redirect from old wiki page
This commit is contained in:
parent
12de3265b8
commit
0e1f2828a9
1
addons/advanced_throwing/$PBOPREFIX$
Normal file
1
addons/advanced_throwing/$PBOPREFIX$
Normal file
@ -0,0 +1 @@
|
|||||||
|
z\ace\addons\advanced_throwing
|
@ -1,4 +1,4 @@
|
|||||||
ace_advancedthrowing
|
ace_advanced_throwing
|
||||||
===================
|
===================
|
||||||
|
|
||||||
Integrates advanced throwing by [Dslyecxi](https://github.com/dslyecxi).
|
Integrates advanced throwing by [Dslyecxi](https://github.com/dslyecxi).
|
@ -9,7 +9,7 @@
|
|||||||
* Can Prepare <BOOL>
|
* Can Prepare <BOOL>
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* [unit] call ace_advancedthrowing_fnc_canPrepare
|
* [unit] call ace_advanced_throwing_fnc_canPrepare
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
@ -9,7 +9,7 @@
|
|||||||
* Can Throw <BOOL>
|
* Can Throw <BOOL>
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* [unit] call ace_advancedthrowing_fnc_canThrow
|
* [unit] call ace_advanced_throwing_fnc_canThrow
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
@ -9,7 +9,7 @@
|
|||||||
* Flight path (just for debug) <ARRAY>
|
* Flight path (just for debug) <ARRAY>
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_advancedthrowing_fnc_drawArc
|
* call ace_advanced_throwing_fnc_drawArc
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
@ -9,7 +9,7 @@
|
|||||||
* None
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_advancedthrowing_fnc_drawThrowable
|
* call ace_advanced_throwing_fnc_drawThrowable
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
@ -10,7 +10,7 @@
|
|||||||
* None
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* [unit, "reason"] call ace_advancedthrowing_fnc_exitThrowMode
|
* [unit, "reason"] call ace_advanced_throwing_fnc_exitThrowMode
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
@ -9,7 +9,7 @@
|
|||||||
* None
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* "magazine" call ace_advancedthrowing_fnc_getMuzzle
|
* "magazine" call ace_advanced_throwing_fnc_getMuzzle
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
@ -11,7 +11,7 @@
|
|||||||
* None
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* [logic, [unit1, unit2], true] call ace_advancedthrowing_fnc_moduleInit
|
* [logic, [unit1, unit2], true] call ace_advanced_throwing_fnc_moduleInit
|
||||||
*
|
*
|
||||||
* Public:
|
* Public:
|
||||||
* No
|
* No
|
@ -13,7 +13,7 @@
|
|||||||
* None
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* [control, 5, false, true, false] call ace_advancedthrowing_fnc_onKeyDown
|
* [control, 5, false, true, false] call ace_advanced_throwing_fnc_onKeyDown
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
@ -9,7 +9,7 @@
|
|||||||
* None
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* [] call ace_advancedthrowing_fnc_onMouseButtonDown
|
* [] call ace_advanced_throwing_fnc_onMouseButtonDown
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
@ -9,7 +9,7 @@
|
|||||||
* None
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* [] call ace_advancedthrowing_fnc_onMouseScroll
|
* [] call ace_advanced_throwing_fnc_onMouseScroll
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
@ -10,7 +10,7 @@
|
|||||||
* None
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* [helper, player] call ace_advancedthrowing_fnc_pickUp
|
* [helper, player] call ace_advanced_throwing_fnc_pickUp
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
@ -9,7 +9,7 @@
|
|||||||
* None
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* [unit] call ace_advancedthrowing_fnc_prepare
|
* [unit] call ace_advanced_throwing_fnc_prepare
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
@ -10,7 +10,7 @@
|
|||||||
* None
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* [unit] call ace_advancedthrowing_fnc_prime
|
* [unit] call ace_advanced_throwing_fnc_prime
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
@ -10,7 +10,7 @@
|
|||||||
* Nothing
|
* Nothing
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_advancedthrowing_fnc_renderPickUpInteraction
|
* call ace_advanced_throwing_fnc_renderPickUpInteraction
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
@ -9,7 +9,7 @@
|
|||||||
* None
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* unit call ace_advancedthrowing_fnc_throw
|
* unit call ace_advanced_throwing_fnc_throw
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
@ -15,7 +15,7 @@
|
|||||||
* None
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* [unit, "weapon", "muzle", "mode", "ammo", "magazine", projectile] call ace_advancedthrowing_fnc_throwFiredXEH
|
* [unit, "weapon", "muzle", "mode", "ammo", "magazine", projectile] call ace_advanced_throwing_fnc_throwFiredXEH
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
@ -9,7 +9,7 @@
|
|||||||
* None
|
* None
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* call ace_advancedthrowing_fnc_updateControlsHint
|
* call ace_advanced_throwing_fnc_updateControlsHint
|
||||||
*
|
*
|
||||||
* Public: No
|
* Public: No
|
||||||
*/
|
*/
|
1
addons/advanced_throwing/functions/script_component.hpp
Normal file
1
addons/advanced_throwing/functions/script_component.hpp
Normal file
@ -0,0 +1 @@
|
|||||||
|
#include "\z\ace\addons\advanced_throwing\script_component.hpp"
|
@ -1,4 +1,4 @@
|
|||||||
#define COMPONENT advancedthrowing
|
#define COMPONENT advanced_throwing
|
||||||
#define COMPONENT_BEAUTIFIED Advanced Throwing
|
#define COMPONENT_BEAUTIFIED Advanced Throwing
|
||||||
#include "\z\ace\addons\main\script_mod.hpp"
|
#include "\z\ace\addons\main\script_mod.hpp"
|
||||||
|
|
||||||
@ -8,12 +8,12 @@
|
|||||||
// #define CBA_DEBUG_SYNCHRONOUS
|
// #define CBA_DEBUG_SYNCHRONOUS
|
||||||
// #define ENABLE_PERFORMANCE_COUNTERS
|
// #define ENABLE_PERFORMANCE_COUNTERS
|
||||||
|
|
||||||
#ifdef DEBUG_ENABLED_ADVANCEDTHROWING
|
#ifdef DEBUG_ENABLED_ADVANCED_THROWING
|
||||||
#define DEBUG_MODE_FULL
|
#define DEBUG_MODE_FULL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DEBUG_SETTINGS_ADVANCEDTHROWING
|
#ifdef DEBUG_SETTINGS_ADVANCED_THROWING
|
||||||
#define DEBUG_SETTINGS DEBUG_SETTINGS_ADVANCEDTHROWING
|
#define DEBUG_SETTINGS DEBUG_SETTINGS_ADVANCED_THROWING
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "\z\ace\addons\main\script_macros.hpp"
|
#include "\z\ace\addons\main\script_macros.hpp"
|
@ -1,87 +1,87 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project name="ACE">
|
<Project name="ACE">
|
||||||
<Package name="AdvancedThrowing">
|
<Package name="Advanced_Throwing">
|
||||||
<Key ID="STR_ACE_AdvancedThrowing_Category">
|
<Key ID="STR_ACE_Advanced_Throwing_Category">
|
||||||
<English>Advanced Throwing</English>
|
<English>Advanced Throwing</English>
|
||||||
<Russian>Улучшенный бросок гранат</Russian>
|
<Russian>Улучшенный бросок гранат</Russian>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_AdvancedThrowing_Module_Description">
|
<Key ID="STR_ACE_Advanced_Throwing_Module_Description">
|
||||||
<English>Allows changing advanced throwing behaviour.</English>
|
<English>Allows changing advanced throwing behaviour.</English>
|
||||||
<Russian>Позволяет настраивать поведение улучшенного броска гранат.</Russian>
|
<Russian>Позволяет настраивать поведение улучшенного броска гранат.</Russian>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_AdvancedThrowing_Enable_DisplayName">
|
<Key ID="STR_ACE_Advanced_Throwing_Enable_DisplayName">
|
||||||
<English>Enable Advanced Throwing</English>
|
<English>Enable Advanced Throwing</English>
|
||||||
<Russian>Включить улучшенный бросок</Russian>
|
<Russian>Включить улучшенный бросок</Russian>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_AdvancedThrowing_Enable_Description">
|
<Key ID="STR_ACE_Advanced_Throwing_Enable_Description">
|
||||||
<English>Enables advanced throwing system.</English>
|
<English>Enables advanced throwing system.</English>
|
||||||
<Russian>Включает систему улучшенного броска.</Russian>
|
<Russian>Включает систему улучшенного броска.</Russian>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_AdvancedThrowing_ShowThrowArc_DisplayName">
|
<Key ID="STR_ACE_Advanced_Throwing_ShowThrowArc_DisplayName">
|
||||||
<English>Show Throw Arc</English>
|
<English>Show Throw Arc</English>
|
||||||
<Russian>Показать траекторию броска</Russian>
|
<Russian>Показать траекторию броска</Russian>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_AdvancedThrowing_ShowThrowArc_Description">
|
<Key ID="STR_ACE_Advanced_Throwing_ShowThrowArc_Description">
|
||||||
<English>Enables visualization of the throw arc (where throwable will fly).</English>
|
<English>Enables visualization of the throw arc (where throwable will fly).</English>
|
||||||
<Russian>Включает визуализацию траектории броска (как полетит граната).</Russian>
|
<Russian>Включает визуализацию траектории броска (как полетит граната).</Russian>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_AdvancedThrowing_ShowMouseControls_DisplayName">
|
<Key ID="STR_ACE_Advanced_Throwing_ShowMouseControls_DisplayName">
|
||||||
<English>Show Throwing Mouse Controls</English>
|
<English>Show Throwing Mouse Controls</English>
|
||||||
<Russian>Показывать управление мышью</Russian>
|
<Russian>Показывать управление мышью</Russian>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_AdvancedThrowing_ShowMouseControls_Description">
|
<Key ID="STR_ACE_Advanced_Throwing_ShowMouseControls_Description">
|
||||||
<English>Enables visual cues for mouse controls when throwable is prepared.</English>
|
<English>Enables visual cues for mouse controls when throwable is prepared.</English>
|
||||||
<Russian>Включает отображение подсказок по управлению мышью, когда граната подготовлена.</Russian>
|
<Russian>Включает отображение подсказок по управлению мышью, когда граната подготовлена.</Russian>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_AdvancedThrowing_EnablePickUp_DisplayName">
|
<Key ID="STR_ACE_Advanced_Throwing_EnablePickUp_DisplayName">
|
||||||
<English>Enable Throwables Pick Up</English>
|
<English>Enable Throwables Pick Up</English>
|
||||||
<Russian>Включить подбор гранат</Russian>
|
<Russian>Включить подбор гранат</Russian>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_AdvancedThrowing_EnablePickUp_Description">
|
<Key ID="STR_ACE_Advanced_Throwing_EnablePickUp_Description">
|
||||||
<English>Enables ability to pick up throwables from the ground.</English>
|
<English>Enables ability to pick up throwables from the ground.</English>
|
||||||
<Russian>Включает возможность подбирать гранаты с земли.</Russian>
|
<Russian>Включает возможность подбирать гранаты с земли.</Russian>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_AdvancedThrowing_EnablePickUpAttached_DisplayName">
|
<Key ID="STR_ACE_Advanced_Throwing_EnablePickUpAttached_DisplayName">
|
||||||
<English>Enable Attached Throwables Pick Up</English>
|
<English>Enable Attached Throwables Pick Up</English>
|
||||||
<Russian>Включить подбор прикрепленных гранат</Russian>
|
<Russian>Включить подбор прикрепленных гранат</Russian>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_AdvancedThrowing_EnablePickUpAttached_Description">
|
<Key ID="STR_ACE_Advanced_Throwing_EnablePickUpAttached_Description">
|
||||||
<English>Enables ability to pick up throwables from attached objects.</English>
|
<English>Enables ability to pick up throwables from attached objects.</English>
|
||||||
<Russian>Включает возможность подбирать гранаты, прикрепленные к объектам.</Russian>
|
<Russian>Включает возможность подбирать гранаты, прикрепленные к объектам.</Russian>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_AdvancedThrowing_Prepare">
|
<Key ID="STR_ACE_Advanced_Throwing_Prepare">
|
||||||
<English>Prepare/Change Throwable</English>
|
<English>Prepare/Change Throwable</English>
|
||||||
<Russian>Подготовить/заменить гранату</Russian>
|
<Russian>Подготовить/заменить гранату</Russian>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_AdvancedThrowing_dropModeHold">
|
<Key ID="STR_ACE_Advanced_Throwing_dropModeHold">
|
||||||
<English>Throwable Drop Mode (Hold)</English>
|
<English>Throwable Drop Mode (Hold)</English>
|
||||||
<Russian>Режим броска гранаты (удерживать)</Russian>
|
<Russian>Режим броска гранаты (удерживать)</Russian>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_AdvancedThrowing_DropModeToggle">
|
<Key ID="STR_ACE_Advanced_Throwing_DropModeToggle">
|
||||||
<English>Throwable Drop Mode (Toggle)</English>
|
<English>Throwable Drop Mode (Toggle)</English>
|
||||||
<Russian>Режим броска гранаты (переключить)</Russian>
|
<Russian>Режим броска гранаты (переключить)</Russian>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_AdvancedThrowing_Primed">
|
<Key ID="STR_ACE_Advanced_Throwing_Primed">
|
||||||
<English>Primed</English>
|
<English>Primed</English>
|
||||||
<Russian>Подготовлена</Russian>
|
<Russian>Подготовлена</Russian>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_AdvancedThrowing_Throw">
|
<Key ID="STR_ACE_Advanced_Throwing_Throw">
|
||||||
<English>Throw</English>
|
<English>Throw</English>
|
||||||
<Russian>Бросить</Russian>
|
<Russian>Бросить</Russian>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_AdvancedThrowing_ChangeMode">
|
<Key ID="STR_ACE_Advanced_Throwing_ChangeMode">
|
||||||
<English>(Scroll) Change Mode</English>
|
<English>(Scroll) Change Mode</English>
|
||||||
<Russian>(Скролл) Изменить режим</Russian>
|
<Russian>(Скролл) Изменить режим</Russian>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_AdvancedThrowing_Extend">
|
<Key ID="STR_ACE_Advanced_Throwing_Extend">
|
||||||
<English>(Scroll) Extend</English>
|
<English>(Scroll) Extend</English>
|
||||||
<Russian>(Скролл) Увеличить</Russian>
|
<Russian>(Скролл) Увеличить</Russian>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_AdvancedThrowing_Cook">
|
<Key ID="STR_ACE_Advanced_Throwing_Cook">
|
||||||
<English>(Click) Cook</English>
|
<English>(Click) Cook</English>
|
||||||
<Russian>(Клик) Подготовить</Russian>
|
<Russian>(Клик) Подготовить</Russian>
|
||||||
</Key>
|
</Key>
|
||||||
<Key ID="STR_ACE_AdvancedThrowing_PickUp">
|
<Key ID="STR_ACE_Advanced_Throwing_PickUp">
|
||||||
<English>Pick Up</English>
|
<English>Pick Up</English>
|
||||||
<Russian>Подобрать</Russian>
|
<Russian>Подобрать</Russian>
|
||||||
</Key>
|
</Key>
|
@ -1 +0,0 @@
|
|||||||
z\ace\addons\advancedthrowing
|
|
@ -1 +0,0 @@
|
|||||||
#include "\z\ace\addons\advancedthrowing\script_component.hpp"
|
|
@ -10,6 +10,7 @@ version:
|
|||||||
major: 3
|
major: 3
|
||||||
minor: 7
|
minor: 7
|
||||||
patch: 0
|
patch: 0
|
||||||
|
redirect_from: "/wiki/feature/advancedthrowing.html"
|
||||||
---
|
---
|
||||||
|
|
||||||
## 1. Overview
|
## 1. Overview
|
||||||
@ -62,4 +63,4 @@ Make sure to use different keybinds for Advanced Throwing or unbind vanilla thro
|
|||||||
|
|
||||||
## 3. Dependencies
|
## 3. Dependencies
|
||||||
|
|
||||||
{% include dependencies_list.md component="advancedthrowing" %}
|
{% include dependencies_list.md component="advanced_throwing" %}
|
Loading…
Reference in New Issue
Block a user