Been a long time since I've posted anything here so apologies if this should be in a more specific place.
I've long been dealing with a strange bug when modding new units into Civ5 (with all expansions) where they cannot capture cities but can still attack them and when the city is down to 0 health, they will enter the city tile, eliminating any garrisoned unit, but not actually change the city's ownership (even though there is a notification onscreen saying "Your unit X has captured City of Y"). The city still belongs to the opponent and can still launch ranged attacks even though the unit is occupying the city tile.
After whittling down possibilities, I think I've determined that it's because I've given these particular units a promotion that makes them invisible (using the <Invisible>INVISIBLE_SUBMARINE</Invisible> promotion tag).
I'm just curious if this is a known issue to anyone or if anyone can corroborate this (or indeed if anyone knows a fix). I've searched the forums but haven't seen this mentioned anywhere so could be of note to others. Kind of pain as I've added quite a few invisible units through various mods, guess I'll have to update them and turn this into a balancing feature that they can't capture cities but can sneak in!
I've long been dealing with a strange bug when modding new units into Civ5 (with all expansions) where they cannot capture cities but can still attack them and when the city is down to 0 health, they will enter the city tile, eliminating any garrisoned unit, but not actually change the city's ownership (even though there is a notification onscreen saying "Your unit X has captured City of Y"). The city still belongs to the opponent and can still launch ranged attacks even though the unit is occupying the city tile.
After whittling down possibilities, I think I've determined that it's because I've given these particular units a promotion that makes them invisible (using the <Invisible>INVISIBLE_SUBMARINE</Invisible> promotion tag).
I'm just curious if this is a known issue to anyone or if anyone can corroborate this (or indeed if anyone knows a fix). I've searched the forums but haven't seen this mentioned anywhere so could be of note to others. Kind of pain as I've added quite a few invisible units through various mods, guess I'll have to update them and turn this into a balancing feature that they can't capture cities but can sneak in!