Skip to content

Commit 5fa70fb

Browse files
committed
highlight keys in controls ui & provide custom binds instruction
1 parent 5af893d commit 5fa70fb

File tree

1 file changed

+51
-43
lines changed

1 file changed

+51
-43
lines changed

config/ui/profile.cfg

Lines changed: 51 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -550,51 +550,52 @@ uimenu "controls" "Controls Overview" $alerttex [
550550
uihlist 0 [
551551
uifill 0 .25
552552
uivlist 0 [
553-
uitext "The player can be moved around with the WASD and arrow keys."
554-
uitext "Since most of the keybinds are proximate to the WASD keys,"
555-
uitext "it is recommended that you use them instead of the arrow keys."
553+
uitext "The player can be moved around with the ^f2WASD^f7 and ^f2arrow^f7 keys."
554+
uifill 0 $ui_padnormal
555+
uitext "Since most of the keybinds are proximate to the ^f2WASD^f7 keys,"
556+
uitext "it is recommended that you use them instead of the ^f2arrow^f7 keys."
556557
] uialign -1 0
557558
]
558559
] 2 [
559560
ui_profile_welcome_keyboard "space"
560561
uihlist 0 [
561562
uifill 0 .25
562563
uivlist 0 [
563-
uitext "To jump, press the spacebar."
564+
uitext "To jump, press the ^f2spacebar^f7."
564565
uitext "Additional jump boosts can be carried out with additional presses."
565566
uitext 0 $ui_padnormal
566567
uitext "Jump boosts have their direction based upon directional keys pressed:"
567-
uitextleft "* A/Left: Leftwards"
568-
uitextleft "* D/Right: Rightwards"
569-
uitextleft "* W/Up: Forwards"
570-
uitextleft "* S/Down: Backwards"
571-
uitextleft "* L Shift: Downwards"
572-
uitextleft "* None: Upwards"
568+
uitextleft "* ^f2A^f7/^f2Left^f7: Leftwards"
569+
uitextleft "* ^f2D^f7/^f2Right^f7: Rightwards"
570+
uitextleft "* ^f2W^f7/^f2Up^f7: Forwards"
571+
uitextleft "* ^f2S^f7/^f2Down^f7: Backwards"
572+
uitextleft "* ^f2Left Shift^f7: Downwards"
573+
uitextleft "* ^f2None^f7: Upwards"
573574
] uialign -1 0
574575
]
575576
] 3 [
576577
ui_profile_welcome_keyboard "q"
577578
uihlist 0 [
578579
uifill 0 .25
579580
uivlist 0 [
580-
uitext "To perform special actions, like parkour, use the Q key."
581+
uitext "To perform special actions, like parkour, use the ^f2Q^f7 key."
581582
uifill 0 $ui_padnormal
582-
uitext "The Q key can be used for the following:"
583-
uitextleft "* Wall running: Look parallel to a wall after hitting it midair; press Q to run on it"
584-
uitextleft "* Wall climbing: Look upwards and press Q while adjacent to a wall to climb it"
585-
uitextleft "* Melee attacks: Press Q while midair to kick nearby opponents"
583+
uitext "The ^f2Q^f7 key can be used for the following:"
584+
uitextleft "* Wall running: Look parallel to a wall after hitting it midair; press ^f2Q^f7 to run on it."
585+
uitextleft "* Wall climbing: Look upwards and press ^f2Q^f7 while adjacent to a wall to climb it."
586+
uitextleft "* Melee attacks: Press ^f2Q^f7 while midair to kick nearby opponents."
586587
] uialign -1 0
587588
]
588589
] 4 [
589590
ui_profile_welcome_keyboard "lctrl lshift"
590591
uihlist 0 [
591592
uifill 0 .25
592593
uivlist 0 [
593-
uitext "To reduce movement speed and slightly improve accuracy, use the lctrl key to walk."
594-
uitext "To reduce one's profile and improve accuracy, use the left shift key to crouch."
594+
uitext "To reduce movement speed and slightly improve accuracy, use the ^f2lctrl^f7 key to walk."
595+
uitext "To reduce one's profile and improve accuracy, use the ^f2left shift^f7 key to crouch."
595596
uifill 0 $ui_padnormal
596-
uitext "The left shift key also can be used to perform impulse slides"
597-
uitext "To slide, land from a jump while pressing the left shift key."
597+
uitext "The ^f2left shift^f7 key also can be used to perform impulse slides."
598+
uitext "To slide, land from a jump while pressing the ^f2left shift^f7 key."
598599
uitext "Starting a jump while in the process of a slide allows for larger jumps."
599600
] uialign -1 0
600601
]
@@ -603,10 +604,10 @@ uimenu "controls" "Controls Overview" $alerttex [
603604
uihlist 0 [
604605
uifill 0 .25
605606
uivlist 0 [
606-
uitext "The mouse buttons fire the weapons' primary and secondary fires."
607+
uitext "The ^f2mouse buttons^f7 fire the weapons' primary and secondary fires."
607608
uitext "Each weapon has two fire modes."
608609
uifill 0 $ui_padnormal
609-
uitext "The R key can be used to reload the weapon"
610+
uitext "The ^f2R^f7 key can be used to reload the weapon."
610611
uitext "Automatic reloading can be enabled in the settings menu if desired."
611612
] uialign -1 0
612613
]
@@ -616,66 +617,73 @@ uimenu "controls" "Controls Overview" $alerttex [
616617
uifill 0 .25
617618
uivlist 0 [
618619
uitext "You selected weapons earlier in the profile setup."
619-
uitext "In game, these can be quickly selected by the keys numbered 1, 2, and 3."
620-
uitext "The pistol takes key 1, and the two main weapons take 2 and 3 respectively."
620+
uitext "In game, these can be quickly selected by the keys numbered ^f21^f7, ^f22^f7, and ^f23^f7."
621+
uitext "The pistol takes key ^f21^f7, and the two main weapons take ^f22^f7 and ^f23^f7 respectively."
621622
uitext 0 $ui_padnormal
622-
uitext "These can be toggled through by the scroll wheel as well."
623+
uitext "These can be toggled through by the ^f2scroll wheel^f7 as well."
623624
] uialign -1 0
624625
]
625626
] 7 [
626627
ui_profile_welcome_keyboard "4 5"
627628
uihlist 0 [
628629
uifill 0 .25
629630
uivlist 0 [
630-
uitext "Upon picking up explosives and mines, they will appear in slots 4 and 5."
631+
uitext "Upon picking up explosives and mines, they will appear in slots ^f24^f7 and ^f25^f7."
631632
uifill 0 $ui_padnormal
632-
uitext "These items will also appear by using the scroll wheel."
633+
uitext "These items will also appear by using the ^f2scroll wheel^f7."
633634
] uialign -1 0
634635
]
635636
] 8 [
636-
ui_profile_welcome_keyboard "e f z"
637+
ui_profile_welcome_keyboard "t y backquote tab"
637638
uihlist 0 [
638639
uifill 0 .25
639640
uivlist 0 [
640-
uitext "The E, F, and Z keys are used to interact with objects in game."
641+
uitext "To chat with everyone, regardless of team, use the ^f2T^f7 key."
641642
uifill 0 $ui_padnormal
642-
uitext "* The E key picks up items such as ammo and explosives (mines and grenades)."
643-
uitextleft "* The E key also is used to interact with ingame triggers."
644-
uitextleft "* The F key picks up the flag in CTF from your own base."
645-
uitextleft "* The Z key drops items, such as grenades and mines."
643+
uitext "To chat with just your own team in team games use ^f2Y^f7 key."
644+
uifill 0 $ui_padwin
645+
uitext "The ^f2backquote^f7 key opens the command line for the game."
646+
uifill 0 $ui_padnormal
647+
uitext "The ^f2tab^f7 key opens the scoreboard."
648+
uitext "Your score and those of the other players is listed here."
646649
] uialign -1 0
647650
]
648651
] 9 [
649-
ui_profile_welcome_keyboard "backquote tab"
652+
ui_profile_welcome_keyboard "e f z"
650653
uihlist 0 [
651654
uifill 0 .25
652655
uivlist 0 [
653-
uitext "The backquote key opens the command line for the game."
656+
uitext "The ^f2E^f7, ^f2F^f7, and ^f2Z^f7 keys are used to interact with objects in game."
654657
uifill 0 $ui_padnormal
655-
uitext "The tab key opens the scoreboard."
656-
uitext "Your score and those of the other players is listed here."
658+
uitext "* The ^f2E^f7 key picks up items such as ammo and explosives (mines and grenades)."
659+
uitextleft "* The ^f2E^f7 key also is used to interact with ingame triggers."
660+
uitextleft "* The ^f2F^f7 key picks up the flag in CTF from your own base."
661+
uitextleft "* The ^f2Z^f7 key drops items, such as grenades and mines."
657662
] uialign -1 0
658663
]
659664
] 10 [
660665
ui_profile_welcome_keyboard "x v b"
661666
uihlist 0 [
662667
uifill 0 .25
663668
uivlist 0 [
664-
uitext "The X, V, and B keys control the voice compasses."
665-
uitextleft "* The X key opens the team compass, for sending quick messages to teammates."
666-
uitextleft "* The V key opens the voice compass, for broadcasting quick messages to all."
667-
uitextleft "* The B key, when applicable, opens the bot command compass menu."
669+
uitext "The ^f2X^f7, ^f2V^f7, and ^f2B^f7 keys control the voice compasses."
670+
uitextleft "* The ^f2X^f7 key opens the team compass, for sending quick messages to teammates."
671+
uitextleft "* The ^f2V^f7 key opens the voice compass, for broadcasting quick messages to all."
672+
uitextleft "* The ^f2B^f7 key, when applicable, opens the bot command compass menu."
668673
] uialign -1 0
669674
]
670675
] 11 [
671676
ui_profile_welcome_keyboard "w a s d left right up down q 1 2 3 4 e r t y lshift lctrl z x v b tab backquote escape f space m"
672677
uihlist 0 [
673678
uifill 0 .25
674679
uivlist 0 [
675-
uitext "Lastly, use the M key to get a quick keybinds reference while ingame."
680+
uitext "Lastly, use the ^f2M^f7 key to get a quick keybinds reference while ingame."
676681
uifill 0 $ui_padnormal
677682
uitext "You're now ready to jump into the movement tutorial level."
678-
uitext "This will concretely teach some of the advanced movement needed to be successful."
683+
uitext "This will teach some of the advanced movement needed to be successful."
684+
uifill 0 $ui_padnormal
685+
uitext "If you have a ^f2nonstandard^f7 keyboard layout, continue to the parkour tutorial"
686+
uitext "and then use ^f2[Esc]^f7 > ^f2Settings^f7 > ^f2Controls^f7 > ^f2Customize Keybinds^f7 to change binds."
679687
] uialign -1 0
680688
]
681689
]
@@ -685,7 +693,7 @@ uimenu "controls" "Controls Overview" $alerttex [
685693
uihlist $ui_padbutton [
686694
uialign 0 1
687695
uibuttonw "Back" [ui_profile_controls_tab = (- $ui_profile_controls_tab 1)] 0 $colourred
688-
uibuttonw "Close" [uiclose controls; ui_profile_controls = 0; race tutorial $mutsbitffa] 0 $colourgreen
696+
uibuttonw "Continue" [uiclose controls; ui_profile_controls = 0; race tutorial $mutsbitffa] 0 $colourgreen
689697
]
690698
] [
691699
uihlist $ui_padbutton [

0 commit comments

Comments
 (0)