Freeciv-ruledit is a utility to first appear in freeciv-2.6. In that version it's more like a teaser of the future utility, that is going to get better and better over coming versions. Here is what is already implemented in each freeciv development branch
For the freeciv-ruledit development, main task has been writing the code that can save a ruleset from memory to a set of ruleset files. This alone does not provide anything that end-user can observe, but is needed for any kind of working ruleset editor.
One thing user can use freeciv-ruledit for is checking some statistics of a ruleset. Ruledit displays how many techs, units, buildings, extras, etc a ruleset has.
In the actual editing side one can arrange order of techs in a tech tree and rename units, buildings, and techs.
For a user to be able to continue editing ruleset that was started with freeciv-2.6 ruledit, ruleset loading code has been made able to load not only freeciv-3.0 rulesets but also rulesets of previous version (in this case; freeciv-2.6 rulesets). As a spinoff from this work separate simple commandline utility freeciv-ruleup for updating rulesets from freeciv-2.6 format to freeciv-3.0 format has been created.
Saving the ruleset has been extended so that it does not save just the rules as they are in the memory, but also writes some standard comments to the ruleset being saved. Any non-standard comments, and the formatting of the ruleset, are still lost when ruleset is loaded to the memory and then resaved.
Tabs have been added for the object types Good, Government, Extra, and Terrain. All of them can be renamed just like it was possible in 2.6 version to rename those object types that were presented. Also Action Enabler object type exist also in S3_0 branch at the moment, but I'm not sure if it will fit the concept of freeciv-3.0 ruledit or will it be removed from that version to make debut in later version.
Requirements of the object types for which they are applicable can be edited. This includes adding and deleting requirements.
I'm currently working on effects editing support. Combined with the requirement editing (already in freeciv-3.0 version) this gives powerful access to most complex constructs in our ruleset format. From the building editing one can easily go to adjust what other requirements an effect provided by the building has. For example, while you are editing City Walls, you can add "Mountains" requirement for its Defense bonus effect to make City Walls effective on mountains only.
Contribute, display and discuss rulesets and modpacks for use in Freeciv here.
3 posts • Page 1 of 1
dunnoob wrote:See no ruledit.exe (or even ruleup.exe) in 2.6.0-beta1, is that as it should be? Not seriously planning to use it before 3.0, but for that my ruleset should at least survive the "load and show stats" feature.
Ruleup does not exist at all for S2_6 (first automatic update of rulesets is S2_6 -> S3_0)
Ruledit installer package is not made available in featured downloads. I think it's still included in Qt-client installer (that's an inconsistency, and we may still remove it before final 2.6.0 release) since Qt libraries are there readily available. In the full set of experimental msys2 based installers also the ruledit installer is available in http://files.freeciv.org/packages/windo ... 6.0-beta1/