Skip to content

Custom cruise missiles#2273

Open
DeathFishAtEase wants to merge 5 commits into
Phobos-developers:developfrom
DeathFishAtEase:Missile.Raise
Open

Custom cruise missiles#2273
DeathFishAtEase wants to merge 5 commits into
Phobos-developers:developfrom
DeathFishAtEase:Missile.Raise

Conversation

@DeathFishAtEase

Copy link
Copy Markdown
Collaborator

From RockPatch to Ares, custom missiles have never had a way to enter cruise missile mode, so neither RP's MissileRaiseRate nor Ares' Missile.RaiseRate have ever been effective, and modders cannot create another type of cruise missile beyond the type set in [General] -> CMislType=. Now, you can customize whether a custom missile is a cruise missile.

Missile Raise
  • The take-off animation of a cruise missile is actually the continuously created trail smoke during the ascent phase, rather than the animation created only once at launch like a conventional missile. Now, the creation interval of this animation can be customized via Missile.TakeOffSeparation.

In rulesmd.ini:

[SOMEAIRCRAFT]                ; AircraftType with Missile.Custom=yes
Missile.Cruise=false          ; boolean
Missile.TakeOffSeparation=24  ; integer

Note

Like Ares' Missile.TrailerSeparation, Missile.TakeOffSeparation also works without requiring Missile.Custom=true, which means it can be directly applied to the unit with [General] -> CMislType= without completely rewriting it as a custom missile.

📄 Wiki & Documentation (See Also)


The original implementation comes from my modified Ares, thanks to @NetsuNegi for the help provided during the porting process.

@DeathFishAtEase DeathFishAtEase self-assigned this Jun 27, 2026
@DeathFishAtEase DeathFishAtEase added Tested ⚙️T1 T1 maintainer review is sufficient labels Jun 27, 2026
@phoboscn-bot

Copy link
Copy Markdown

To Chinese users:
This pull request has been mentioned on Phobos CN. There might be relevant details there:

致中文用户:
此拉取请求已在 Phobos CN 上被提及。那里可能有相关详细信息:

https://www.phoboscn.top/t/topic/599/1

@github-actions

github-actions Bot commented Jun 27, 2026

Copy link
Copy Markdown

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.

@TaranDahl

Copy link
Copy Markdown
Contributor

Currently unavailable. Will review this later.

Otherwise, it will enter Ares' `CustomMissileTakeoff2` and perform duplicate processing.

improve `CruiseMissileCheck` check hook;
supplement CustomSmokeInterval;
@NetsuNegi NetsuNegi added the ❓Unhardcoding / Customization Make something more tweakable label Jun 28, 2026
@Coronia Coronia added the Will be merged in 24h This PR will be merged in 24 hours if no one has further instructions. label Jun 28, 2026
Comment thread src/Ext/TechnoType/Body.cpp Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚙️T1 T1 maintainer review is sufficient Tested ❓Unhardcoding / Customization Make something more tweakable Will be merged in 24h This PR will be merged in 24 hours if no one has further instructions.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants