Save/Load Game

#1
Hello!
I for example made the preservation of the game after the destruction of Abrams. The game is saved but errors occur when the saved game is loaded into the console.
Help
Attachments
4.jpg
4.jpg (72.98 KiB) Viewed 935 times
3.jpg
3.jpg (37.24 KiB) Viewed 936 times
Безымянный.jpg
Безымянный.jpg (60.68 KiB) Viewed 936 times

Re: Save/Load Game

#3
lavizh wrote:Try putting a delay before saving or you can try changing from binary save. There is a cvar for that.


Hello Lavizh!
In the main menu, when I clicked the "Continue" button in FG, I indicated the console command "load". Clicking on "Continue" does not load the save. If I open the console in the main menu and enter the "load" command, the save will load.
How can I save the download by clicking on the button in the main menu?

Re: Save/Load Game

#5
fanera wrote:
lavizh wrote:Try putting a delay before saving or you can try changing from binary save. There is a cvar for that.


Hello Lavizh!
In the main menu, when I clicked the "Continue" button in FG, I indicated the console command "load". Clicking on "Continue" does not load the save. If I open the console in the main menu and enter the "load" command, the save will load.
How can I save the download by clicking on the button in the main menu?


I'd suggest using C++ and having some code to open the save, for instance:

Code: Select all

gEnv->pConsole->ExecuteString("Enter load console command here", false, true);

Re: Save/Load Game

#6
Techtime wrote:
fanera wrote:
lavizh wrote:Try putting a delay before saving or you can try changing from binary save. There is a cvar for that.


Hello Lavizh!
In the main menu, when I clicked the "Continue" button in FG, I indicated the console command "load". Clicking on "Continue" does not load the save. If I open the console in the main menu and enter the "load" command, the save will load.
How can I save the download by clicking on the button in the main menu?


I'd suggest using C++ and having some code to open the save, for instance:

Code: Select all

gEnv->pConsole->ExecuteString("Enter load console command here", false, true);


techtime i know nothing about programming i would like as fanera add a load string to my button in the menu, how this code work and where it must be "placed"
Image

Who is online

Users browsing this forum: No registered users and 2 guests