Thread: Baby steps, baby steps...
-
May 31st, 2007, 03:53 #1
- Join Date
- Mar 2006
- Location
- Canada
- Posts
- 66
Baby steps, baby steps...
**Update**
After pulling much hair out over an xml error earlier, here's the newest version of my Shadowrun ruleset. This is getting fun now.Last edited by Pusher; June 2nd, 2007 at 02:38.
-
May 31st, 2007, 03:56 #2
Not for a character sheet I would think. It looks nice. I need to learn XML someday myself so I can create a ruleset.
-
May 31st, 2007, 08:32 #3
Perhaps put the copyright notice at the bottom of the character sheet. There's usually one on sheets distributed with game books.
Using Ultimate license - that means anyone can play.
Valarian's Fantasy Grounds Rulesets
-
May 31st, 2007, 17:08 #4
As I said elsewhere, I think the only issue with distributing character sheets is that you're not allowed to try and sell them. The copyright notice, as Valarian says, would cover almost all your bases.
-
May 31st, 2007, 17:56 #5
Lesser Deity
- Join Date
- Mar 2006
- Location
- Arkansas
- Posts
- 7,410
Originally Posted by NymTevlyn
First, before I screw anyone up there are no spaces between the < and text. I wrote them in this message so they would show up.
Elements (referred to as tags in html) are case sensitive.
opening an element with < root > and closing < /Root > will not work. This *really* screws some people up.
Elements must be opened and closed.
If you open a "tag" you must close it with a "/" in front of the closing element. < xxxxx >< /xxxxx >
Data goes in between the elements (also see attributes below) < stuff >Data goes here< /stuff >
Empty elements with no data can be written like < Empty > < /Empty > or like < Empty/ >
Elements can have attributes that describe a feature or characteristic of the element:
< Good aling="Lawful and proud" /> Elements are one "word" with no spaces in this example you have an empty element Good having an attribute aling and aling = Lawful and proud . Attributes are are strings and as the example shows can have spaces and are enclosed by quotes
That is pretty much all the xml you need.Last edited by Griogre; May 31st, 2007 at 18:13.
-
May 31st, 2007, 17:59 #6
I think I would need to learn XML to figure out how to assign a die to an ability score and be able to drag it from the sheet to roll.
Strength d20
Dexterity d8
And so on...
-
May 31st, 2007, 18:23 #7
Lesser Deity
- Join Date
- Mar 2006
- Location
- Arkansas
- Posts
- 7,410
Not really, you need to understand how FG scripting works. This is the trick. Not xml. If you have any Basic or C then lua should not be really difficult. What is work is learning what FG's functions do, how they call each other what objects and varibles they need and pass. I was just trying to make the point that xml something you don't really need to know to do this.
Last edited by Griogre; June 1st, 2007 at 19:42.
-
June 1st, 2007, 08:00 #8
- Join Date
- Feb 2006
- Location
- Fairfax County, Virginia
- Posts
- 499
Agreed. There's really not much "substance" to XML. It follows the simple rules that Griogre specified above. Every application that makes use of XML is different, whether it's the RSS feeds for your favorite blogs, the layout for your FG2 character sheet, or whatever else. The challenge isn't knowing how XML works - if you know anything about HTML, you pretty much already know how XML works, because HTML is sort of like a subset of XML - it's knowing what features your particular application has put into their XML schema.
What I mean by that is, take HTML for instance. You start a document with an <html> tag, and you have to close that tag with </html> at the end. Inside that, the body of your web page is included inside <body> tags. You can then put content inside that, and if you want part of that in bold, you start it with a <b> tag.
In the same way, when you're doing a FG2 ruleset, you start a document with a <root> tag (okay, actually, there's that special XML tag before that, as seen in the various XML files). Inside that tag, there are certain other tags you can have, like <includefile>, <windowclass>, etc. Those tags form a sort of hierarchy, much like a web page does, where your HTML page contains a body, and that body can contain <table> tags, which can contain <tr> tags, which can contain <td> tags, which can contain other content.
In FG2, though, the tags you can have aren't the ones in HTML. They're specific to FG2. All the different XML tags that you can use are listed in the documentation. Those tags form the foundation for your FG2 ruleset, but you won't get a lot out of it without knowing how the scripting works. That's where the real work gets doneLast edited by Dachannien; June 1st, 2007 at 08:07.
-
June 2nd, 2007, 02:42 #9
- Join Date
- Mar 2006
- Location
- Canada
- Posts
- 66
Scripting, yep, that Lua lunacy is still spinning my head in circles.
-
June 3rd, 2007, 15:58 #10Originally Posted by Pusher
I'm assuming that you won't be distributing this based on the book images you're using, I'm sure folks would be appriciative if you were willing to distibute a version without them.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks