LOGOmasthead2021

Being the Official Discussion Forum for Astonishing Swordsmen & Sorcerers of Hyperborea


Visit us at the HYPERBOREA web site! Also check out our new HYPERBOREA 3E Kickstarter!





You are not logged in. Would you like to login or register?

3/31/2020 2:23 pm  #121


Re: pc or pregen generator

Did a test today and it seemed to work.

If you want to play along at home.

You will want to set your roll20 campaign to use the AS&SH character sheet.

Add a character named barbarian.

Next is the shitty part. You need the paid tier that lets you have access to the api. I double checked and that is the Pro tier, $90/year. I will see if there might be a way to do something similar for the free tier.

You will also need to add the ChatSetAttr api script.

Here is the markdown/yaml file I set through my program:

class: barbarian
name: Órlaith IngheanScannlán
level: 2
Race: Kimmeri-Kelt
Gender: female

ST: 14
DX: 13
CN: 16
IN: 14
WS: 11
CH: 13

HP: 22

HP_rolls:
  - 12
  - 8

Gear:
  - <a>studded armour
  - <a>small shield
  - <hm>dagger
  - <m>bastard sword
  - <l>short bow
  - arrow quiver
  - arrows x12
  - backpack
  - bandages
  - fishing net
  - hunting horn
  - soft leather pouch
  - large sack
  - torches x3
  - wineskin (full)

Magic:
  - Healing Potion, full 2d4+2 HP, half 1d4 HP


My program spat out this (I had to do some munging and such). Also, there is a character limit in chat (which I need to look up) so I did the character data setting in 5 line/command chunks:

!setattr --name barbarian --sel --missilehitbonus|+2
!setattr --name barbarian --sel --missileac|5
!setattr --name barbarian --sel --traumasurvive|85%
!setattr --name barbarian --sel --bonusmagspells|1st: 1
!setattr --name barbarian --sel --maxhench|6

!setattr --name barbarian --sel --bonusclerspells|0
!setattr --name barbarian --sel --armourdr|
!setattr --name barbarian --sel --movement|40
!setattr --name barbarian --sel --savingthrow|16
!setattr --name barbarian --sel --reactionmod|1

!setattr --name barbarian --sel --xp_needed|6,000
!setattr --name barbarian --sel --level|2
!setattr --name barbarian --sel --testdx|3:6
!setattr --name barbarian --sel --WS|11
!setattr --name barbarian --sel --class|barbarian

!setattr --name barbarian --sel --IN|14
!setattr --name barbarian --sel --meleeac|5
!setattr --name barbarian --sel --xp|3,000
!setattr --name barbarian --sel --race|Kimmeri-Kelt
!setattr --name barbarian --sel --dexdefbonus|0

!setattr --name barbarian --sel --featdx|8%
!setattr --name barbarian --sel --willmod|0
!setattr --name barbarian --sel --turningadj|0
!setattr --name barbarian --sel --fightingability|2
!setattr --name barbarian --sel --CH|13

!setattr --name barbarian --sel --devicebonus|+2
!setattr --name barbarian --sel --learnclerspell|50%
!setattr --name barbarian --sel --featst|8%
!setattr --name barbarian --sel --gender|female
!setattr --name barbarian --sel --avoidbonus|+2

!setattr --name barbarian --sel --align|Chaotic Good|Evil
!setattr --name barbarian --sel --tranformationbonus|+2
!setattr --name barbarian --sel --sorcerybonus|+2
!setattr --name barbarian --sel --testst|3:6
!setattr --name barbarian --sel --DX|13

!setattr --name barbarian --sel --poisonbonus|+1
!setattr --name barbarian --sel --ST|14
!setattr --name barbarian --sel --CN|16
!setattr --name barbarian --sel --hd|12
!setattr --name barbarian --sel --meleehitbonus|0

!setattr --name barbarian --sel --featcn|16%
!setattr --name barbarian --sel --age|16
!setattr --name barbarian --sel --hpbonus|+1
!setattr --name barbarian --sel --deathbonus|+2
!setattr --name barbarian --sel --langbonus|1

!setattr --name barbarian --sel --xp_bonus|No
!setattr --name barbarian --sel --testcn|3:6
 

