Skip to content

Commit 9567c5c

Browse files
committed
feat: renamed combat unit types
1 parent 43d6bb1 commit 9567c5c

25 files changed

+1403
-1466
lines changed

common/combat_unit_types/00_combat_unit_types.txt

Lines changed: 0 additions & 1331 deletions
This file was deleted.

common/combat_unit_types/00_land_combat_unit_types.txt

Lines changed: 918 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 350 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,350 @@
1+
###
2+
### Keep "unit tiers" per group in ascending order; the system will determine the default unit type for a country
3+
### by the last defined unit type that it can build
4+
###
5+
6+
### NAVY
7+
8+
### Light ship group
9+
10+
combat_unit_type_wartime_escort = {
11+
group = combat_unit_group_escort_ships
12+
max_manpower = 1000
13+
14+
upkeep_modifier = {
15+
goods_input_manowars_add = 1
16+
}
17+
18+
battle_modifier = {
19+
unit_offense_add = 10
20+
unit_defense_add = 15
21+
unit_blockade_add = 10
22+
unit_morale_loss_add = 10
23+
}
24+
25+
unlocking_technologies = { navigation }
26+
27+
combat_unit_image = {
28+
texture = "gfx/unit_illustrations/light_ships_frigate.dds"
29+
}
30+
31+
upgrades = {
32+
combat_unit_type_modernized_escort
33+
}
34+
}
35+
36+
combat_unit_type_modernized_escort = {
37+
group = combat_unit_group_escort_ships
38+
max_manpower = 1000
39+
40+
upkeep_modifier = {
41+
goods_input_ironclads_add = 1
42+
goods_input_artillery_add = 1
43+
goods_input_ammunition_add = 1
44+
}
45+
46+
battle_modifier = {
47+
unit_offense_add = 20
48+
unit_defense_add = 30
49+
unit_blockade_add = 20
50+
unit_morale_loss_add = 8
51+
unit_convoy_defense_mult = 0.20
52+
}
53+
54+
formation_modifier = {
55+
military_formation_movement_speed_mult = 0.2
56+
}
57+
58+
unlocking_technologies = { monitor_tech }
59+
60+
combat_unit_image = {
61+
texture = "gfx/unit_illustrations/capital_ships_monitor.dds"
62+
}
63+
64+
upgrades = {
65+
combat_unit_type_guided_missile_destroyer
66+
combat_unit_type_torpedo_boat
67+
}
68+
}
69+
70+
combat_unit_type_guided_missile_destroyer = {
71+
group = combat_unit_group_escort_ships
72+
max_manpower = 1000
73+
74+
upkeep_modifier = {
75+
goods_input_ironclads_add = 2
76+
goods_input_artillery_add = 2
77+
goods_input_ammunition_add = 2
78+
}
79+
80+
battle_modifier = {
81+
unit_offense_add = 30
82+
unit_defense_add = 40
83+
unit_blockade_add = 30
84+
unit_morale_loss_add = 6
85+
unit_convoy_defense_mult = 0.35
86+
}
87+
88+
formation_modifier = {
89+
military_formation_movement_speed_mult = 0.2
90+
}
91+
92+
unlocking_technologies = { destroyer }
93+
combat_unit_image = {
94+
texture = "gfx/unit_illustrations/light_ships_destroyer.dds"
95+
}
96+
97+
upgrades = {
98+
combat_unit_type_guided_missile_cruiser
99+
}
100+
}
101+
102+
combat_unit_type_torpedo_boat = {
103+
group = combat_unit_group_escort_ships
104+
max_manpower = 1000
105+
106+
upkeep_modifier = {
107+
goods_input_ironclads_add = 2
108+
goods_input_explosives_add = 4
109+
}
110+
111+
battle_modifier = {
112+
unit_offense_add = 40
113+
unit_defense_add = 30
114+
unit_blockade_add = 30
115+
unit_morale_loss_add = 8
116+
unit_convoy_raiding_mult = 0.25
117+
}
118+
119+
formation_modifier = {
120+
military_formation_movement_speed_mult = 0.2
121+
}
122+
123+
unlocking_technologies = { self_propelled_torpedoes }
124+
125+
combat_unit_image = {
126+
texture = "gfx/unit_illustrations/light_ships_torpedo_boat.dds"
127+
}
128+
129+
upgrades = {
130+
combat_unit_type_guided_missile_cruiser
131+
}
132+
}
133+
134+
combat_unit_type_guided_missile_cruiser = {
135+
group = combat_unit_group_escort_ships
136+
max_manpower = 1000
137+
138+
upkeep_modifier = {
139+
goods_input_ironclads_add = 3
140+
goods_input_ammunition_add = 3
141+
goods_input_artillery_add = 3
142+
goods_input_radios_add = 1
143+
}
144+
145+
battle_modifier = {
146+
unit_offense_add = 50
147+
unit_defense_add = 50
148+
unit_blockade_add = 40
149+
unit_morale_loss_add = 6
150+
unit_convoy_defense_mult = 0.5
151+
}
152+
153+
formation_modifier = {
154+
military_formation_movement_speed_mult = 0.2
155+
}
156+
157+
unlocking_technologies = { sea_lane_strategies }
158+
159+
combat_unit_image = {
160+
texture = "gfx/unit_illustrations/light_ships_scout_cruiser.dds"
161+
}
162+
}
163+
164+
### Flagship group
165+
166+
combat_unit_type_battleship = {
167+
group = combat_unit_group_capital_ship
168+
max_manpower = 1000
169+
170+
upkeep_modifier = {
171+
goods_input_manowars_add = 3
172+
}
173+
174+
battle_modifier = {
175+
unit_offense_add = 25
176+
unit_defense_add = 25
177+
unit_blockade_add = 100
178+
unit_morale_loss_add = 10
179+
unit_convoy_raiding_mult = -0.9
180+
}
181+
182+
unlocking_technologies = { drydocks }
183+
184+
combat_unit_image = {
185+
texture = "gfx/unit_illustrations/capital_ships_manowar.dds"
186+
}
187+
188+
upgrades = {
189+
combat_unit_type_aircraft_carrier
190+
}
191+
}
192+
193+
combat_unit_type_aircraft_carrier = {
194+
group = combat_unit_group_capital_ship
195+
max_manpower = 1000
196+
197+
upkeep_modifier = {
198+
goods_input_ironclads_add = 3
199+
goods_input_artillery_add = 3
200+
goods_input_ammunition_add = 3
201+
}
202+
203+
battle_modifier = {
204+
unit_offense_add = 50
205+
unit_defense_add = 50
206+
unit_blockade_add = 200
207+
unit_morale_loss_add = 8
208+
unit_convoy_raiding_mult = -0.9
209+
}
210+
211+
formation_modifier = {
212+
military_formation_movement_speed_mult = -0.2
213+
}
214+
215+
unlocking_technologies = { ironclad_tech }
216+
217+
combat_unit_image = {
218+
texture = "gfx/unit_illustrations/capital_ships_ironclad.dds"
219+
}
220+
221+
upgrades = {
222+
combat_unit_type_nuclear_supercarrier
223+
}
224+
}
225+
226+
combat_unit_type_nuclear_supercarrier = {
227+
group = combat_unit_group_capital_ship
228+
max_manpower = 1000
229+
230+
upkeep_modifier = {
231+
goods_input_ironclads_add = 6
232+
goods_input_artillery_add = 6
233+
goods_input_ammunition_add = 6
234+
goods_input_radios_add = 2
235+
}
236+
237+
battle_modifier = {
238+
unit_offense_add = 80
239+
unit_defense_add = 80
240+
unit_blockade_add = 400
241+
unit_morale_loss_add = 6
242+
unit_convoy_raiding_mult = -0.9
243+
}
244+
245+
formation_modifier = {
246+
military_formation_movement_speed_mult = -0.2
247+
}
248+
249+
unlocking_technologies = { dreadnought }
250+
251+
combat_unit_image = {
252+
texture = "gfx/unit_illustrations/capital_ships_dreadnought.dds"
253+
}
254+
255+
upgrades = {
256+
combat_unit_type_modern_aircraft_carrier
257+
}
258+
}
259+
260+
combat_unit_type_modern_aircraft_carrier = {
261+
group = combat_unit_group_capital_ship
262+
max_manpower = 1000
263+
264+
upkeep_modifier = {
265+
goods_input_ironclads_add = 8
266+
goods_input_artillery_add = 8
267+
goods_input_ammunition_add = 8
268+
goods_input_radios_add = 3
269+
}
270+
271+
battle_modifier = {
272+
unit_offense_add = 100
273+
unit_defense_add = 100
274+
unit_blockade_add = 500
275+
unit_morale_loss_add = 4
276+
unit_convoy_raiding_mult = -0.9
277+
}
278+
279+
formation_modifier = {
280+
military_formation_movement_speed_mult = -0.2
281+
}
282+
283+
unlocking_technologies = { battleship_tech }
284+
285+
combat_unit_image = {
286+
texture = "gfx/unit_illustrations/capital_ships_battleship.dds"
287+
}
288+
}
289+
290+
### Support Ship group
291+
292+
combat_unit_type_diesel_submarine = {
293+
group = combat_unit_group_submarines
294+
max_manpower = 1000
295+
296+
upkeep_modifier = {
297+
goods_input_ironclads_add = 2
298+
goods_input_artillery_add = 2
299+
goods_input_ammunition_add = 2
300+
goods_input_radios_add = 1
301+
}
302+
303+
battle_modifier = {
304+
unit_offense_add = 60
305+
unit_defense_add = 20
306+
unit_blockade_add = 10
307+
unit_morale_loss_add = 8
308+
unit_convoy_raiding_mult = 1.0
309+
}
310+
311+
formation_modifier = {
312+
military_formation_movement_speed_mult = 0.2
313+
}
314+
315+
unlocking_technologies = { submarine }
316+
317+
combat_unit_image = {
318+
texture = "gfx/unit_illustrations/support_ships_submarine.dds"
319+
}
320+
}
321+
322+
combat_unit_type_diesel_nuclear_submarine = {
323+
group = combat_unit_group_submarines
324+
max_manpower = 1000
325+
326+
upkeep_modifier = {
327+
goods_input_ironclads_add = 8
328+
goods_input_ammunition_add = 8
329+
goods_input_radios_add = 4
330+
goods_input_aeroplanes_add = 8
331+
}
332+
333+
battle_modifier = {
334+
unit_offense_add = 120
335+
unit_defense_add = 60
336+
unit_blockade_add = 500
337+
unit_morale_loss_add = 6
338+
unit_convoy_defense_mult = 0.25
339+
}
340+
341+
formation_modifier = {
342+
military_formation_movement_speed_mult = -0.2
343+
}
344+
345+
unlocking_technologies = { carrier_tech }
346+
347+
combat_unit_image = {
348+
texture = "gfx/unit_illustrations/support_ships_carrier.dds"
349+
}
350+
}

common/commander_orders/00_advance.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ advance_heavy_barrage = {
161161
}
162162
commander_military_formation ?= {
163163
formation_army_unit_type_fraction = {
164-
target = unit_type:combat_unit_type_mobile_artillery
164+
target = unit_type:combat_unit_type_self_propelled_guns
165165
value >= 0.2
166166
}
167167
}

common/commander_orders/00_defend.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ defend_guerilla_warfare = {
202202
OR = {
203203
commander_military_formation ?= {
204204
formation_army_unit_type_fraction = {
205-
target = unit_type:combat_unit_type_irregular_infantry
205+
target = unit_type:combat_unit_type_asymmetrical_forces
206206
value >= 0.8
207207
}
208208
}
@@ -220,7 +220,7 @@ defend_guerilla_warfare = {
220220
}
221221
commander_military_formation ?= {
222222
formation_army_unit_type_fraction = {
223-
target = unit_type:combat_unit_type_mechanized_infantry
223+
target = unit_type:combat_unit_type_tactical_brigade
224224
value >= 0.8
225225
}
226226
}

0 commit comments

Comments
 (0)