Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add ArmorTypes to HitShape and adapt damage warheads #14991
This allows to assign
Testcase can be found here: https://github.com/reaperrr/OpenRA/tree/hitshape-armor-v2-test
The main problems of #13675 that brought it down,
should be adressed by this updated version.
All damage warheads now absolutely require an enabled hitshape to deal damage to actors, and now that we have the Polygon shape type, there's no real excuse for an actor to have overlapping shapes anymore, so just taking the shape closest to impact for damage calculations should be a sufficient solution.
referenced this pull request
Apr 14, 2018
I have updated this on @reaperrr's behalf:
I've tested that regular weapons, MAD Tanks, and MAD Tanks with warheads replaced by