Character save at save point

Announcements, support questions, and discussion for the Dialogue System.
User avatar
supadupa64
Posts: 200
Joined: Sun Mar 06, 2016 9:40 pm
Contact:

Re: Character save at save point

Post by supadupa64 »

Actually I feel like the whole thing is bugged out. I really haven't changed much in the UI save/load UI that would effect this I don't think. Almost every time I save a game and then load it it's like something is different. For example: I just saved a game after doing a couple quests, quit the game, go back and load it and nothing is saved. In fact none of the NPC are interactable. It's like the whole dialogue system is inactive.

Also, instead of the UI system I am using it reverts to the default Unity UI with normal text alerts like "move closer" when you are too far away to interact. But of course you can't interact since it's "off."
User avatar
Tony Li
Posts: 22093
Joined: Thu Jul 18, 2013 1:27 pm

Re: Character save at save point

Post by Tony Li »

When you save, does it log the save data to the Console view? If so, look for that Actor["Player"] info. Does it mention anything about "Position"?
User avatar
supadupa64
Posts: 200
Joined: Sun Mar 06, 2016 9:40 pm
Contact:

Re: Character save at save point

Post by supadupa64 »

Maybe it would easier if I just reinstalled the UI? Everything works great except for the save load function. Actually that's not true though because after I load a game I can't view my quest active/complete quests... Dang...
User avatar
supadupa64
Posts: 200
Joined: Sun Mar 06, 2016 9:40 pm
Contact:

Re: Character save at save point

Post by supadupa64 »

I can't view the ui in the editor play mode, so no there's nothing. I have to test the save/load in a build. When I save/load in the build it shows that something is being saved.
loadgame.jpg
loadgame.jpg (203.29 KiB) Viewed 2612 times
User avatar
Tony Li
Posts: 22093
Joined: Thu Jul 18, 2013 1:27 pm

Re: Character save at save point

Post by Tony Li »

Let's first try to figure out why you can't view the UI in the editor play mode. Do you have any idea why this is the case?

In the editor, have you tried playing your main menu scene and loading from there?
User avatar
supadupa64
Posts: 200
Joined: Sun Mar 06, 2016 9:40 pm
Contact:

Re: Character save at save point

Post by supadupa64 »

I made the UI in a scene and my main game is in another scene. In a build I hit ESC to pull up the pause menu. But if I hit ESC in editor play more the cursor just appears and stays on forever.
User avatar
Tony Li
Posts: 22093
Joined: Thu Jul 18, 2013 1:27 pm

Re: Character save at save point

Post by Tony Li »

supadupa64 wrote:But if I hit ESC in editor play mode the cursor just appears and stays on forever.
But does it also show the pause menu?

Please also feel free to send a copy of your project to tony (at) pixelcrushers.com. I'll be happy to take a look. All customer files are handled confidentially.
User avatar
supadupa64
Posts: 200
Joined: Sun Mar 06, 2016 9:40 pm
Contact:

Re: Character save at save point

Post by supadupa64 »

No it doesn't show a pause menu. I assume it doesn't because it's in my other scene and for some reason it just doesn't communicate it to my main scene.
User avatar
Tony Li
Posts: 22093
Joined: Thu Jul 18, 2013 1:27 pm

Re: Character save at save point

Post by Tony Li »

When you play in the start scene and select a menu item to go into the main gameplay scene, does the UI GameObject persist into the main gameplay scene? If not, look for any warnings or errors in the Console and let me know if you see any.

The Extras page has an updated Dialogue System Menu Template package. It includes some improvements that make the menu system a little more robust and easier to use. But I can't guarantee that it'll fix this issue, since I don't really know what the issue is yet. If you decide to try the updated package, please make a good backup of your project first.
User avatar
supadupa64
Posts: 200
Joined: Sun Mar 06, 2016 9:40 pm
Contact:

Re: Character save at save point

Post by supadupa64 »

Here's the order when you start the game.

scene 1: Splash screen
scene 2: main menu > push start
scene 3: Main game area > you can now push ESC for pause menu

Actually I forgot that I can only use/view the main/pause menus if I push play when starting in scene 2. I'm usually not working in scene 2 and almost always just play scene 3 (main game) so I don't think about it. Ok, so I CAN access the pause menu in editor play mode. Sorry I should have thought about that earlier.

No errors in console.

I saved it and this is what it shows below:
saveslot0.jpg
saveslot0.jpg (109.62 KiB) Viewed 2610 times
Post Reply