Search found 47 matches

by 2linescrossed
Wed Oct 30, 2024 6:39 pm
Forum: Dialogue System for Unity
Topic: Which Savers should I attach?
Replies: 4
Views: 163

Re: Which Savers should I attach?

Hmm, so if I'm interpreting what you're implying right - you're saying that I don't need to put savers on everything, because the 'states' of an object (ie, active/enabled/disabled etc) is separate from the actual values on an object, and things are screwing up because of the managers not retaining ...
by 2linescrossed
Wed Oct 30, 2024 8:12 am
Forum: Dialogue System for Unity
Topic: Which Savers should I attach?
Replies: 4
Views: 163

Re: Which Savers should I attach?

Oh, and just asking in advance, but would the savers still work fine with IEnumerators and Coroutines? The core of my game's logic is based in them, but I don't know how feasible it is to store one of those 'in motion', since even when it's the player's turn, the game logic is still in the midst of ...
by 2linescrossed
Wed Oct 30, 2024 8:04 am
Forum: Dialogue System for Unity
Topic: Which Savers should I attach?
Replies: 4
Views: 163

Which Savers should I attach?

Hello! Currently getting into the weeds of using the savers to store object positions and values, but I've been pretty unsuccessful so far. Got a few of my prefabs attached with Spawned Object savers, but when I load the scene, basically nothing is saved. Some of the game logic works or happens diff...
by 2linescrossed
Fri Oct 25, 2024 1:59 am
Forum: Dialogue System for Unity
Topic: How should I go about using the Save System for Visual Novel Values?
Replies: 11
Views: 638

Re: How should I go about using the Save System for Visual Novel Values?

Figured out what I was doing wrong again - I had used the wrong ToString method in the saver itself, which I fixed by changing the toStrings to data.playerName = FormattedText.ParseCode("[var=PCName]"); data.tokens = FormattedText.ParseCode("[var=PlayerTokens]"); The issue was th...
by 2linescrossed
Thu Oct 24, 2024 9:17 pm
Forum: Dialogue System for Unity
Topic: How should I go about using the Save System for Visual Novel Values?
Replies: 11
Views: 638

Re: How should I go about using the Save System for Visual Novel Values?

Ah, I see where I went wrong, I was using the current save file's values for the text, so I stumbled into my own observation from earlier. My bad, but I don't know how I can get the variable from the summary file to actually display properly, it always gives me that 'Lua Result' mumbojumbo on a ToSt...
by 2linescrossed
Thu Oct 24, 2024 8:52 pm
Forum: Dialogue System for Unity
Topic: How should I go about using the Save System for Visual Novel Values?
Replies: 11
Views: 638

Re: How should I go about using the Save System for Visual Novel Values?

Hmm, so I was initially doing it JUST in the Start, which was why the script broke? I'm not sure that checks out but it works slightly better now, which is what's important. Now I've found a new baffling issue - currently, saving in one file saves over EVERY existing file at the same time, but ONLY ...
by 2linescrossed
Thu Oct 24, 2024 8:26 am
Forum: Dialogue System for Unity
Topic: How should I go about using the Save System for Visual Novel Values?
Replies: 11
Views: 638

Re: How should I go about using the Save System for Visual Novel Values?

Hmm, okay, I'm having issues with this, where despite me clearly calling the Summary, and having the right key for it, I always get null reference exceptions. void FileDisplay() { //Calling this refreshes the buttons, ideally. if (SaveSystem.HasSavedGameInSlot(slotNo)) { var s = savedGameData.GetDat...
by 2linescrossed
Sun Oct 20, 2024 7:55 pm
Forum: Dialogue System for Unity
Topic: How should I go about using the Save System for Visual Novel Values?
Replies: 11
Views: 638

Re: How should I go about using the Save System for Visual Novel Values?

Hey, currently trying to make use of the custom savers, but I've realized there's a lot I still don't know how to work with in the json/playerprefs over here. Particularly, how do I get the system to display some of the stats in the base file, for example? Let's say I wanted to have the save slots, ...
by 2linescrossed
Mon Sep 30, 2024 4:52 am
Forum: Dialogue System for Unity
Topic: Implementing a VN styled text log?
Replies: 1
Views: 65

Implementing a VN styled text log?

Hello! Simple question here, how do you make a working VN text log using this dialogue system? There's a lot of different ways to go about it I imagine, but I'm wondering if there was already some built in functionality for this or not. I'm basically just looking for a decent, 'press this to see a s...
by 2linescrossed
Tue Aug 13, 2024 7:12 am
Forum: Dialogue System for Unity
Topic: Registered Custom Function Stops Working After Scene Change
Replies: 3
Views: 507

Re: Registered Custom Function Stops Working After Scene Change

Hi Tony, thanks for the suggestion! It turns out that I did in fact have something screwed up with the DialogueManager not having the script on it properly. I guess part of me thought that if the function was registered, it would be registered globally, but that's not the case. I fixed it simply by ...