IIITotal Conquest

Aqueduct for mod makers

Settings

Set these in your mod's data\aqueduct.ini or the player's aqueduct.ini. The player's value wins.

aqueduct.ini
[stock]
bar=0

G marks a switch that [general] gameplay=0 turns off by default. P marks a setting only the player can change: a mod's value is ignored and the log says so.

Every file setting names a data file somewhere else. Empty means your mod's data\ folder.

general

KeyDefaultWhat
activemodmod: on while an enabled mod asks. always: on with any mod or none. never: offP
gameplay10: crash fixes, speed-ups and commands only. Default 0 under active=always with no mod asking
require_mod10: on with everything, whatever mod runs (older form, for tests)P
modsonly these mods may switch it on, separated by ;: a Workshop ID, folder name or mod name. Empty: anyP

fixes

Crash fixes. All on.

KeyDefaultWhat
add_soldiers1add_soldiers uses the unit's real maximum
quicksave1Ctrl+S after control
senate_guard1a senate's war on a member with no AI object
dying_faction1a faction whose last character died in battle finishes dying
ship_queue1destroy_building with a ship queued
null_army1AI bids on a destroyed army
news_accept1accepting a marriage or adoption in the news list
ui_junk1discarded UI pieces emptied while in the background
atlas1the UI's picture store growing in a long session
army_guard1dead units and stray bodyguards in army lists
coming_of_age1an heir when the leader's armies are full
panel1the info panel on a dead army or character
card_leak1siege news unit cards returned
tooltip_leak1the faction button's tooltip lists freed
building_tip1a building card's tooltip rebuilt inside its rebuild
sound_reset1an audio device change during play

speed

KeyDefaultWhat
enabled10: none of this section
ai_speed1AI turns at top campaign speed
ai_uncapped1no frame limit in AI turns
ai_gaps1no waits between AI factions
ai_fg_ms30the AI's most ms a frame with the window in front
awake0no background sleep (harmful with "Pause game on suspend")
background_mouse1the game leaves the mouse alone while in the background
log_buffer1the game's log written every 250 ms
timer_1ms1a 1 ms system timer
unit_cache1unit lookups cached in AI turns
load_frames1no frame limit while a campaign loads
boot_files1file checks answered from folder lists; 2 also checks each answer
save_writes1saves written in 1 MB pieces
doc_files1script docs written without reopening the file
texture_poll1the texture loader checks jobs every 2 ms
texture_check_read0skip a texture's check read (experimental)
fog_trim1fog-of-war tables released from memory
fog_trim_s20how often, at least 10
prefetch1files a load needs read ahead
prefetch_threads8threads for it
prefetch_mb8192most MB read ahead

ai

KeyDefaultWhat
gather_all1every prepared attack marches its armiesG
gather_fix1a gathering army isn't held back by unrelated requestsG
fleet_merge1AI fleets mergeG
superfaction_invasion1AI of any size may invade AI superfaction membersG
sail_when_faster1AI armies sail when it beats walkingG
invasion_size1the invasion_min_units rule of rtwr_diplomacy.txt

general behaviour

SectionKeyDefaultWhat
battlescliff_docks1siege engines kept off walls above cliffsG
battlescliff_drop4metres that count as a cliff
battlescliff_reach12within how many metres
deedsenabled1deeds kept for the player's familyG
deedswindow1the character card buttonG
governorsnew_generals1new family generals go to governG
governorsteleport1the player's new men get there at onceG
governorsai0the same for the AI
messagesquiet_unknown_defeats1no defeat news of factions you never metG
messagesdefeats_known_by_war0being at war counts as having met
messageschoice_type136the message type rtwr_choice uses
messagesimagemessengerdefault message picture
territory_sightenabled1a faction sees its own landG
territory_sightradius4how far each seer sees
treasurycapture1a captured town's savings go to its captorG
treasuryturns5turns of revenue a town has saved
treasurykept_withabandon_pendinghidden resource that marks a town given up
uifit1our windows shrink to what they show
faction_listgroups1the faction list in sectionsG
faction_listcolumns5shields a row; 0: the game's 3G
faction_listscroll_rows1rows a wheel notch; 0: the game'sG

script features

SectionKeyDefaultWhat
script_fixesnot_compare_counter0not I_CompareCounter negates
script_fixesunder_siege1the I_SettlementUnderSiege condition
script_fixescreate_unit_ships1create_unit makes fleets at ports
horde_targetsenabled1horde_target_ counters
horde_targetslend_per_ai_turn1its register only in AI turns
ai_army_targetenabled1the ai_army_target command
settlement_statsenabled1po_, growth_, income_ counters
constructionfix1build clicks past chain 255, costs past 65,535
building_costsenabled0costs above 65,535 everywhere
building_costsfilemore building files, separated by ;
dead_horde_fixenabled1dead re-emergent hordes
divide_guardenabled1the AI score's divide by zero
object_tablemodecountsaves past 65,536 objects: on, count (only logs), off
banner_pipsenabled0pip_ counters draw icons
banner_pipsscale1their size
banner_pipsdebug0log star and pip quads
banner_pipstest0draw test pips
recruitmentrules1the ; rtwr tags
recruitmentfilethe building file, if not found by itself
recruitmentretrain_onlyunits ruled everywhere, separated by ;
recruitmentrecruit_onlythe same

