5E Character Create Playlist

Thread: Modifiers

  1. #1
    Xarxus's Avatar
    Join Date
    Mar 2019
    Location
    Rome (Italy)
    Posts
    244

    Modifiers

    Studing ModifierStack I found that I can use addSlot to add modifiers.
    So I've 2 question:
    1. why there is a limit in the slots I can add and how can I exceed them?
    2. Is there a way to add a modifier invisible to the client? (there could be a modifier I don't want the player be aware of)
    FGU ULTIMATE License
    Click here for RPG Music or here for Dwarves songs on Spotify

  2. #2
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,654
    Blog Entries
    1
    You can redefine the modifier stack to accept more slots
    no not using modifiers. you could use GM only effects - or if you are building your own thing then anything is possible

  3. #3
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,362
    See the dots at the bottom of the modifier stack - these are the "slots". Info in the Modifiers wiki page here: https://fantasygroundsunity.atlassia...our+Dice+Rolls
    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
    Xarxus's Avatar
    Join Date
    Mar 2019
    Location
    Rome (Italy)
    Posts
    244
    First of all ty both.

    Continuing to study I noticed that the ruleset panel of Rolemaster behaves differently from that of D&D. In Rolemaster
    when I choose a modifier the others are deselected, while this does not happen in CoreRPG or D&D. I've combed through
    the code, but it appears to be the same control, with no further scripting or redefinition.

    What can't I see?

    Immagine.png
    FGU ULTIMATE License
    Click here for RPG Music or here for Dwarves songs on Spotify

  5. #5
    In 5E, there not supposed to deselect each other; as they are independent modifiers that can cancel each other out.

    In RMC, those buttons you are showing are setting a difficulty rating, which makes sense that they select/deselect each other. (Also used in Conan, Traveller, and a few others). There is no coding currently to automatically support button groups for the desktop buttons, so each of those rulesets implements their own.

    Regards,
    JPG

  6. #6
    Xarxus's Avatar
    Join Date
    Mar 2019
    Location
    Rome (Italy)
    Posts
    244
    I know why is done, what I need is to understand how.
    Both use button_modifierkey and Rolemaster doesn't redefine it, so I can't find any code that performs the deselection.
    FGU ULTIMATE License
    Click here for RPG Music or here for Dwarves songs on Spotify

  7. #7
    Actually, it does look like I added a set mechanism.

    Look at RolemasterClassic:scripts/data_desktop_RMC.lua; and the ModifierManager.addKeyExclusionSets(_tModifierExcl usionSets); call plus the _tModifierExclusionSets variable.

    Regards,
    JPG

  8. #8
    Xarxus's Avatar
    Join Date
    Mar 2019
    Location
    Rome (Italy)
    Posts
    244
    Gotcha!

    Ty Moon
    FGU ULTIMATE License
    Click here for RPG Music or here for Dwarves songs on Spotify

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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
  •  
DICE PACKS BUNDLE

Log in

Log in