Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Writing an import script for Gurps Character Sheet (GCS)

March 14 (10 years ago)
Hello everyone,

I'm new to the mentor progamm and would like to make sheet management easier for my group. As my players already use GCS (gurps character sheet, see GCS) and that programm has superior management capabilities, I would like to keep working with it. However, entering character sheets manually is annoying, so I thought to write a patch for gcs to export json files. I would then paste those as input to a customized sheet and process them with a roll20-script (bascially an eval(), probably some set-loops).

So my questions to more experienced devs:
  1. Is there anything inherently stupid with that idea?
  2. If so, would using a greasemonkey script to autofill a customized sheet be better?
  3. Is there another way to import GURPS characters?

Thanks in advance
March 15 (10 years ago)
The Aaron
Pro
API Scripter
You wouldn't need to use eval(). If you're dumping out json, you could just put it in the GMNotes and use a script to watch changes to that field and set the correct attributes as needed.