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

Missiles minimum viable product #313

Merged
merged 10 commits into from
Jul 10, 2024
Merged

Missiles minimum viable product #313

merged 10 commits into from
Jul 10, 2024

Conversation

Just-a-Unity-Dev
Copy link
Collaborator

@Just-a-Unity-Dev Just-a-Unity-Dev commented Jul 10, 2024

About the PR

Closes #163

TODO:

  • Basic heat seeking functionality
  • Fixed rotation for heat seeking
  • Automatic point defense

This PR aims to completely rework the concept of missiles.

Why / Balance

Missiles before the rework were essentially just HE on "steroids". Except they weren't, since many of the lighter missiles were quite useless in terms of structural damage, and it was near impossible without admin intervention to get any of the later missiles. This meant the missiles you would commonly use were useless, and the ones that were useful were extremely rare.

This rework aims to change that with heatseeking, different types of launchers and missile payloads, alongside point defense and missile jammers.

Different types of launchers allow for different types of base velocity the missiles are launched at, and point defense shoots at any incoming missiles - however, PD and MLs must be placed accordingly, as placing PD next to a missile launcher may cause the PD to shoot down any missile the launcher fires. This means if you place PD all over your ship, you can no longer access missiles.

Missiles now heatseek to their target, they will pick the first target infront of them, or the next entity to their right/left. Then, it will rotate toward that target, and perpetually increase it's velocity forward regardless if there's a missile or not. Jammers can shorten this missile range by dividing it by 5, alongside removing the target in the component - but if the missile is too close, it may be too late.

More missiles allow for more variety, different types of payloads for different types of purposes, now available.

Technical details

Refactors a bit of ShipWeaponsSystem alongside interacting with AutomatedShipSystem.

Media

  • I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

None yet

Copy link
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@Just-a-Unity-Dev Just-a-Unity-Dev merged commit e41b594 into master Jul 10, 2024
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Point defense
1 participant