FG Spreadshirt Swag
Page 1 of 2 12 Last
  1. #1

    Incorporating difficulties into 6e?

    Can skill difficulty levels be done easily in FG?

    Player rolls a skill check, and gets the following output:
    • 1-5 Yes (CRITICAL)
    • 6-[skill level] Yes
    • [skill level +1] - [skill level +10] Yes, but
    • [skill level +11] - [skill level +20] No, but
    • [skill level +21] - [95] No
    • 96-100 No (FUMBLE)


    The goal would be to expedite gameplay by not having to calculate your success level every time you roll a die. Ideally the above would occur automatically when clicking on the skill check, but I'm not above using a table. I tried to create a table for this, but couldn't figure it out.

  2. #2
    You won't be able to create a table for this, because it is specifically tied to the result of the skill dice roll and the results. It would need to be built into the ruleset code.

    There's no plans to update this ruleset at this time, but damned and ianward are working on the 7E version and you could try asking them to include in that version.

    Regards,
    JPG

  3. #3
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Newcastle, UK (for a bit)
    Posts
    27,776
    Depends what you mean by "easily". You'd need to write an extension.

    Have a look at IanMWard's cool 7E extension (that runs on the 6e ruleset) here: https://www.fantasygrounds.com/forum...ension-Release It does the auto calc of Extreme, Hard or normal success in scripts\manager_action_skill.lua, manager_action_ability.lua and manager_action_attack.lua
    FG Con 16 Fantasy Grounds Online RPG Convention - Postponed New date To Be Confirmed.
    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!

  4. #4
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Newcastle, UK (for a bit)
    Posts
    27,776
    Quote Originally Posted by Moon Wizard View Post
    There's no plans to update this ruleset at this time, but damned and ianward are working on the 7E version and you could try asking them to include in that version.
    7e has it's own specific degree of success mechanic, which 6e didn't have.
    FG Con 16 Fantasy Grounds Online RPG Convention - Postponed New date To Be Confirmed.
    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!

  5. #5
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    22,383
    Blog Entries
    1
    And the 7e ruleset has this feature (plus a guide for spending luck).

  6. #6
    That's a bummer. I'm not planning to use 7e, but a house rule.

    Can the chat interface do custom functions? If I do

    /skillcheck [skill level] [difficulty]

    FG would roll dice and tell which result comes up?

  7. #7
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Newcastle, UK (for a bit)
    Posts
    27,776
    Quote Originally Posted by Magnimost View Post
    That's a bummer. I'm not planning to use 7e, but a house rule.
    Look at the 7e extension for what you can do pretty easily with the 6e ruleset - I highlighted which files in post #3. Strip out the 7e specific stuff and use the resulting extension for your 6e games.

    Quote Originally Posted by Magnimost View Post
    Can the chat interface do custom functions? If I do

    /skillcheck [skill level] [difficulty]

    FG would roll dice and tell which result comes up?
    Yes, this can be done, but it would require coding. Probably more coding than taking the 7e extension and modifying it to do what you want in 6e.
    FG Con 16 Fantasy Grounds Online RPG Convention - Postponed New date To Be Confirmed.
    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!

  8. #8
    Quote Originally Posted by Trenloe View Post
    Depends what you mean by "easily". You'd need to write an extension.

    Have a look at IanMWard's cool 7E extension (that runs on the 6e ruleset) here: https://www.fantasygrounds.com/forum...ension-Release It does the auto calc of Extreme, Hard or normal success in scripts\manager_action_skill.lua, manager_action_ability.lua and manager_action_attack.lua
    The file in this post here only has .ext, no .lua files?

  9. #9
    EXT files for Fantasy Grounds are ZIP files containing an extension.xml file, and any referenced XML or Lua files. Just use Windows or your favorite compression tool to unzip. (To unzip in windows, it's usually easiest to rename the file to *.ext.zip)

    Cheers,
    JPG

  10. #10
    Thank you Mr Wizard, got it to work!

    Here the edited snippet:
    -- Debug.console("onSkill: ", rRoll.aDice[1].result, nRating);
    if rRoll.aDice[1].result < 6 then
    rMessage.text = rMessage.text .. " [CRITICAL]";
    elseif rRoll.aDice[1].result <= nRating then
    rMessage.text = rMessage.text .. " [Yes]";
    elseif rRoll.aDice[1].result <= nRating+10 then
    rMessage.text = rMessage.text .. " [Yes, but...]";
    elseif rRoll.aDice[1].result <= nRating+20 then
    rMessage.text = rMessage.text .. " [No, but...]";
    elseif rRoll.aDice[1].result <= 95 then
    rMessage.text = rMessage.text .. " [No]";
    elseif rRoll.aDice[1].result > 95 then
    rMessage.text = rMessage.text .. " [FUMBLE]";
    else
    rMessage.text = rMessage.text .. " [Fail]";
    end
    It works perfectly! I'm a coder woooo! I need to also edit the buttons for Hard, Extreme etc., but will post in the thread dedicated to the extension.

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
  •  
Joshua Stream Pre

Log in

Log in