Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: File System Object  (Read 2473 times)

0 Members and 1 Guest are viewing this topic.

Igorrr

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 130
  • Ugh...Ughugh!!!!!!
    • View Profile
    • Struggle For Life And Honour
File System Object
« on: April 30, 2004, 08:24:16 PM »

I was wondering, there is nothing in WME that can handle the file system, right? Like writing to and reading from custom files stored on the computer.

Does anybody have an idea how I could store general game settings in WME besides saving the game.
I am talking about being able to customize the keys in the game, gore level, game (talk) speed, perhaps detail control etc. Store this info in a text file so that every time the game is started the customizations are active (regardless of the savegames).
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5679
    • View Profile
    • Dead:Code Site
Re: File System Object
« Reply #1 on: April 30, 2004, 09:02:06 PM »

No FileSystem object (yet), but WME is able to store/read values to/from the Windows registry. Check the docs for the following methods:

Game.RegWriteNumber()
Game.RegWriteString()
Game.RegReadNumber()
Game.RegReadString ()
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Daniel

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 124
  • I'm *not* a llama!
    • View Profile
Re: File System Object
« Reply #2 on: April 30, 2004, 09:15:35 PM »

Damn, Mnemonic!
Logged

Igorrr

  • Regular poster
  • ***
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 130
  • Ugh...Ughugh!!!!!!
    • View Profile
    • Struggle For Life And Honour
Re: File System Object
« Reply #3 on: May 01, 2004, 04:34:15 AM »

That's fair enough! THANKS !!!! :)
Logged
 

Page created in 0.144 seconds with 23 queries.