That's incredible! Now I have to figure out how to insert that into my setup. Our next game is Friday night, I hope to get it done before then. Are you on the FOTN Discord channel if I have questions? Invite here if you don't
https://discord.gg/bjjUd5
Roll20
Forum rules
No cyber-bullying, no racism, no spam! Keep discussions civil and respectful or you will be banned!
No cyber-bullying, no racism, no spam! Keep discussions civil and respectful or you will be banned!
Re: Roll20
Joined the discord server, my handle there is Yehoshua.
Basic instructions:
1) you have to have a pro account.
2) on your game page, under settings go to API scripts
3) click 'New Script' and paste in the weird function. name it weird.js and save
4) repeat for cleanup.js
I think I vaguely recall you mentioning to me at Gencon that you were a programmer before becoming a full time game developer? I suspect you'll figure it out.
P.S. I was Celtic DudeBro(tm) who killed the Priest after downing the Fomor in the Children of Eriu demo at Gencon last year
Basic instructions:
1) you have to have a pro account.
2) on your game page, under settings go to API scripts
3) click 'New Script' and paste in the weird function. name it weird.js and save
4) repeat for cleanup.js
I think I vaguely recall you mentioning to me at Gencon that you were a programmer before becoming a full time game developer? I suspect you'll figure it out.
P.S. I was Celtic DudeBro(tm) who killed the Priest after downing the Fomor in the Children of Eriu demo at Gencon last year
Re: Roll20
I'm curious, in the Pro edition of roll20, can you create a while setup for character sheets, macros for decks and the like, AND then can you expost the configuration?
I don't just want to put in the work for my own setup. I would love to then have anyone else get the setup who'd like to import it into their Pro account. Let me know if this exists.
I don't just want to put in the work for my own setup. I would love to then have anyone else get the setup who'd like to import it into their Pro account. Let me know if this exists.
Re: Roll20
So...I'm just learning this myself; if you want an official answer you should contact roll20's staff.
There is a Github repository for both scripts and character sheets. I know that you can make scripts available to pro users (only the GM needs a pro account for the game to use them). Character sheets can be made available to pro users or all users. This is through the roll20 interface, anyone has access to the github.
I don't think you can deposit or export through the roll20 interface by default. Obviously they want to maintain some quality control and prevent malicious code from getting into the ecosystem. I don't know exactly how you get permission to make your stuff available, but I know there is a way because there is a whole list of scripts and character sheets I can opt to use. You, as a game developer, would probably have an easier time of getting access than I, as an internet rando, would.
Shared macros are generally incorporated into character sheet design. Character sheets are basically HTML/CSS with methods to trigger javascript and something called "sheetworkers" which appear to be macros embedded in the sheet design. My familiarity with HTML/CSS is basically nil (all my programing has been back end) so I'm kind of guessing with this.
There is a Github repository for both scripts and character sheets. I know that you can make scripts available to pro users (only the GM needs a pro account for the game to use them). Character sheets can be made available to pro users or all users. This is through the roll20 interface, anyone has access to the github.
I don't think you can deposit or export through the roll20 interface by default. Obviously they want to maintain some quality control and prevent malicious code from getting into the ecosystem. I don't know exactly how you get permission to make your stuff available, but I know there is a way because there is a whole list of scripts and character sheets I can opt to use. You, as a game developer, would probably have an easier time of getting access than I, as an internet rando, would.
Shared macros are generally incorporated into character sheet design. Character sheets are basically HTML/CSS with methods to trigger javascript and something called "sheetworkers" which appear to be macros embedded in the sheet design. My familiarity with HTML/CSS is basically nil (all my programing has been back end) so I'm kind of guessing with this.
-
- Posts: 2
- Joined: Thu Apr 09, 2020 11:54 pm
Re: Roll20
Hi jstomel,
I will try to set Andrew's game as per your setup and use your scripts. But I will have a couple of questions and I would also like to see the result in one of your game if possible.
Let me know when you have a couple minutes, we could join on discord and check this out.
Thanks and have a great day!
I will try to set Andrew's game as per your setup and use your scripts. But I will have a couple of questions and I would also like to see the result in one of your game if possible.
Let me know when you have a couple minutes, we could join on discord and check this out.
Thanks and have a great day!
-
- Posts: 2
- Joined: Thu Apr 09, 2020 11:54 pm
Re: Roll20
Hi guys,
so after a couple of bugs and tests we managed to use the scripts in our game as well and the results is that you don't need to use the android app on the side since we can now properly wyrd and clean our playmat in Roll20. Thanks jstomel!!
The main issue we faced was the format of the cards (runes) image. For some unknown reason, when creating your player rune deck, import images from your computer and not from your Roll20 library. We also used .PNG for stable results. Apart from that little bug everything is working fine.
If one of you findout why we are having this issue let us know!
P.S. Keep your API script open as you play, so if the script bug you can just save it again to reset it quickly.
Cheers,
so after a couple of bugs and tests we managed to use the scripts in our game as well and the results is that you don't need to use the android app on the side since we can now properly wyrd and clean our playmat in Roll20. Thanks jstomel!!
The main issue we faced was the format of the cards (runes) image. For some unknown reason, when creating your player rune deck, import images from your computer and not from your Roll20 library. We also used .PNG for stable results. Apart from that little bug everything is working fine.
If one of you findout why we are having this issue let us know!
P.S. Keep your API script open as you play, so if the script bug you can just save it again to reset it quickly.
Cheers,
Re: Roll20
Yeah, I haven't really GIGO-proofed the script yet. If you give it weird inputs (like trying to wyrd without shuffling the deck first or draw with no runes in the deck) it tends to panic and crash. Also, you have to run the cleanup script twice when you have runes selected to stay on the mat for some reason.
Re: Roll20
Guys, THANK YOU! What a difference!
Tonight's game is off to a great start.
Next request if peeps have time, a damage script (random rune moved to Stun).
Keep up the awesome!

Next request if peeps have time, a damage script (random rune moved to Stun).
Keep up the awesome!
Re: Roll20
There's an easy way to do damage built into the decks. If you click the top of the deck it draws one random card that you can then drag to the play mat and drop into stun. If you want a function for it, though, it should be easy enough to write. My next plan was to make something for keeping track of conditions on the playmat.
Re: Roll20
I'm looking at getting started on designing a character sheet for FotN. Any advice on how to make sure it is compatible with RGS 3.0? I don't want to put in a bunch of work on something that is going to be obsoleted soon.