Put ship control names in separate resource DLL

This resolves the issue where players with foreign installs will have the blank ship control names. Now they'll at least still be displayed in English, but they can always be translated later. This commit also adds a few missing tool tips for the new controls.
This commit is contained in:
C.S. Melis 2022-09-02 01:26:49 +02:00
parent 1923b06977
commit 9318755245
5 changed files with 16 additions and 15 deletions

View File

@ -250,13 +250,13 @@ key = 39
[KeyCmd] [KeyCmd]
nickname = USER_MANEUVER_SLIDE_EVADE_UP nickname = USER_MANEUVER_SLIDE_EVADE_UP
ids_name = 1958 ids_name = 1958
ids_info = 3321 ids_info = 458763
state = keydown, keyup state = keydown, keyup
[KeyCmd] [KeyCmd]
nickname = USER_MANEUVER_SLIDE_EVADE_DOWN nickname = USER_MANEUVER_SLIDE_EVADE_DOWN
ids_name = 1959 ids_name = 1959
ids_info = 3322 ids_info = 458764
state = keydown, keyup state = keydown, keyup
[KeyCmd] [KeyCmd]
@ -411,27 +411,27 @@ key = 34
[KeyCmd] [KeyCmd]
nickname = USER_FORMATION_LIST nickname = USER_FORMATION_LIST
ids_name = 1936 ids_name = 458756
ids_info = 2415 ids_info = 458761
state = keydown state = keydown
[KeyCmd] [KeyCmd]
nickname = USER_SWITCH_TO_TARGET nickname = USER_SWITCH_TO_TARGET
ids_name = 1937 ids_name = 458757
ids_info = 2409 ids_info = 2409
state = keydown state = keydown
key = "T", ALT key = "T", ALT
[KeyCmd] [KeyCmd]
nickname = USER_NEXT_SUBTARGET nickname = USER_NEXT_SUBTARGET
ids_name = 1938 ids_name = 458758
ids_info = 2055 ids_info = 2055
state = keydown state = keydown
key = "S", control key = "S", control
[KeyCmd] [KeyCmd]
nickname = USER_PREV_SUBTARGET nickname = USER_PREV_SUBTARGET
ids_name = 1939 ids_name = 458759
ids_info = 2056 ids_info = 2056
state = keydown state = keydown
key = "S", SHIFT key = "S", SHIFT
@ -824,15 +824,15 @@ key = 9
[KeyCmd] [KeyCmd]
nickname = USER_AFTERBURN_ON nickname = USER_AFTERBURN_ON
ids_name = 1500 ids_name = 458753
ids_info = 2262 ids_info = 2262
state = keydown state = keydown
key = 9, control key = 9, control
[KeyCmd] [KeyCmd]
nickname = USER_AFTERBURN_OFF nickname = USER_AFTERBURN_OFF
ids_name = 1502 ids_name = 458754
ids_info = 3112 ids_info = 458768
state = keydown state = keydown
key = 9, SHIFT key = 9, SHIFT
@ -844,8 +844,8 @@ state = keydown
[KeyCmd] [KeyCmd]
nickname = USER_TOGGLE_LEVEL_CAMERA nickname = USER_TOGGLE_LEVEL_CAMERA
ids_name = 3323 ids_name = 458765
ids_info = 3324 ids_info = 458766
state = keydown state = keydown
[KeyCmd] [KeyCmd]

View File

@ -11,8 +11,8 @@ option = 1400, 2449, 100, false, false
option = 1401, 2450, 100, false, false option = 1401, 2450, 100, false, false
option = 1495, 1769, 1, false, false option = 1495, 1769, 1, false, false
option = 1555, 1771, 0, false, false option = 1555, 1771, 0, false, false
option = 1498, -1, 1, false, false option = 1498, 458770, 1, false, false
option = 1407, -1, 2, true, false option = 1407, 458771, 2, true, false
[Audio] [Audio]
option = -1 option = -1
@ -33,7 +33,7 @@ option = 1895, 2446, 100, true, false, -1, -1
option = -1 option = -1
option = 1493, 1774, 100, true, false, 0, 100 option = 1493, 1774, 100, true, false, 0, 100
option = 1404, 1775, 100, true, false, 0, 100 option = 1404, 1775, 100, true, false, 0, 100
option = 1624, -1, 100, true, false, 0, 100 option = 1624, 458773, 100, true, false, 0, 100
option = 1622, 1777, 100, true, false, 0, 100 option = 1622, 1777, 100, true, false, 0, 100
option = 1483, 1778, 100, true, false, 0, 100 option = 1483, 1778, 100, true, false, 0, 100
option = 1403, 1780, 100, true, false, 0, 100 option = 1403, 1780, 100, true, false, 0, 100

BIN
EXE/controls.dll Normal file

Binary file not shown.

View File

@ -62,6 +62,7 @@ DLL = NameResources.dll ; Contains names of things, primarily.
DLL = EquipResources.dll ;Contains names of equipment (in string table) and infocards for equipment (in HTML resources) DLL = EquipResources.dll ;Contains names of equipment (in string table) and infocards for equipment (in HTML resources)
DLL = OfferBribeResources.dll ; Contains random mission offers and bribes DLL = OfferBribeResources.dll ; Contains random mission offers and bribes
DLL = MiscTextInfo2.dll ;Contains MP UI elements as well as other misc. text DLL = MiscTextInfo2.dll ;Contains MP UI elements as well as other misc. text
DLL = Controls.dll ;Contains the names of some additional controls in the options menu
[Data] [Data]

Binary file not shown.