diff --git a/Configs/System/chimeraInputCommon.conf b/Configs/System/chimeraInputCommon.conf index 1f8858e..66f4e1b 100644 --- a/Configs/System/chimeraInputCommon.conf +++ b/Configs/System/chimeraInputCommon.conf @@ -54,4 +54,62 @@ ActionManager { } } } + Contexts { + ActionContext CharacterGeneralContext { + Actions { + Action SCR_VoiceRangeUp { + Type Digital + InputSource InputSourceSum "{68D910D1566B1F69}" { + Sources { + InputSourceValue "{68D910D19D8247E3}" { + Input "keyboard:KC_ADD" + Filter InputFilterDown "{68D910D1E211D9EE}" { + } + } + InputSourceCombo "{68D910D020318E6C}" { + Sources { + InputSourceValue "{68D910D02B38AFF1}" { + Input "gamepad0:x" + Filter InputFilterHold "{68D910D03203DD84}" { + } + } + InputSourceValue "{68D910D03F74DB7E}" { + Input "gamepad0:shoulder_right" + Filter InputFilterHold "{68D910D0092EBAA7}" { + } + } + } + } + } + } + } + Action SCR_VoiceRangeDown { + Type Digital + InputSource InputSourceSum "{68D910D018C9121B}" { + Sources { + InputSourceValue "{68D910D06648D071}" { + Input "keyboard:KC_SUBTRACT" + Filter InputFilterDown "{68D910D06BF572E0}" { + } + } + InputSourceCombo "{68D910D075498A41}" { + Sources { + InputSourceValue "{68D910D071B14420}" { + Input "gamepad0:x" + Filter InputFilterDown "{68D910D07A2065FA}" { + } + } + InputSourceValue "{68D910D07874BBEB}" { + Input "gamepad0:shoulder_right" + Filter InputFilterDown "{68D910D043FCD9AE}" { + } + } + } + } + } + } + } + } + } + } } \ No newline at end of file diff --git a/resourceDatabase.rdb b/resourceDatabase.rdb index 18277e3..c4a8114 100644 Binary files a/resourceDatabase.rdb and b/resourceDatabase.rdb differ diff --git a/scripts/Game/VON/SCR_VoiceRangeController.c b/scripts/Game/VON/SCR_VoiceRangeController.c index 0a686ca..f1ea46c 100644 --- a/scripts/Game/VON/SCR_VoiceRangeController.c +++ b/scripts/Game/VON/SCR_VoiceRangeController.c @@ -64,8 +64,6 @@ class SCR_VoiceRangeController: ScriptComponent { if (!vonContr) return; // --- HYBRID LÖSUNG --- - // Da die Engine "pro Meter" im echten Voice-Chat nicht zulässt, - // ordnen wir die Meterzahl im Hintergrund den 3 Komponenten zu. typename compType = SCR_VoNNormal; // Standard if (m_iCurrentRange <= 15) { diff --git a/scripts/Game/VON/SCR_VoiceRangeDisplay.c b/scripts/Game/VON/SCR_VoiceRangeDisplay.c index 3e8581a..e7377b7 100644 --- a/scripts/Game/VON/SCR_VoiceRangeDisplay.c +++ b/scripts/Game/VON/SCR_VoiceRangeDisplay.c @@ -6,7 +6,6 @@ class SCR_VoiceRangeDisplay: SCR_InfoDisplay { super.OnStartDraw(owner); if (!m_wRoot) { - // Passe den Pfad zu deiner UI Layout-Datei an m_wRoot = GetGame().GetWorkspace().CreateWidgets("68D6F5422C10ACFC/UI/layouts/VoiceRange/VoiceRangeDynamicNumber.layout"); if (!m_wRoot) return; }