tdewitt274
January 11th, 2011, 14:25
Hello All!
I was wondering if someone could point me in the right direction. I'm working on an Extention and I'm not sure how or if the approach I'm thinking of will work. The Extention itself is for Cards, but I'd like to keep it generic enough that it can be used for other things.
First, the basics. The Extention is an add-on game to any existing campaign. I'd like to be able to maintain it from session to session, as well as being able to scrap, or quit, the game and start a new one. However, be flexible enough to have multiple games available (ex, Poker and Runes). The game should contain itself within that campaign.
Looking at a couple of dbs, I think that it would be possible to contain the game within it's own "game" tag at the root of the XML db. Within the "game" tag it would contain references for players, the settings of the game, the "objects" it contains, as well as a new version of a combat tracker that works with the game.
I have a semi-working version using Lua Tables, but found that the tables are not able to be shared with the clients (yeah, stupid mistake ;)). But, in the long run, I have the structure thought out that, in theory, should work.
I'm starting to understand scripting, and I understand XML, but I don't know how to merge the two together. So, if someone can point me to another reference, preferably in a Ruleset, that could help me with the above I would be greatful! If anyone can suggest how set up an effective XML db for FG2, this would be appreciated as well.
Thanks in advance!
I was wondering if someone could point me in the right direction. I'm working on an Extention and I'm not sure how or if the approach I'm thinking of will work. The Extention itself is for Cards, but I'd like to keep it generic enough that it can be used for other things.
First, the basics. The Extention is an add-on game to any existing campaign. I'd like to be able to maintain it from session to session, as well as being able to scrap, or quit, the game and start a new one. However, be flexible enough to have multiple games available (ex, Poker and Runes). The game should contain itself within that campaign.
Looking at a couple of dbs, I think that it would be possible to contain the game within it's own "game" tag at the root of the XML db. Within the "game" tag it would contain references for players, the settings of the game, the "objects" it contains, as well as a new version of a combat tracker that works with the game.
I have a semi-working version using Lua Tables, but found that the tables are not able to be shared with the clients (yeah, stupid mistake ;)). But, in the long run, I have the structure thought out that, in theory, should work.
I'm starting to understand scripting, and I understand XML, but I don't know how to merge the two together. So, if someone can point me to another reference, preferably in a Ruleset, that could help me with the above I would be greatful! If anyone can suggest how set up an effective XML db for FG2, this would be appreciated as well.
Thanks in advance!