Operation Avalanche Crash using Beta + Mod

Steam Testing Branch.
RC01214
Cadet
Posts: 2
Joined: Tue May 05, 2020 2:55 am

Operation Avalanche Crash using Beta + Mod

Unread postby RC01214 » Tue May 05, 2020 3:01 am

Hi,

Using the Beta Patch on Steam+ the CheatCardMod on Steam Workshop, the following crash will occur.

tools.exceptions.ActionNotPossibleError: It is not possible to add a truck to full supply hub!

Not sure why the Axis AI is attempting to add trucks beyond 5 trucks.

Would adding a game.patch.yml affect this?
You do not have the required permissions to view the files attached to this post.

User avatar
Tomislav Uzelac
2x2 Games
Posts: 2211
Joined: Mon Apr 04, 2011 11:24 pm
Location: Zagreb, Croatia

Re: Operation Avalanche Crash using Beta + Mod

Unread postby Tomislav Uzelac » Tue May 05, 2020 10:57 am

Hi, I've taken a look: the crash happens even without the mod, so we'll be checking what's happening there.

In the meantime, re: patch yml files. The point is that you include only the keys that you want to change in your mod, and leave out the rest entirely out of the patch. For example, in your game.patch.yml you have:

Code: Select all

extra_prestige_on_conference_start:
  easy: 900
  normal: 500
extra_turns_on_scenario_length:
  easy: 5
  normal: 3
extra_turns_on_objectives:
  easy: 2
  normal: 1
extra_trucks_on_scenario_start:
  easy: 4
  normal: 2

This is good, because this is the part you want to change. However, the values immediately below are the same as the original game.yml and should be REMOVED from game.patch.yml.

When you do it like this, the game only change those values in game.yml that were found in your game.patch.yml (it will "patch" game.yml). This is a better approach, because it lets us, or other mods change other values in game.yml.

Code: Select all

# DO NOT PUT THIS IN game.patch.yml

# Number of movement points get by motor pool
motor_pool_mp: 2
# Experience loss for standard deployed step
unit_exp_step_loss_standard: 10

Thanks for helping the community with your mod! We will look at the crash and report back later.

Cheers!

User avatar
Tomislav Uzelac
2x2 Games
Posts: 2211
Joined: Mon Apr 04, 2011 11:24 pm
Location: Zagreb, Croatia

Re: Operation Avalanche Crash using Beta + Mod

Unread postby Tomislav Uzelac » Tue May 05, 2020 12:40 pm

We have now fixed the AI issue too (well, two separate issues, it turns out). The fix should be live on Steam shortly.

Thanks for reporting!

RC01214
Cadet
Posts: 2
Joined: Tue May 05, 2020 2:55 am

Re: Operation Avalanche Crash using Beta + Mod

Unread postby RC01214 » Tue May 05, 2020 11:03 pm

Thanks for the quick response!

Noted on the game.patch.yml formatting.