Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Hopefully the mod creator is willing/able to update
Interestingly enough, the last two lines on error.log imply it's not, in fact, this mod:
[13:06:31][1936.07.17.16][character.cpp:1129]: events/LAR_Spain.txt:697: set_nationality: Luis González de Ubieta already has an advisor role with slot type navy_chief
[13:06:31][1936.07.17.16][character.cpp:1165]: events/LAR_Spain.txt:697: set_nationality: Luis González de Ubieta already has a unit leader role
However, since disabling this mod allows the game to continue without crashing, I am forced to assume that it is this mod and it needs an update.
NDefines.NAir.ACE_EARN_CHANCE_PLANES_MULT = 0.005 -- Ace generation chance per aircraft. Chance is rolled twice because decimal numbers can't be small enough
The probability of generating an ace is two fold:
1) flat 1% change to even try
2) dynamic C = 100% * (0.005 * <wing size>)^2
for wing_size = 200, this comes to 100%; for wing_size = 100, this comes to 25%; for wing_size = 24, this comes to 1.44%... (assuming that the calc is still used in this post-custom-wing-size world!)
I set this to "NDefines.NAir.ACE_EARN_CHANCE_PLANES_MULT = 0.007" which makes the chance to generate an ace ~2.8% in 1% of cases. Since we're running 24 and 12 wings, we have like 4x-8x more wings than normal, so that shooooould(?) make a similar amount of aces (at least for 12 wings). I might make it lower or raise after testing, not sure.
There's also:
NDefines.NAir.AIR_WING_BOMB_DAMAGE_FACTOR = 2, -- Used to balance the damage done while bombing.
From reading a hoi4 forum post (a post called "How many TACs does it take to strat bomb an island?"), to quote user bitmode:
"...damage produced by the bombers is NAir.AIR_WING_BOMB_DAMAGE_FACTOR * <wing's strategic bombing> / 100 * <# of planes> * vDamageFactor..."
Where I think 100 is the default wing size, so it's basically calc'ing "percent of full air wing". Since we're doing smaller wings, the bombers will be doing 12% of their 'regular' damage... I therefore adjusted the bomb_factor to 17 (from 100/12*2=16.6666)
disclaimer: I'm looking at this late at night, so double/sanity check anything I say lol
EDIT: On second thought, while the 12-wing strats only do 12% of the damage, if you have 100 planes/~8 wings, that's even? Though due how min loses from state AA are calc'ed, I think 12-wings will take a lot more losses
There's also two other defines:
NDefines.NAir.MIN_PLANE_COUNT_PARADROP = 50
NDefines.NAir.BASE_UNIT_WEIGHT_IN_TRANSPORT_PLANES = 45.0
These mean that "you need 45 transports per division, though you need at least 50 to run the drop"... i.e., for 1,2,3,... divisions of para, you need >50<,90,135,... transports. since you need a min of 50 to run the drop, if a single plane gets shot down on a 1div drop, it would cancel that drop; for this, I personally left the transports at 100 size, to avoid issues with that min_plane_count and since I didn't want to change the number of transports/para div.
NDefines.NAir.NAVAL_COMBAT_EXTERNAL_PLANES_MIN_CAP = 20 -- Min cap for planes that can join naval combat
NDefines.NAir.ACE_WING_SIZE = 100 -- size of wing ace bonuses are set up for. if lower more bonus, if higher less bonus
NDefines.NAir.AIR_WING_AVERAGE_SIZE = 100 -- Eyeballed average amount of airplanes in wing. Used when calculating air volunteer.
Now granted, I have no idea if these defines actually are still used, but they're the relevant ones I've found so far!!
I tried messing around with it to see if there could be anything else, but it seems like no.