Madin 11 Posted November 8, 2018 Has anyone been able to solve the issue where if a squad is garrisoned in any building (but especially noticeable with the Civilian bunker), and get a banner carrier upgrade (ie the Confessor upgrade), the banner unit will be visible? Is it fixable? Share this post Link to post
Egozi44 28 Posted November 8, 2018 (edited) I know some nasty bugs you can do with garrisoned inf, that whole garrison code seem to be buggy xP Did setting the banner's model to use invisible/gun model while inside garrisons didn't helped? I think I may have bumped into something in the definitions that allow us to hide it in some conditions but don't sure... Edited November 9, 2018 by Egozi44 Share this post Link to post
maaz88 1 Posted November 9, 2018 It happens with banner carriers often, I think its because of inside garrison models. Havent tried to change it yet though to check if it resolves the issue. 🔜 Share this post Link to post
Madin 11 Posted November 17, 2018 (edited) I did a quick fix. A structures where garrisoned units can fire their weapon have 'AttributeModifierAuraUpdate' that gives the garrisoned units certain buffs. If you find the 'AttributeModifier' referenced in the 'AttributeModifierAuraUpdate': 'AttributeModifierName' attribute, add a 'ModelConditionsSet' attribute to it with the model condition: 'INSIDE_GARRISON'. Result = When a squad that is garrisoned is upgraded with a banner carrier upgrade, the 'Banner Carrier' will briefly show, then correctly disappear (this depends upon what point the 'AttributeModifierAuraUpdate' 'RefreshDelay' is). There is certainly a better solution out there, but I do not have hours to spend testing for it. Edited November 17, 2018 by Madin Share this post Link to post