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

Add cruise missile custom weapon behavior #1796

Conversation

KyleAnthonyShepherd
Copy link
Contributor

Enables units to have cruise missile behavior.
Intended for armsptk so that missiles do not collide on cliff faces and cause friendly fire (due to faulty engine trajectory prediction for units with trajectoryheight > 0 and weaponacceleration > 0).
Use the following block to enable the behavior on armsptk
customparams = {
speceffect = "cruise",
when = "distance>0",
lockon_dist = "50",
cruise_min_height = "5",
cruise_max_height = "10",
},
This cruise missile behavior is still rough, it is just for testing, it will need an optimization pass.

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.

1 participant