Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tanya can't damage explosive barrels #9591

Closed
SteelPhase opened this issue Oct 11, 2015 · 3 comments
Closed

Tanya can't damage explosive barrels #9591

SteelPhase opened this issue Oct 11, 2015 · 3 comments

Comments

@SteelPhase
Copy link
Contributor

as the title says Tanya can not damage explosive barrels. I have identified a potential solution, but not sure if this is the appropriate fix.

Looks like the Warhead@1Dam: SpreadDamage of Colt45 needs to be changed to

ValidTargets: Ground, Infantry

instead of

ValidTargets: Infantry
@reaperrr
Copy link
Contributor

That would allow Colt45 to target all ground targets. Since barrels are a special case (compared to other buildings or vehicles, which should be C4'd instead) it would likely be best to add Barrel to the barrel's target types, and then change Colt45 to ValidTargets: Barrel, Infantry.

@SteelPhase
Copy link
Contributor Author

I updated the yaml, and that does resolve it.

@reaperrr any idea why the ValidTargets of Colt45, and it's Damage warhead differ?

@GraionDilach
Copy link
Contributor

ValidTargets on the weapon means targeting allowance. ValidTargets on the DamageWarhead means warhead damage delivery. This is good for weapons which missed their target/has AOE damage, but also fixed targets - an AA missile might only be used against aircraft, but if said aircraft reached the airfield before the missile could catch up then the airfield should also be damaged via listing Ground only at DamageWarhead for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants