Repository navigation
Conversation
…das' addon intro) no longer covers the video with its subtitle The cinema pauses the world (timeScale 0) like the engine, where the video blocks the game, but AiHandler kept starting queued actions. DIA_Addon_Xardas_AddonIntro plays Intro_ADDON and then a line: it started during the video, the paused world never ended it, so its subtitle stayed on the screen in front of the video. The AI now waits until the video ends.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
While a video plays (VR cinema), the NPC AI waits: no queued action starts, no state loop or perception runs. Like in the engine, where
PlayVideoblocks the whole game, the dialog continues after the video.Player-visible: in Gothic 2, Xardas' option about the addon intro (
DIA_Addon_Xardas_AddonIntro) playsIntro_ADDONand then a line of Xardas. That line started 30 ms after the video, while the cinema had already paused the world (Time.timeScale = 0). The paused world never ended the line, so its subtitle stayed in front of the video the whole time.AiHandler.Updatereturns early whileTime.timeScale == 0(only the cinema sets it).Why
Found in a G2 playtest on develop (PCVR build), log:
How to test manually
Save/load
No new state.
Known gaps / follow-ups