Color nuke telegraph circles by launcher relation (self/ally/enemy)

The blast-radius warning circle was always red, so players couldn't
tell who launched an incoming nuke. Now it's green for your own
nukes, yellow for ally/teammate nukes, and red for everyone else's.

Each telegraph carries a relation (0=self, 1=friendly, 2=enemy),
classified from the per-tick relation matrix — the same friend/foe
logic alt-view uses — and passed to the shader as a per-instance
attribute. Replay/spectator mode (no local player) stays all red.
Colors are tunable via the nukeTelegraph slice in render-settings.json.
This commit is contained in:
evanpelle
2026-06-12 15:32:25 -07:00
parent 32011d2ed2
commit 03b405eea7
9 changed files with 278 additions and 20 deletions
+7 -1
View File
@@ -260,7 +260,13 @@
"fillAlphaOffset": 0.6,
"colorR": 1,
"colorG": 0,
"colorB": 0
"colorB": 0,
"selfColorR": 0,
"selfColorG": 1,
"selfColorB": 0,
"allyColorR": 1,
"allyColorG": 1,
"allyColorB": 0
},
"moveIndicator": {
"startRadius": 13,