Last edited by gizmomathboy (3/31/2020 2:24 pm)


What? Me worry?
 

3/31/2020 2:25 pm  #122


Re: pc or pregen generator

I need to figure out weapons, equipment, spells, and the like, but the bare bones are there I think.


What? Me worry?
     Thread Starter
 

4/08/2020 10:28 am  #123


Re: pc or pregen generator

I found a firefox extension that I think will work with non-paid roll20, at least it does with my testing so far.

https://addons.mozilla.org/en-US/firefox/addon/roll20-character-import-export/

I had create and fill out a character sheet first to get the fields names and such it needs. So, I need to translate this to my program and such now.

Once I have something I'll let you all know.

Here is my test json file

https://www.dropbox.com/s/f5g36omua2a2tr7/barbarian-02.json?dl=0

Most of the values are valid but many are bogus. So caveat GM.


What? Me worry?
     Thread Starter
 

4/08/2020 10:32 am  #124


Re: pc or pregen generator

gizmomathboy wrote:

I found a firefox extension that I think will work with non-paid roll20, at least it does with my testing so far.

Wow, That's Awsome Gizmo!!


-- 
BlackKnight, AKA Sausage
Older than Dirt, Crusty, and set in my ways. Been playing TTRPGs for over 45 years...
 

4/09/2020 6:30 pm  #125


Re: pc or pregen generator

Well, I had a successful test upload with a json file I created, and I think I found some of the edges.

Now to find some others.

Last edited by gizmomathboy (4/09/2020 6:31 pm)


What? Me worry?
     Thread Starter
 

4/14/2020 11:55 am  #126


Re: pc or pregen generator

Ok, I wrote a blog post about how to go, generally, from my yaml file to a json file that can be imported.

http://opensourcegamer.com/blog/blog/2020/04/14/roll20-character-sheet-import/


What? Me worry?
     Thread Starter
 

4/09/2021 5:52 pm  #127


Re: pc or pregen generator

Schiomancer is now a choice.

I also noticed that you could only select up through level 9. It's now 12 as it should have been.

Gloomhaunter should be done soonish.

Now to look at the spell lists and channel Black Adder and figure that out along with default starting pack.


What? Me worry?
     Thread Starter
 

4/09/2021 6:18 pm  #128


Re: pc or pregen generator

Excellent, thanks for the update!


"An idea of great merit! While we are alive we should sit among colored lights and taste good wines, and discuss our adventures in far places; when we are dead, the opportunity is past."
Jack Vance, Maske: Thaery
 

4/09/2021 6:43 pm  #129


Re: pc or pregen generator

And now gloomhaunter.

I think the "default" spells aren't getting put in the character sheets but I wasn't looking too closely.

Something to put on the TODO list.


What? Me worry?
     Thread Starter
 

4/11/2021 6:38 am  #130


Re: pc or pregen generator

I created one each of a 2nd-level Gloomhaunter and Sciomancer, and one odd thing is the link on the results pages for "Take the stats and create a pdf" takes you back to the initial generation page; the "create pdf with this stat block" link works properly, though (i.e., creates a form-fillable PDF character sheet).

For the Sciomancer, CN = 4, the HD type wasn't filled in, and the character had 0 HP. Oddly, my Gloomhaunter also had a CN = 4, and 5 HP. These were both generated using Method 3, Strictness 3.

Otherwise, everything looked good.


"An idea of great merit! While we are alive we should sit among colored lights and taste good wines, and discuss our adventures in far places; when we are dead, the opportunity is past."
Jack Vance, Maske: Thaery
 

4/11/2021 9:09 am  #131


Re: pc or pregen generator

Ok, I'll see if I can find them in the log file and see what it did.


What? Me worry?
     Thread Starter
 

4/11/2021 10:44 am  #132


Re: pc or pregen generator

Ok, I got the hp thing sorted out. I didn't have the HD data in the sciomancer class. At all. So. yeah. garbage in, garbage out.

As for the "Take the stats and create a pdf" link.

I suppose I could take that choice out.

I think my intent was that you would copy the stats, go to that page, paste them in and add extra stuff. Which might not be what most folks would do.


What? Me worry?
     Thread Starter
 

4/11/2021 7:14 pm  #133


