Files
OldThink/Resources/keybinds.yml
DrSmugleaf 245dbdaa3a Add pointing (#1435)
* Add pointing keybind and simple message

* Add turning the player when pointing

* Add pointing arrow

* Make the popup message appear on the pointing entity

* Add pointing to tiles and space and proper grammar

* Move pointing bind from HandsSystem to PointingSystem

* Add more messages for pointing depending on the viewer perspective

* Fix non nullable reference type

* Serialize pointing arrow duration

* Serialize pointing arrow step and add summaries

* Make arrow speed serializable and make it depend on frame time

* Add 0.2 second delay between pointings

* Add pointing arrow yaml examples

* Add the ability for pointing arrows to be rogue

* Remove rogue package reference

* Add point to verb

https://cdn.discordapp.com/attachments/313107470031650816/735268651636228197/unknown.png

* Add shift middle clicking an entity in the verb menu to point at it

* Add VV to PointingArrowComponent

* Increase pointing delay from 0.2 to 0.5 seconds

* Address reviews

* Fix nullability errors

* Separate pointing and rogue pointing code

* Fix rogue pointing arrow visuals

* Made rogue pointing arrow rotation adjustment readable for mortals

* Make rogue pointing arrows less destructive

* Cleanup more of the rogue pointing arrow code
2020-07-24 14:51:18 +02:00

263 lines
4.6 KiB
YAML

version: 1 # Not used right now, whatever.
binds:
- function: UIClick
type: state
key: MouseLeft
canFocus: true
- function: CloseModals
type: state
key: Escape
priority: 10
- function: Use
type: state
key: MouseLeft
canFocus: true
- function: WideAttack
type: state
key: Space
- function: ShowDebugMonitors
type: Toggle
key: F3
- function: HideUI
type: Toggle
mod1: Shift
key: F4
- function: MoveUp
type: State
key: W
- function: MoveLeft
type: State
key: A
- function: MoveRight
type: State
key: D
- function: MoveDown
type: State
key: S
- function: Walk
type: State
key: Shift
- function: ShowEscapeMenu
type: State
key: Escape
- function: FocusChatWindow
type: State
key: T
- function: FocusOOCWindow
type: State
key: LBracket
- function: FocusAdminChatWindow
type: State
key: RBracket
- function: EditorLinePlace
type: State
key: MouseLeft
canFocus: true
mod1: Shift
- function: EditorGridPlace
type: State
key: MouseLeft
canFocus: true
mod1: Control
- function: EditorPlaceObject
type: State
key: MouseLeft
canFocus: true
- function: EditorCancelPlace
type: State
key: MouseRight
canFocus: true
- function: EditorRotateObject
type: State
key: MouseMiddle
- function: SwapHands
type: State
key: X
- function: Drop
type: State
key: Q
- function: ActivateItemInHand
type: State
key: Z
- function: OpenCharacterMenu
type: State
key: C
- function: TextCursorSelect
# TextCursorSelect HAS to be above ExamineEntity
# So that LineEdit receives it correctly.
# TODO: Make it so that UI keybinds are somehow prioritized so this ordering stuff isn't necessary.
type: state
key: MouseLeft
mod1: Shift
canFocus: true
- function: ExamineEntity
type: State
key: MouseLeft
canFocus: true
mod1: Shift
- function: ActivateItemInWorld
type: state
key: E
- function: ThrowItemInHand
type: state
key: MouseLeft
canFocus: true
mod1: Control
- function: OpenContextMenu
type: state
key: MouseRight
canFocus: true
- function: ToggleCombatMode
type: State
key: R
- function: OpenCraftingMenu
type: state
key: G
- function: OpenTutorial
type: state
key: F1
- function: OpenInventoryMenu
type: state
key: I
- function: SmartEquipBackpack
type: State
key: B
mod1: Shift
- function: SmartEquipBelt
type: State
key: E
mod1: Shift
- function: ShowDebugConsole
type: state
key: Tilde
- function: MouseMiddle
type: state
key: MouseMiddle
canFocus: true
- function: TextCursorLeft
type: state
key: Left
canRepeat: true
- function: TextCursorRight
type: state
key: Right
canRepeat: true
- function: TextCursorWordLeft
type: state
key: Left
mod1: Control
canRepeat: true
- function: TextCursorWordRight
type: state
key: Right
mod1: Control
canRepeat: true
- function: TextCursorBegin
type: state
key: Home
- function: TextCursorEnd
type: state
key: End
canRepeat: true
- function: TextCursorSelectLeft
type: state
key: Left
mod1: Shift
canRepeat: true
- function: TextCursorSelectRight
type: state
key: Right
mod1: Shift
canRepeat: true
- function: TextCursorSelectWordLeft
type: state
key: Left
mod1: Shift
mod2: Control
canRepeat: true
- function: TextCursorSelectWordRight
type: state
key: Right
mod1: Shift
mod2: Control
canRepeat: true
- function: TextCursorSelectBegin
type: state
mod1: Shift
key: Home
- function: TextCursorSelectEnd
type: state
mod1: Shift
key: End
canRepeat: true
- function: TextBackspace
type: state
key: BackSpace
canRepeat: true
- function: TextSubmit
type: state
key: Return
- function: TextSubmit
type: state
key: NumpadEnter
- function: TextSelectAll
type: state
key: A
mod1: Control
- function: TextCopy
type: state
key: C
mod1: Control
- function: TextCut
type: state
key: X
mod1: Control
- function: TextPaste
type: state
key: V
mod1: Control
- function: TextHistoryPrev
type: state
key: Up
- function: TextHistoryNext
type: state
key: Down
- function: TextReleaseFocus
type: state
key: Escape
priority: 15
- function: TextScrollToBottom
type: state
key: PageDown
- function: TextDelete
type: state
key: Delete
canRepeat: true
- function: OpenEntitySpawnWindow
type: state
key: F5
- function: OpenTileSpawnWindow
type: state
key: F6
- function: OpenSandboxWindow
type: state
key: B
- function: TakeScreenshot
type: state
key: F2
- function: TakeScreenshotNoUI
type: state
key: F2
mod1: Shift
- function: GuiTabNavigateNext
type: state
key: Tab
- function: GuiTabNavigatePrev
type: state
key: Tab
mod1: Shift
- function: Point
type: State
key: MouseMiddle
mod1: Shift