[freeroleplay] Re: Yagsbook XML format

  • From: Samuel Penn <sam@xxxxxxxxxxxxxxxxxxx>
  • To: freeroleplay@xxxxxxxxxxxxx
  • Date: Wed, 29 Oct 2003 20:12:01 +0000

On Wednesday 29 October 2003 15:21, Ricardo Gladwell wrote:
> Hi Sam,
>
> I hadn't realised how much work you've done on this. It's pretty
> impressive.

Cheers... just don't tell my company that most of my experience
with 'new' technologies comes from role playing :-)

> Of particular interest is the game rules application. Looking over it
> gave me some thoughts about combining it with a Wiki of some sort to
> create a sort of dynamically editable database of roleplaying
> information. You could also use some sort of XML marshalling API, such
> as JAXB, to dynamically create a Java-based roleplaying API from the XML
> schema. The possibilities seem endless.

The problem with a Wiki is that it's (by design) very lax in what
it allows, whilst XML is very strict. Going from lax -> strict is
probably going to be a nightmare.

I've thought of doing some web service thing with it, but never
got much beyond thinking about it.

> Perhaps some mechanism could be used to translate the encylopedia
> application so that it can reference more than one set of rules. For
> example, describing orc culture and then referencing orc stats for a
> variety of game rules.

That's just a case for the stylesheets. All the rendering work is
down via XSLT (though the map rendering uses a Xalan plugin to
call out to Java code), so as long as the stylesheets recognise
other systems, so should the Encyclopedia.

I'm in two minds as to how much game info to stick into the
Encyclopedias. My Harn one has quite a bit, my Habisfern one has
none (or at least, very little).

I have thought of multi system support for Yagsbook, but since
I don't need it, I haven't done it. In theory, you could just
stick in some namespaces, one for the generic Yagsbook, and one
for each rule system. A character description would then consist
of system neutral description, followed by one or more set of
rules for the character, each with its own namespace.

e.g.:

<character name="Foo the Merciless">
  <age>24</age>
  <gender>Male</gender>
  <description>
     Foo is some wierd guy, etc etc.
  </description>

  <yags:rules>
    <yags:attributes>...</yags:attributes>
  </yags:rules>

  <fringe:rules>
    <fringe:attributes>...</fringe:attributes>
  </fringe:rules>
</character>

> The mapcraft feature really is the icing on the cake: you can integrate
> it with the other apps!? Wonderful!
>
> I have to say, this stuff is pretty cool. I'll be downloading the source
> and having a look myself. I think we could definately mention this stuff
> on the FRPGC site. Again, congratulations on such an amazing suite of
> apps. :)

Don't say that until you've played with it :-) There's a reason
Mapcraft is only at version 0.2.3...



-- 
Be seeing you,                               -------------------------------
Sam.                                         http://www.bifrost.demon.co.uk/


Other related posts: