gruppe-adler / grad-persistence

Save/Load mission progress in server's profileNamespace
26 stars 13 forks source link

Configurations not working #58

Closed Nameless135 closed 1 year ago

Nameless135 commented 1 year ago

Hello, im trying to get this working with my configuations like the wiki said. But it doesnt matter what i type in the configurations. My mission wont load on start, players not loading when i join (no inventory loaded or position). When i load it manually its the player inventory is loaded. When i load the save manually the vehicle postions are loaded correctly but no markers etc.

Thats my descripion.ext I think im doing something wrong, but the question is what. Hope you can help me with it.

author = "[AMB] Nameless"; //Mission author's name.
briefingName = "ptv5"; //Mission name displayed in the mission selection menu.
onLoadName = "ptv5"; //String (usually mission name) shown during mission loading.
loadScreen = "pictures\loading.jpg"; //The picture to be shown while the mission is loaded.
onLoadMission = "Verschiebungen..."; //Displays a message while the mission is loading.
overviewText = "pttv5"; // Text to be displayed below the overviewPicture on the mission selection screen when the mission is available to play. 
gameType = COOP; // (https://community.bistudio.com/wiki/Multiplayer_Game_Types)

class CfgFunctions {
    #include "modules\grad-persistence\cfgFunctions.hpp"
    missionTag = "pv5";
    loadOnMissionStart = 1;
    missionWaitCondition = "true";
    playerWaitCondition = "true";

    saveUnits = 2;
    saveVehicles = 2;
    saveContainers = 1;
    saveStatics = 1;
    saveGradFortificationsStatics = 3;
    saveMarkers = 2;
    saveTasks = 0;
    saveTriggers = 0;

    savePlayerInventory = 1;
    savePlayerDamage = 1;
    savePlayerPosition = 1;
};
Nameless135 commented 1 year ago

Okay. Error found i was dumb.

`author = "[AMB] Nameless"; //Mission author's name. briefingName = "ptv6"; //Mission name displayed in the mission selection menu. onLoadName = "ptv6"; //String (usually mission name) shown during mission loading. loadScreen = "pictures\loading.jpg"; //The picture to be shown while the mission is loaded. onLoadMission = "Verschiebungen..."; //Displays a message while the mission is loading. overviewText = "pttv6"; // Text to be displayed below the overviewPicture on the mission selection screen when the mission is available to play. gameType = COOP; // (https://community.bistudio.com/wiki/Multiplayer_Game_Types)

class CfgFunctions {

include "modules\grad-persistence\cfgFunctions.hpp"

};

class CfgGradPersistence { missionTag = "pv6"; loadOnMissionStart = 1; missionWaitCondition = "true"; playerWaitCondition = "true";

saveUnits = 2;
saveVehicles = 2;
saveContainers = 2;
saveStatics = 2;
saveMarkers = 2;
saveTasks = 0;
saveTriggers = 0;

savePlayerInventory = 1;
savePlayerDamage = 1;
savePlayerPosition = 1;
}`

Now its working. Closing