Closed NiktosNOTD closed 6 years ago
Previous commit removed last items from my "TO DO" list.
With this mission log is complete and wont undergo any changes until live game usage shows need for them, be it bugs or changes to content of it.
Contents of mission log are definitely subject to revision. I did not remove any story messages in this rework, only liberty i took is moving messages in survival from tips to storylog, which results in them displaying for all players now instead of subset.
It shouldn't have any high profile bugs as i tested, both locally and online for: 1.Basic functionalities opening/appending/scrolling/remembering scroll position on close -all work 2.How basic functionalities behave when a player dies both with alive and dead predator - no issues, log continues to work 3.How mission log behaves if player never picks a class or picks it late - player not picking is ignored, and his log starts the moment he decides to pick. 4.How mission log interacts with other ui elements - no overlap, in case of occupying same spot opening/closing of elements is automatic.
It's result of community brainstorm gdoc. It has no impact on gameplay other than returning chat fully for use of players, now that story messages got moved out of it. Also letting players catch up on story at a later chosen by them time. Gif is from a slightly older version which still missed some messages but shows the functionality.![mission_log](https://user-images.githubusercontent.com/30372657/37363890-56d0ba6e-26f9-11e8-8ef3-19d8b41e7780.gif)
Only story related messages to still display in chat are ones using 'SendTransmission' action (animated portait+ text), and i'm trying to figure out a way to move them too.Dealt with by commit on 19th marchAdditions: 1.Layout containing the log, visually same as talent window, appearing in same spot. Functionally it's scrollable label frame with all story text put there dynamically thru triggers as the game progresses. 2.Button for opening the mission log, added to 'TeamStatus' layout, it's 3rd button below stats/medals buttons. 3.Limiting of 'DebugDisplay' frame width to avoid overlapping of story messages onto chat messages. 4.Trigger for handling the opening/closing of the mission log dialog. 5.Variables for storing mision log dialog, buttons to open and close it, as well as the content of the dialog. 6.Created function for creating the log - it runs when a player selects class. 7.Created function that can be used with existing text displays to append the story texts into the mission log. 8.Created function for displaying/appending story related messages. It's intended to replace mesages which were displayed by directly creating them on the spot inside triggers. 9.Created function for displaying/appending story messages that use 'TransmissionSend' action.
Modifications: 1.Modification of 'TeamStatus' layout mentioned in additions point 2. 2.Modification of 'GameUI Override' layout mentioned in additions point 3. 3.Modification of 'ClassCreation' trigger - adding a call to 'MissionLogCreation' function at end 4.Modification of 'Radio NOTD' trigger - adding a local variable to store message before displaying and passing it to 'MissionLogAppend' function. 5.Modification of 'Radio NOTD' trigger - adding a call to 'MissionLogAppend' function at end 6.Modification of 'HideAllDialogsForPlayer' function, adding hiding of 'MissionLog' dialog at end. 7.Modification of 'MarineSpeechNOTD' trigger - adding a local variable to store message before displaying and passing it to 'MissionLogAppend' function. 8.Modification of 'MarineSpeechNOTD' trigger - adding a call to 'MissionLogAppend' function at end 9.Replacing various creations of story text directly within triggers with 'StoryMessageNOTD' function call. 10.Moving of various messages not directly related to story which were displaying in chat or near it to debug window. 11.Replaced various creations of story text that used 'TransmissionSend' with 'TransmissionSendNOTD' 12.Added call for 'MissionLogAppend' action in few places that displayed messages during cutscenes.
Full changelog