Baltic country's can't get better planes by the "British Aircraft Manufacturing" focus

  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Zak1000

Recruit
2 Badges
Oct 19, 2022
2
0
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn


Summary​

Baltic country's can't get better planes by the "British Aircraft Manufacturing" focus

Platform​

Steam

Operating System​

Windows 10

Game Version​

Avalanche v1.12.13.fbdd (b721) (D) (S)

Enabled DLC​

  • All of the above

Do you have mods enabled?​

No

Description​

I was modding a bit and noticed an issue with the Focus "British Aircraft Manufacturing" or rather with the scripted effect that is used.
The focus should give the player a amount of planes and a license, which does happen for the "Interwar small airframe". But when the Uk has researched "Basic small airframe" the focus still only gives you the "Interwar small airframe".

In the scripted effect it checks if the country, that is giving the license and the equipment (in this case the UK), has researched better air tech and would give the latest researched to the Baltic country. But this does not happen, because the effect checks if "fighter_equipment_X" is researched (only the last tech that is checked is "small_plane_airframe_0", which probably refers to the "Interwar small airframe"). The Problem is that "fighter_equipment_X" is the equipment format for planes that was used before bba and now can't be researched without commands.

I tested this on the same Version with bba disabled and after the UK researched the "Hurricane" (fighter 1), the focus would give me the fighter 1s instead of the Interwar one's.
So with bba enabled it does not function as it was probably intended and you do not get better fighters within the whole game.

A bit more info:
Focus ID = BALTIC_british_aircraft (file: baltic_shared.txt)
scripted effect = give_aircraft_and_licences (file: BLT_scripted_effects.txt)



Steps to Reproduce​

With bba
1. Start the game as any Baltic country and check what the focus "British Aircraft Manufacturing" gives you.
2. Switch to the UK through the console (tag eng).
3. Check the air tech. (UK already has "Basic small airframe" researched, but not designed)
4. Design a fighter
5. Switch back to a Baltic country through console.
6. Check Focus "British Aircraft Manufacturing".
Result: Only Interwar airframes.

Without bba
1. Start the game as any Baltic country and check what the focus "British Aircraft Manufacturing" gives you.
2. Switch to the UK through the console (tag eng).
3. Check the air tech. (without bba UK only has interwar researched at game start)
4. Research the next fighter tech. (or just wait half a year as any Baltic country, UK does research fighter 1 early)
5. Switch back to a Baltic country through console.
6. Check Focus "British Aircraft Manufacturing".
Result: You get the New fighter 1s.

Are you playing on a save from the previous/older version of the game​

No

Upload Attachment​

without_bba_half_a_year_ingame.jpgwithout_bba_game_start.jpgBLT_scripted_effects_code1.PNGBLT_scripted_effects_code2.PNGBLT_scripted_effects_code3.PNG

 
Last edited: