Navigation Menu

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

Revert missile explosion condition to strictly less than zero #9746

Merged
merged 2 commits into from Oct 24, 2015

Conversation

matija-hustic
Copy link
Contributor

Makes broken submarine torpedos work again.

#9646 (comment)

@abcdefg30
Copy link
Member

Torpedos work again and the TD SAM works too. 👍 / ✅

@abcdefg30 abcdefg30 added this to the Next release milestone Oct 24, 2015
@obrakmann
Copy link
Contributor

Torpedoes are ok again. Thanks for the quick fix!

Unfortunately I just noticed another issue: the advanced guard tower in TD has a problem with its missiles (on bleed, too, not due to this change). Could you take a look at that, too, please?

@matija-hustic
Copy link
Contributor Author

@obrakmann the advanced guard tower gives the missile initial height of -85

Up until now it has been these boundary cases of exactly zero launch height, but what do I do here? The launch height is -85, one tick later, the missile climbs up to -36 and then it explodes. Is a YAML change justified here? Or do I still need to handle this somehow in the code?

PS I don't know if subterranean missiles should be a thing, but noone ever mentioned them to me while I was working on #8717

@pchote
Copy link
Member

pchote commented Oct 24, 2015

The launch height is -85

This sounds bogus to me.

@matija-hustic
Copy link
Contributor Author

I've just checked with the old missile code and there it didn't blow up because the missile was able to climb to zero height within one tick (there was only the maximum pitch and no VROT to constrain it).

@obrakmann
Copy link
Contributor

I just played with the offsets some, and 75 for the Z seems to give results similar to last release. 0 doesn't help at all, and lower values (I tried 10 for example) only work on longer distances.

@matija-hustic
Copy link
Contributor Author

@obrakmann zero works for me...

PS With the first commit from this PR!

@reaperrr
Copy link
Contributor

This sounds bogus to me.

@pchote Probably a side-effect of using a 1x2 foundation with _ x instead of 1x1 foundation with art position fixed via sequence offsets.

@obrakmann
Copy link
Contributor

@matija-hustic: right, sorry. I was testing on bleed. It's fine now. 👍

obrakmann added a commit that referenced this pull request Oct 24, 2015
Revert missile explosion condition to strictly less than zero
@obrakmann obrakmann merged commit 63c687c into OpenRA:bleed Oct 24, 2015
@obrakmann
Copy link
Contributor

Changelog

Thanks again for the quick fix!

@matija-hustic matija-hustic deleted the missile_submarine branch October 26, 2015 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants