Fate of the Norns

The Complete Viking Experience!
It is currently Mon Sep 20, 2021 3:07 am

All times are UTC - 5 hours


Forum rules


No cyber-bullying, no racism, no spam! Keep discussions civil and respectful or you will be banned!



Post new topic Reply to topic  [ 48 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject: Re: Roll20
PostPosted: Mon Mar 30, 2020 9:38 am 
Offline
User avatar

Joined: Thu Apr 25, 2013 10:39 am
Posts: 1242
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

_________________
Image
https://twitter.com/avalkauskas
https://www.patreon.com/fateofthenorns


Top
 Profile  
 
 Post subject: Re: Roll20
PostPosted: Mon Mar 30, 2020 1:10 pm 
Offline

Joined: Thu Jan 09, 2020 2:43 pm
Posts: 72
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


Top
 Profile  
 
 Post subject: Re: Roll20
PostPosted: Wed Apr 01, 2020 6:38 am 
Offline
User avatar

Joined: Thu Apr 25, 2013 10:39 am
Posts: 1242
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.

_________________
Image
https://twitter.com/avalkauskas
https://www.patreon.com/fateofthenorns


Top
 Profile  
 
 Post subject: Re: Roll20
PostPosted: Wed Apr 01, 2020 11:34 am 
Offline

Joined: Thu Jan 09, 2020 2:43 pm
Posts: 72
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.


Top
 Profile  
 
 Post subject: Re: Roll20
PostPosted: Thu Apr 09, 2020 11:59 pm 
Offline

Joined: Thu Apr 09, 2020 11:54 pm
Posts: 2
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!


Top
 Profile  
 
 Post subject: Re: Roll20
PostPosted: Fri Apr 10, 2020 4:40 pm 
Offline

Joined: Thu Apr 09, 2020 11:54 pm
Posts: 2
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,


Top
 Profile  
 
 Post subject: Re: Roll20
PostPosted: Fri Apr 10, 2020 5:26 pm 
Offline

Joined: Thu Jan 09, 2020 2:43 pm
Posts: 72
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.


Top
 Profile  
 
 Post subject: Re: Roll20
PostPosted: Tue Apr 14, 2020 7:19 pm 
Offline
User avatar

Joined: Thu Apr 25, 2013 10:39 am
Posts: 1242
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!

_________________
Image
https://twitter.com/avalkauskas
https://www.patreon.com/fateofthenorns


Top
 Profile  
 
 Post subject: Re: Roll20
PostPosted: Tue Apr 14, 2020 9:35 pm 
Offline

Joined: Thu Jan 09, 2020 2:43 pm
Posts: 72
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.


Top
 Profile  
 
 Post subject: Re: Roll20
PostPosted: Sun Apr 19, 2020 10:53 am 
Offline

Joined: Thu Jan 09, 2020 2:43 pm
Posts: 72
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 48 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group