Skip to content

Add superweapon launch music option#2

Open
ahasasjeb wants to merge 1 commit intodevelopfrom
codex/给超级武器添加音乐

Hidden character warning

The head ref may contain hidden characters: "codex/\u7ed9\u8d85\u7ea7\u6b66\u5668\u6dfb\u52a0\u97f3\u4e50"
Open

Add superweapon launch music option#2
ahasasjeb wants to merge 1 commit intodevelopfrom
codex/给超级武器添加音乐

Conversation

@ahasasjeb
Copy link
Copy Markdown
Owner

Summary

  • add LaunchTheme superweapon setting
  • use LaunchTheme to play a theme when a superweapon fires
  • document the new option

Testing

  • bash scripts/build_debug.bat (fails: command not found)

https://chatgpt.com/codex/tasks/task_b_683a81d12500832e9fe8bd769108b646

ahasasjeb pushed a commit that referenced this pull request Sep 1, 2025
@Metadorius asked if this is doable and I am delivering. Basically
exactly what it says in the title, all currently active TeamClass
instances will have some info about them printed at the end of the sync
log. Because the TeamClass array already effectively functions as a
storage for this info there was no need to add any new sync events to
record. Additionally I tried to make it bit more readable by adjusting
the padding used dynamically but this does add little bit of extra
runtime on writing the logs (which is only done once unless you have
-MPDEBUG parameter on) I suppose.

If there is some other relevant info about teams that should be
recorded, let it be known in this PR. I tried to include the most
relevant parts.

An example of what such a log may look like:
```
AI Teams:
#00000: Type:  07C2D662-CTMBDFLab01-G | Script: 06DAB27C-SCCoalBDFLab-G | Line:  1 | Owner: 2 (Computer) | OwnerHouse: Coalition
#1: Type:  065D29C6-DTMBDFPow01-G | Script: 06C0F679-SCDomiBDFPow-G | Line:  3 | Owner: 3 (Computer) | OwnerHouse:  Dominion
#2: Type:  04F1F694-CTMBDFPow01-G | Script: 05728DCA-SCCoalBDFPow-G | Line:  1 | Owner: 2 (Computer) | OwnerHouse: Coalition
Phobos-developers#3: Type:  0448FEAF-DTMBDFLab01-G | Script: 0511D07E-SCDomiBDFLab-G | Line:  1 | Owner: 3 (Computer) | OwnerHouse:  Dominion
Phobos-developers#4: Type:  05DB3227-CTMBDFRef01-G | Script: 06930A62-SCCoalBDFRef-G | Line:  1 | Owner: 2 (Computer) | OwnerHouse: Coalition
Phobos-developers#5: Type: 05E743F3-DTMRavager01-G | Script:   079C95F4-SCDomiRavg-G | Line:  4 | Owner: 3 (Computer) | OwnerHouse:  Dominion | TargetRTTI: 11 (Cell) | TargetID: 01078752 | MissionTargetRTTI: 11 (Cell) | MissionTargetID: 01078752
Phobos-developers#6: Type: 05DAB9F5-CTMBaseGen01-G | Script: 07FA9250-SCCoalBDFGen-G | Line:  7 | Owner: 2 (Computer) | OwnerHouse: Coalition
Phobos-developers#7: Type: 04ABA9BD-DTMBaseGen01-G | Script: 06A89E7D-SCDomiBDFGen-G | Line:  5 | Owner: 3 (Computer) | OwnerHouse:  Dominion
Phobos-developers#8: Type:  0720B95E-DTMBDFRef01-G | Script: 07DB1BDD-SCDomiBDFRef-G | Line:  3 | Owner: 3 (Computer) | OwnerHouse:  Dominion
Phobos-developers#9: Type: 07F11555-DTMFVSHarv01-G | Script:  06DF9E54-SCGenFVSHrv-G | Line:  2 | Owner: 3 (Computer) | OwnerHouse:  Dominion
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant