Follow-up Comment #1, patch #5678 (project freeciv):
Something I've been pondering for a while is a way for server operators to
dynamically add some effects to a ruleset in a separate file, so that they can
easily run different games with different parameter tweaks to compensate for
map size, etc, without having to clone and hack the standard rulesets.
A similar idea might work here; a scenario could add some effects to mix in to
the ruleset's effects.ruleset to tweak the rules (a hypothetical
City_Founding_Possible effect, and Unit_Build_Possible matching on Settlers).
This would less less friendly but much cheaper than adding a new scenario
option for every tweak a scenario might want to make.
This would require the ability to track and re-save these effects -- not hard,
I think -- and, more onerously, it would place several kinds of backward
compatibility requirements on effects definitions since they could hang around
in savefiles between major engine versions and ruleset versions.
So perhaps it would be better to stick with my first idea, of a
server-operator-specified effects file, and make it easy to bundle that + a
scenario savefile together as a downloadable modpack.
(Although I suppose the cheapest way to do that would for the modpack to
contain a mostly-empty 'default_nocities' ruleset that just *include'd the
default ruleset and contained the extra effects, requiring no engine work at
all?)
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?5678>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev