Skip to content

Commit e016829

Browse files
committed
Initial Release
1 parent 2f090fb commit e016829

File tree

6 files changed

+276
-0
lines changed

6 files changed

+276
-0
lines changed

.github/workflows/whitespace.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Linter
2+
3+
# Triggers on all PRs and push commit
4+
on:
5+
pull_request:
6+
push:
7+
branches:
8+
- master
9+
paths:
10+
- '**.asset'
11+
- '**.gfx'
12+
- '**.gui'
13+
- '**.mod'
14+
- '**.py'
15+
- '**.txt'
16+
- '**.yaml'
17+
- '**.yml'
18+
19+
# If a new commit is pushed while the an existing one is still running,
20+
# cancel old in-progress ones.
21+
concurrency:
22+
cancel-in-progress: true
23+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
24+
25+
jobs:
26+
lint:
27+
runs-on: ubuntu-latest
28+
29+
permissions:
30+
# Give the default GITHUB_TOKEN write permission to commit and push the
31+
# added or changed files to the repository.
32+
contents: write
33+
34+
steps:
35+
- name: Checking out Repository...
36+
uses: actions/checkout@v4
37+
38+
- name: Setting up Python...
39+
uses: actions/setup-python@v5
40+
41+
- name: Installing `ruff`...
42+
run: pip install ruff
43+
44+
- name: Running `ruff` in linter mode on all files...
45+
run: ruff check --fix .
46+
47+
- name: Auto-commiting Fixes...
48+
uses: stefanzweifel/git-auto-commit-action@v5
49+
with:
50+
commit_message: '[Lint] Automatic PDX-style Code Linter'
51+
commit_user_name: kaiserlinter[bot]

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# KR Tech Extension: Squadron Size Air Wings
2+
3+
### Last Updated for Apr 27, 2024. (KR's 1.1 release)
4+
5+
This is the official submod for [KR Tech Extension](https://steamcommunity.com/sharedfiles/filedetails/?id=3105210203) that reduces the average airwing size down from 100 to 24 (12 for strategic bombers, 50 for transport planes & guided missiles - carrier airwings size remained the same but are 24 on land), based on Jax's [Squadron Size Air Wings](https://steamcommunity.com/sharedfiles/filedetails/?id=2872975666) series of HoI4 mod.
6+
7+
As air groups are now a thing, this shouldn't affects the gameplay too negatively for those who didn't want to micromanage airforces too often.
8+
9+
### For earlier releases, click [here](https://github.com/KR-Tech-Extension/kr-tech-extension_airwing_size/releases) and pick the version you're looking for, then follow the instructions below:
10+
1) Download this submod.
11+
2) Delete any former versions and ensure that you've unsubscribed from the [Steam Workshop](https://steamcommunity.com/sharedfiles/filedetails/?id=3233521282) version of this mod.
12+
3) Extract the .zip to `Documents\Paradox Interactive\Hearts of Iron IV\mod\kr-tech-extension_airwing_size`.
13+
4) Make a copy of the `descriptor.mod` file in the folder, rename it to `kr-tech-extension_airwing_size.mod` and put it in `Hearts of Iron IV\mod`.

common/units/air.txt

Lines changed: 198 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,198 @@
1+
# Literally the ones from vanilla to overwrites KX ones
2+
3+
sub_units = {
4+
# Small airframe
5+
6+
fighter = {
7+
sprite = light_plane
8+
priority = 1
9+
active = yes
10+
type = fighter
11+
need = { small_plane_airframe = 1 }
12+
categories = { category_fighter }
13+
land_air_wing_size = 24 # 100
14+
}
15+
cv_fighter = {
16+
sprite = light_plane
17+
priority = 1
18+
active = yes
19+
type = fighter
20+
need = { cv_small_plane_airframe = 1 }
21+
categories = { category_fighter }
22+
carrier_air_wing_size = 10
23+
land_air_wing_size = 24 # 100
24+
}
25+
26+
cas = {
27+
sprite = light_plane
28+
priority = 2
29+
active = yes
30+
type = cas
31+
need = { small_plane_cas_airframe = 1 }
32+
categories = { category_cas }
33+
land_air_wing_size = 24 # 100
34+
}
35+
cv_cas = {
36+
sprite = light_plane
37+
priority = 2
38+
active = yes
39+
type = cas
40+
need = { cv_small_plane_cas_airframe = 1 }
41+
categories = { category_cas }
42+
carrier_air_wing_size = 10
43+
land_air_wing_size = 24 # 100
44+
}
45+
46+
nav_bomber = {
47+
sprite = light_plane
48+
priority = 3
49+
active = yes
50+
type = naval_bomber
51+
need = { small_plane_naval_bomber_airframe = 1 }
52+
categories = { category_nav_bomber }
53+
land_air_wing_size = 24 # 100
54+
}
55+
cv_nav_bomber = {
56+
sprite = light_plane
57+
priority = 3
58+
active = yes
59+
type = naval_bomber
60+
need = { cv_small_plane_naval_bomber_airframe = 1 }
61+
categories = { category_nav_bomber }
62+
carrier_air_wing_size = 10
63+
land_air_wing_size = 24 # 100
64+
}
65+
66+
suicide_craft = {
67+
sprite = light_plane
68+
priority = 9
69+
active = yes
70+
type = suicide
71+
need = { small_plane_suicide_airframe = 1 }
72+
land_air_wing_size = 24 # 100
73+
}
74+
cv_suicide_craft = {
75+
sprite = light_plane
76+
priority = 9
77+
active = yes
78+
type = suicide
79+
need = { cv_small_plane_suicide_airframe = 1 }
80+
carrier_air_wing_size = 10
81+
land_air_wing_size = 24 # 100
82+
}
83+
84+
# Medium airframe
85+
86+
tac_bomber = {
87+
sprite = medium_plane
88+
priority = 4
89+
active = yes
90+
type = tactical_bomber
91+
need = { medium_plane_airframe = 1 }
92+
categories = { category_tac_bomber }
93+
land_air_wing_size = 24 # 100
94+
}
95+
96+
heavy_fighter = {
97+
sprite = medium_plane
98+
priority = 1
99+
active = yes
100+
type = heavy_fighter
101+
need = { medium_plane_fighter_airframe = 1 }
102+
categories = { category_heavy_fighter }
103+
land_air_wing_size = 24 # 100
104+
}
105+
106+
scout_plane = {
107+
sprite = light_plane
108+
priority = 1
109+
active = yes
110+
type = scout_plane
111+
need = { medium_plane_scout_plane_airframe = 1 }
112+
categories = { category_scout_plane }
113+
land_air_wing_size = 12 # 10
114+
}
115+
116+
# Large airframe
117+
118+
strat_bomber = {
119+
sprite = heavy_plane
120+
priority = 5
121+
active = yes
122+
type = strategic_bomber
123+
need = { large_plane_airframe = 1 }
124+
categories = { category_strat_bomber }
125+
land_air_wing_size = 12 # 50
126+
}
127+
128+
maritime_patrol_plane = {
129+
sprite = heavy_plane
130+
priority = 5
131+
active = yes
132+
type = maritime_patrol_plane
133+
need = { large_plane_maritime_patrol_plane_airframe = 1 }
134+
categories = { category_strat_bomber }
135+
land_air_wing_size = 12 # 10
136+
}
137+
138+
# Non-BBA archetypes
139+
140+
jet_fighter = {
141+
sprite = jet_plane
142+
priority = 1
143+
active = yes
144+
type = fighter
145+
need = { jet_fighter_equipment = 1 }
146+
categories = { category_fighter }
147+
land_air_wing_size = 24 # 100
148+
}
149+
150+
jet_tac_bomber = {
151+
sprite = medium_plane
152+
priority = 4
153+
active = yes
154+
type = tactical_bomber
155+
need = { jet_tac_bomber_equipment = 1 }
156+
categories = { category_tac_bomber }
157+
land_air_wing_size = 24 # 100
158+
}
159+
160+
jet_strat_bomber = {
161+
sprite = heavy_plane
162+
priority = 5
163+
active = yes
164+
type = strategic_bomber
165+
need = { jet_strat_bomber_equipment = 1 }
166+
categories = { category_strat_bomber }
167+
land_air_wing_size = 12 # 100
168+
}
169+
170+
rocket_interceptor = {
171+
sprite = light_plane
172+
priority = 7
173+
active = yes
174+
type = interceptor
175+
need = { rocket_interceptor_equipment = 1 }
176+
land_air_wing_size = 24 # 100
177+
}
178+
179+
# Other
180+
181+
transport_plane = {
182+
sprite = heavy_plane
183+
priority = 6
184+
active = yes
185+
type = air_transport
186+
need = { transport_plane_equipment = 1 }
187+
land_air_wing_size = 50 # 100
188+
}
189+
190+
guided_missile = {
191+
sprite = missile_default
192+
priority = 8
193+
active = yes
194+
type = missile
195+
need = { guided_missile_equipment = 1 }
196+
land_air_wing_size = 50 # 100
197+
}
198+
}

descriptor.mod

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name="KR Tech Extension: Squadron Size Air Wings"
2+
tags={
3+
"Alternative History"
4+
"Fixes"
5+
"Military"
6+
}
7+
dependencies={
8+
"KR Tech Extension"
9+
}
10+
picture="thumbnail.png"
11+
version="1.1a"
12+
supported_version="1.14.*"
13+
path="C:/Users/sirip/OneDrive/Documents/Paradox Interactive/Hearts of Iron IV/mod/navyfieldgfx-hoi4_airwing_size"
14+
remote_file_id="3233521282"

thumbnail.png

462 KB
Loading

thumbnailwide.png

647 KB
Loading

0 commit comments

Comments
 (0)