Modding reference
Every id and name a mod can use, from this version of the game. A patch names one of these ids to change that entry. To add a new entry, give it an id of your own. How to write either is in the modding guide. We publish the names. We do not publish the game's numbers.
Units
The units an army has: infantry, crews and vehicles. In a data file they are in units.
| Id | Name | Army |
|---|---|---|
gb_rifle_section | Rifle Section | gb |
gb_lewis_section | Lewis Gun Section | gb |
gb_bombers | Bombing Party | gb |
gb_vickers_team | Vickers MG Team | gb |
gb_stokes_team | Stokes Mortar Team | gb |
gb_18pdr | 18-pounder Field Gun | gb |
gb_6in_howitzer | 6-inch Howitzer | gb |
gb_aa_gun | 13-pounder AA Section | gb |
gb_sniper | Sniper Team | gb |
gb_observer | Forward Observer | gb |
gb_engineers | Royal Engineers | gb |
gb_officer | Platoon HQ | gb |
gb_cavalry | Cavalry Troop | gb |
gb_mk1_male | Mark I (Male) | gb |
gb_mk1_female | Mark I (Female) | gb |
gb_mk4_male | Mark IV (Male) | gb |
gb_mk4_female | Mark IV (Female) | gb |
gb_whippet | Medium Mark A 'Whippet' | gb |
gb_armored_car | Rolls-Royce Armoured Car | gb |
gb_supply_lorry | Supply Lorry | gb |
gb_stretcher_bearers | Stretcher Bearers | gb |
fr_rifle_section | Escouade d'infanterie | fr |
fr_chauchat_section | Groupe de fusiliers-mitrailleurs | fr |
fr_grenadiers | Grenadiers d'élite | fr |
fr_hotchkiss_team | Section Hotchkiss | fr |
fr_58mm_mortar | Crapouillot 58 T | fr |
fr_75mm | Canon de 75 | fr |
fr_155mm | 155 C Schneider | fr |
fr_aa_gun | Autocanon de 75 | fr |
fr_sniper | Tireur d'élite | fr |
fr_observer | Observateur d'artillerie | fr |
fr_genie | Sapeurs du génie | fr |
fr_officer | Chef de section | fr |
fr_cavalry | Escadron de cuirassiers | fr |
fr_renault_ft | Renault FT | fr |
fr_schneider | Schneider CA1 | fr |
fr_armored_car | Automitrailleuse Peugeot | fr |
fr_supply_lorry | Camion de ravitaillement | fr |
fr_stretcher_bearers | Brancardiers | fr |
de_rifle_section | Gruppe | de |
de_lmg_section | Leichte MG-Gruppe | de |
de_stosstrupp | Stoßtrupp | de |
de_mg08_team | MG 08 Trupp | de |
de_light_mw | Leichter Minenwerfer | de |
de_medium_mw | Mittlerer Minenwerfer | de |
de_77mm | 7.7 cm Feldkanone | de |
de_15cm_howitzer | 15 cm schwere Feldhaubitze | de |
de_aa_gun | Flak-Zug | de |
de_atrifle_team | Tankgewehr-Trupp | de |
de_flamethrower | Flammenwerfer-Trupp | de |
de_sniper | Scharfschütze | de |
de_observer | Artilleriebeobachter | de |
de_pioniere | Pioniere | de |
de_officer | Zugführer | de |
de_cavalry | Ulanen-Schwadron | de |
de_a7v | A7V Sturmpanzerwagen | de |
de_armored_car | Ehrhardt Panzerwagen | de |
de_supply_lorry | Nachschub-Lastwagen | de |
de_stretcher_bearers | Krankenträger | de |
Weapons
Every weapon: rifles, machine guns, grenades, mortars and guns. In a data file they are in weapons.
| Id | Name |
|---|---|
smle | SMLE Mk III |
lebel | Lebel Mle 1886 |
gewehr98 | Gewehr 98 |
carbine | Cavalry carbine |
kar98az | Karabiner 98 AZ |
scoped_smle | Scoped SMLE (sniper) |
scoped_gewehr | Gewehr 98 with Zeiss scope |
scoped_lebel | Lebel with APX scope |
webley | Webley revolver |
luger | Luger P08 |
ruby | Ruby pistol |
mp18 | MP 18 |
lewis | Lewis gun |
chauchat | Chauchat CSRG |
mg0815 | MG 08/15 |
vickers | Vickers .303 |
mg08 | MG 08 |
hotchkiss | Hotchkiss M1914 |
lewis_tank | Lewis (vehicle) |
vickers_tank | Vickers (vehicle) |
hotchkiss_tank | Hotchkiss (vehicle) |
maxim_tank | Maxim (vehicle) |
vickers_air | Synchronised Vickers |
spandau_air | Synchronised LMG 08/15 |
lewis_dh2 | Lewis (pilot's, forward) |
lewis_air | Observer's Lewis |
mills_bomb | Mills bomb No.5 |
stielhandgranate | Stielhandgranate M1917 |
f1_grenade | F1 grenade |
vb_grenade | Vivien-Bessières rifle grenade |
stokes | Stokes 3-inch mortar |
leichter_mw | 7.58 cm leichter Minenwerfer |
mittlerer_mw | 17 cm mittlerer Minenwerfer |
crapouillot | 58 mm T No.2 'crapouillot' |
qf18pdr | QF 18-pounder |
fk96 | 7.7 cm FK 96 n.A. |
mle1897 | Canon de 75 mle 1897 |
bl6in_how | BL 6-inch 26 cwt howitzer |
sfh13 | 15 cm sFH 13 |
c155 | 155 C mle 1917 Schneider |
heavy_9in2 | BL 9.2-inch howitzer (corps) |
heavy_21cm | 21 cm Mörser (corps) |
offmap_field | Divisional field artillery |
qf6pdr | QF 6-pounder (tank) |
puteaux37 | 37 mm Puteaux SA 18 |
short75 | 75 mm Blockhaus Schneider |
maxim_nordenfelt57 | 5.7 cm Maxim-Nordenfelt |
tgewehr | Mauser T-Gewehr |
flammenwerfer | Wex flamethrower |
qf13pdr_aa | QF 13-pounder AA |
flak77 | 7.7 cm Flak |
autocanon75 | 75 mm autocanon |
bomb_112lb | 112 lb bomb |
bomb_50kg | 50 kg P.u.W. bomb |
bomb_breguet | Michelin 40 kg bomb |
Shells
The kinds of artillery shell. In a data file they are in shells.
| Id | Name |
|---|---|
he | High explosive |
shrapnel | Shrapnel |
smoke | Smoke |
gas | Gas |
Abilities
Special actions of units. In a data file they are in abilities.
| Id | Name |
|---|---|
charge | Over the Top! |
flare | Very Light |
smoke_grenade | Smoke grenades |
gb_grenade_volley | Bomb the trench |
fr_grenade_volley | Grenade volley |
de_grenade_volley | Handgranaten! |
gas_release | Release gas |
sprint | Double time |
Structures
Buildings and works: farmhouses, churches, dugouts, nests, depots. In a data file they are in structures.
| Id | Name |
|---|---|
farmhouse | Farmhouse |
barn | Barn |
cottage | Cottage |
church | Church |
chateau | Chateau |
windmill | Windmill |
well | Well |
shrine | Wayside shrine |
haystack | Haystack |
cart | Abandoned cart |
crates | Crates |
hq | Battalion HQ |
depot | Supply dump |
aidpost | Regimental aid post |
obspost | Observation post |
bunker | Concrete pillbox |
mgnest | Machine-gun nest |
gunpit | Gun pit |
dugout | Dugout |
Terrain
Kinds of ground. In a data file they are in terrain.
| Id | Name |
|---|---|
grass | Meadow |
grass_dry | Dry grass |
field_plowed | Ploughed field |
field_wheat | Wheat field |
forest_floor | Woodland |
mud | Mud |
churned | Shell-torn ground |
road_dirt | Dirt road |
road_cobble | Cobbled road |
bridge | Bridge |
water | Water |
marsh | Marsh |
sand | Sand |
rubble | Rubble |
snow | Snow |
Armies
The armies. In a data file they are in factions.
| Id | Name |
|---|---|
gb | British Expeditionary Force |
fr | Armée française |
de | Deutsches Heer |
Each army's units (what it can buy) and callIns, in the game's order. A patch replaces a list whole, so copy the list and add your ids to it.
British Expeditionary Force (gb)
{
"units": [
"gb_rifle_section",
"gb_lewis_section",
"gb_bombers",
"gb_officer",
"gb_sniper",
"gb_observer",
"gb_engineers",
"gb_vickers_team",
"gb_stokes_team",
"gb_18pdr",
"gb_6in_howitzer",
"gb_aa_gun",
"gb_cavalry",
"gb_mk1_male",
"gb_mk1_female",
"gb_mk4_male",
"gb_mk4_female",
"gb_whippet",
"gb_armored_car",
"gb_supply_lorry"
],
"callIns": [
"gb_field_barrage",
"gb_shrapnel_barrage",
"gb_heavy_barrage",
"gb_smoke_barrage",
"gb_gas_barrage",
"gb_livens",
"gb_recon_flight",
"gb_recon_flight_re8",
"gb_fighter_patrol_dh2",
"gb_fighter_patrol",
"gb_bombing_raid",
"gb_balloon",
"gb_reinforcements",
"gb_supply_convoy"
]
}
Armée française (fr)
{
"units": [
"fr_rifle_section",
"fr_chauchat_section",
"fr_grenadiers",
"fr_officer",
"fr_sniper",
"fr_observer",
"fr_genie",
"fr_hotchkiss_team",
"fr_58mm_mortar",
"fr_75mm",
"fr_155mm",
"fr_aa_gun",
"fr_cavalry",
"fr_renault_ft",
"fr_schneider",
"fr_armored_car",
"fr_supply_lorry"
],
"callIns": [
"fr_field_barrage",
"fr_heavy_barrage",
"fr_smoke_barrage",
"fr_gas_barrage",
"fr_livens",
"fr_recon_flight",
"fr_recon_flight_br14",
"fr_fighter_patrol_n17",
"fr_fighter_patrol",
"fr_bombing_raid",
"fr_balloon",
"fr_reinforcements",
"fr_supply_convoy"
]
}
Deutsches Heer (de)
{
"units": [
"de_rifle_section",
"de_lmg_section",
"de_stosstrupp",
"de_officer",
"de_sniper",
"de_observer",
"de_pioniere",
"de_mg08_team",
"de_light_mw",
"de_medium_mw",
"de_77mm",
"de_15cm_howitzer",
"de_aa_gun",
"de_atrifle_team",
"de_flamethrower",
"de_cavalry",
"de_a7v",
"de_armored_car",
"de_supply_lorry"
],
"callIns": [
"de_field_barrage",
"de_heavy_barrage",
"de_smoke_barrage",
"de_gas_barrage",
"de_gaswerfer",
"de_recon_flight",
"de_recon_flight_rumpler",
"de_fighter_patrol_albatros",
"de_fighter_patrol",
"de_bombing_raid",
"de_balloon",
"de_reinforcements",
"de_supply_convoy"
]
}
Aircraft
Aeroplanes and balloons. In a data file they are in aircraft.
| Id | Name |
|---|---|
be2c | B.E.2c |
re8 | R.E.8 |
farman | Farman MF.11 |
albatros_c | Albatros C.I |
rumpler | Rumpler C.IV |
breguet | Breguet 14 |
breguet_recon | Breguet 14 A2 |
dh2 | Airco DH.2 |
nieuport | Nieuport 17 |
albatros | Albatros D.II |
camel | Sopwith Camel |
spad | SPAD S.XIII |
fokker | Fokker D.VII |
halberstadt_cl2 | Halberstadt CL.II |
dh4 | Airco DH.4 |
gotha | Gotha G.V |
balloon_caquot | Caquot observation balloon |
balloon_drachen | Drachen observation balloon |
Call-ins
Off-map support: barrages, flights, reinforcements, supply. In a data file they are in callIns.
| Id | Name |
|---|---|
gb_field_barrage | Divisional barrage |
gb_shrapnel_barrage | Shrapnel sweep |
gb_heavy_barrage | Corps heavy artillery |
gb_creeping_barrage | Creeping barrage |
gb_smoke_barrage | Smoke screen |
gb_gas_barrage | Gas shelling |
gb_livens | Livens projectors |
gb_recon_flight | Reconnaissance sortie |
gb_recon_flight_re8 | Reconnaissance sortie |
gb_fighter_patrol_dh2 | Fighter patrol |
gb_fighter_patrol | Fighter patrol |
gb_bombing_raid | Bombing raid |
gb_balloon | Observation balloon |
gb_reinforcements | Reserve company |
gb_supply_convoy | Ammunition convoy |
fr_field_barrage | Barrage de 75 |
fr_heavy_barrage | Artillerie lourde |
fr_creeping_barrage | Barrage roulant |
fr_smoke_barrage | Écran de fumée |
fr_gas_barrage | Obus toxiques |
fr_recon_flight | Reconnaissance aérienne |
fr_recon_flight_br14 | Reconnaissance aérienne |
fr_livens | Projecteurs à gaz |
fr_fighter_patrol_n17 | Patrouille de chasse |
fr_fighter_patrol | Patrouille de chasse |
fr_bombing_raid | Bombardement |
fr_balloon | Ballon d'observation |
fr_reinforcements | Compagnie de réserve |
fr_supply_convoy | Convoi automobile |
de_field_barrage | Sperrfeuer |
de_heavy_barrage | Schwere Artillerie |
de_hurricane_barrage | Feuerwalze |
de_smoke_barrage | Nebelschiessen |
de_gas_barrage | Gasschiessen |
de_gaswerfer | Gaswerfer |
de_recon_flight | Fliegerabteilung |
de_recon_flight_rumpler | Fliegerabteilung |
de_fighter_patrol_albatros | Jagdstaffel |
de_fighter_patrol | Jagdstaffel |
de_bombing_raid | Bombengeschwader |
de_balloon | Fesselballon |
de_reinforcements | Reservekompanie |
de_supply_convoy | Nachschub |
Doctrines
The campaigns' doctrines. In a data file they are in doctrines.
| Id | Name |
|---|---|
gb_creeping_barrage | The Creeping Barrage |
gb_sound_ranging | Sound Ranging & Flash Spotting |
gb_special_brigade | Special Brigade RE |
gb_box_respirator | Small Box Respirator |
gb_bite_and_hold | Bite and Hold |
gb_platoon_tactics | SS 143 Platoon Tactics |
gb_tank_corps | Heavy Branch MGC |
gb_tank_mechanics | Tank Corps Workshops |
gb_whippets | Medium Tanks |
gb_contact_patrols | RFC Contact Patrols |
gb_day_bombing | Day Bombing Squadrons |
fr_barrage_roulant | Barrage roulant |
fr_tir_sur_carte | Shooting from the map |
fr_compagnies_z | Compagnies Z |
fr_casque_adrian | Casque Adrian |
fr_defense_profondeur | Defence in depth |
fr_grenadiers_voltigeurs | Grenadiers-voltigeurs |
fr_objectifs_limites | Pétain's limited offensives |
fr_artillerie_speciale | Artillerie spéciale |
fr_chars_legers | Renault light tanks |
fr_aviation_observation | Observation squadrons |
fr_division_aerienne | Division aérienne |
de_feuerwalze | Feuerwalze |
de_bruchmuller | Bruchmüller's method |
de_stosstruppen | Stoßtruppen |
de_elastic_defence | Elastic defence |
de_stahlhelm | Stahlhelm |
de_mg0815 | MG 08/15 |
de_gaspioniere | Gaspioniere |
de_gummimaske | Gummimaske |
de_flammenwerfer | Flammenwerfer |
de_artillerieflieger | Artillerieflieger |
de_schlachtstaffeln | Schlachtstaffeln |
Artillery tempo
How much each army's guns fire without your orders, by year. In a data file they are in artilleryTempo.
| Id |
|---|
gb_1914 |
gb_1915 |
gb_1916 |
gb_1917 |
gb_1918 |
fr_1914 |
fr_1915 |
fr_1916 |
fr_1917 |
fr_1918 |
de_1914 |
de_1915 |
de_1916 |
de_1917 |
de_1918 |
Enemy commanders
The computer's commanders. In a data file they are in aiPersonalities.
| Id | Name |
|---|---|
balanced | Balanced |
methodical | Methodical (British 1916-17) |
elan | Offensive à outrance |
defense_in_depth | Defence in depth (German 1917) |
infiltration | Stormtroop offensive (German 1918) |
cautious | Cautious |
reckless | Reckless |
Battlefields
Battlefields: how the game builds a map, for a custom battle or for a battle of your own. In a data file they are in mapRecipes.
| Id | Name |
|---|---|
flanders | Flanders plain |
somme | Somme chalk downland |
verdun | Meuse heights |
champagne | Champagne plain |
argonne | Argonne forest |
vosges_winter | Vosges in winter |
large_front | Army front (large) |
Battles
The battles: the campaigns' missions and the lessons. In a data file they are in scenarios.
| Id | Name |
|---|---|
tutorial | Basic Training |
tutorial_attack | Planning an Attack |
tutorial_guns | Guns |
tutorial_hold | Holding a Line |
mons_1914 | The Canal at Mons |
ypres_1915 | The Green Cloud |
raid_1915 | The Raid |
somme_1916 | The Big Push |
flers_1916 | The Landships |
messines_1917 | The Mines of Messines |
passchendaele_1917 | The Mud of Passchendaele |
cambrai_1917 | Tanks at Cambrai |
spring_offensive_1918 | Kaiserschlacht |
amiens_1918 | The Black Day |
marne_1914 | The Taxis of the Marne |
dixmude_1914 | The Sailors' Town |
champagne_1915 | The Breakthrough |
verdun_1916 | The Bois des Caures |
douaumont_1916 | The Return to Douaumont |
chemin_des_dames_1917 | The Ladies' Way |
malmaison_1917 | The Method |
champagne_1918 | The Fourteenth of July |
retz_1918 | The Forest of Retz |
rossignol_1914 | The Forest Road |
langemarck_1914 | The Young Regiments |
pilckem_1915 | A Favourable Wind |
caures_1916 | Judgement |
thiepval_1916 | At All Costs |
frezenberg_1917 | The Empty Battlefield |
gonnelieu_1917 | After the Bells |
michael_1918 | The Rest Will Follow |
epehy_1918 | According to Plan |
Campaigns
The campaigns. In a data file they are in campaigns.
| Id | Name | Its battles, in order |
|---|---|---|
bef | The Western Front | mons_1914, ypres_1915, raid_1915, somme_1916, flers_1916, messines_1917, passchendaele_1917, cambrai_1917, spring_offensive_1918, amiens_1918 |
fr | The Marne to the Marne | marne_1914, dixmude_1914, champagne_1915, verdun_1916, douaumont_1916, chemin_des_dames_1917, malmaison_1917, champagne_1918, retz_1918 |
de | Nothing New in the West | rossignol_1914, langemarck_1914, pilckem_1915, caures_1916, thiepval_1916, frezenberg_1917, gonnelieu_1917, michael_1918, epehy_1918 |
Telephone callers
Who rings the engineer. In a data file they are in callers.
| Id | Army |
|---|---|
gb_adc | gb |
gb_general | gb |
gb_q | gb |
gb_signals | gb |
gb_sergeant | gb |
gb_gunner | gb |
fr_adc | fr |
fr_general | fr |
fr_intendance | fr |
fr_signals | fr |
fr_sergeant | fr |
fr_gunner | fr |
de_adc | de |
de_general | de |
de_intendantur | de |
de_signals | de |
de_sergeant | de |
de_gunner | de |
Telephone calls
What is said on the telephone, and when. In a data file they are in calls.
There are 412 calls. Their ids are in calls.txt, one per line.
Headquarters requests
The kinds of request Headquarters makes. In a data file they are in requestKinds.
| Id |
|---|
dig_trench |
dig_commtrench |
wire |
tidy |
hold |
jumpoff |
lend_men |
build_dugout |
build_mgnest |
Commendations
The citations of the Report to Headquarters. In a data file they are in commendations.
| Id |
|---|
inspection |
piano |
men_spared |
men_sheltered |
straight_trench |
great_digger |
wire_artist |
dugouts |
mg_nests |
repairs |
obliging |
favourite |
independent |
line_cut |
not_an_inch |
brisk |
shell_economy |
long_day |
Figure sets
How an army's soldiers are drawn. An army names two sets: spriteSet (in steel helmets) and spriteSetEarly (before). The battle's date decides which one is drawn. A new army uses two of these six. Their pictures are under unit/<set>/ in the list of pictures below.
| Set | What it is | Figures it leaves empty |
|---|---|---|
gb | British, in steel helmets: battles from January 1916 | flame, smg, atrifle |
gb14 | British, before the steel helmet: battles before January 1916 | flame, smg, atrifle |
fr | French, in steel helmets: battles from September 1915 | flame, smg, atrifle |
fr14 | French, before the steel helmet: battles before September 1915 | flame, smg, atrifle |
de | German, in steel helmets: battles from February 1916 | none |
de14 | German, before the steel helmet: battles before February 1916 | smg, atrifle |
Sounds
The game's sounds. A file sounds/<name>.wav in a mod replaces the sound of that name. A weapon's sound, a structure's destroySound and a battle's sound action name one of these. The game's rifles, and every howitzer with an explosion radius of 5 tiles or more, always play their own: replace rifle_shot_smle, rifle_shot_lebel, rifle_shot_g98 or heavygun_fire.
aircraft_crashaircraft_engineaircraft_flybyaircraft_mgalert_bellalert_klaxonalert_negativealert_positivealert_telephoneamb_birdsamb_distant_battleamb_distant_battle_heavyamb_leavesamb_nightamb_rainamb_rain_heavyamb_trenchamb_wateramb_windarmour_bulletarmour_heavyarmour_piercearmour_shellarmour_splintersarmour_thinatrifle_shotballoon_burstbomb_whistlebuilding_collapsebullet_crackbullet_impact_dirtbullet_impact_metalbullet_impact_mudbullet_impact_sandbagbullet_impact_waterbullet_impact_woodbullet_ricochetbullet_whizcharge_cheercharge_cheer_decharge_cheer_frcharge_cheer_gbcrack_stringdefeatdigexplosion_debrisfieldgun_firefire_crackleflak_burstflamethrowerflare_launchfootsteps_mudfrag_fallfrag_whirrgas_alarmgas_shellgrenade_explodegrenade_throwgun_wheelsgusthammerheavygun_firehmg_bursthmg_burst_endhoof_canterhoof_gallophoof_trothowitzer_firelmg_burstlmg_burst_endmarch_mudmarch_roadmassed_mid_densemassed_mid_mediummassed_mid_roarmassed_mid_sparsemassed_roll_heavymassed_roll_lightmelee_scufflemg_mechmortar_firemortar_incomingobjective_completephone_hangupphone_pickupphone_ringphone_ring_urgentpistol_shotrifle_boltrifle_shotrifle_shot_g98rifle_shot_lebelrifle_shot_smlesandbagshell_explode_heavyshell_explode_largeshell_explode_smallshell_incomingshell_incoming_heavyshell_outgoingshrapnel_rainsmg_burstsmg_burst_endsmoke_shellspace_trenchspace_villagespace_woodsplashspot_beespot_bell_farspot_call_despot_call_frspot_call_gbspot_coughspot_crowspot_dog_farspot_fliesspot_flyspot_frogspot_grasshopperspot_horsespot_larkspot_mess_tinspot_owlspot_pigeonspot_rooster_farspot_shout_farspot_shovel_farspot_songbirdspot_talk_despot_talk_frspot_talk_gbspot_timber_creakspot_whistle_farspot_wingsspot_wire_rattlestamptank_enginetank_trackstankgun_firethunderthunder_farthunder_neartinnitustruck_enginetypewriterui_cancelui_clickui_confirmui_errorui_orderui_order_attackui_paperui_selectui_togglevictoryvoice_de_adcvoice_de_generalvoice_de_gunnervoice_de_intendanturvoice_de_sergeantvoice_de_signalsvoice_fr_adcvoice_fr_generalvoice_fr_gunnervoice_fr_intendancevoice_fr_sergeantvoice_fr_signalsvoice_gb_adcvoice_gb_generalvoice_gb_gunnervoice_gb_qvoice_gb_sergeantvoice_gb_signalswhistle_blowwirewood_break
Pictures
The game has 6,547 pictures (sprites) a mod can replace. A file art/<name>.png in a mod replaces the picture of that name. The whole list is in pictures.txt, one picture per line: its name, then its size. Here they are by family, with one name of each.
| Family | How many | One of them |
|---|---|---|
aircraft/albatros/... | 3 | aircraft/albatros/0 |
aircraft/albatros_c/... | 3 | aircraft/albatros_c/0 |
aircraft/albatros_d2/... | 3 | aircraft/albatros_d2/0 |
aircraft/balloon_caquot/... | 3 | aircraft/balloon_caquot/0 |
aircraft/balloon_drachen/... | 3 | aircraft/balloon_drachen/0 |
aircraft/be2c/... | 3 | aircraft/be2c/0 |
aircraft/breguet/... | 3 | aircraft/breguet/0 |
aircraft/camel/... | 3 | aircraft/camel/0 |
aircraft/dh2/... | 3 | aircraft/dh2/0 |
aircraft/dh4/... | 3 | aircraft/dh4/0 |
aircraft/farman/... | 3 | aircraft/farman/0 |
aircraft/fokker/... | 3 | aircraft/fokker/0 |
aircraft/gotha/... | 7 | aircraft/gotha/0 |
aircraft/halberstadt_cl2/... | 7 | aircraft/halberstadt_cl2/0 |
aircraft/nieuport/... | 3 | aircraft/nieuport/0 |
aircraft/re8/... | 3 | aircraft/re8/0 |
aircraft/rumpler/... | 7 | aircraft/rumpler/0 |
aircraft/spad/... | 3 | aircraft/spad/0 |
aircraft/spad_17/... | 3 | aircraft/spad_17/0 |
decal/debris/... | 4 | decal/debris/0 |
decal/scorch_l/... | 3 | decal/scorch_l/0 |
decal/wrack/... | 4 | decal/wrack/0 |
defense/sandbag/... | 3 | defense/sandbag/0 |
defense/stakes | 1 | defense/stakes |
defense/tanktrap | 1 | defense/tanktrap |
defense/wire_coil/... | 4 | defense/wire_coil/0 |
defense/wire_stake/... | 1 | defense/wire_stake/2 |
fx/bird/... | 19 | fx/bird/crow/body |
fx/blast/... | 7 | fx/blast/fountain/0 |
fx/blooddrag/... | 3 | fx/blooddrag/0 |
fx/blooddrop/... | 3 | fx/blooddrop/0 |
fx/bloodpool/... | 4 | fx/bloodpool/0 |
fx/bomb | 1 | fx/bomb |
fx/circle/... | 1 | fx/circle/32 |
fx/cloud_shadow/... | 2 | fx/cloud_shadow/0 |
fx/debris/... | 4 | fx/debris/0 |
fx/dirt/... | 3 | fx/dirt/0 |
fx/disc/... | 3 | fx/disc/16 |
fx/dust/... | 3 | fx/dust/0 |
fx/ember | 1 | fx/ember |
fx/flag/... | 84 | fx/flag/back/square |
fx/flame/... | 8 | fx/flame/bed/0 |
fx/flare/... | 2 | fx/flare/0 |
fx/flash/... | 2 | fx/flash/m |
fx/grenade | 1 | fx/grenade |
fx/grenade_stick | 1 | fx/grenade_stick |
fx/light | 1 | fx/light |
fx/mark/... | 19 | fx/mark/band/15 |
fx/mortar/... | 2 | fx/mortar/stokes |
fx/mortar_round | 1 | fx/mortar_round |
fx/muzzle/... | 3 | fx/muzzle/l/0 |
fx/pixel | 1 | fx/pixel |
fx/shadow/... | 3 | fx/shadow/l |
fx/shell | 1 | fx/shell |
fx/signboard | 1 | fx/signboard |
fx/signboard/... | 3 | fx/signboard/face/0 |
fx/smoke/... | 12 | fx/smoke/16/0 |
fx/spark | 1 | fx/spark |
icon/alert/... | 21 | icon/alert/aircraft |
icon/cmd/... | 88 | icon/cmd/abandon |
icon/phone/... | 1 | icon/phone/handset |
icon/res/... | 7 | icon/res/manpower |
icon/small/... | 11 | icon/small/abandon |
icon/tool/... | 6 | icon/tool/attack |
icon/ui/... | 2 | icon/ui/arrow_left |
icon/unit/... | 29 | icon/unit/a7v |
portrait/de_adc | 1 | portrait/de_adc |
portrait/de_adc_s | 1 | portrait/de_adc_s |
portrait/de_general | 1 | portrait/de_general |
portrait/de_general_s | 1 | portrait/de_general_s |
portrait/de_gunner | 1 | portrait/de_gunner |
portrait/de_gunner_s | 1 | portrait/de_gunner_s |
portrait/de_intendantur | 1 | portrait/de_intendantur |
portrait/de_intendantur_s | 1 | portrait/de_intendantur_s |
portrait/de_sergeant | 1 | portrait/de_sergeant |
portrait/de_sergeant_s | 1 | portrait/de_sergeant_s |
portrait/de_signals | 1 | portrait/de_signals |
portrait/de_signals_s | 1 | portrait/de_signals_s |
portrait/fr_adc | 1 | portrait/fr_adc |
portrait/fr_adc_s | 1 | portrait/fr_adc_s |
portrait/fr_general | 1 | portrait/fr_general |
portrait/fr_general_s | 1 | portrait/fr_general_s |
portrait/fr_gunner | 1 | portrait/fr_gunner |
portrait/fr_gunner_s | 1 | portrait/fr_gunner_s |
portrait/fr_intendance | 1 | portrait/fr_intendance |
portrait/fr_intendance_s | 1 | portrait/fr_intendance_s |
portrait/fr_sergeant | 1 | portrait/fr_sergeant |
portrait/fr_sergeant_s | 1 | portrait/fr_sergeant_s |
portrait/fr_signals | 1 | portrait/fr_signals |
portrait/fr_signals_s | 1 | portrait/fr_signals_s |
portrait/gb_adc | 1 | portrait/gb_adc |
portrait/gb_adc_s | 1 | portrait/gb_adc_s |
portrait/gb_general | 1 | portrait/gb_general |
portrait/gb_general_s | 1 | portrait/gb_general_s |
portrait/gb_gunner | 1 | portrait/gb_gunner |
portrait/gb_gunner_s | 1 | portrait/gb_gunner_s |
portrait/gb_q | 1 | portrait/gb_q |
portrait/gb_q_s | 1 | portrait/gb_q_s |
portrait/gb_sergeant | 1 | portrait/gb_sergeant |
portrait/gb_sergeant_s | 1 | portrait/gb_sergeant_s |
portrait/gb_signals | 1 | portrait/gb_signals |
portrait/gb_signals_s | 1 | portrait/gb_signals_s |
structure/aidpost/... | 12 | structure/aidpost/damaged |
structure/barn/... | 190 | structure/barn/damaged |
structure/barn2/... | 100 | structure/barn2/damaged |
structure/bunker/... | 38 | structure/bunker/damaged |
structure/cart/... | 14 | structure/cart/damaged |
structure/chateau/... | 680 | structure/chateau/damaged |
structure/church/... | 298 | structure/church/damaged |
structure/cottage/... | 196 | structure/cottage/damaged |
structure/cottage2/... | 136 | structure/cottage2/damaged |
structure/cottage3/... | 130 | structure/cottage3/damaged |
structure/crates/... | 8 | structure/crates/damaged |
structure/damage/... | 40 | structure/damage/battens/0 |
structure/depot/... | 16 | structure/depot/damaged |
structure/dugout/... | 38 | structure/dugout/blanket |
structure/farmhouse/... | 140 | structure/farmhouse/damaged |
structure/farmhouse2/... | 160 | structure/farmhouse2/damaged |
structure/farmhouse3/... | 218 | structure/farmhouse3/damaged |
structure/gunpit/... | 58 | structure/gunpit/damaged |
structure/haystack/... | 16 | structure/haystack/damaged |
structure/hq/... | 16 | structure/hq/damaged |
structure/mgnest/... | 40 | structure/mgnest/damaged |
structure/obspost/... | 40 | structure/obspost/damaged |
structure/shrine/... | 68 | structure/shrine/damaged |
structure/well/... | 8 | structure/well/damaged |
structure/windmill/... | 102 | structure/windmill/damaged |
terrain/churned | 1 | terrain/churned |
terrain/crater_water/... | 12 | terrain/crater_water/l/0 |
terrain/detail/... | 12 | terrain/detail/flowers/0 |
terrain/dirt | 1 | terrain/dirt |
terrain/field_plowed | 1 | terrain/field_plowed |
terrain/field_wheat | 1 | terrain/field_wheat |
terrain/forest_floor | 1 | terrain/forest_floor |
terrain/forest_floor_winter | 1 | terrain/forest_floor_winter |
terrain/grass | 1 | terrain/grass |
terrain/grass_dry | 1 | terrain/grass_dry |
terrain/marsh | 1 | terrain/marsh |
terrain/mud | 1 | terrain/mud |
terrain/mud_wet | 1 | terrain/mud_wet |
terrain/road_cobble | 1 | terrain/road_cobble |
terrain/road_dirt | 1 | terrain/road_dirt |
terrain/rubble_ground | 1 | terrain/rubble_ground |
terrain/sand | 1 | terrain/sand |
terrain/sandbag_texture | 1 | terrain/sandbag_texture |
terrain/snow | 1 | terrain/snow |
terrain/tree/... | 249 | terrain/tree/burnt/0 |
terrain/trench_floor | 1 | terrain/trench_floor |
terrain/trench_wall | 1 | terrain/trench_wall |
terrain/water/... | 1 | terrain/water/0 |
ui/arrow | 1 | ui/arrow |
ui/bar_bg | 1 | ui/bar_bg |
ui/button | 1 | ui/button |
ui/button_disabled | 1 | ui/button_disabled |
ui/button_highlight | 1 | ui/button_highlight |
ui/button_pressed | 1 | ui/button_pressed |
ui/check_off | 1 | ui/check_off |
ui/check_on | 1 | ui/check_on |
ui/cursor/... | 5 | ui/cursor/attack |
ui/emblem/... | 4 | ui/emblem/de |
ui/frame | 1 | ui/frame |
ui/logo | 1 | ui/logo |
ui/marker/... | 6 | ui/marker/attack |
ui/panel | 1 | ui/panel |
ui/panel_dark | 1 | ui/panel_dark |
ui/slider_knob | 1 | ui/slider_knob |
ui/slider_track | 1 | ui/slider_track |
ui/tooltip | 1 | ui/tooltip |
unit/de/... | 546 | unit/de/atrifle/advance/0 |
unit/de14/... | 454 | unit/de14/body/0 |
unit/fr/... | 403 | unit/fr/body/0 |
unit/fr14/... | 407 | unit/fr14/body/0 |
unit/gb/... | 403 | unit/gb/body/0 |
unit/gb14/... | 407 | unit/gb14/body/0 |
unit/kit/... | 9 | unit/kit/atrifle |
vehicle/a7v/... | 21 | vehicle/a7v/damaged/0 |
vehicle/armoredcar/... | 17 | vehicle/armoredcar/damaged/0 |
vehicle/armoredcar_de/... | 17 | vehicle/armoredcar_de/damaged/0 |
vehicle/armoredcar_fr/... | 17 | vehicle/armoredcar_fr/damaged/0 |
vehicle/mk1_female/... | 15 | vehicle/mk1_female/damaged/0 |
vehicle/mk1_male/... | 15 | vehicle/mk1_male/damaged/0 |
vehicle/mk4_female/... | 23 | vehicle/mk4_female/damaged/0 |
vehicle/mk4_male/... | 23 | vehicle/mk4_male/damaged/0 |
vehicle/renault_ft/... | 23 | vehicle/renault_ft/damaged/0 |
vehicle/schneider/... | 21 | vehicle/schneider/damaged/0 |
vehicle/staffcar/... | 1 | vehicle/staffcar/hull/0 |
vehicle/staffcar_de/... | 1 | vehicle/staffcar_de/hull/0 |
vehicle/staffcar_fr/... | 1 | vehicle/staffcar_fr/hull/0 |
vehicle/truck/... | 15 | vehicle/truck/damaged/0 |
vehicle/truck_de/... | 15 | vehicle/truck_de/damaged/0 |
vehicle/truck_fr/... | 15 | vehicle/truck_fr/damaged/0 |
vehicle/whippet/... | 21 | vehicle/whippet/damaged/0 |
weapon/aagun/... | 5 | weapon/aagun/barrel |
weapon/aagun_fr/... | 5 | weapon/aagun_fr/barrel |
weapon/aagun_gb/... | 5 | weapon/aagun_gb/barrel |
weapon/atrifle/... | 4 | weapon/atrifle/barrel |
weapon/fieldgun/... | 5 | weapon/fieldgun/barrel |
weapon/fieldgun_fr/... | 5 | weapon/fieldgun_fr/barrel |
weapon/fieldgun_gb/... | 5 | weapon/fieldgun_gb/barrel |
weapon/hmg/... | 4 | weapon/hmg/barrel |
weapon/hmg_de/... | 4 | weapon/hmg_de/barrel |
weapon/hmg_fr/... | 4 | weapon/hmg_fr/barrel |
weapon/hmg_gb/... | 4 | weapon/hmg_gb/barrel |
weapon/howitzer/... | 5 | weapon/howitzer/barrel |
weapon/howitzer_fr/... | 5 | weapon/howitzer_fr/barrel |
weapon/howitzer_gb/... | 5 | weapon/howitzer_gb/barrel |
weapon/mittlerer_mw/... | 4 | weapon/mittlerer_mw/barrel |
weapon/mortar/... | 4 | weapon/mortar/barrel |
weapon/mortar_de/... | 4 | weapon/mortar_de/barrel |
weapon/mortar_fr/... | 4 | weapon/mortar_fr/barrel |
Which pictures a unit is drawn from
The folders under art/ whose pictures you replace. Men are here in the set with steel helmets. In earlier battles they are drawn from the set with 14 at its end: unit/gb14/rifle/ for unit/gb/rifle/.
| Unit | Name | Drawn from |
|---|---|---|
gb_rifle_section | Rifle Section | unit/gb/rifle/ |
gb_lewis_section | Lewis Gun Section | unit/gb/gunner/, unit/gb/rifle/ |
gb_bombers | Bombing Party | unit/gb/bomber/ |
gb_vickers_team | Vickers MG Team | weapon/hmg_gb/, unit/gb/crew/ |
gb_stokes_team | Stokes Mortar Team | weapon/mortar/, unit/gb/crew/ |
gb_18pdr | 18-pounder Field Gun | weapon/fieldgun_gb/, unit/gb/crew/ |
gb_6in_howitzer | 6-inch Howitzer | weapon/howitzer_gb/, unit/gb/crew/ |
gb_aa_gun | 13-pounder AA Section | weapon/aagun_gb/, unit/gb/crew/ |
gb_sniper | Sniper Team | unit/gb/sniper/, unit/gb/rifle/ |
gb_observer | Forward Observer | unit/gb/officer/, unit/gb/rifle/ |
gb_engineers | Royal Engineers | unit/gb/engineer/ |
gb_officer | Platoon HQ | unit/gb/officer/, unit/gb/rifle/ |
gb_cavalry | Cavalry Troop | unit/gb/cavalry/ |
gb_mk1_male | Mark I (Male) | vehicle/mk1_male/ |
gb_mk1_female | Mark I (Female) | vehicle/mk1_female/ |
gb_mk4_male | Mark IV (Male) | vehicle/mk4_male/ |
gb_mk4_female | Mark IV (Female) | vehicle/mk4_female/ |
gb_whippet | Medium Mark A 'Whippet' | vehicle/whippet/ |
gb_armored_car | Rolls-Royce Armoured Car | vehicle/armoredcar/ |
gb_supply_lorry | Supply Lorry | vehicle/truck/ |
gb_stretcher_bearers | Stretcher Bearers | unit/gb/hurt/ |
fr_rifle_section | Escouade d'infanterie | unit/fr/rifle/ |
fr_chauchat_section | Groupe de fusiliers-mitrailleurs | unit/fr/gunner/, unit/fr/rifle/ |
fr_grenadiers | Grenadiers d'élite | unit/fr/bomber/ |
fr_hotchkiss_team | Section Hotchkiss | weapon/hmg_fr/, unit/fr/crew/ |
fr_58mm_mortar | Crapouillot 58 T | weapon/mortar_fr/, unit/fr/crew/ |
fr_75mm | Canon de 75 | weapon/fieldgun_fr/, unit/fr/crew/ |
fr_155mm | 155 C Schneider | weapon/howitzer_fr/, unit/fr/crew/ |
fr_aa_gun | Autocanon de 75 | weapon/aagun_fr/, unit/fr/crew/ |
fr_sniper | Tireur d'élite | unit/fr/sniper/, unit/fr/rifle/ |
fr_observer | Observateur d'artillerie | unit/fr/officer/, unit/fr/rifle/ |
fr_genie | Sapeurs du génie | unit/fr/engineer/ |
fr_officer | Chef de section | unit/fr/officer/, unit/fr/rifle/ |
fr_cavalry | Escadron de cuirassiers | unit/fr/cavalry/ |
fr_renault_ft | Renault FT | vehicle/renault_ft/ |
fr_schneider | Schneider CA1 | vehicle/schneider/ |
fr_armored_car | Automitrailleuse Peugeot | vehicle/armoredcar_fr/ |
fr_supply_lorry | Camion de ravitaillement | vehicle/truck_fr/ |
fr_stretcher_bearers | Brancardiers | unit/fr/hurt/ |
de_rifle_section | Gruppe | unit/de/rifle/ |
de_lmg_section | Leichte MG-Gruppe | unit/de/gunner/, unit/de/rifle/ |
de_stosstrupp | Stoßtrupp | unit/de/rifle/, unit/de/smg/ |
de_mg08_team | MG 08 Trupp | weapon/hmg_de/, unit/de/crew/ |
de_light_mw | Leichter Minenwerfer | weapon/mortar_de/, unit/de/crew/ |
de_medium_mw | Mittlerer Minenwerfer | weapon/mittlerer_mw/, unit/de/crew/ |
de_77mm | 7.7 cm Feldkanone | weapon/fieldgun/, unit/de/crew/ |
de_15cm_howitzer | 15 cm schwere Feldhaubitze | weapon/howitzer/, unit/de/crew/ |
de_aa_gun | Flak-Zug | weapon/aagun/, unit/de/crew/ |
de_atrifle_team | Tankgewehr-Trupp | unit/de/atrifle/, unit/de/rifle/ |
de_flamethrower | Flammenwerfer-Trupp | unit/de/flame/, unit/de/bomber/ |
de_sniper | Scharfschütze | unit/de/sniper/, unit/de/rifle/ |
de_observer | Artilleriebeobachter | unit/de/officer/, unit/de/rifle/ |
de_pioniere | Pioniere | unit/de/engineer/ |
de_officer | Zugführer | unit/de/officer/, unit/de/rifle/ |
de_cavalry | Ulanen-Schwadron | unit/de/cavalry/ |
de_a7v | A7V Sturmpanzerwagen | vehicle/a7v/ |
de_armored_car | Ehrhardt Panzerwagen | vehicle/armoredcar_de/ |
de_supply_lorry | Nachschub-Lastwagen | vehicle/truck_de/ |
de_stretcher_bearers | Krankenträger | unit/de/hurt/ |
Which pictures an aircraft is drawn from
| Aircraft | Name | Drawn from |
|---|---|---|
be2c | B.E.2c | aircraft/be2c/ |
re8 | R.E.8 | aircraft/re8/ |
farman | Farman MF.11 | aircraft/farman/ |
albatros_c | Albatros C.I | aircraft/albatros_c/ |
rumpler | Rumpler C.IV | aircraft/rumpler/; before February 1917: aircraft/albatros_c/ |
breguet | Breguet 14 | aircraft/breguet/ |
breguet_recon | Breguet 14 A2 | aircraft/breguet/; before May 1917: aircraft/farman/ |
dh2 | Airco DH.2 | aircraft/dh2/ |
nieuport | Nieuport 17 | aircraft/nieuport/ |
albatros | Albatros D.II | aircraft/albatros/; before February 1917: aircraft/albatros_d2/ |
camel | Sopwith Camel | aircraft/camel/ |
spad | SPAD S.XIII | aircraft/spad/; before February 1918: aircraft/spad_17/ |
fokker | Fokker D.VII | aircraft/fokker/ |
halberstadt_cl2 | Halberstadt CL.II | aircraft/halberstadt_cl2/ |
dh4 | Airco DH.4 | aircraft/dh4/ |
gotha | Gotha G.V | aircraft/gotha/ |
balloon_caquot | Caquot observation balloon | aircraft/balloon_caquot/; before September 1916: aircraft/balloon_drachen/ |
balloon_drachen | Drachen observation balloon | aircraft/balloon_drachen/; from July 1917: aircraft/balloon_caquot/ |
Mission words
The words a battle (an entry of scenarios) can use, and the fields each one reads. Positions and lengths are in tiles, times in seconds. An area is [x, y, width, height]. Where a condition or an action has a faction and you leave it out, it is the first side of factions, unless the table says otherwise. units names kinds of unit: ids, or roles.
The parts of a battle
Each part of an entry of scenarios, with its fields. Objectives, conditions, actions and map features have tables of their own.
| Part | Fields | What they are |
|---|---|---|
| The battle | id, name, description, briefing, location | Its id, and its texts. description is on the campaign's page. |
date, year | When it is fought. The date names a month. Units and call-ins have years, uniforms change with the date, and so does the front on the staff map. | |
latitude, longitude, clock | Where it is fought, for the sun. clock is the army whose hour it keeps: gb, fr or de. | |
seed | The number the battle's luck comes from. It is the map's seed too, when the map has none. | |
map, factions, relations, sectors, units, structures, trenches, objectives, triggers, weather, hq | Its parts, below. | |
startHour, timeScale | The hour at the start (4.5 is 04:30), and the minutes of the day that pass in each second of the battle. | |
timeLimit | How long it lasts. 0, or nothing: no limit. | |
playerFaction | The side the player commands. | |
music | Its piece of music: battle, elegy, or a piece of your own. | |
category | campaign. | |
difficultyLabel, difficultyScale | How hard it is among its campaign's (Easy, Normal or Hard), and how much the player's difficulty changes the enemy's numbers, from 0 to 1. | |
fixedManpower | true: each side has only the manpower it starts with. | |
aiTempo | How long the computer's commanders wait before and between attacks: 1 is usual, less is shorter. | |
artilleryTimeScale | As timeScale, for how often the guns fire without orders. 0: the same. | |
decisiveEndings, decisiveLead | The endings of the custom battles: a side that is far weaker than its enemies, or has lost its rear, is beaten. With decisiveLead, a side that holds most of the ground for minutes wins. | |
Headquarters (hq) | requests | auto, scripted (only your own hq_request actions), off (none, and your own neither). |
kinds | The requests it may make. An empty list: all of them. | |
firstRequest, interval | When the first one comes, and the time between two: [least, most]. | |
expectedLosses | The losses it expects. The report compares yours with it. | |
telephone | false: no telephone rings. | |
The map (map) | recipe, seed | The battlefield it is built from, and the number it is built with. |
width, height | Its size in tiles. 0: the battlefield's. | |
rivers, villages, roads, farms, streams | How many the game adds of its own. 0: none. -1: as many as the battlefield has. Farms and streams need country. | |
features | What you put on it: the map features. | |
country, keep | true: fields, hedges, farms and woods grow round the ground the battle is fought on. keep lists more areas to leave as they are. | |
canal | true: the rivers are canals. | |
baseTerrain, dryTerrain, dryPatchAmount, fieldCoverage | The kinds of ground in place of the battlefield's, and how much of it is dry, or fields. | |
landmarks, props | The structures its villages have, in place of the battlefield's. An empty list: none. | |
Sides (factions) | id, def, displayName, color | Its id in this battle, its army, its name and its colour. |
controller, ai, difficulty | Who commands it: player, ai, or passive (nobody). A computer's commander, and how good it is: easy, normal, hard or veteran. | |
team | Sides of the same team are allies. | |
rearEdge | The edge behind it: west, east, north or south. Its new units and its supply come from there. | |
hq, depots | Where its headquarters and its supply depots stand. | |
startResources, income | The manpower and materiel it starts with, and what it gets each second. | |
availableUnits, callIns, doctrines | What it can buy and call for, and the doctrines it has. Without the first two: what its army has in that year. | |
unitCap | The most units it can have at once. 0: no limit. | |
canPurchase | false: it buys nothing, and its staff neither. | |
autoFire | false: its guns fire only when its commander asks. | |
artillery | Changes to its army's artillery tempo in this battle. | |
Relations (relations) | a, b, relation | Two sides that are allied, neutral or hostile, whatever their teams. |
Sectors (sectors) | id, name | Its id, and its name on the map. |
polygon, seed | Its corners, and its middle. A sector with a seed alone is the ground nearest to it. | |
owner | The side that holds it at the start. | |
key | true: the map marks it. | |
neutral | true: no man's land. Nobody ever holds it, and no objective can name it. | |
value | How much a computer's commander wants it. | |
income | The manpower and materiel its owner gets each second. A sector without one pays its owner. | |
Units (units) | faction, unit, count | The side, the unit, and how many. |
at, spread, facing | They stand in a row across the way they face, spread tiles apart, with at in the middle. | |
entrenched | true: the men start in the nearest trench or cover. | |
garrison | true: they start inside the nearest building with room. Infantry only, and machine guns in a pillbox. | |
stance | hold_fire, or fire_at_will. | |
tag | A name of your own, for objectives, conditions and actions. One that starts with script: keeps them from the staff. | |
veterancy | How experienced they are, from 0 to 3. | |
Structures (structures) | structure, at, angle | The structure, its place, and how far a house is turned, in degrees. |
faction, tag | The side that owns it, and a name of your own. | |
health | From 0 to 1: how whole it is at the start. | |
Trenches (trenches) | faction, points | The side that owns it, and the line it follows. |
zigzag, depth, sandbags, dugouts | Whether it is dug in bays, how deep it is (from 0 to 1), whether it has sandbags, and how many dugouts. | |
facingDegrees, wireOffset | The way it faces, and how far in front its wire is. 0: no wire. | |
role | fire: men are posted in it whatever way it runs. reserve: the men in it wait there as the reserve. | |
Weather (weather) | initial, dynamic | The weather at the start, and whether it changes by itself. |
script | The changes you want: [{ "at": 600, "weather": "rain" }]. | |
windDirection, windSpeed | The way the wind blows to, in degrees, and its tiles a second. It carries smoke and gas. | |
wetness | How wet the ground is at the start, from 0 to 1. | |
Triggers (triggers) | id, conditions, actions | Its id, what it waits for and what it does. |
mode | any: one condition is enough. | |
once, cooldown | "once": false: it runs again, with at least cooldown seconds between. | |
enabled | false: it waits for an enable_trigger. |
Objectives
Every objective has an id, the faction it is for, a type, a text and a short text. "primary": false makes it optional, "awardsStar": true gives a star for it. "startActive": false keeps it closed until an objective_add. "hidden": true hides it from the player.
| Type | It is done when | Its fields |
|---|---|---|
capture_sectors | The side or an ally holds every sector. With "keySectors": true: every sector marked key. | sectors, keySectors |
hold_sectors | duration seconds have passed, and the side or an ally holds every sector. It fails after a minute with none of them. | sectors, keySectors, duration |
survive | duration seconds have passed. It fails when the side is beaten. | duration |
reach_area | count of the side's units are in the area at the same time. With tags or units: of those units. | area, count, tags, units |
protect_units | duration seconds have passed. It fails when none of the units is left. | tags, units, duration |
destroy_units | No unit with one of the tags is left. A gun with too few men to fire counts as gone. Without tags: the side has put count enemy men out of action. | tags, count |
destroy_structures | Every structure with one of the tags is in ruins. Without tags: every headquarters and depot of targetFaction. | tags, targetFaction |
eliminate_faction | That side is beaten. | targetFaction |
establish_line | count tiles of the area are deep trench of the side's. Without area: anywhere. A tile counts even if it is lost later. | area, count |
take_trench | Of the enemy's trench tiles in the area at the start, the side or an ally holds count, for duration seconds without a break. | area, count, duration, targetFaction |
control_share | The side and its allies hold this share of the map, from 0 to 1, for duration seconds without a break. | value, duration |
reach_stat | The number stat of the side has reached count. | stat, count |
Conditions
A condition with "not": true holds when it is false. compare is gte (at least), gt (more), lte (at most), lt (less) or eq. Without it: at least. A faction is a side's id.
| Type | It holds when | Its fields |
|---|---|---|
always | Always. | |
time | The battle has lasted time seconds. | time |
trigger | That trigger has run, at least time seconds ago. | trigger, time |
objective | The objective is completed, failed or active. Without state: completed. With active and a time: for that long. | objective, state, time |
sector_owner | The side or an ally holds the sector. Without faction: nobody holds it. | sector, faction |
units_in_area | So many of the side's units are in the area. Without count: any. With tag or units: of those units. | faction, area, tag, units, count, compare |
unit_count | The side has so many units. "pending": true also counts the units of those kinds that are on their way. | faction, tag, units, count, compare, pending |
structure_destroyed | A structure with the tag is in ruins. | tag |
flag | The flag has been set, and has this value. Without value, or with 0: 1. | flag, value, compare |
stat | A number of the side. | faction, stat, count, compare |
casualties, team_casualties | The men the side has lost, or the side and its allies. | faction, count, compare |
strength_ratio, team_strength_ratio | The strength of the side, or of the side and its allies, divided by its enemies'. | faction, value, compare |
random | By chance, from 0 to 1, tried at every check (twice a second). | chance |
flying_weather | Aircraft can fly: no fog, no storm, and not night. | |
attack | The side's commander has an attack under way. Your script's own attacks do not count. | faction, area, count, compare, prep, creeping, smoke, heavies, commit |
trench | The side has a stretch of trench with that priority (low, normal or hold) or that order. | faction, area, count, compare, priority, abandon, counterAttack, standing |
barrage | The side's commander has a barrage under way. | faction, area, count, compare |
works | The side has that structure, or is building it. With "state": "building": is building it. "structure": "wire" and "trench": it is laying wire, or digging. | faction, structure, state, area, count, compare |
call_in | The side has used that call-in, and it is not ready again. | faction, callIn |
reserve | The share of its infantry that the side keeps back, from 0 to 1. | faction, value, compare |
Actions
| Type | What it does | Its fields |
|---|---|---|
spawn_units | Brings units on. They come on at the side's rear edge, level with at. With "fromEdge": false they appear at at. With to, they then go there. "alert": false does not tell the player. | faction, unit, count, at, fromEdge, spread, to, route, tag, alert |
move_units | Sends the units with the tag to to, or to the nearest structure of that kind of their side. mode is normal, fast or attack. | tag, to, structure, mode, spread, route, faction |
release_units | Gives the units with the tag to the side's staff. | tag, faction |
kill_units, remove_units | Kills the units with the tag, or takes them off the map. | tag, faction |
unit_stance | A fire order for the units with the tag: hold_fire or fire_at_will. | tag, stance, faction |
garrison_units | Sends the units with the tag into the nearest building with room, near at or near themselves. Infantry only, and machine guns into a pillbox. | tag, at, faction |
message | A letter. With faction, only that side reads it. slip is its paper: memo, signal, telegram, circular, dienst or report. from has at most 32 characters, stamp at most 28. place is the place it is about: when the player taps the message, the view goes there. | title, text, faction, slip, from, stamp, place |
objective_add | Opens an objective. | objective |
objective_complete, objective_fail | Completes or fails an objective. If the objective has "startActive": false, give the trigger the condition objective with "state": "active", or the action "early": true. | objective, early |
victory, defeat | Ends the battle: the side wins, or loses. | faction |
weather | Changes the weather. Without weather: clear. | weather |
resources | Adds to the side's stock. A number below 0 takes away. | faction, manpower, materiel |
barrage | Shells from off the map. | faction, weapon, shell, at, rounds, radius, duration |
fire_plan | The side's own guns fire at a place, or along the line from at to to. value is how hard they fire, 1 without it. | faction, at, to, shell, radius, duration, value |
explosion | A mine goes up, or count of them. "bridge": true also blows the bridges there. | at, radius, count, spread, bridge, faction |
air_raid | Sends aircraft. Without aircraft: the army's bomberAircraft. The trigger waits for flying weather. | faction, at, count, aircraft |
raise_balloon | The army's balloonAircraft goes up, if the weather allows it. Add the condition flying_weather. | faction, at |
spawn_structure | Puts a structure there, or on free ground near it. | structure, at, faction, tag |
sector_owner | Gives the sector to the side. Without faction: to nobody. | sector, faction |
take_trenches | Gives the enemy's trenches in the sector to the side. | faction, sector |
abandon_trenches, no_counter_attack | The side leaves its trenches in the sector, or near at. Or it does not take them back when it loses them. | faction, sector, at, radius |
reveal | Shows the ground of the area on the side's map. | faction, area |
relation | Makes the side faction and the side target allied, neutral or hostile. | faction, target, relation |
ai_posture | Tells a side's computer commander what to do: offensive, push (several attacks at once), balanced, defensive, or auto (as it likes). | faction, posture |
hq_request | Headquarters asks the player for something: one of the requests. Nothing happens while another request is open. | request, area, at, count, duration, reward |
flag | Sets a flag: a number with a name of your own. Without value, or with 0: 1. "add": true adds to what it holds. | flag, value, add |
enable_trigger, disable_trigger | Turns a trigger on or off. A trigger that has run does not run again, unless it has "once": false. | trigger |
camera | Moves the view. With faction, only that player's. | at, faction |
sound | Plays a sound at a place. It is heard near there. Without at, the place is the map's north-west corner. | sound, at |
wave_notice, battalion_notice | Notices of the game's own custom battles. Use a message. |
Map features
The features of a battle's map. A line is in points, as [x1, y1, x2, y2, ...].
| Type | What it is | Its fields |
|---|---|---|
hill | Higher ground. | at, radius, strength |
valley | Lower ground, round a point or along a line. | at, points, radius, width, strength |
ridge | Higher ground along a line. | points, radius, strength |
flatten | Level ground. | at, radius |
forest, clearing, lake | A wood, a gap in the woods, a lake. | at, radius |
field | A field of that terrain. Without terrain: ploughed. | at, radius, terrain |
terrain | Ground of that terrain. | at, radius, terrain |
river | A river along a line. | points, width |
village, town | count buildings along streets, with a name on the map. | at, count, name, buildings |
road | A road along a line, a dirt road without terrain. With "terrain": "road_cobble": cobbles. | points, width, terrain |
treeline, hedge | Trees or a hedge along a line. | points |
tank_traps | A line of tank traps, which no vehicle crosses. | points |
crater_field | count shell holes. | at, radius, count, strength |
shelled | Ground that has been shelled. | at, radius, strength |
Numbers of a side
What a stat condition and a reach_stat objective count.
| Name | What it counts |
|---|---|
soldiersKilled | enemy men it has put out of action |
soldiersLost | its men killed and wounded |
shellsFired | shells it has fired |
shotsFired | shots it has fired |
trenchTilesDug | tiles of trench it has dug |
wireLaid | tiles of wire it has laid |
barragesOrdered | barrages ordered with the shell tool |
assaultsLaunched | attacks its commander has ordered |
assaultsRepulsed | of those attacks, the ones that were thrown back |
structuresDestroyed | structures of others it has destroyed |
sectorsCaptured | sectors it has taken |
sectorsLost | sectors it has lost |
unitsPurchased | units it has bought |
requisitions | of those units, the ones its commander asked for |
vehiclesDestroyed | enemy vehicles it has destroyed |
structuresBuilt | structures it has built |
dugoutsBuilt | dugouts it has built |
mgNestsBuilt | machine-gun nests it has built |
requestsDone | requests of Headquarters it has done |
worksMetres | tiles of trench and of wire together |
Words of text fields
fields.txt calls these fields string, and each takes the words here. A field of the kind enum has its words in fields.txt.
| Field | Its words |
|---|---|
abilities[].effect | charge, flare, smoke_grenade, grenade_volley, gas_release, sprint. With any other word the ability does nothing. |
abilities[].target | none, point, unit |
aiPersonalities[].attackStyle | methodical, biteAndHold, massed, infiltration, horde |
aiPersonalities[].defenseStyle | rigid, elastic |
callIns[].target | point, line, none |
commendations[].all[].metric | trenchMetres, wireMetres, dugouts, mgNests, repairMetres, requestsDone, requestsDeclined, requestsFailed, requestsLapsed, tidyDone, lendDone, casualties, shelledMen, shelteredShare, lossesVsExpected, groundChange, sectorsCaptured, sectorsLost, favour, battleMinutes, straightness, shellsFired |
commendations[].all[].op | gte (at least), gt (more), lte (at most), lt (less), eq |
doctrines[].effects[].type | stat, unlockUnit, unlockCallIn, unlockAbility |
doctrines[].effects[].target | The id of the unit, call-in or ability. For the type stat: artilleryDispersion, artilleryReload, digRate, buildRate, morale, suppressionResistance, gasProtection, reinforceCost, callInCooldown, callInCost, infantrySpeed, vehicleReliability, vision, captureRate, income, accuracy, splinterLethality |
mapRecipes[].climate | temperate, winter |
mapRecipes[].frontAxis | vertical (the sides are west and east), horizontal (north and south) |
scenarios[].category | campaign |
scenarios[].difficultyLabel | Easy, Normal, Hard: how hard the mission is among its campaign's |
scenarios[].hq.requests | auto, scripted (only your own hq_request actions), off (none, and your own neither) |
scenarios[].hq.kinds[] | The requests that Headquarters may make. An empty list: all of them. |
scenarios[].trenches[].role | fire, reserve, or leave it out |
scenarios[].triggers[].mode | all, any |
scenarios[].triggers[].conditions[].compare | gte (at least), gt (more), lte (at most), lt (less), eq. Without it: at least. |
scenarios[].units[].stance | hold_fire, fire_at_will |
structures[].placement | ground, trench |
units[].canBuild[] | trench, wire, sandbags, or a structure |
units[].members[].role | The man's figure: lmg or gunner, officer, sniper, engineer, crew, bomber, flame, smg, atrifle, cavalry. With any other word (rifle, scout, assault) he is a rifleman, or the figure of his weapon: a pistol, a submachine gun, an anti-tank rifle. |
units[].mounts[].mount | front, left, right, rear, turret |
units[].role | armoredcar, assault, bearer, cavalry, crew, engineer, flame, lmg, officer, rifle, scout, sniper, tank, truck. Give an army an infantry unit with rifle: its staff buys those. Sappers have engineer. |
units[].tags[] | assault, sniper, mg, antitank, fast (a fast tank). Other words do nothing in a custom battle or in a battle of your own. |
weapons[].explosion.size | small, medium, large |
The game does not read these fields: abilities[].sound, aircraft[].engineSound, factions[].flag, units[].vehicle.engineSound.
What an entry needs
These fields are in every entry of the game. Start a new entry with them. For an army, a battlefield, a battle and a campaign, start from the example mods.
| Key | Fields |
|---|---|
units | id, name, faction, category, role, icon, tags, speed, vision, morale, cost, deployTime, ai, description |
units, infantry | also members, reinforceCost |
units, team | also members, crewWeapon, canDig, reinforceCost |
units, vehicle | also movement, vehicle, canDig, canCapture, canGarrison |
a unit's vehicle | hull, armor, turnRate, acceleration, crew, repairTime, length, width, sprite |
a unit's crewWeapon | weapon, sprite, minCrew, setupTime, packUpTime, packedSpeedMultiplier, health |
a unit's members | role, weapon, count |
a vehicle's mounts | weapon, mount, arc |
weapons | id, name, category, range, damage, accuracyNear, accuracyFar, fireInterval, magazine, reloadTime, sound |
weapons with shells, bombs or grenades | also projectile, explosion |
shells | id, name, kind, icon, description |
abilities | id, name, effect, icon, cooldown, target, description |
structures | id, name, width, height, health, armor, structureHeight, sprite, category |
terrain | id, name, texture, minimapColor, blendPriority |
aircraft | id, name, role, speed, turnRate, health, altitude, vision, stationTime, evasion, sprite |
aircraft, fighter | also weapon |
aircraft, bomber | also weapon, bomb, bombs |
callIns | id, name, faction, kind, icon, cost, cooldown, delay, description |
callIns, airBomber | also year, aircraft, aircraftCount, target |
callIns, airFighter | also year, aircraft, aircraftCount |
callIns, airRecon | also aircraft, aircraftCount |
callIns, barrage | also weapon, shell, rounds, pattern, radius, duration |
callIns, reinforcements | also target, units |
callIns, supply | also target, grant |
doctrines | id, name, faction, cost, branch, tier, icon, effects, description |
artilleryTempo | id, faction, year, programmeStockPerGun, programmePerGunHour, programmeScale, routinePerGunHour, sosMinutes, callInMinutes |
aiPersonalities | id, name, aggression, caution, artilleryAffinity, fortifyAffinity, airAffinity, armorAffinity, reserveRatio, counterAttack, retreatThreshold, adaptiveness, planningInterval, attackStyle, defenseStyle, attackForceRatio, description |
mapRecipes | id, name, width, height, baseTerrain, dryTerrain, dryPatchAmount, elevationScale, elevationFrequency, ridgeStrength, rivers, villages, villageMinBuildings, villageMaxBuildings, roads, farms, fieldStrip, streams, forestCoverage, fieldCoverage, hedgeDensity, treeLineChance, frontAxis, climate, villageBuildings, landmarks, props, description |
Towns and rivers
The names that a campaign's mapTowns and mapRivers can use. Write them exactly as here, with their accents.
Towns
- Ypres
- Arras
- Amiens
- Lille
- Cambrai
- St Quentin
- Mons
- Calais
- Boulogne
- Dunkirk
- Bruges
- Ghent
- Albert
- Bapaume
- Péronne
- Doullens
- Béthune
- Lens
- Douai
- Valenciennes
- Armentières
- Hazebrouck
- St Omer
- Poperinghe
- Courtrai
- Tournai
- Abbeville
- Montdidier
- Noyon
- Ham
- Le Cateau
- Maubeuge
- Charleroi
- Ostend
- Dixmude
- Paris
- Reims
- Soissons
- Laon
- Verdun
- Châlons
- Compiègne
- Nancy
- Meaux
- Château-Thierry
- Épernay
- Villers-Cotterêts
- Coulommiers
- Vitry-le-François
- Ste Menehould
- Bar-le-Duc
- St Mihiel
- Fismes
- Suippes
- Sedan
- Toul
Rivers
- Somme
- Ancre
- Scarpe
- Escaut
- Lys
- Yser
- Sambre
- Oise
- Canal du Centre
- Canal du Nord
- Marne
- Aisne
- Meuse
- Ourcq
- Vesle
Messages
What the game says when something is wrong with a mod, and what to do. The game shows its messages in your language. Here they are in English. X is a file's path in the mod. Y and Z are an id or a name. A message that is not here says itself what to change.
Errors in a JSON file
Each of these follows a file's name.
| Message | What to do |
|---|---|
| Line N, column M: not valid JSON. ... | Look at that place, and before it, for a missing comma or bracket, or a name or text without double quotes. |
| The file ends too soon: a }, a ] or a closing quote is missing. | Close every {, [ and " that you opened. |
| The file is empty: it must hold one JSON object, in { }. | Write the file's fields inside { }. |
| The file must hold one JSON object, in { }. | Put everything inside one { }, in place of a list. |
| Line N, (path): "Y" is written twice. Keep one. | Delete one of the two. |
| Line N, (path): "Y" is not a field the game knows. ... | Fix the name's spelling or letter case, or move it to its right place. Look it up in fields.txt. |
| Line N, (path): must be ... | Write a value of the kind the message names. If it ends "without quotes.", take the quotes off. |
| Line N, (path): a \u code in this text is not a whole character. Remove it. | Write the letter itself, and save the file as UTF-8. |
"Can't be loaded:"
The folder or its mod.json is wrong.
| Message | What to do |
|---|---|
| This folder has no mod.json. | Put mod.json directly in the mod's folder. After an unzip, the mod's folder may be inside another one: move the inner folder into the mods folder. |
| X: rename it mod.json, in lower case. X: rename it index.json, in lower case. | Rename the file. |
| mod.json: The file is not UTF-8 text: save it as UTF-8. | Save the file again with the encoding "UTF-8". |
| mod.json must hold one JSON object: the mod's id, name and format. mod.json is empty. | Write the file as one object, { }, with the fields in it. |
| mod.json must say the mod format it was made for: "format": 1. | Add "format": 1. |
| Made for a newer version of the game ... | Update the game. |
| The mod's id must be 1 to 32 characters ... | Use only a to z, 0 to 9, - and _, and start with a letter or a digit. |
| The mod's name must be 1 to 48 characters on one line. | The name is missing or too long, or it holds a tab or a line break. |
| The mod's version must be at most 16 characters on one line. The mod's author must be at most 48 characters on one line. | Shorten it, on one line. |
| The mod's description must be at most 400 characters. | Shorten it. Write a line break as \n, and no tab. |
| "after" lists the ids of other mods. | An id in after is wrong, or is the mod's own. |
| A mod loads after 16 others at most. | Shorten after. |
| mod.json is larger than 64 KB. | Take out the comments. |
| Two folders hold the mod 'Y' ...: keep one. | Delete one folder, or give one of the mods another id. |
| More than 64 mods: this one is not loaded. | Remove the mods you do not use. |
"Not loaded this time:"
The mod's data has an error, and the game started without the mod.
| Message | What to do |
|---|---|
| index.json: Content index not found. | Add index.json. |
| index.json: The content index lists no files. | List the mod's data files in "files". |
| index.json: 'X' is not a file inside this folder: ... | Write the path inside the mod's folder with /, without \, .. and :. |
| X: Listed in index.json but missing. | No file has that path, in exactly that letter case. |
| X: The file is not UTF-8 text: save it as UTF-8. | Save the file again with the encoding "UTF-8". |
| X: Patch of an unknown entry of "units", 'Y': ... | Check the id, and that the mod that adds it is on and loads first. |
| X: A patch in "units" has no id: ... X: An entry of "units" has no id. | Give the entry its id. |
| X: "patch" in "units" must be true or false. | Write "patch": true, without quotes round true. |
| X: The id 'Y' in "units" must be 1 to 32 characters ... | Shorten the new id, or take out its spaces and accented letters. |
| Its "after" makes a circle with other mods (Y): not loaded. | Take one of these mods out of the other's after. |
| Its data does not load with the game's. | Read the errors in log.txt. |
| units/Y: Unknown member weapon 'Z'. | Any "Unknown" message: the id is misspelt, or its mod is off or loads later. |
| units/Y: Morale must be positive. | A value is out of its range. The message says the rule. |
| scenarios/Y: ..., campaigns/Y: ..., mapRecipes/Y: ... | Fix what the message names in that scenario, campaign or battlefield. |
| factions/Y: Missing stretcher bearers. | Give the army stretcherBearers. |
| factions/Y: 'Z' is not a non-combatant unit of this faction. units/Y: A non-combatant unit ... | Make the stretcher bearers as the guide says. |
| factions/Y: startingUnits must list ... | Give the army startingUnits: at least one of its own units that fights. |
| factions/Y: startingUnits names 'Z', ... | The id is misspelt, or the unit is another army's. |
| factions/Y: "like" names ... | Name one of the game's armies (gb, fr or de), or a mod's army that has no like. |
| factions/Y: No spriteSet ... factions/Y: Unknown spriteSet 'Z' ... | Give the army a like, or one of the six figure sets. |
| factions/Y: The army 'Y' has no telephone: ... | Give the army a like. |
| callers: ... calls: ... | The army's own telephone lacks a caller or a call. The message names it. |
"Loaded, with these problems:"
The mod is in the game, without the picture, sound, piece of music, translation or value that each message names.
| Message | What to do |
|---|---|
| X: a picture must be a .png file, with .png in lower case: left out. | Save it as PNG, with a name that ends in .png. |
| X: (w)x(h) pixels, more than 1024 on a side: left out. | Make the picture at most 1024 pixels on each side. |
| X: The file is larger than 4 MB. Left out. | Save the picture again with compression on, or make it smaller. |
| X: Unsupported PNG ... Left out. | Export it again as an 8-bit PNG, not interlaced. |
| X: ...: save it again as an 8-bit PNG (RGBA, not interlaced). Left out. | The file is damaged, or is another kind of file. Export it again. |
| X: the mods' pictures are too many or too large: left out. ... | Use fewer or smaller pictures. |
| X: the game's letters cannot be replaced: left out. | A mod cannot change the font. |
| art/sprites.json: ... | Fix what the message names in sprites.json. |
| X: a sound must be a .wav file, with .wav in lower case: left out. | Save it as WAV, with a name that ends in .wav. |
| X: (what it is): left out. Export it as WAV, ... | Export it again as the message says. |
| X: (s) seconds long, more than 60: left out. | Cut the sound to 60 seconds at most. |
| X: The file is larger than 16 MB. Left out. | Cut the sound to 60 seconds at most, or make it mono. |
| X: the mods' sounds would take more than 24 MB in all: left out ... | Use fewer or shorter sounds, or mono. |
| sounds/Y: none of its sounds could be played, ... | Export the sounds of that name again. |
| X: a piece of music must be a .wav file, with .wav in lower case: left out. | Save it as WAV, with a name that ends in .wav. |
| X: a piece is a file music/<piece>.wav, ...: left out. | Put the file in the music folder itself, without a folder between. |
| X: a piece's name is 1 to 32 lower-case letters, digits and _: left out. | Rename the file. |
| X: (what it is): left out. The game takes music as WAV, ... | Export it again as the message says. |
| X: (s) seconds long, more than 360 (6 minutes): left out. X: (s) seconds long, less than 2: left out. | Make the piece 2 seconds to 6 minutes long. |
| X: The file is larger than 64 MB. Left out. | Export the piece in mono, or at 22050 Hz. |
| X: a mod has at most 16 pieces of music: left out. | Keep 16 pieces at most. |
| X: the mods' music would take more than 64 MB in all: left out ... | Use fewer or shorter pieces, or turn another mod off. |
| X: 'Y' is not a language the game translates into, named in lower case: left out. | Name the file by its language: fr, de, es, ru or tr, such as text/fr.json. |
| X: a translation is a file text/<language>.json, ...: left out. | Put it in the text folder itself, named by its language. |
| X: not a JSON file the game can read (line N): left out. | Fix the JSON at that line: a comma, a quote or a bracket is missing. |
| X: 'Y' is not a part of a translation file (only "exact"): left out. | Keep only the exact object. |
| X: must be {"exact":{"English":"translation"}}: left out. | Write the file as the guide shows. |
| X: the translation of "Y" is not a text in quotes: left out. | Write it between quotes. |
| X: the translation of "Y" is an English text of the game: left out. X: the translation of "Y" is another text the mods translate: left out. | Word it otherwise. |
| X: "Y": an English text and its translation must both have words: left out. | Give both a word, or take the entry out. |
| X: "Y": longer than 8000 characters: left out. X: more than 8192 translations: ... left out. X: The file is larger than 2 MB. Left out. | Use shorter texts, or fewer. |
| X: the game's font has no ...: drawn as spaces. | Use the letters that the guide lists. |
Adding a mod on Android
These show at the bottom of the Mods screen. A message of the first two tables says what is wrong with the mod.json in the .zip.
| Message | What to do |
|---|---|
| The file is not a .zip the game can read: zip the mod's folder again. | Zip the mod's folder again. |
| The file is larger than 64 MB. The mod unpacks to more than 128 MB. 'X' is larger than 16 MB. | Use fewer or smaller pictures, sounds and pieces of music. |
| The archive holds more than 4096 files. | Use fewer files. |
| The archive holds more than one mod.json: ... | Zip each mod on its own. |
| The archive holds no mod.json ... | Zip the mod's folder itself. |
| 'X' is not a file inside the mod's folder. 'X' is a name some systems cannot hold ... | Rename the file. |
| 'X' is in the archive twice, differing only in capital letters. | Rename one of the two files. |
| The archive holds a store.json, ... | Take that file out of the .zip. Only the mod store writes it. |
| The mod could not be added: ... | The phone could not write the mod. Free some space, and try again. |