This commit is contained in:
2026-03-12 18:34:16 +01:00
parent a2a5f04dd4
commit f52ef032c1
4 changed files with 58 additions and 3 deletions

View File

@@ -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}" {
}
}
}
}
}
}
}
}
}
}
}

Binary file not shown.

View File

@@ -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) {

View File

@@ -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;
}