Game Preferences

I was looking through the preferences folder on my computer and I noticed that there was a file for Ghosts of Time. I opened it up and saw that it recorded the full screen setting of Ghosts of Time as well as the music volume. I also found one for OS9 and saw that the music volume was different. I was wondering if this could be expanded up and allow for variables to be saved.

------------------
Pilky
(url="http://"http://www.mcubedsw.com")M cubed homepage(/url)
(url="http://"http://www.mcubedsw.com/network.html")M cubed Network(/url)

Quote

Originally posted by Pilky:
**I was looking through the preferences folder on my computer and I noticed that there was a file for Ghosts of Time. I opened it up and saw that it recorded the full screen setting of Ghosts of Time as well as the music volume. I also found one for OS9 and saw that the music volume was different. I was wondering if this could be expanded up and allow for variables to be saved.

**

Very good Find Pilky, however, I don't think that you could allow it to save other global information.

------------------
Thanks,
GrahamVH
graham@warcraftcentral.com
Coldstone Developer (url="http://"http://www.warcraftcentral.net/legends/main.html")http://www.warcraftc...gends/main.html(/url)

Quote

Originally posted by Pilky:
**(blah) Can I save variables to a pref file? (/blah)
**

Since there is no action to save a variable and none to load it you cannot do this 😛

------------------
Life is a joke - death is testing your humour...

I've noticed that if I choose a saved game, those preferences (screen and music) load in with the saved game. So if I'm playing my game and turn the music off (which I do with a keydown), I save the game, then quit. When I reopen the saved game, the music plays at first until it begins to load in the saved game, then the music goes off automatically. I suspect that's what you're seeing in your system folder.

------------------
-- Debra
Danillitphil Productions
(url="http://"http://www.danillitphil.com/graphics/index.html")www.danillitphil.com(/url)

Too bad it doesn't save which NPCs are dead.

------------------
"Stiney! Get me a danish!"
Check out teh 1337 sig: (url="http://"http://server4.uploadit.org/files2/130104-Ogre_Bobfinal.jpg")Teh 1337 sig(/url)
Proud Shaman of (url="http://"http://forums.evula.com/viewforum.php?f=52")Clan EVW(/url)

Quote

Originally posted by OgreBob:
**Too bad it doesn't save which NPCs are dead.

**

It can do that if you individually name each NPC and give each one a global. Special quest NPCs do not come back to life once killed in PoG. 🙂

------------------
My Doctor said I was having too much wine, women, and song - so I gave up singing because 2 out of 3 is not so bad.
The (url="http://"http://www.evula.org/rduck/")Kingdom of Garendall(/url) sectional map is easily printed from gif format pages.
(url="http://"http://www.ambrosiasw.com/cgi-bin/vftp/dl-redirect.pl/damsels.sit?path=pog/addons&file;=damselsV1.1.sit")Damsels in Distress(/url) - A plugin for PoG. (url="http://"http://www.evula.org/rduck/RD-DEL.jpg")RD-DEL(/url)

Well, yeah, thats sort of a given.

------------------
"Stiney! Get me a danish!"
Check out teh 1337 sig: (url="http://"http://server4.uploadit.org/files2/130104-Ogre_Bobfinal.jpg")Teh 1337 sig(/url)
Proud Shaman of (url="http://"http://forums.evula.com/viewforum.php?f=52")Clan EVW(/url)

I know that you cannot access stuff like this at the moment but I was wondering if there is enough of a foundation there for Carm to expand on if she gets the time to add any new features. The ability to access certain variables before you load a game would be very helpful and storing them in a preferences file would be the logical way to do it.

------------------
Pilky
(url="http://"http://www.mcubedsw.com")M cubed homepage(/url)
(url="http://"http://www.mcubedsw.com/network.html")M cubed Network(/url)