GI JOE RPG Launch
  1. #1

    "new default" hotkey for all players

    Is there a way to set "standard" hotkeys for all players.

    Like:
    F1 = Roll initiative
    F2 = Toggle Inspiration (use inspiration / gain inspiration) (support for 2 & 3 inspiration also - as can be set in options)
    F3 = Pop-up of "use HD to heal self" [like on short rest]
    F4 = End Turn (i.e. player ends his turn so next in que on the CT is now the acting player)

    I'd like all players to have these hotkeys, and preferable not be able to change them. If they can change them: something the GM can initiate to re-sync (i.e. overwrite those 4 hotkeys with the above again)

  2. #2
    Not that I'm aware of, but I think the hotkeys are stored in the character info isn't it. You could make a blank char with those setup and export it and send to all the players and tell them to use that as their base character.

  3. #3
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    34,066
    The hotkeys are set in a local file related to the GMs campaign joined - in a XML file (related to the PC ID) in the player campaign cache usersettings directory.

    You could do some XML editing to assign specific hotkeys to the PCs in the hotkeys XML files. But, unless you made the files read-only (which would report errors when the hotkey file needs to be saved) you can't stop players changing their hotkeys.
    Last edited by Trenloe; November 26th, 2018 at 14:55.
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  4. #4
    Quote Originally Posted by Trenloe View Post
    The hotkeys are set in a local file related to the GMs campaign joined - in a XML file (related to the PC ID) in the GM campaign usersettings directory.

    You could do some XML editing to assign specific hotkeys to the PCs in the hotkeys XML files. But, unless you made the files read-only (which would report errors when the hotkey file needs to be saved) you can't stop players changing their hotkeys.


    ok, lets forget about the "can't change" - but what about auto set these hotkeys for all characters created?
    are hotkeys client or character tied?

  5. #5
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    27,097
    Blog Entries
    1
    Quote Originally Posted by Rino View Post


    ok, lets forget about the "can't change" - but what about auto set these hotkeys for all characters created?
    are hotkeys client or character tied?
    Client AND Campaign.

  6. #6
    So creating an extension which does this would be super difficult then?

  7. #7
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    34,066
    Yeah, you'd need to modify the files on the computer of each of your players, as these are player side settings. The hotkeys XML files are stored in the <FG app data>\cache\<campaign name>\usersettings directory on each computer (once they've connected to your campaign at least once).
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  8. #8
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    34,066
    Quote Originally Posted by Rino View Post
    So creating an extension which does this would be super difficult then?
    You may be able to intercept a hotkey activation with this API: https://www.fantasygrounds.com/refdo...otkeyActivated But I don't know if that will allow you enough control of knowing which hotkey was activated - and if it'll need a dummy hotkey action there already (I'm guessing it will).
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  9. #9
    If I were in the situation I'd create a public note in the campaign with the standard hotkeys and how to set them up. I'd also explain why I want them to do this in the first place. Then it's up to them to comply or not comply.

    I have players that would be happy to setup a standard and others that likely wouldn't bother with the hotkeys even if I held their hand and pushed the button for them... so you just need to keep your player's in mind too.

  10. #10
    I think esmdev's solution is pretty good. Then you can also talk players through it in the game zero of a new campaign.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Fantasy Grounds Merchandise

Log in

Log in