FG Spreadshirt Swag
Page 1 of 2 12 Last
  1. #1

    Maps, hexes, and "distance" tag

    Looking through the gameelements.xml file, and I can see "distance" tags, and the base tag indicates 5, for 5 feet.

    I'm aiming to make two or three sets of map setups possible ideally, one for mech combat, (including mixed with platoons and vehicles), and one for characters on foot for sure.

    Possibly also one for aerospace combat separately, as the rules for aerospace are quite different when in a fight.

    Hoping someone could give me a bit of direction, the guides on rulesets seem to be very out of date for the most part.

    I've actually so far been unsuccessful in even getting my new ruleset copy to show up in FG.

  2. #2
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,685
    Blog Entries
    1
    Quote Originally Posted by GrimmSpector View Post
    Looking through the gameelements.xml file, and I can see "distance" tags, and the base tag indicates 5, for 5 feet.

    I'm aiming to make two or three sets of map setups possible ideally, one for mech combat, (including mixed with platoons and vehicles), and one for characters on foot for sure.

    Possibly also one for aerospace combat separately, as the rules for aerospace are quite different when in a fight.

    Hoping someone could give me a bit of direction, the guides on rulesets seem to be very out of date for the most part.
    I cant see any actual question here?

    I've actually so far been unsuccessful in even getting my new ruleset copy to show up in FG.[/QUOTE]

    There is never going to be a full guide to building a ruleset on the current engine (and possibly never on the new one).
    Writing a ruleset is going to require you to know/learn both XML and LUA and to be able to follow existing rulesets and reverse engineer / copy / adapt code from those.
    Have a look at the Maelstrom RPG (somewhere in CoreRPG forum) as it is reasonably well commented.
    Your (unpacked) ruleset requires at the minimum a Folder (which will be teh ruleset name) and a file called base.xml
    from there.... there are lots of ways to go.

  3. #3
    Well the main question was about how possible it is to do more than one type/scale of maps in the system, if it's something I can implement.

    Learning LUA is not a problem, and xml isn't really a language, and something I already know.

    Also unsure what you mean by saying I need a Folder which is the name for the ruleset, non of the paks I've opened up have a folder that's in any way named after the ruleset, though they all of course have the base.xml with it's description, not seeing their "name" from the list of rulesets in that base file, must be missing it somewhere. I'll keep poking around.

    And thank you, I'll look at Maelstrom, comments always help. Reverse engineering and copying was a given, but any help I can get since the guides that do exist are terribly out of date is the goal in the end.

  4. #4
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,685
    Blog Entries
    1
    look at all the existing rulesets.

    CoreRPG.pak
    5E.pak
    Numenera.pak
    etc

    The ruleset NAME is the filename before the extension.
    You can also run an unpacked ruleset.
    You unpack a ruleset to a folder name - THAT folder name will become the ruleset name.
    If you want a ruleset called Grimm you create a folder called Grimm

    In 95% of cases you will be best served by building a layered ruleset on top of CoreRPG.
    This will allow you to use all the existing CoreRPG code and any future improvements to it automatically.
    This is done by using this line:

    <!-- Attributes -->
    <importinfo>
    <acceptfrom ruleset="Grimm" />
    </importinfo>

    <!-- Layers -->
    <importruleset source="CoreRPG" />

    Additionally if your ruleset was layered on say 5e you would do:

    <!-- Attributes -->
    <importinfo>
    <acceptfrom ruleset="Grimm" />
    </importinfo>

    <!-- Layers -->
    <importruleset source="5e" />

    Which means you would actually have:

    CoreRPG running
    + 5e adds new features + replaces/modifies some features
    + Grimm adds new features + replaces/modifies some features

    The rulesets would load in that order: CoreRPG -> 5e -> Grimm

  5. #5
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,685
    Blog Entries
    1
    AFAIK there is no option to use more than one map scale in FG.

  6. #6
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,410
    Some good starter info and links for modifying rulesets here: https://www.fantasygrounds.com/forum...oreRPG-ruleset

    Step #1 in post #1 mentions the ruleset directory damned is referring to.
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  7. #7
    Great, well either by folder method or by .pak file method, my attempt isn't showing up, and currently it's just a renamed copy of the corerpg set renamed. Meanwhile I can load other paks, including some of the community ones, so I'm not sure what could possible be wrong...

    my directory...

    Attachment 13058

    and here's the list in FG...

    Attachment 13059

    Not a great start...

  8. #8
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,410
    Restart FG after making any changes to the ruleset directories or .pak files.

    If you create a .pak file make sure you ZIP up from within the directory, selecting all the files and sub-directories, don't zip up from outside of the directory.

    If you use a directory instead of a .pak file (much better for faster development) make sure the base.xml file is in the first level of he ruleset directory.
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  9. #9
    Yes, I've done all of that, multiple restarts, obviously I know how to add a .pak file, as I've added a community ruleset as an example to show that FG is working otherwise, but simply making a new copy of an existing one and naming it differently seems for whatever reason to not be working...

  10. #10

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Character Create Playlist

Log in

Log in