forked from Simnation/Main
31 lines
1.6 KiB
Lua
31 lines
1.6 KiB
Lua
![]() |
RegisterKeyMapping('+angleUp1', 'Axis1 +', 'keyboard', 'NUMPAD8')
|
||
|
RegisterKeyMapping('+angleDown1', 'Axis1 -', 'keyboard', 'NUMPAD2')
|
||
|
RegisterKeyMapping('+angleUp2', 'Axis2 +', 'keyboard', 'NUMPAD4')
|
||
|
RegisterKeyMapping('+angleDown2', 'Axis2 -', 'keyboard', 'NUMPAD6')
|
||
|
RegisterKeyMapping('+angleUp3', 'Axis3 +', 'keyboard', 'NUMPAD7')
|
||
|
RegisterKeyMapping('+angleDown3', 'Axis3 -', 'keyboard', 'NUMPAD9')
|
||
|
RegisterKeyMapping('+angleUp4', 'Axis4 +', 'keyboard', 'NUMPAD1')
|
||
|
RegisterKeyMapping('+angleDown4', 'Axis4 -', 'keyboard', 'NUMPAD3')
|
||
|
RegisterKeyMapping('+angleUp5', 'Axis5 +', 'keyboard', 'NUMPAD0')
|
||
|
RegisterKeyMapping('+angleDown5', 'Axis5 -', 'keyboard', 'DECIMAL')
|
||
|
RegisterKeyMapping('+blendUp1', 'Blend Axis +', 'keyboard', 'ADD')
|
||
|
RegisterKeyMapping('+blendDown1', 'Blend Axis -', 'keyboard', 'SUBTRACT')
|
||
|
|
||
|
RegisterKeyMapping('+swapSeat', 'Swap seat', 'keyboard', 'DIVIDE')
|
||
|
RegisterKeyMapping('+bcspact', 'Special Action', 'keyboard', 'G')
|
||
|
|
||
|
RegisterKeyMapping('+bcst1', 'Toggle Extra 1', 'keyboard', 'NUMPAD1')
|
||
|
RegisterKeyMapping('+bcst2', 'Toggle Extra 2', 'keyboard', 'NUMPAD2')
|
||
|
RegisterKeyMapping('+bcst3', 'Toggle Extra 3', 'keyboard', 'NUMPAD3')
|
||
|
|
||
|
RegisterKeyMapping('+bcstdt', 'Toggle Door', 'keyboard', 'E')
|
||
|
--Help Text Messages
|
||
|
function message(lineOne, lineTwo, lineThree, duration, loop)
|
||
|
BeginTextCommandDisplayHelp("THREESTRINGS")
|
||
|
AddTextComponentSubstringPlayerName(lineOne)
|
||
|
AddTextComponentSubstringPlayerName(lineTwo or "")
|
||
|
AddTextComponentSubstringPlayerName(lineThree or "")
|
||
|
|
||
|
-- shape (always 0), loop (bool), makeSound (bool), duration (5000 max 5 sec)
|
||
|
EndTextCommandDisplayHelp(0, loop, false, duration or 5000)
|
||
|
end
|