Jump to content
The Dark Mod Forums

Feedback on wiki "GUI Scripting Language" Series


Geep

Recommended Posts

Actually, even without the post, I'm now thinking this may be hopeless without "forbidden" overrides, or new capabilities added. However, here's long-shot ideas:

1) See if i18n can work for you

#define MM_BRIEFING_VIDEO_MATERIAL_1 "str_1234"

where where the non-Russian sections of all.lang (and their generated codepage-specific-encoded <language>.lang) would have:
#str_1234 "video/tdm_briefing_video_english"
Likewise Russian section with (I guess) Cyrllic-encoded codepage listing _russian version.

2) It possible you could use the deprecated SDK-controlled briefing system, designed mainly for multi-mission campaign system, which reportedly can be used with a single mission, too, as stated here:

https://wiki.thedarkmod.com/index.php?title=Setting_up_Campaigns#Briefing_Videos

However, how you control that, I dunno. Probably some trickery involving Mission number. And it may not work with non-Roq videos.

  • Like 1
Link to comment
Share on other sites

A third option would be to delay the briefing until right after the game starts, and just treat it as a video cutscene, invoked by a script. Then you would have access to the if statements and language cvar you need.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...