Page 1 of 1
Some (probably) silly questions
Posted: Fri Apr 17, 2026 5:28 pm
by FriendAtArms
Like I said in my Community post yesterday, I've been making a custom ruleset in v2.6. (I'll update it to v3.x in a few months, when I've got a computer able to run it. But all in due time.) I ran into a few problems, and I'm hoping the folks here can help.
First, in the Units file. Am I correct in assuming the only "work" that counts for veteran_work_raise_chance is terrain-based activity? Roads, bases, transforming a tile into a new type?
Am I also correct in assuming the CanPillage flag is required for ships to destroy oceanic "bases", like buoys?
Re: Some (probably) silly questions
Posted: Fri Apr 17, 2026 8:48 pm
by cazfi
FriendAtArms wrote: ↑Fri Apr 17, 2026 5:28 pmFirst, in the Units file. Am I correct in assuming the only "work" that counts for veteran_work_raise_chance is terrain-based activity? Roads, bases, transforming a tile into a new type?
Yes
FriendAtArms wrote: ↑Fri Apr 17, 2026 5:28 pmAm I also correct in assuming the CanPillage flag is required for ships to destroy oceanic "bases", like buoys?
Yes
Re: Some (probably) silly questions
Posted: Sat Apr 18, 2026 12:37 am
by FriendAtArms
Heck yeah, I'm two-for-two!
Next question: I've got a custom tech-tree, with custom tech costs. So in the Game file, I've set tech_cost_style to "Classic+". But every time I test the ruleset (only 2 tiers right now), tier-1 techs cost 1 bulb and tier-2 techs cost 2 bulbs, regardless of what changes I make to either the Game file or the Techs file. I know this isn't a problem for other Classic+ and Experimental+ rulesets, like Sandbox and Civ2Civ3. But even after comparing my ruleset's Game and Techs files, with those rulesets' Game and Techs files, I can't see what I've done wrong.
From my Game file:
[research]
tech_cost_style = "Classic+"
base_tech_cost = 20
tech_leakage = "None"
tech_upkeep_style = "None"
free_tech_method = "Goal"
And a sample tech from my Techs file (I'll fill in the helptext with actual helpful text later):
[advance_aristocracy]
name = _("Aristocracy")
req1 = "None"
req2 = "None"
flags = ""
graphic = "a.feudalism"
graphic_alt = "-"
helptext = _("\
Lorem ipsum \
blah-blah-blah.\
")
cost = 25