'Resplendent' Ruleset (expansion)

Contribute, display and discuss rulesets and modpacks for use in Freeciv here.
User avatar
Posts: 61
Joined: Thu May 17, 2018 4:54 pm

'Resplendent' Ruleset (expansion)

Postby vodot » Fri Jul 13, 2018 9:40 pm

Creating a new topic to track Resplendent, my mega mod which contains expands the Tech Tree (particularly in the Atomic and Digital ages) and doubles the unit count. There is still a lot to be done, but this will give me a place to plan and publish releases.

I'm also going to pause on Resplendent for a bit to review some of what is currently out there, particularly NExtended, Corbeau's, and Bard's civ2civ3 ruleset. I have a couple other things going on here as well (Civ Traits, and exploring writing some portrait+dialogue driven diplomacy)

I had originally just lumped this (very different effort) into the "Civ Traits" topic, but that makes no sense. :?
Last edited by vodot on Fri Jul 13, 2018 9:54 pm, edited 1 time in total.

User avatar
Posts: 61
Joined: Thu May 17, 2018 4:54 pm

Re: 'Resplendent' Ruleset (expansion)

Postby vodot » Fri Jul 13, 2018 9:48 pm

From my original post that combined Resplendent and Civ Traits:

Hi all, I've never really posted anything here but years ago I created a private mod back in 2.2/3 that added (in addition to gobs of additional techs, buildings, and units) civ-specific traits and trait-specific units, buildings, and bonuses. I'm not sure how many others have attempted something like this, or how much progress has been made in 2.6/3.0+ towards making this easier than my kludgey method (which used new starting "technologies" as stand-ins for traits, then gave the techs the bonuses directly and called them as prereqs for units and buildings), but after reading a 2016 thread on the subject I decided to post the work that I've done in hopes of getting some feedback.

I hardcoded 57 nations to have unique combinations of two traits each (this drives some of the combinations which might seem odd or historically sub-optimal). I did not quite reach my goal of having every possible combination (78 of them) represented by a nation (see screenshot below). I've since edited this and now am missing only six --> four --> have all of the potential trait pairs.

I'm currently trying to pull my work forward into the 2.6 era and I don't see anything yet about native traits and so was by default planning to just update my old "technologies" method for 2.6+.

Please, before I get too far, someone let me know if there is an easier way to do traits/unique units/buildings in 2.6!

I'd like to post my custom unit gfx files, but I hesitate due to them being mostly old CivFanatics/Apolyton fanmade sprites of... uncertain copyright status. I'm sure if that was an approved method for sourcing sprites, then freeciv would already be full of those awesome gfx files today. But I can at least post my rulesets and everything else I was working on, while the search for explicitly open-source sprites goes on in parallel.

