ICBM: Escalation — Modder's Reference¶
For ICBM: Escalation 1.2.0.
This guide documents how to mod the game: every property the game reads from its unit, weapon, sensor, explosion and
technology files, the AI and diplomacy files, maps, campaigns and scenarios, the event script language, the
Explodopedia and the other configuration files. Everything is done by editing text files and testing in the
Cheats build (ICBM_CHEATS.exe), the modding edition of the game.
New to modding? Start with chapter 19, Making mods, step by step: a minimal mod, then short guides for each kind of mod. Come back to the reference chapters for the details.
Contents¶
Getting started¶
| # | Chapter | What it covers |
|---|---|---|
| 19 | Making mods, step by step | Where mods live, a minimal mod, testing it, and step-by-step guides: units, weapons and technologies, diplomacy, AI, Explodopedia, pictures and portraits, maps, scenarios, translations |
| 00 | Basics | File layout, load order, mods (USE PREVIOUS), MODIFY / COPY / delete / reset, IF markers, units of measure, errors at loading |
| 10 | Cheats build | The modding edition of the game: every cheat key combination, saving as a scenario, testing a mod |
Units, weapons and technologies¶
| # | Chapter | What it covers |
|---|---|---|
| 01 | Units | Every [UNIT] property: stats, weapon configs, hangars and airways, readiness states, occupation, AI hints, VirtualCity |
| 02 | Missiles | Every [MISSILE] / [TYPE] property: targeting classes, range, speed, precision, MIRVs, Geneva and AI categories, jamming |
| 03 | Explosions and combat | Every [EXPLOSION] property, the damage, hit, interception and city-casualty formulas, emulated explosions |
| 04 | Radars | Every [RADAR] / [TYPE] property: detection classes, range, altitude ceiling, precise targeting |
| 05 | Technologies | Tech.txt: technologies, types, levels, unit classes, DEFCON, costs, TechLevels.txt, ProductionEfficiency.txt |
| 06 | Tech modifiers | ImprovedBy / AffectedBy: operators, Complex / case, Unless, AND, blocks, Modifier tags, ladders |
| 07 | Tuning guide | Recipes for common balance changes and how to test them |
AI and diplomacy¶
| # | Chapter | What it covers |
|---|---|---|
| 08 | AI configuration | The AI/ folder: roles, defence groups, group compositions, strategies and research lists, dynamic build rules, covert operations, personalities, the Space line, mood and infamy keywords |
| 20 | Diplomacy | How mood, infamy, sanctions and personalities shape diplomacy, the AI's words in mood.lng, and diplomacy mods |
Maps, scenarios and scripts¶
| # | Chapter | What it covers |
|---|---|---|
| 09 | Maps | The map file in Maps/: masks, terrain, regions and factions, cities, starting setup, AI cache, lobby defaults; a map from a saved game and from zero |
| 11 | Campaigns and scenarios | SCENARIO files, ScenarioInfo, missions, chaining missions, mission-specific mods, worked examples |
| 13 | Tutorial missions | The tutorial script language of Tutorial/MissionN/ |
| 15 | Event scripts: the language | File structure, variables, operators, control flow, sets, triggers, combining events, blocks |
| 16 | Event scripts: events and actions | Every built-in event and every action |
| 17 | Event scripts: SELECT and functions | SELECT … INTO, built-in variables, every built-in function |
| 18 | Event scripts: libraries and patterns | The standard libraries, common patterns, pitfalls, a complete faction script |
Other files¶
| # | Chapter | What it covers |
|---|---|---|
| 12 | Other configuration files | Mod info.txt, game rules, pictures and models, portraits, name banks, music, interface, language files, game modes |
| 14 | Explodopedia | The in-game encyclopedia: pages, explodopedia.lng, general articles, adding them in a mod |
Catalogs of the shipped data¶
Separate from the guide: generated lists of the values in the shipped files, for looking things up.
| # | Catalog | What it lists |
|---|---|---|
| A1 | Units | Base values of all shipped unit types, their weapon configs, radars, hosted units and modifier tags |
| A2 | Missiles | Base values of all shipped weapons, type templates, Geneva and AI categories |
| A3 | Explosions | Damage, radii, yields and lasting effects of all explosions |
| A4 | Radars | Range, altitude ceiling and detection classes of all sensors |
| A5 | Technologies | Every technology with display name, cost, level, category and unlocks |
How the pieces fit together¶
Tech.txt ──────────────► Technology ◄─── every unit / missile / radar needs one (Tech "…"): it gives the
│ ▲ display name and makes the object available when researched
│ │
│ ImprovedBy / AffectedBy "tech" (06)
│ │
Units/Radars.txt ───► Radar ─┐
Units/explosion.txt ► Explosion ◄── Explosion "…" ── Missile ◄── Weapon "…" in a Config ── Unit type
Units/Missiles.txt ─► (Missile_types.txt + Missile_defs.txt) Radar "…" ──────────┘
Units/Units.txt ────► Unit types (and the VirtualCity pseudo-unit)
- A unit type carries weapon configs (lists of missiles with stock, salvo size and reload time), radars, hosted units, and modifier tags.
- A missile is any weapon or effect a unit can apply — guns, lasers, cyber attacks, buffs and debuffs are all missiles. It flies (or acts instantly) and then produces one or more explosions.
- An explosion carries the actual damage, blast radii, casualties, pollution and lasting effects.
- A radar is any sensor (radar, sonar, optics, satellite camera).
- Technologies unlock objects and drive almost all balance through tech modifiers.
For the values of the shipped objects, read the game's own files (Units/Units.txt, Units/Missile_defs.txt,
Units/explosion.txt, Units/Radars.txt, Tech.txt), or the catalogs listed above.
Load order at start-up¶
Tech.txt(the other files look technologies up by ID)Units/explosion.txt(explosions)Units/Radars.txtUnits/Missiles.txt(whichUSEsMissile_types.txtthenMissile_defs.txt)Units/Units.txt
An object can only refer to things loaded earlier or in the same file (unit types may forward-reference other unit types in the same file). A multiplayer game compares a CRC of the loaded values, so every player must run the same mods.