data-driven systems

Each also has file.

SectionKeyDefaultWhat
script_uienabled1rtwr_ui.txt
script_uipips1map pips
script_uicard_windows1card windows
script_uifile
decisionsenabled1the decisions window
decisionsbutton1its HUD button
decisionsbutton_xbuilt inthe button's place
decisionsbutton_ybuilt in
decisionsiconbuilt inits picture
decisionshoverbuilt in
decisionsclose_iconbuilt inthe window's close button
decisionsclose_hoverbuilt in
economyrules1rtwr_economy.txt
economyfile
economyculture_filertwr_culture.txt
economyreport0CSV report each season (large)P
resourcesenabled1rtwr_trade.txt
resourcestrade1our trade income
resourcesimports1imports count as present
resourcescounters1res_ counters
resourcespage1the Resources page
resourcesmap1wagons follow our trade
resourcestrade_window1Trade Details shows our amounts
resourcesfile
stockenabled1rtwr_stock.txt
stockbar1the top bar
stockbar_y0its distance from the top
stockregion_bar1the region's bar
stockbutton1the cart button
stockiconbuilt inits picture
stockhoverbuilt in
stockai1other factions keep stores
stockhud_forecast1the money forecast counts trade
stockfile
villagesenabled1rtwr_villages.txt
villageswindow1the village window
villagesfort_button1the build button works on forts
villagesbutton_tooltipbuilt inits tooltip
villagesinfooursthe building info panel
villagesassault_without_walls1no siege engines needed without walls
villagesowner_culture_look1villages look like their owner's
villagesfile
townslayouts1town layouts
townsset_prefixrtwr_towns_layout sets' name
townsfile
slotsfilertwr_slots.txt
popswindow1the Peoples window
popsfile
needsfile
diplomacyenabled1rtwr_diplomacy.txt
diplomacyprotectorate_demand1superfaction members may demand protectoratesG
diplomacyfile
attritionenabled1rtwr_attrition.txt
attritionicon1the banner mark
attritionfile
prisonersenabled1rtwr_prisoners.txt
prisonersfile
crownenabled1rtwr_crown.txt
crownwindow1the Crown window
crownshared_sight1the crown sees what its satraps see
crownfile

battle_commander

A mod may set personalities, commander, strategist, native_ai, sieges and file. Everything else here is P: it names servers, keys and programs, or costs the player money.

KeyDefaultWhat
personalities1battle AI personalities from rtwr_battle_ai.txt
commander0the rule commander
strategist0the playbook: the AI's larger army forms up and fights by a battle plan (field battles; no model, no cost)
native_ai0the formation, formation_spread and flank lines of rtwr_battle_ai.txt steer the game's own battle AI
sieges1the commander in sieges
filertwr_battle_ai.txt elsewhere
llm0a language model as commander
provideropenaiopenai, anthropic or codex
endpointOpenAI'san OpenAI-style server
api_keyits key
modelgpt-5-nano
reasoning_effortminimal
max_tokens800
tokens_fieldmax_completion_tokens
temperature
json_mode1
interval_s5least battle seconds between calls
quiet_s20a call after this long without news
modegroupsdirective (the model picks the plan, the playbook carries it out: few, small calls), groups or orders
directive_interval_s20mode=directive: least battle seconds between calls
directive_quiet_s90mode=directive: a call after this long without news
opening_effortmedium
start_wait_s20the army waits for the opening plan
hold_s30
max_calls300calls a battle
timeout_s12
price_in0.05dollars a million tokens, for the log
price_out0.40
log1rtwr_battle_commander.log
prompt_filereplaces the instructions
anthropic_endpointAnthropic's
anthropic_key
anthropic_modelclaude-haiku-5-5
anthropic_effortlow
anthropic_price_in0.10
anthropic_price_out0.50
codex_paththe Codex program
codex_model
codex_effortlow
codex_sessions0keep calls in Codex's history
codex_timeout_s40

For tests and development

All P.

SectionKeyDefaultWhat
autotestenabled0scripted test run
autotestsave
autotestcommands
autotesttarget
autotestrounds2
autotestquit1
autotestobserveran AI-only run's faction
profileboot0start-up profiler
profileinterval_ms5
profilemax_s900
registersai_fixes_in_phases1debug registers lent only in AI turns
registersquicksave_in_phase1lent only while Ctrl+S is pending
threadsrearm1threads armed again every 2 s