Lists of traits and the abilities/units/buildings they bestow:
  • Militaristic
    - Mounted and Siege-type land units gain +1 MP
    - Mounted and Siege-type land units built with +2 EXP
  • Agricultural
    - +25% food production all tiles
    - Unit: Peons (cheaper, immediate workers)
    - Building: Silos (cheaper, immediate granaries)
  • Diplomatic
    - +10% chance of espionage success
    - Free AI Love each turn
    - +2 MP all diplomat-type units
    - Unit: Envoy (cheaper, immediate diplomat [1-only])
  • Imperialistic
    - Halved waste and corruption in all cities
    - Unit:Expedition (strong, fast settlers [1-only])
  • Industialistic
    - +25% Production in all cities
    - Building: Forge (immediate, weaker factory)
  • Maritime
    - +1 Food all Ocean tiles
    - Naval units built as veterans
    - +1 MP all ships
    - Unit: Karakoa (immediate, cheaper Trireme)
  • Mercantile
    - +25% gold and luxuries in all cities
    - Unit: Merchant (immediate, fast caravan [1-only])
    - Building: Bazaar (immediate, weaker marketplace)
  • Naturalistic
    - +25% defense in hills, desert, jungle, and forest
    - All terrains cost 1 MP
    - +1 food and +1 trade in forests, jungle, swamp, tundra, and hills
    - Unit: Ranger (explorer with +1 atk and +1 def)
  • Nomadic
    - +1 MP all foot units
    - Foot units heal an extra +10% HP every turn.
    - +1 food, trade, and production for desert tiles
    - Unit: Nomads (cheaper, stronger settlers with pop_cost 2)
  • Philosophical
    - +10% science, gold, luxuries, and production in all cities
    - -25% corruption
    - Gains any technology known by 3 other civilizations
    - Building: Forum (immediate, force_content=1, +10% science
  • Protective
    - Units and cities are unbribeable
    - Ranged units and air units are always built as veterans
    - Building: Commune (immediate, weaker courthouse)
  • Scientific
    - +25% Science in all cities
    - Building: Archives (immediate, weaker library)
  • Spiritual
    - Halved war weariness
    - force_happy=1 in all cities
    - Building: Altar (immediate, weaker temple)

some todo:

Main 2.6 migration ruleset + spec effort:
  • techs.ruleset DONE
  • units.ruleset DONE* (dummy entries only, details not yet re-implemented from 2.2/3)
  • effects.ruleset DONE
  • nationslist.ruleset DONE
  • nations.ruleset DONE
  • ...every individual nation.ruleset... DONE
  • game.ruleset <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< I am here.
  • buildings.ruleset
  • governments.ruleset
  • Update tileset baseline from Amplio to Hexemplio
  • units.spec
  • buildings.spec

Terrain tweaks 1.0:
  • Migrate terrain ruleset over
  • Include tile variants for Grassland & Plains
  • Pull in custom terrain gfx
  • Recolor some base terrain to match
  • Add 6-way matching to forests

Terrain tweaks 2.0:
  • Strategic Resources
  • Redo terrain ruleset

Terrain tweaks 3.0
  • Re-implement forests as new layer atop base layers
  • Update map generator
  • Config deforestation

Civ Trait list + Artwork + Unit Stat table are below.
NOTE: while I assembled and arranged it for my private use, the artwork in "Units.png" (attached) is not mine, and I am uncertain of the sources of many of the images. Some of the images were modified by me from their originals. I have Licenses to use some of them in Freeciv, but not all yet; in conversations with a bunch of people over on CivFanatics Civ2 Scenario League.
Unit_stats (1).PNG
units (2).png

Posts: 34
Joined: Mon Jul 02, 2018 1:49 pm

Re: 'Resplendent' Ruleset (expansion)

Postby Wahazar » Sat Jul 14, 2018 12:54 am

Impressive project.
So if I understand correctly, each nation would have slightly different properties?
Is it for AI only, or general?

User avatar
Posts: 61
Joined: Thu May 17, 2018 4:54 pm

Re: 'Resplendent' Ruleset (expansion)

Postby vodot » Mon Jul 16, 2018 1:36 pm

Wahazar wrote:Impressive project.
So if I understand correctly, each nation would have slightly different properties?
Is it for AI only, or general?

Thanks, it really is a bit of a mess at the moment. It worked best in 2011, ironically, and even then there were big unfinished chunks all over the place.

When you say properties, I can think of three potential differences that Traits could create: bonuses, unique units/buildings, and play style/strategy.

RE: Bonuses and UUs/UBs, those are designed to be useful to the AI, and the AI uses has access to them. RE: strategy, however, the AI is currently blind to the Traits coming from my mod. I haven't lifted the proverbial hood of the AI yet, so an imperialistic civ like Russia is not going to necessarily play more imperialistically. Still in many cases the combination of their unique units and buildings + the reinforcing bonuses they receive seems to help them along whenever they do make more true-to-role decisions (e.g. I have definitely seen the Vikings (Maritime + Militaristic) start harassing very early with veteran ships (which they can build from the start) and landing parties made up of veteran warriors).

As far as actually helping the AI to live into the role a bit more, there is hope on that front- as was pointed out to me in my first Civ Traits post, there are already a couple lines of code around two RNG 'AI traits': expansionist and trader. It would be easy to add some code around ensuring that civs with "Imperialistic" or "mercantile" are always in the top 20% or so of the "expansionistic" or "trader" AI spectrums, respectively; same for any future traits that get coded into the AI like aggression, etc.