-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
read mission settings file every menu load #859
Conversation
Done and works with ACE. |
Does it only read a mission's setting file or the one in userconfig too (e.g. when using/testing a local dedicated server)? |
Userconfig would need a server restart. You could load the file if one was present at the game start I think, but removing it or checking it when there wasn't one at game start makes it crash to the mission select screen. |
I like the idea though. Will look into it later this night. |
Please, not the one from userconfig. |
Why not? |
One wouldn't want to double check each time that the userconfig file is removed when building missions. |
I am confused, it's read anyways on first load. |
I'm confused too. It's not really needed, so I guess we should leave it until someone comes up with a good reason why one should have this. Servers are restarted fairly quickly. |
I thought this PR is about the settings when editing a mission. My concern is: If one is working with a local dedi server (be it for dev or testing purposes) one might choose to use a "cba_settings.sqf" file in the user config instead of saving settings in the profile. This file could hold the weirdest combinations of settings (for dev or testing purposes). This of course might not be the case. If so I'd be happy 👍 |
I don't think that's possible, bux. |
what is not possible? |
That it exports or stores as preset garbage settings. |
These are my assumptions:
|
Whatever gets exported depends on the selected source (SERVER, MISSION, CLIENT), and a "broken" (wrong setting values) server config will not change the mission settings export. |
Aaah, this clarifies A LOT! |
Sure, that sounds helpful! |
When merged this pull request will: