Take On Mars

Take On Mars

View Stats:
Gahad 2 Feb, 2019 @ 3:15pm
EDITOR will not save scn to ADDON
Thanks for your help... I'll make this as concise as possible:

FACT: The scenario (Return to Cydonia Mensae) has been created as an ADDON that must be enabled in the ADDONs menu (this was the only way I could find to create a scenario with a script without using total modification)

PROBLEM: The EDITOR won't update the addon after changes are made... seems like the path is missing, but I haven't changed anything in the default game files. I have verified files as well.

RECREATE: This is what I did to edit the addon scenario:
-> ADDONs menu
-> unpack 'Return to Cydonia Mensae' (game will restart)
-> main menu, choose EDITOR
-> LOAD map Cydonia Mensae
-> LOAD 'ADDON: Return to Cydonia Mensae' https://photos.app.goo.gl/t2rPqf3R3PdkFR8K6
-> choose third icon (down arrow) to save and
error 'SAVE FAILED! Could not access file for writing!' https://photos.app.goo.gl/rxuR59jcL3p3V2K46

and if that link doesn't work, then:

https://photos.google.com/share/AF1QipM0dck1q7ZWpPzfZbtW5I1i_eRW5OfRmMeKT_8gwqXfsMWdkmSECclRBfcfHK4awQ?key=NHh1MnhzWERfa2VpY0lrUFFGUDlCbzhaUXdLUWh3

Please, I don't need a workaround... I can find a way to make it work and update my addon, thanks.
Please, pleease, I DO need the editor fixed, so I don't have to work so hard to update my addon, thanks.

Thanks again for your help
Jeff
< >
Showing 1-4 of 4 comments
After you've unpacked your files you need to copy the .scn (scenario file) to the directory path below.

<Drive Letter>:\Steam\userdata\<Steam ID>\244030\local\addons\scenarios

If you don't you'll get the error message that the save failed because it can't find the .scn (scenario file) in the directory above.

---

When you go to load the map you'll want to select CUSTOM: Return to Cydonia Mensae

---

Once you're done making changes to the scenario in-game and you've hit the save button, you need to then copy the .scn (scenario file) back into your addon directory below.

<Drive Letter>:\Steam\userdata\<Steam ID>\244030\local\addonpacks\<Your Addon Folder>\scenarios

Then you can pack it back up and upload it to the workshop for updating.

Also make sure your addon or mod IS NOT enabled when you are packing or unpacking the files in-game. This might add an additional step to the process but if you don't you can end up with left over 'ghost' directories/files even though your addon/mod might appear to have packed up correctly.
Last edited by Mr. Monochrome [Hood Certified]; 2 Feb, 2019 @ 8:02pm
Gahad 2 Feb, 2019 @ 11:11pm 
That's exactly the workaround I have employed to remedy my inability to directly save to the ADDON: <Scenario>... I have to move the file out of the unpacked directory in the \addonpacks directory to choose CUSTOM: <Scenario>, make the changes, and then move it back before repacking.

So there is no way to open ADDON: <Scenario> and save changes... hmmm... Thanks

I posted this in 'Bug Report'... Will the proper EDITOR path to the unpacked addon eventually be updated? A 'search and replace' TKOM update patch would be nice, to restore the Editor's obvious limitation, and would be very easy for devs to create... just a suggestion... thanks for listening, and again for your help.

Jeff
Originally posted by jpuddester:
I posted this in 'Bug Report'... Will the proper EDITOR path to the unpacked addon eventually be updated? A 'search and replace' TKOM update patch would be nice, to restore the Editor's obvious limitation, and would be very easy for devs to create... just a suggestion... thanks for listening, and again for your help.

Jeff

I'm afraid not. The only time you'd need to make a scenario into a addon would be if you've included scripts for triggers or other actions. Scenarios are made through the editor and uploaded from the scenario menu. Addons/Mods and Scenarios are two seperate things and made completely different from one another. Hence the different file paths and how/where they are saved in the directories of the main game.

So it's not a workaround it's just how the game loads and reads the different files.
Last edited by Mr. Monochrome [Hood Certified]; 2 Feb, 2019 @ 11:24pm
Gahad 3 Feb, 2019 @ 12:27am 
Well said. I agree. Thank you.
< >
Showing 1-4 of 4 comments
Per page: 1530 50