[WIP] Live Game Input Refactor

Discussion in 'Work-In-Progress Mods' started by wondible, May 9, 2015.

  1. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Release Thread

    Replaces big knarly mouse functions with small moddable ones.

    I'm not entirely happy with the initial way functions fell apart, so it may undergo drastic changes. I wanted to see if anyone else would want to use this, and collect use cases.

    - https://github.com/JustinLove/live_game_input_refactor

    The Experiments

    Left Click Only

    Left click does contextual actions while you have a selection, right click always cancels. Iin it's current form does not really work. Right click needs to clear selection as well as command, but bigger issue is that it's impossible to double-click or shift click select

    - https://github.com/JustinLove/left_click_only

    (I experimented with right click only for commands mod, but build and command were dissonant and I didn't think right click build would be comfortable)

    Queue by Default

    Build mode appends to the queue unless shift is held.

    Command mode starts a new sequence, and then stays in command mode to queue additional points. Use shift on the first click to append the new command sequence to the current queue.

    This inversion of shift function is tragic and needs to be addressed.

    - https://github.com/JustinLove/queue_by_default

    Fast Click

    Commands are registered immediately instead of waiting to see if it is an area command - which means you have no area commands.

    Not applied to build mode, in order to preserve lines, areas, and facing.

    It's probably possible to enable area commands somehow, but I've been doing other things for a bit.

    - https://github.com/JustinLove/fast_click

    Possible Bugs in Vanilla

    - fab_end mode doesn't seem to be required
    - Command confirmations may be shown at a different point than where the command was issued (ex: contextual(right) dragging move)
    Last edited: October 3, 2015
    burntcustard likes this.
  2. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Well, current form of left click only does not work. Right click needs to clear selection as well as command, but bigger issue is that it's impossible to double-click or shift click select.
  3. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Also feels like one of the last updates on LGIR made the first contextual click sometimes not respond.
  4. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    BTW I believe I fixed the issues in LGIR
  5. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Brought these in line with vanilla (right click action for command, check modifiers at end) Queue By Default still does right click cancel, and clears the selection when doing so. Haven't done live fire exercises yet.
  6. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Queue by Default isn't quite there. Sometimes I want to issue a followup order in a different mode, like build those mex and then return to base.

Share This Page