Re: pc or pregen generator

gizmomathboy wrote:

Ok, I got the hp thing sorted out. I didn't have the HD data in the sciomancer class. At all. So. yeah. garbage in, garbage out.

Thank you!

gizmomathboy wrote:

As for the "Take the stats and create a pdf" link.

I suppose I could take that choice out.

I think my intent was that you would copy the stats, go to that page, paste them in and add extra stuff. Which might not be what most folks would do.

  I don't think that was obvious, but one could always do the "add extra stuff" to the form-fillable PDF, right?
 


"An idea of great merit! While we are alive we should sit among colored lights and taste good wines, and discuss our adventures in far places; when we are dead, the opportunity is past."
Jack Vance, Maske: Thaery
 

6/08/2021 8:23 pm  #134


Re: pc or pregen generator

making some stuff "better"with regards to spells/spell info and...bards and shamans are gonna take some time to get correct.

The bastards draw from 2 lists...and the shaman pulls from 4(!) lists. I'm just gonna let it break, sorta for now. I think what will happen is no spell info (duration, range, page #, etc).

It isn't in the web app yet but I'm working on it in my command line app. With any luck it will get into the web app shortly.

I'm also thinking of making default spell lists for the fighter and thief subclasses. It will just be from the "base" lists they pull from. So fire thieves from pyromancers, ice lords from cryomancers, etc.

I walked into a can of worms tonight...


What? Me worry?
     Thread Starter
 

6/08/2021 9:53 pm  #135


Re: pc or pregen generator

huh, it seems I had created most of the spell lists for most of the classes already.

I just had to add a few more. Some are a bit deficient. They aren't quite what they could/should be

 


What? Me worry?
     Thread Starter
 

6/09/2021 10:08 am  #136


Re: pc or pregen generator

Ok, here's my list of default spells for the various classes.

I welcome and pull requests or comments or recommendations (here or there).

The one thing I need to "fix" is to follow BlackAdder's "2 spells at 1st level for warlocks and legerdemainists and such". I like it.

I think I'll put in whatever progress for "non-flat percentage, random spell list distribution" I do here as well.

https://github.com/gizmomathboy/hyperborea_pc_gen_data_public/blob/main/spells_default.yml


What? Me worry?
     Thread Starter
 

6/11/2021 4:28 pm  #137


Re: pc or pregen generator

gizmomathboy, if I've already gushed elsewhere about the usefulness of your tools, allow me to do so again! https://cdn.boardhost.com/emoticons/grin.png
 Can I make a request? One of the more tedious aspects of adventure design is spellbook/prayerbook generation. I know you can use your tools to make a level-x sorcerer and get a spellbook that way, but something for just a spellbook (variables level and class) would be phenomenal.


"Role-playing isn't storytelling. If the dungeon master is directing it, it's not a game."  ~ Gary Gygax
 

6/11/2021 7:20 pm  #138


Re: pc or pregen generator

You are most certainly welcome!

I think I can whip up something kinda quick if I just go with a flat probability distribution.

Whenever I get a weighted distribution that can be an option, too. That part will be some time off though :-)


What? Me worry?
     Thread Starter
 

6/12/2021 3:14 pm  #139


Re: pc or pregen generator

Hard part, data entry, is done.


What? Me worry?
     Thread Starter
 

6/12/2021 3:30 pm  #140


Re: pc or pregen generator

gizmomathboy wrote:

Hard part, data entry, is done.

Smashing! Can't wait to make those libraries of background books a potential gold mine https://cdn.boardhost.com/emoticons/smug.png

gizmomathboy wrote:

flat probability distribution

I prefer that. I have this notion of making the free spells one gets at level up half random, to encourage sorcerers to go looking for spell-/prayerbooks and to not show their hand so freely with "good" spells.


"Role-playing isn't storytelling. If the dungeon master is directing it, it's not a game."  ~ Gary Gygax
 

Board footera





“HYPERBOREA” is a registered trademark of North Wind Adventures, LLC. “Astonishing Swordsmen & Sorcerers of Hyperborea,” “AS&SH,” and all other North Wind Adventures product names and their respective logos are trademarks of North Wind Adventures, LLC in the USA and other countries. ©2021 North Wind Adventures, LLC.