GrantExternalConditionWarhead Bug?

GrantExternalConditionWarhead seems to only afflict the external conditions an building larger than 1x1 when it hits the Center

Information and discussion for custom maps and mods.
Post Reply
User avatar
Zeruel87
Posts: 56
Joined: Mon Oct 15, 2018 8:18 pm
Location: Austria
Contact:

GrantExternalConditionWarhead Bug?

Post by Zeruel87 »

Greetings,

the title says it all, i noticed that when a GrantExternalConditionWarhead hits a building with the size for example of 2x3 and it hits the corner of the hit box, the condition is not granted to the building, only when it hits it center.

So for units and 1x1 buildings its no problem, but for larger buildings such ad Weapon Factorys or Consutruction Yards it is a problem.

I tried to find a trait that tells the Weapon or Armament or turret to allways and only target the Center of a Building, but that seems to not exist.

Sure you can increase the range, but i dont wont to inflict the condition to surrounding buildings and units.

any ideas? is this wanted?
Check out my CnC mod at:
https://www.moddb.com/mods/cameo


User avatar
Zeruel87
Posts: 56
Joined: Mon Oct 15, 2018 8:18 pm
Location: Austria
Contact:

Re: GrantExternalConditionWarhead Bug?

Post by Zeruel87 »

AHHHHH THATS AWESOME

i looked in the GitHub Page https://github.com/OpenRA/OpenRA/wiki/Weapons that Trait was not mentioned there :) thanks, that solves my issue!
Check out my CnC mod at:
https://www.moddb.com/mods/cameo

Post Reply