Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Saving custom overlays with scenario

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Saving custom overlays with scenario Page: [1]
Login
Message << Older Topic   Newer Topic >>
Saving custom overlays with scenario - 6/4/2017 8:59:41 AM   
Hestia


Posts: 22
Joined: 2/28/2017
Status: offline
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?
Post #: 1
RE: Saving custom overlays with scenario - 6/4/2017 9:47:19 AM   
michaelm75au


Posts: 13500
Joined: 5/5/2001
From: Melbourne, Australia
Status: offline
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

< Message edited by michaelm -- 6/4/2017 10:04:08 AM >


_____________________________

Michael

(in reply to Hestia)
Post #: 2
RE: Saving custom overlays with scenario - 6/4/2017 4:35:36 PM   
Hestia


Posts: 22
Joined: 2/28/2017
Status: offline
Thank you, Michael!

LE: works like a charm! :)

< Message edited by Hestia -- 6/4/2017 6:25:46 PM >

(in reply to michaelm75au)
Post #: 3
RE: Saving custom overlays with scenario - 6/5/2017 8:36:36 AM   
TYHo

 

Posts: 67
Joined: 5/17/2016
Status: offline
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!

< Message edited by TYHo -- 6/5/2017 8:37:12 AM >

(in reply to Hestia)
Post #: 4
RE: Saving custom overlays with scenario - 6/5/2017 10:15:21 PM   
Hestia


Posts: 22
Joined: 2/28/2017
Status: offline
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.

(in reply to TYHo)
Post #: 5
RE: Saving custom overlays with scenario - 6/6/2017 4:14:49 PM   
TYHo

 

Posts: 67
Joined: 5/17/2016
Status: offline
Got it, thanks!

(in reply to Hestia)
Post #: 6
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Saving custom overlays with scenario Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.047