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


Visit us at the HYPERBOREA web site!



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
Been playing Role-Playing Games for 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
 

Board footera






“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. ©2020 North Wind Adventures, LLC.