Saving custom overlays with scenario (Full Version)

All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios



Message


Hestia -> Saving custom overlays with scenario (6/4/2017 8:59:41 AM)

Sorry if this was answered before, but I couldn't find it anywhere.

When creating a scenario is there a way to save any custom overlays inside the scenario so next time you load the scenario those overlays would be loaded as well?




michaelm75au -> RE: Saving custom overlays with scenario (6/4/2017 9:47:19 AM)

Yes, you need to load them when the scenario is loaded.
Trigger: Scenario loaded
Action: ScenEdit_UseAttachment('68869353-1f37-468b-8890-8eaf780610d7')
ScenEdit_UseAttachment('3ee283bf-b63a-4d68-adb0-5a29dc1a1a66')
ScenEdit_UseAttachment('dc11a06e-f88f-4610-bca1-87c45718b778')
ScenEdit_UseAttachment('478c41cc-6a0b-4db5-9c06-461f013c579d')
ScenEdit_UseAttachment('7ea14ad8-55d4-4212-8fad-df59c7a88e15')
---
The attachments are the overlays




Hestia -> RE: Saving custom overlays with scenario (6/4/2017 4:35:36 PM)

Thank you, Michael!

LE: works like a charm! :)




TYHo -> RE: Saving custom overlays with scenario (6/5/2017 8:36:36 AM)

Hmmm... I must be doing something wrong... How do you copy the attachment GUID to the Action Lua script? Type it manually? There should be a more efficient method right? Thanks!




Hestia -> RE: Saving custom overlays with scenario (6/5/2017 10:15:21 PM)

Look for the folder named "AttachmentRepo" in the game installation location. Inside it you'll find folders for each attachment you've added. Those folders' names are actually the GUIDs you need to copy in the Action Lua scripts.
I don't know a quicker method.




TYHo -> RE: Saving custom overlays with scenario (6/6/2017 4:14:49 PM)

Got it, thanks!




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
5.71875