Jump to content

DAWS Save Mission


chromium
 Share

Recommended Posts

ESAC_Matador, Pikey, you have a PM :).

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Link to comment
Share on other sites

  • Replies 442
  • Created
  • Last Reply

Top Posters In This Topic

How to change it the 2191 build code for mission to be saved f.e. inside:

 

"C:\Missions"

 

and always under same file name not with sequential file name?

51PVO Founding member (DEC2007-)

100KIAP Founding member (DEC2018-)

 

:: Shaman aka [100☭] Shamansky

tail# 44 or 444

[sIGPIC][/sIGPIC] 100KIAP Regiment Early Warning & Control officer

Link to comment
Share on other sites

The saved files are already sequential except for autosave feature :) (witch may be a little complicate to achieve now).

 

To save mission in C:\mission instead of default mission directory, you should change the following:

 

line 1148 -> local NewMizPath = "C:/Missions/"

 

Can't ensure the result, but you may try :)

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Link to comment
Share on other sites

How to change it the 2191 build code for mission to be saved f.e. inside:

 

"C:\Missions"

 

and always under same file name not with sequential file name?

 

PS, a new version that will add spawned object tracking and saving should be released soon.

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Link to comment
Share on other sites

The saved files are already sequential except for autosave feature :) (witch may be a little complicate to achieve now).

 

To save mission in C:\mission instead of default mission directory, you should change the following:

 

line 1148 -> local NewMizPath = "C:/Missions/"

 

Can't ensure the result, but you may try :)

 

I have found inside DAWS_saveMission.lua line 892, is that it?

51PVO Founding member (DEC2007-)

100KIAP Founding member (DEC2018-)

 

:: Shaman aka [100☭] Shamansky

tail# 44 or 444

[sIGPIC][/sIGPIC] 100KIAP Regiment Early Warning & Control officer

Link to comment
Share on other sites

It's correct. Forgive me, line 1148 is in the same thing in a version i'm currently testing now.

 

PS: I read again your first question about saving always with the same name. I think that having progressive file name for manual saves is a feature, while autosave function will do what you want.


Edited by chromium

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Link to comment
Share on other sites

Excellent, looking at it.

So how to change this line? This line is much longer then example you have mentioned.

local NewMizPath = theAutosaveFilename or missionfilesdirectory .. "DAWS-SavedMission_" .. saveCounter .. ".miz" -- change to writedir

 

to make it save into C:\FTPVAULT\Missions

 

 

 

After I have installed DAWS, and all files are in place DCS install, how do I enable it for designed mission? Or is it working for all missions run by server by default? I can't find it in instructions, I don't see any extra functions in F10 view neither can't find where is the autosave file...

Note, at mission start I load latest MIST development version.


Edited by Shaman

51PVO Founding member (DEC2007-)

100KIAP Founding member (DEC2018-)

 

:: Shaman aka [100☭] Shamansky

tail# 44 or 444

[sIGPIC][/sIGPIC] 100KIAP Regiment Early Warning & Control officer

Link to comment
Share on other sites

this: local NewMizPath = "C:/FTPVAULT/Missions/"

 

Check manual for instructions, but DAWS will run every time in every mission. If you can't see the extra f10 radio menù options please send me your dcs.log located in saved games\DCS\Logs folder. F10 view has nothing to do with DAWS, in fact sometimes you can't even see F10 radio menù while staying in F10 map view. You can load any mist version you want, it will simply overwrite the one loaded by DAWS.

 

The autosave file should be created in the same folder as manual save.

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Link to comment
Share on other sites

Is it working? If so i might add a variable to customize saved file location :)

 

Inviato dal mio SM-G850F utilizzando Tapatalk

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Link to comment
Share on other sites

Thanks for helping. Adding my dcs.log, DAWS does not seem to work on our server.

dcs.zip

51PVO Founding member (DEC2007-)

100KIAP Founding member (DEC2018-)

 

:: Shaman aka [100☭] Shamansky

tail# 44 or 444

[sIGPIC][/sIGPIC] 100KIAP Regiment Early Warning & Control officer

Link to comment
Share on other sites

I'll look asap. Confirm dcs 1.5 or 1.5 openbeta?

 

Inviato dal mio SM-G850F utilizzando Tapatalk

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Link to comment
Share on other sites

DCS 1.5 release (1.5.3), not using Open Beta

51PVO Founding member (DEC2007-)

100KIAP Founding member (DEC2018-)

 

:: Shaman aka [100☭] Shamansky

tail# 44 or 444

[sIGPIC][/sIGPIC] 100KIAP Regiment Early Warning & Control officer

Link to comment
Share on other sites

Thanks for helping. Adding my dcs.log, DAWS does not seem to work on our server.

 

send me your missionscripting.lua file. Imho one of the other mods you use may prevent it to be loaded.

 

EDIT: probably is SLmod. You should modify default slmod missionscripting lua to add the command line to execute daws... else it won't work.


