Ok i want to make a new game menu, when you click the button show 3 Profiles.
Profile 1
Profile 2
Profile 3
When you click in any of then you can put your name. Then you can start using that profile for autosave.
The problem is i mess with a lot of things. I just make 3 new profile options that when you click on the options you create different profiles. But when you restart the menu doesn't show the profile name, only the create button profile.
Sorry if i confuse with this. But the main idea is make a simple 3 profile options so you can start a new game o continue the last saved game of each profile. But first create it.
thanks again
Comments
AC comes with a default Profiles Menu, but you need to link to it manually e.g. via another Menu Button in order to view it. I would recommend getting to grips with it, and learning how profiles can be created and managed before attempting to rename them.
Thanks again i[m really lost in some parts more because i change everything to make an auto-save system.
Here is the exact idea of what i want to make with the new game
is a youtube video of Bertram Fiddle adventure game first seconds
https://www.youtube.com/watch?v=S2LVbA3hioY
In order to delete the autosave of an arbitrary profile, you would have to use some custom coding to first switch to that profile, delete the save, and then switch back. This is all in the scripting guide:
int profileIDToAffect = 2;
int originalProfileID = AC.Options.GetActiveProfileID (); // Get the current profile ID
AC.Options.SwitchProfile (profileIDToAffect); // Switch to the intended profile
AC.KickStarter.saveSystem.DeleteSave (0, 0, true); // Delete the autosave
AC.Options.SwitchProfile (originalProfileID); // Switch back to the old profile
If you only allow for 3 save slots, though - you could consider just using one profile and having the three slots as save slots.
I make an action list with a save option- overwrite existing game with slot index from variable name Slot(integer)
And have this problem:
Cannot save at this time - either blocking ActionLists, a Converation is active, or saving has been manually locked.
v1.56 will include the ability to check if a given profile exists.
I have just made 3 buttons UI Menu to create each button with creat profile with custom label Slot1, Slot2, Slot3.
To save game I have an action that checks if the profile Name exists with SlotX, save new game with custom label SlotX.
Then to load you have the slots to load.
Well, that's not working I don´t know why I'm so blocked with this stuff for a long time.
This is my Main Menu. First, you can go to the new game option.
https://drive.google.com/open?id=1JpbW6TRIxfJUNnn1smA02fQppO5F7D-j
The New Game option have this stuff
https://drive.google.com/open?id=1EeKPnI7R5YjJq0eRPebobJ_Ui4Tf86BQ
Each button has an action list. Example for the Slot1 (or profile 1)
https://drive.google.com/open?id=1wlYewM7xYFXPuggGzEKFWvz8K5bFr9t1
The menu that opens is something like if you start a new game you will lose your last game etc. And start the new game from the begging.
In the game, I use the autosave options.
For the load menu
https://drive.google.com/open?id=1k8fe4pWcrE_OMm2npn9TWoG9W86rdz18
https://drive.google.com/open?id=12JAMhvKipNHHvGf8pkBXV_U5k-1Zpywh
My idea is to show only the slot profile with autosave file. The load the autosave for this profile.
Well, maybe that helps to get the idea.
At the load screen, i want to select it. But i don´t have any option to select slotx, I have to switch the active profile and only had set slot index or set profile id. How can i know the id of slotx? Not only to load i want to select and delete if i need it.
Sorry if i not clear, i was trying all the day and i block as hell
I try using scriptableobject to define external variables and store it but doesn't work.
Any idea not so complex?
I had attached with this:
https://pastebin.com/7VnzB4wx in the main menu to attached to an empty game object. But nothing happens, when I quit my game and back doesn´t work. Only in editor work.
Value is:
Then i use this and the default string value of that variables is -EMPTY-
and the results was:
https://pastebin.com/fteugqGe
I'm trying to achieve a similar thing, but the only problem with what I'm doing is that an issue arises when you try to use Steam Auto-Cloud. I need only two specific variables from the options data to be saved in the same location as the global variables, but none of the other options-linked variables should be saved there.
I tried just switching to different profiles to set each profile button individually, but for some reason, all the buttons end up showing the information from the originally active profile, instead of the right information for each profile.
Is there any way to accomplish either of these and still have it work with Steam Auto-Cloud?
By the way, when I mentioned an issue with Steam Auto-cloud, I meant that if you link the variables to the Options data and use the Profile Name when listing the profiles, neither of that data is saved in the folder where the Global variables are saved. So when you use Steam Auto-cloud, it doesn't sync that data, and it causes the game to break when you install the game on a new computer with pre-existing profile data and saves.
I could move the options data to the same folder where the Global variables are saved, and thus cause the options data to be synced too, but that would mean that all off the options will be saved, not just the ones you need for the profile. And that would cause issues for if there are player preferences that need to be different between devices, like for performance reasons and such.