Bug Report: Type 100 O-I "spawn" is still broken as of latest patch

Moderators: The Artistocrats, Order of Battle Moderators

Post Reply
BR4ZIL
Corporal - Strongpoint
Corporal - Strongpoint
Posts: 53
Joined: Sat Jul 26, 2014 12:02 am

Bug Report: Type 100 O-I "spawn" is still broken as of latest patch

Post by BR4ZIL »

Ever since the game changed into the new styled specializations this tank became completely unavaiable for the player during the Rising Sun campaign. I was hoping the latest updates (due to DLC) would fix it, but alas... that is not the case.

Your supposed to get the Type 100 O-I at the last scenario, but it never really triggers, if one wants the tank as intended, you have to edit the units.csv file, make the tank purchasable and free, buy 1 and modify the file back to default.

Not sure why this is so, probably some broken script, or the fact we never really fight *at all* in 1945 (the year we are supposed to be gifted this tank), the last mission in Rising Sun jumps from late 1944 to 1946.

I tried:

-Import my core from Morning Sun, bought the specializations up until the last level, no O-I

-Did a clean Rising Run start, bought the specialization, no tank

-clean Rising Sun run, did not purchase ANY OTHER specializations, only the tank development program one, still no O-I


Even the more recent youtubers doing the Rising Sun come across this problem, so i know its nothing really bugged on my end.

Anyway, since i didint saw anyone complaining about this, here it is.
GabeKnight
Lieutenant-General - Karl-Gerat 040
Lieutenant-General - Karl-Gerat 040
Posts: 3710
Joined: Mon Nov 27, 2017 10:24 pm

Re: Bug Report: Type 100 O-I "spawn" is still broken as of latest patch

Post by GabeKnight »

Can confirm.

This post/thread should be moved to the tech support sub-forum, though.

Also, I can not buy Tigers in the last scen anymore. But that may be intended.
bru888
Order of Battle Moderator
Order of Battle Moderator
Posts: 6214
Joined: Sun Jan 10, 2016 5:39 pm
Location: United States

Re: Bug Report: Type 100 O-I "spawn" is still broken as of latest patch

Post by bru888 »

BR4ZIL wrote: Thu Jun 03, 2021 3:08 am Not sure why this is so, probably some broken script, or the fact we never really fight *at all* in 1945 (the year we are supposed to be gifted this tank), the last mission in Rising Sun jumps from late 1944 to 1946.
My first inclination would be the "1945" aspect, but I did a quick test campaign that awarded Super_Sensha / Tank Production Program to the Japan core faction from the beginning, dating a scenario for 1945, and nothing shows up:

Screenshot 1.jpg
Screenshot 1.jpg (380.18 KiB) Viewed 1625 times

Besides, although New Zealand, the penultimate scenario, takes place in 1944, a specialisation that becomes effective in 1945 should carry forward and be applicable to Melbourne, the final scenario which occurs in 1946. Meaning, a player who has this specialisation should get the super tank in Melbourne. There is no reason why not; Super_Sensha / Tank Production Program specialisation itself becomes available in 1943.

"Broken script" is my guess.
- Bru
bebro
Slitherine
Slitherine
Posts: 4575
Joined: Sun Nov 19, 2006 12:50 pm

Re: Bug Report: Type 100 O-I "spawn" is still broken as of latest patch

Post by bebro »

Thanks for reporting, I'll fwd this to tech. It's not a scripting issue, as the effects of specs are coded. The tank should arrive in 1946 indeed when there's no scn in 1945.
Horst
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1927
Joined: Mon Feb 18, 2013 1:22 pm

Re: Bug Report: Type 100 O-I "spawn" is still broken as of latest patch

Post by Horst »

Too bad "Tech" is not getting smart of this, as the IO tank is still not showing up.
The Yanagi spec still works in 9.2.5. It's randomly either a Tiger or a Nebelwerfer.
There were a lot of GameSpecialisations code changes between 5.3.0 to 9.2.5 that don't seem to properly spawn the IO tank anymore.
I've added a 7z file with the working code of the 5.3.0 and recent 9.2.5 game version, including a campaign-save of Melbourne where the sensha-spec is already picked, but not the Yanagi one. Was saved with 9.2.5 but even works with 5.3.0.
GameSpecialisations.530+925.7z
(21.96 KiB) Downloaded 54 times
Maybe someone can get smart of this, as it is way beyond what I could fix with my amateurish hack & slashing.
I made the IO tank at least purchasable in 1946, so it's not totally gone.
IO 530.jpg
IO 530.jpg (298.19 KiB) Viewed 1077 times
IO 925.jpg
IO 925.jpg (299.02 KiB) Viewed 1077 times
GabeKnight
Lieutenant-General - Karl-Gerat 040
Lieutenant-General - Karl-Gerat 040
Posts: 3710
Joined: Mon Nov 27, 2017 10:24 pm

Re: Bug Report: Type 100 O-I "spawn" is still broken as of latest patch

Post by GabeKnight »

There's also a Steam thread on that topic:

https://steamcommunity.com/app/312450/d ... 864752848/

The user "hydra" wrote this:

"If you only take the tank production specialization immediately before the final mission [and not before] it does give you the Type 100 O-I".

And the first part of the sentence I can confirm myself.
Horst
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1927
Joined: Mon Feb 18, 2013 1:22 pm

Re: Bug Report: Type 100 O-I "spawn" is still broken as of latest patch

Post by Horst »

GabeKnight wrote: Sun Dec 25, 2022 12:36 am "If you only take the tank production specialization immediately before the final mission [and not before] it does give you the Type 100 O-I".
Good to know, so the most laziest fix to this is simply move the spec to 1945.
No one is going to pick it at the wrong time then.

Code: Select all

        else if (App.game.campaign.currentDate.year >= 1945)
        {
            UnitType unitTypeByName7 = App.GetUnitTypeByName("type100_o-i");
            if (unitTypeByName7.factionTypes.Contains(specialisation.faction.factionType))
            {
                foreach (Unit unit5 in specialisation.faction.state.units)
                {
                    if (unit5.state.unitType != unitTypeByName7)
                    {
                        continue;
                    }
                    return;
                }
                App.game.CreateUnit(specialisation.faction, unitTypeByName7, null, 1, 0, App.game.actualGameState, true).history.AddHistory(new List<string>()
                {
                    "enlisted",
                    "",
                    "",
                    App.game.campaign.currentDate.ToString()
                });
                return;
            }
        }
    }
Horst
Brigadier-General - 15 cm Nblwf 41
Brigadier-General - 15 cm Nblwf 41
Posts: 1927
Joined: Mon Feb 18, 2013 1:22 pm

Re: Bug Report: Type 100 O-I "spawn" is still broken as of latest patch

Post by Horst »

Moving the spec for Japan to 1945 might not be the best idea as it also pushes a couple of unit dates earlier.
I couldn't fix the type100_o-i spawn yet, but at least get smart of the rest.
Note there is a typo in the code type3_ho-ri, hence this unit normally won't benefit.
Best to save this info-pic somewhere else for quick reference should someone play Japanese and Italian campaigns, possibly custom ones with different scenario dates.
Tank Production Program.jpg
Tank Production Program.jpg (62.01 KiB) Viewed 1034 times
Post Reply

Return to “Order of Battle Bug Submissions”