-
June 23rd, 2011, 14:32 #1
2.8 Ruleset Construction Question.
Just to confirm. If I don't include the flag to mark a Ruleset for older version compatibility, it will enforce the code requirements for 2.8, correct?
I realized that I'm aiming for after the 2.8 release for the completion of the Ruleset I'm building and I want to make sure it is 2.8 compliant so I can take advantage of the new features as well as not run into conflicts.- Trying to find a community Ruleset, Extension or Information on how to complete a process? Try FGRepository.
- PM Myself if you have new or updated community Rulesets, Extensions or Information that you'd like added to FGRepository.
-
June 23rd, 2011, 20:02 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,568
I've added the information on what the ruleset compatibility mode value will affect in the upcoming update to the Library documentation.
Here's the link here:
https://www.fantasygrounds.com/refdocbeta/
If you are developing to release after v2.8, I would just go ahead and set the version attribute to "2.8".
As the versions have progressed, there have been changes to make the developer interface more consistent, predictable and faster. However, some older rulesets have grown to depend on certain behaviors. The backward compatibility flag preserves certain behaviors until rulesets are updated and tested with the final version.
Cheers,
JPG
-
June 23rd, 2011, 20:39 #3
Perfect. Thank you.
- Trying to find a community Ruleset, Extension or Information on how to complete a process? Try FGRepository.
- PM Myself if you have new or updated community Rulesets, Extensions or Information that you'd like added to FGRepository.
-
June 23rd, 2011, 20:41 #4
As a follow up. What would happen with the version set to 2.0in 2.7.6 and 2.8 respectively?
- Trying to find a community Ruleset, Extension or Information on how to complete a process? Try FGRepository.
- PM Myself if you have new or updated community Rulesets, Extensions or Information that you'd like added to FGRepository.
-
June 24th, 2011, 01:39 #5
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,568
If the version was set to 2.0, then the behaviors of certain aspects of FG would change based on the info on that page.
The backward compatibility flags have been in the FG client since v2.4, just not documented.
Cheers,
JPG
-
June 24th, 2011, 02:21 #6
Ugh. Seems I'm probably going to have a lot of updating to do regardless. That's what I get for not looking closer to that variable.
- Trying to find a community Ruleset, Extension or Information on how to complete a process? Try FGRepository.
- PM Myself if you have new or updated community Rulesets, Extensions or Information that you'd like added to FGRepository.
-
June 24th, 2011, 02:27 #7
And it all still works. Awesome.
Thanks for the heads up about the compatibility version.- Trying to find a community Ruleset, Extension or Information on how to complete a process? Try FGRepository.
- PM Myself if you have new or updated community Rulesets, Extensions or Information that you'd like added to FGRepository.
-
July 11th, 2011, 11:34 #8
a little additional question.
it seems that many rulesets (and more specifically C&C) have a root version value for every xml file.
Is this just outdated code, or can you really set the compatibility of each indivdual xml file?
Do all of these need changed or are they overridden by the base.xml value?
I note that the new 3.5E ruleset does not have these extra values.
-
July 11th, 2011, 21:35 #9
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,568
The compatibility version is only read once, from the base.xml file. So, the version information in all the other files was being ignored anyways.
Regards,
JPG
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks