Strange bug?

Download scenarios and talk about scenario design.
Moderators: Slitherine Core, BA Moderators

Moderators: Slitherine Core, BA Moderators

Post Reply
enric
Brigadier-General - 8.8 cm Pak 43/41
Brigadier-General - 8.8 cm Pak 43/41
Posts: 1855
Joined: Sun May 15, 2011 8:47 am

Strange bug?

Post by enric »

I detected the following:
In the editor placing several fixed units, two of them are a 75MM_PAK40 and a PANTHER, they are placed separated one of the other (see below).
When starting the game the 75pak starts loaded on the Panther.
If in the .BAM file (or in the editor) I change 75MM_PAK40 for, for example, GERMAN_INFANTRY then each unit starts in its tile correctly.

More info, if in the editor I use ctrl-E to go to play mode the pack appears in its place correctly.
Final note, I detected this also in another scenario and finally I decided to use a scripting units initial placement to avoid this.

UNITTS_1_10 PANTHER
UNITX_1_10 22
UNITY_1_10 31
UNITROT_1_10 0
UNITTEAM_1_10 0
UNITFIX_1_10 TRUE
UNITST_1_10 0
UNITCAR_1_10 FALSE
UNITREINF_1_10 0

====
UNITTS_1_16 75MM_PAK40
UNITX_1_16 21
UNITY_1_16 34
UNITROT_1_16 0
UNITTEAM_1_16 0
UNITFIX_1_16 TRUE
UNITST_1_16 0
UNITCAR_1_16 FALSE
UNITREINF_1_16 0
pipfromslitherine
Site Admin
Site Admin
Posts: 9896
Joined: Wed Mar 23, 2005 10:35 pm

Re: Strange bug?

Post by pipfromslitherine »

Hmmm. Could it be that the PAK (or indeed the Panther) are in a terrain they can't sit in, and are being moved 'into' the other unit? That's off the top of my head - I don't recall that the deployment code does anything like that.

Cheers

Pip
follow me on Twitter here
enric
Brigadier-General - 8.8 cm Pak 43/41
Brigadier-General - 8.8 cm Pak 43/41
Posts: 1855
Joined: Sun May 15, 2011 8:47 am

Re: Strange bug?

Post by enric »

For now on I can't understand, it happens only with artillery units, tried with different units, but not with infantry. It doesn't matter the terrain or the proximity between both units.
I'll investigate more, to finish the scenario I just removed the pak75 from the map, and in the PreBattleSetup I place the unit in the correct tile.
jcb989
Colonel - Fallschirmjäger
Colonel - Fallschirmjäger
Posts: 1423
Joined: Fri Nov 05, 2010 12:02 am
Location: Bradenton, Florida

Re: Strange bug?

Post by jcb989 »

It happens with any non-infantry unit such as mortar teams and other AT guns / fixed units. Also it will load to any vehicle (truck, half track, car) that can carry the unit.
It seems like some sort of bug associated with the editor. I solved it by pre-loading units into these vehicles so as I could place say an AT gun elsewhere were I wanted it to start and not have it suddenly appear in the trucks. Didn't think of reporting it until I read this post though..
pipfromslitherine
Site Admin
Site Admin
Posts: 9896
Joined: Wed Mar 23, 2005 10:35 pm

Re: Strange bug?

Post by pipfromslitherine »

Hmmmmm. Thanks for the info. I will try and work out what is going on...

Cheers

Pip
follow me on Twitter here
Post Reply

Return to “Battle Academy 2: Scenario Design”