Page 1 of 1

Strange bug?

Posted: Mon Jun 29, 2015 2:34 pm
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

Re: Strange bug?

Posted: Mon Jun 29, 2015 4:04 pm
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

Re: Strange bug?

Posted: Mon Jun 29, 2015 4:32 pm
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.

Re: Strange bug?

Posted: Thu Jul 02, 2015 1:38 pm
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..

Re: Strange bug?

Posted: Thu Jul 02, 2015 3:01 pm
by pipfromslitherine
Hmmmmm. Thanks for the info. I will try and work out what is going on...

Cheers

Pip