1. #1

    Hotkey Button Image

    I'm working on an extension for a new game and I would like to change the button image in the center of the hotkey's. I've struggled to locate it. Any clues?
    Cross-examining Lawyer: Mister Cogburn, in your four years as US Marshal, how many men have you shot?
    Rooster Cogburn: Shot? Or killed?
    Cross-examining Lawyer: Let us restrict it to killed so we may have a manageable figure!

  2. #2
    There are the hot key frame and font definitions in the ruleset that define the way that the hot key bar looks;

    And separately, each action dragged to a hot key bar can define an icon or token. If you are trying to change the way an icon (such as the link icon) looks, you’ll need to override the link icon for the ruleset.

    Regards,
    JPG

  3. #3
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    18,878
    Blog Entries
    1
    Screenshot?

    MoreCore - Generic Ruleset
    --- Projects ---
    Extensions | Tutorials | MoreCore | MoreCore Themes | Call of Cthulhu | Maelstrom | FG Con

  4. #4
    I'll post an image soon (away from pc at the moment). I've looked in both Core and the Savage Worlds rulesets but it hasn't jumped out at me yet.

    BTW, and yes it is the "link" icon i'm trying to change. The current one obstructs the title and makes it hard to read. And it isn't "cool" lol.

    hotlink image.PNG

    Here's a snippet of the hotlink bar.
    Last edited by Meliath1742; August 16th, 2018 at 23:26.
    Cross-examining Lawyer: Mister Cogburn, in your four years as US Marshal, how many men have you shot?
    Rooster Cogburn: Shot? Or killed?
    Cross-examining Lawyer: Let us restrict it to killed so we may have a manageable figure!

  5. #5
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Denver, Colorado, USA (for a bit)
    Posts
    23,560
    It’s the icon set as part of the initial drag data. See this extension as an example: http://www.fantasygrounds.com/forums...Roll-Extension. The LUA file sets up the drag data and sets the button icon. I know it’s for 3.5e but the principle is exactly the same.

    FG Con 15 Fantasy Grounds Online RPG Convention - Nov. 8-10, 2019
    Register at www.fg-con.com for all the latest info.

    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!

  6. #6
    Hmm, I'm no good in the LUA. Thanks for the info Trenloe. Looks like I'll have to live with it for now. No biggie.

    Question: Is the image stashed with the rest of the graphics? Say in the icons folder for example. If so, I should still be able to replace the link button (if I can find it) and the LUA would just call on the new image as long as I give it the same name.
    Last edited by Meliath1742; August 16th, 2018 at 23:44.
    Cross-examining Lawyer: Mister Cogburn, in your four years as US Marshal, how many men have you shot?
    Rooster Cogburn: Shot? Or killed?
    Cross-examining Lawyer: Let us restrict it to killed so we may have a manageable figure!

Thread Information

Users Browsing this Thread

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

Posting Permissions

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

Log in

Log in