.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   WinSPMBT (http://forum.shrapnelgames.com/forumdisplay.php?f=78)
-   -   Bug: Troops disappear after entering a building (http://forum.shrapnelgames.com/showthread.php?t=52886)

miq June 25th, 2022 08:13 AM

Troops disappear after entering a building
 
2 Attachment(s)
This is a generated battle Vietnam vs China 06/22, battle location 168. After a few turns I found out that some units (M0, N0, N1) have been "destroyed". It appears that a W.Building in a water hex (44,12) will eat my troops at the end of the turn.

Is this more of a map generator problem? Hexes with water and S.Building do not seem to be accessible at all.

e. fixed the screenshot

Mobhack June 25th, 2022 11:13 AM

Re: Troops disappear after entering a building
 
looks like something to be investigated. On the list.

DRG June 25th, 2022 07:10 PM

Re: Troops disappear after entering a building
 
It should not be doing that.

Was this a fully generated battle between Vietnam vs China 06/22 ? Map 168 is Mekong and either you with the map generator or the game threw a town in on top of that which is highly unusual and that is when buildings are placed in shallow water

The thing is we have not touched the map code in ages and this is the first report of this happening

miq June 26th, 2022 05:08 AM

Re: Troops disappear after entering a building
 
Yes, I was just rotating the locations in battle generator map view using / and = until that particular map appeared. Game version is v16 Extended.

DRG June 27th, 2022 08:06 AM

Re: Troops disappear after entering a building
 
We found it is repeatable with that Batloc in the map generator when urbanization is set to >0 and REALLY shows up when urbanization is set to >5

What you found was a combination of factors that have been in the game for years but it's an unusual combination to appear and why it's taken this long to be reported

Urbanization 5 is when the game drops square grids of city with the pavement and a map has a high lakes number and thats what Batloc 168 does to create the linked waterways. When a city grid is dropped on top of that they do not play well together and the houses in water issue appear when urbanization is <5 as well just not so much

That Batloc was not designed to have roads and houses but it still should not be happening and it's on the list to investigate for whenever we look at the code again.

DRG December 4th, 2022 05:52 PM

Re: Troops disappear after entering a building
 
Gotta resurrect this

Quote:

This is a generated battle Vietnam vs China 06/22, battle location 168.
Did you pick that batloc from the map generator and then adjust the settings or did the game do this all on its own?

I'm trying to figure out how batloc 168 ended up with a city grid as every time I try using 168 it is placed with Urbanization zero which is what it was designed for

miq December 9th, 2022 02:14 PM

Re: Troops disappear after entering a building
 
Yep, I'm quite sure I just selected the opponents and rotated the generated maps without actually touching the map generator inputs. Just / and = keys.

But I cannot reproduce it either.


All times are GMT -4. The time now is 09:29 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.