TEMPEST.114 Posted April 4, 2024 Posted April 4, 2024 env.mission has the following: -- date : table : The date the mission takes place at with Year, Month, and Day entries -- descriptionText : string : Mission briefing defined under the "Situation" page on the briefing panel -- descriptionBlueTask : string : Blue coalition task defined on the briefing panel -- descriptionNeutralsTask: string : Neutral coalition task defined on the briefing panel -- descriptionRedTask : string : Red coalition task defined on the briefing panel -- drawings : table : Table containing information on any drawing placed in the editor. -- pictureFileNameN : table : Neutral coalition briefing images -- pictureFileNameB : table : Blue coalition briefing images -- pictureFileNameR : table : Red coalition briefing images -- result : table : Conditions and actions defined by mission goals in the editor to decide if a mission is "won" -- start_time : number : Time in seconds since midnight for the date set when the mission starts -- sortie : string : Name of the mission as defined in the briefing panel. -- theatre : string : Name of the map the mission takes place on Almost everything in this list is able to be accessed through lua/scripting Engine, but for these three: pictureFileNameN pictureFileNameB pictureFileNameR Instead of getting the actual picture image (found in l10n/DEFAULT/<imageName>.<extension>), what is returned is an obfuscated 'ResKey' for it. Because there is no way to use the 'ResKey' in it's place, it means that for these three items only, they are hidden from the scripting environment (and I can't see a good reason why). There is no equivalent 'getValueByKey' for objects in the mapResource file. Could these be 'un-obfuscated' or could an additional command be added to retrieve the actual file url from the 'ResKey' Thanks
Recommended Posts