Is it possible to write to any message boxes other than gpLogServer or console? e.g. gpLogVoice
Is it possible to write to any message boxes other than gpLogServer or console? e.g. gpLogVoice
FTC_Rostic liked this post
I highly doubt that....
But in original campaigns (in <steam library>\IL-2 Sturmovik Cliffs of Dover Blitz\parts\bob\mission\campaign\) you can find code like this:
I never tested it. Should play sound file with same name located somewhere, but I think if sound file did not found you still should see text message.Code:airc1.SayToGroup(airc1.AirGroup(), "There_they_are_men_Gunsights_on_safeties_off");
Also top yellow text line always available.
GamePlay.gpHUDLogCenter("MISSION COMPLETE");
Last edited by FTC_Rostic; Aug-19-2025 at 14:01.
PC spec: Intel Core i7 8700K 3.7Ghz, DDR4 32Gb 2666Mhz, Asus Prime Z370-A, ADATA XPG SX8200 240Gb (PCIe Gen3x4), RTX 2060 6Gb
Monitor: DELL P2717H (1920x1080:60Hz)
Joystick: Android smartphone MonectPC app (virtual joystick driver)
Hadtracker: Track IR 4 / No VR
Enjoy multiplayer historical campaigns with Flying Tin Cans.
Join us: https://flyingtincans.com —(•)— Discord —(•)— YouTube
Good find, thanks. I will try it.
Finally got a chance to test this. It doesn't work for custom messages because it's not only limited to the phrase having a sound .ogg file, but it's also tied to the phrase text itself. There will be a list of phrases in the source code somewhere. If the text is not in the list, there is no display.Code:airc1.SayToGroup(airc1.AirGroup(), "There_they_are_men_Gunsights_on_safeties_off");
FTC_Rostic liked this post
PC spec: Intel Core i7 8700K 3.7Ghz, DDR4 32Gb 2666Mhz, Asus Prime Z370-A, ADATA XPG SX8200 240Gb (PCIe Gen3x4), RTX 2060 6Gb
Monitor: DELL P2717H (1920x1080:60Hz)
Joystick: Android smartphone MonectPC app (virtual joystick driver)
Hadtracker: Track IR 4 / No VR
Enjoy multiplayer historical campaigns with Flying Tin Cans.
Join us: https://flyingtincans.com —(•)— Discord —(•)— YouTube
Marcost liked this post
It will indeed display "There_they_are_men_Gunsights_on_safeties_off" and play the sound file. Same for any other phrase for which there is an .ogg file (and therefore the text is coded in the dictionary).
What you can't do is use your own phrase e.g. "my_new_phrase". Even if you create an .ogg file with this name, it does not play the file and there is no text displayed.
Regards
FTC_Rostic liked this post
Bookmarks