1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Extensions Examples

Discussion in 'User Created Content' started by Krilion_GD, Apr 24, 2018.

  1. Krilion_GD

    Krilion_GD Community Manager
    Staff Member

    Joined:
    Aug 1, 2011
    Messages:
    2,226
    Likes Received:
    138
    World mapping as an extensions example

    upload_2018-4-24_15-48-5.png
     
  2. HippyCraig

    HippyCraig Member

    Joined:
    Jul 15, 2017
    Messages:
    68
    Likes Received:
    0
    Wait what is this????? Please elaborate on this extension?
     
  3. Krilion_GD

    Krilion_GD Community Manager
    Staff Member

    Joined:
    Aug 1, 2011
    Messages:
    2,226
    Likes Received:
    138
    It's a web app I wrote in html5 and java.
     
  4. Krilion_GD

    Krilion_GD Community Manager
    Staff Member

    Joined:
    Aug 1, 2011
    Messages:
    2,226
    Likes Received:
    138
    This is run locally (for the GM, local to the GM) from the HTML dir inside D20PRO (no web service needed)

    upload_2019-1-13_15-13-45.png

    upload_2019-1-13_15-16-21.png
     
    #4 Krilion_GD, Jan 13, 2019
    Last edited: Jan 13, 2019
  5. Krilion_GD

    Krilion_GD Community Manager
    Staff Member

    Joined:
    Aug 1, 2011
    Messages:
    2,226
    Likes Received:
    138
    So, nagged @owlbear to death to finally teach me how to get an outside script to push to the game log.. a thus -THIS- was born. I'll post the source and 'how to' once I clean it up some

    [​IMG]

    so, you could use this model to roll dice for practically any system you can write a roller for
     
  6. Krilion_GD

    Krilion_GD Community Manager
    Staff Member

    Joined:
    Aug 1, 2011
    Messages:
    2,226
    Likes Received:
    138
    So Custom dice

    So the script could be local to the host and or client or it could be hosted on a webserver.
    You'll need the URL (local or Remote) of the main script.

    Remote is easier as the GM only then needs to manage one set of files and location.
    Local means every client has to keep the script up to date.

    d20pro-custom-dice-roller.jpg



    Once we have the URL we go to Main Menu -> Options -> Rules and paste the URL into the 'Custom Roller URL' box and hit OK.

    On the token you can then hit Y (hotkey) and it will open the Custom Card/Dice Panel. Select the dice tab and start rolling dice.

    Here is the source
     

    Attached Files:

  7. Krilion_GD

    Krilion_GD Community Manager
    Staff Member

    Joined:
    Aug 1, 2011
    Messages:
    2,226
    Likes Received:
    138
    Also a more refined version of the 5e Treasure generator I wrote for my own game

    upload_2019-5-5_19-37-49.png

    This doesn't output to the Log, the GM can snippy screen capture or cut and paste as needed to either the log or perhaps to a Discord channel.

    Again, this can be local or remote hosted.

    I've used local here as mainly this is for the GM to use.

    Set the file in location.

    Open it in a browser to get the URL

    Open extensions and define a new entry using the Local url.

    Focus on the Extension tab and start rolling treasure

    5e-treasure-example.jpg

    Here is the file
     

    Attached Files:

  8. Krilion_GD

    Krilion_GD Community Manager
    Staff Member

    Joined:
    Aug 1, 2011
    Messages:
    2,226
    Likes Received:
    138
    Some shots of a Shadowrun tracker I am building for the GM to use in D20PRO. This would complement the SR3 Dice roller I wrote.

    [​IMG]

    [​IMG]
     
  9. Krilion_GD

    Krilion_GD Community Manager
    Staff Member

    Joined:
    Aug 1, 2011
    Messages:
    2,226
    Likes Received:
    138
    Here is a little 5e Spell Card reference I am using for myself and my players..

    [​IMG]

    [​IMG]

    I didn't make the cards they are from nBeebz -> https://www.dropbox.com/s/5orhvb75h...ip?dl=0&file_subpath=/nBeebz's+5e+Spell+Cards


    You can run this locally or on a webserver as is the case with most of my stuff.

    Just point to the index.html file and enjoy.

    The file is too large for the forums, so msg me on Discord if you'd like a copy.
     
  10. Krilion_GD

    Krilion_GD Community Manager
    Staff Member

    Joined:
    Aug 1, 2011
    Messages:
    2,226
    Likes Received:
    138
    Deck of Many Things extension to pull a card and show deck cards.

    [​IMG]

    [​IMG]
     
  11. Krilion_GD

    Krilion_GD Community Manager
    Staff Member

    Joined:
    Aug 1, 2011
    Messages:
    2,226
    Likes Received:
    138
    5e Quick Reference Sheet

    [​IMG]

    clicking on an entry produces

    [​IMG]
     
  12. Krilion_GD

    Krilion_GD Community Manager
    Staff Member

    Joined:
    Aug 1, 2011
    Messages:
    2,226
    Likes Received:
    138
    Some random NPC data generation via Extension

    upload_2019-5-28_10-56-5.png
     
  13. Krilion_GD

    Krilion_GD Community Manager
    Staff Member

    Joined:
    Aug 1, 2011
    Messages:
    2,226
    Likes Received:
    138
    Dice roller for shadowrun in action

    upload_2019-8-10_14-8-31.png
     
    #13 Krilion_GD, Jun 6, 2019
    Last edited: Aug 10, 2019
  14. Krilion_GD

    Krilion_GD Community Manager
    Staff Member

    Joined:
    Aug 1, 2011
    Messages:
    2,226
    Likes Received:
    138
    So today I wrote an extension to roll Degenesis system dice.

    upload_2019-8-10_14-7-35.png
     
  15. HippyCraig

    HippyCraig Member

    Joined:
    Jul 15, 2017
    Messages:
    68
    Likes Received:
    0
    do you have a guide on how to use extensions and what you can put in the extension so it connects to D20Pro.
     
  16. Krilion_GD

    Krilion_GD Community Manager
    Staff Member

    Joined:
    Aug 1, 2011
    Messages:
    2,226
    Likes Received:
    138
    Not in a format yet that is really usable for the non power user.

    I have a new dump of the API Docs, I need to add it to the Docs site as well as write a basic tutorial.

    Mainly I have been holding off on this until such time as that interface becomes more standardized and stable.
     
  17. HippyCraig

    HippyCraig Member

    Joined:
    Jul 15, 2017
    Messages:
    68
    Likes Received:
    0
    ok I see a lot of great things in the beta discord just not sure how to use it. I can be patient, thanks!
     
  18. owlbear

    owlbear Administrator
    Staff Member

    Joined:
    Sep 5, 2011
    Messages:
    626
    Likes Received:
    159
    @HippyCraig thanks! I'm working with @Krilion_GD to figure out the right way to share Extensions and other great stuff coming out of the beta channel. Keep your eyes peeled for the next build!
     
  19. HippyCraig

    HippyCraig Member

    Joined:
    Jul 15, 2017
    Messages:
    68
    Likes Received:
    0
    cool I used to write apps and still do in PowerShell being a DevOps Engineer, so I have some background looking forward to what comes next
     

Share This Page