Edited by chromium

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Link to comment
Share on other sites

I'm happy I've stumbled upon this. I'll install this mod hoping it will help me finish at least one A-10C / Combined Arms mission. These things can last 3 hours and because DCS doesn't have any save game feature built-in I couldn't get to complete a whole flight, not even close.

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

I'm happy I've stumbled upon this. I'll install this mod hoping it will help me finish at least one A-10C / Combined Arms mission. These things can last 3 hours and because DCS doesn't have any save game feature built-in I couldn't get to complete a whole flight, not even close.

 

Sorry but no Axelerator, as described in the first post and in the manual, Save Mission won't freeze a mission in a particoular moment to let you restart from that moment.

 

It will save all the scenery status with dead units, units position, destroyed building (if a feature is enabled) etc etc.

 

This mod is designed for who want to create sequential mission campaign, for SP or MP usage.

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Link to comment
Share on other sites

Sorry but no Axelerator, as described in the first post and in the manual, Save Mission won't freeze a mission in a particoular moment to let you restart from that moment.

 

It will save all the scenery status with dead units, units position, destroyed building (if a feature is enabled) etc etc.

 

This mod is designed for who want to create sequential mission campaign, for SP or MP usage.

 

Ah ok, I see. But if I open the saved .miz file in the mission editor and edit the position of my aircraft to match the position I left at, problem solved right? Or am I missing something...?

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

You're missing something. You May track flight position but it won't track anything else and Join in-flight could lead to bugs.

 

Also, manu trigger could have strange behavour due to modified units position

 

Inviato dal mio SM-G850F utilizzando Tapatalk

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Link to comment
Share on other sites

Sad to read that. I thought I might be able to complete a full A-10C mission for a moment... The lack of save game feature in DCS is bugging the hell out of me right now. And the worst thing is ED don't seem to be willing to do anything about it. :cry:

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

send me your missionscripting.lua file. Imho one of the other mods you use may prevent it to be loaded.

 

EDIT: probably is SLmod. You should modify default slmod missionscripting lua to add the command line to execute daws... else it won't work.

I did, it seems line dissappears each-other time I re run DCS, what is causing DAWS to stop working. Yes, using SLMOD. Any work around to make life easier, shall I set file as readonly?

51PVO Founding member (DEC2007-)

100KIAP Founding member (DEC2018-)

 

:: Shaman aka [100☭] Shamansky

tail# 44 or 444

[sIGPIC][/sIGPIC] 100KIAP Regiment Early Warning & Control officer

Link to comment
Share on other sites

That is because SLmod will overwrite the file at any DCS start if it's not the very same of the one he has in its checkfolder. You may modify that file... which is somewhere in slmod saved games folder. But after that, if you don't have DAWS installed it may cause errors when starting the server (I honestly don't know).

 

I will realize a version of this mod that should, in some way, try to dynamically add the line to missionscripting.lua at every DCS start... but It's probable that SLmod will interact the very same way creating the issue.

 

I sadly have to say that the best solution is to choose between SLmod an DAWS today.

 

PS: maybe setting it read only could be a suitable workaround if this do not create errors for SLmod. For DAWS, no issue.

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Link to comment
Share on other sites

Nice job! :)

 

This thing does a little more or different than what i was looking for. Can't say i understand all code so would it be possible to adapt this so it would save a block of data (non-mist), ground units positions + coalition/country, to a file every 5 minutes or so and make the mission on next load check if the file exists and load the data if it exists?

 

In short, can i create a backup of dynamicly spawned units' positions etc. and load the backup on next mission start? Would be very helpful when DCS crashes.

-

If man were meant to fly he'd be filled with helium.

Link to comment
Share on other sites

If autosave is enabled it Will countinously save situation every 10 min

 

Inviato dal mio SM-G850F utilizzando Tapatalk

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Link to comment
Share on other sites

Yes but as a new mission, i only want to save some data from a table with data from dynamicly spawned units and load it on the next mission start. Would that be easy to change/create?

-

If man were meant to fly he'd be filled with helium.

Link to comment
Share on other sites

Not for me, but I already have a test version that will (optionally) track spawned units. I will send this version to you right now by PM, if you please can add yourself to the test users.

ChromiumDis.png

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Openbeta: https://github.com/Chromium18/DSMC

 

The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.

Link to comment
Share on other sites

Hello :)

 

I want to SAVE on demand under Trigger / Conditions, is correct Action to be used: DO SCRIPT: DAWS.oncallworkflow()

 

Is there anything to be put inside these () brackets? No information in the manual nor in this thread, I have tried searching.

51PVO Founding member (DEC2007-)

100KIAP Founding member (DEC2018-)

 

:: Shaman aka [100☭] Shamansky

tail# 44 or 444

[sIGPIC][/sIGPIC] 100KIAP Regiment Early Warning & Control officer

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...