Infantry in garrisoned buildings is not sufficient to stay alive if Short Game is off

Bug #1304459 reported by Parasite03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ares
New
Undecided
Unassigned

Bug Description

Well, I was testing new things in my mod and I found out that i you only have infantry and you put it in buildings, buildings explode even though there is infantry in it. Garrisonable buildings should ignore Insignificant=yes if the are garrisoned and Short Game is off.

mevitar (mevitar)
tags: added: happens-in-stock-game
Revision history for this message
mevitar (mevitar) wrote :

This is an old bug, and it might have already been reported, but i can't find it atm. Or maybe it wasn't, because people forgot about it.

Also, the point of structures with Insignificant=yes is that they aren't on any list, and therefore are totally ignored. If they wouldn't be ignored, then that tag might as well be removed. What should be fixed is the cause of the issue (units in structures aren't counted as owned by the player), not create a workaround for a specific situation.

BTW, wasn't this supposed to be fixed when units in transports were made to be checked the purposes of winning conditions? Because that would mean something got broken and it doesn't work.

Revision history for this message
Gluk-v48 (gluk-v48) wrote :

I can only partially confirm this.

Insignificant=no
You must specify the following values ​​to these tags, so you are ALMOST get rid of this problem.
-----------------------------------------------
Why "ALMOST"?
1. If a building with CanBeOccupied=yes already been captured, then everything is fine. But if you left one soldier, and you send it to capture the building, you immediately GameOver. (A similar error occurs with many other logics.)
How to fix it?
I only see the C++ method, you should do a little leeway in the code associated with the death of a player.

2. These buildings will be considered in a quick game. (Perhaps there is a way to bypass this, I do not know.)

================
By the way. There is a problem with the opposite OpenTopped=yes. If your Battle Fortress was captured by Yuri, but you will not lose until the infantry inside the fortress is destroyed.

Parasite03 (parasite03)
summary: - Infantry in garrisoned buildings is nopt sufficient to stay alive if
- Showt Game is off
+ Infantry in garrisoned buildings is not sufficient to stay alive if
+ Short Game is off
Revision history for this message
mevitar (mevitar) wrote :

Marked as duplicate of #bug896088, since that one was reported much earlier..

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.