Author Archives: Krom

Bugfix for TSK mission 18

In the latest release (Scripting Demo r5503) campaign The Shattered Kingdom mission 18 was impossible to win because AI would send swarms of soldiers to players base. Finally the fix is ready and uploaded. The fix can be found in downloads section. To install the fix you need to unpack archive contents into your KaM Remake r5503 installation folder. Doinf so will replace KaM Remake\Campaigns\The Shattered Kingdom\TSK18\TSK18.dat script file. After that you can replay the mission and AI will behave normal.

Bug in TSK mission 18

We have received a number of bugreports since release about mission 18 being impossible to win because AI would send swarms of soldiers to players base. We have checked the mission and indeed there’s a bug. I’ve just sent everyone who has reported the bug in past month a fixed script, if the fix will be accepted we will upload it to the public.

Tech info for mapmakers:
The bug appeared since prior to r4179 AI attacks would copy missing properties from previous attack, but after r4179 the attacks are initialized with zeroes each time. This means that in order to be working properly the attacks need to have all fields listed explicitly. The most affected field is the attack delay – it will be set to 0 instead of copying previous attack value.