Jump to content


Photo

Looking for a retroactive marker


  • Please log in to reply
8 replies to this topic

#1 temnix

temnix
  • Member
  • 983 posts

Posted 23 December 2017 - 08:56 AM

I'm looking for some way to mark an event or change during a game that would be detectable from a prior save - or from a different later playthrough. Something like a global, but globals (not to put bad news in anybody's mouth) are kept in the GAM file and updated with it; loading a saved game before a global is set resets it to zero, or rather to nothing, and the same for starting a new game. Clean slates, from what I understand. I'm interested in driving a stake that would be visible from earlier games and later - maybe something outside the GAM or something in it that persists. One idea I had was to do it with MakeGlobal() of special creatures, which could then be spawned, but I think the absence-presence of those records would still be concurrent with the state of the GAM. I have the whole of BALDUR to write into at my disposal and all of the scripts of the engine creature, I can use any action and custom spell anywhere, but does anybody know a way to make them time-independent?



#2 GeN1e

GeN1e

    A very GAR character

  • Modder
  • 1604 posts

Posted 24 December 2017 - 11:45 PM

There's no persistent saved data in IE.


Retired from modding.


#3 Avenger_teambg

Avenger_teambg
  • Member
  • 604 posts

Posted 25 December 2017 - 01:03 AM

There are some bits, but none you could read. An example, that you could write easily with effects or actions is, the played movie. 

Theoretically, you can make dozens of empty movies. Playing a movie for the first time, they will be written up in baldur.lua in the [movies] section.

 

All the other options i can think of, are even more difficult to handle.


Avenger

#4 temnix

temnix
  • Member
  • 983 posts

Posted 25 December 2017 - 04:11 AM

That's interesting. But how would I check for a played movie?



#5 The Imp

The Imp

    Not good, see EVIL is better. You'll LIVE.

  • Member
  • 5150 posts

Posted 25 December 2017 - 06:18 AM

That's interesting. But how would I check for a played movie?
You read the .lua file from the games profile.

Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit). 
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.


#6 temnix

temnix
  • Member
  • 983 posts

Posted 25 December 2017 - 01:20 PM

In the game, silly!



#7 The Imp

The Imp

    Not good, see EVIL is better. You'll LIVE.

  • Member
  • 5150 posts

Posted 25 December 2017 - 04:06 PM

Did you actually read Avenger_teambg's post ? "There are some bits, but none you could read. " You can check those when you install a BG2EE mod, when you read the info from the BGEE game, but you can't read the game data in the game... Or you would just use a Global, and check for one in it.

Yep, Jarno Mikkola. my Mega Mod FAQ. Use of the BWS, and how to use it(scroll down that post a bit). 
OK, desert dweller, welcome to the sanity, you are free to search for the limit, it's out there, we drew it in the sand. Ouh, actually it was still snow then.. but anyways.


#8 GeN1e

GeN1e

    A very GAR character

  • Modder
  • 1604 posts

Posted 25 December 2017 - 04:23 PM

Don't mess with the game data, or it will mess with you.


Retired from modding.


#9 temnix

temnix
  • Member
  • 983 posts

Posted 26 December 2017 - 03:16 PM

Can't read that link, there's inappropriate information. Better stay away.