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: Saving interface as in "Ghost in the Sheet"  (Read 4784 times)

0 Members and 1 Guest are viewing this topic.

Chaos

  • supporter
  • Lurker
  • *
  • Karma: 1
  • Offline Offline
  • Gender: Male
  • Posts: 45
  • "WME rocks!"
    • View Profile
Saving interface as in "Ghost in the Sheet"
« on: January 29, 2009, 04:34:28 AM »

Hello!I'm working on a Sci-Fi adventure now,using the astonishing WME(Of course!).I am very interested on having some code to change the default saving interface of WME(the saved games all in columns from top to bottom) to be just as the one used in "Ghost in the Sheet" with the little screenshots that you click over to save your game.Since I'm more a visual artist(I work as a comic books illustrator)and not much of a programmer myself any kind of help will be more than welcome.So,to anyone kind enough to help,thanks!
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Saving interface as in "Ghost in the Sheet"
« Reply #1 on: January 31, 2009, 12:53:55 PM »

I can't offer you the same interface GitS is using, but you can download similar interface used in Five lethal demons HERE.
See the enclosed readme.txt file for instructions on integrating it into your project.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Chaos

  • supporter
  • Lurker
  • *
  • Karma: 1
  • Offline Offline
  • Gender: Male
  • Posts: 45
  • "WME rocks!"
    • View Profile
Re: Saving interface as in "Ghost in the Sheet"
« Reply #2 on: February 13, 2009, 08:53:52 AM »

Well,thank you very much Mnemonic!

BTW Man,you're always on fire!!! ;)

 I played "Five Lethal Demons" a few years ago and if my memory doesn't fail me the interface was very similar indeed.In fact I believe it is much better for the game I'm making because it appears as a floating selection while the game remains paused on the back,while in "Ghost in the sheet" you are sent to another scene(the Loading scene).But the problem is I just installed it on my project,and realized that the loading function works perfectly but I can't make the saving work! ??? So,I'm posting a portion of the Log,and I hope you could help me with this,maybe it's just some function undeclared or something.(I just hope Mnemonic doesn't give this thread as already answered and check it back again)     

Code: [Select]
05:05: Maximum texture size: 4096x4096
05:06: Engine initialized in 3429 ms
05:06:
05:06: Using texture format: 21
05:06: Error opening file 'ui_elements\backgroundwi4.bmp'
05:06: CBSprite::LoadFile failed for file 'ui_elements\backgroundwi4.bmp'
05:06: Error opening file 'saves\save000.dsv'
05:06: Syntax error in EDIT definition
05:06: Error loading WINDOW definition
05:06: Error parsing WINDOW file 'interface\system\input.window'
05:06: Runtime error. Script 'scripts\game.script', line 186
05:06:   Call to undefined method 'Center'. Ignored.
05:06: Runtime error. Script 'scripts\game.script', line 190
05:06:   Call to undefined method 'GoSystemExclusive'. Ignored.
05:06: Loading game 'saves\save001.dsv'...
05:06: Error opening file 'ui_elements\backgroundwi4.bmp'
05:06: CBSprite::LoadFile failed for file 'ui_elements\backgroundwi4.bmp'
05:06: Syntax error in EDIT definition
05:06: Error loading WINDOW definition
05:06: Error parsing WINDOW file 'interface\system\input.window'
05:06: Runtime error. Script 'scripts\game.script', line 186
05:06:   Call to undefined method 'Center'. Ignored.
05:06: Runtime error. Script 'scripts\game.script', line 190
05:06:   Call to undefined method 'GoSystemExclusive'. Ignored.
05:06:
05:06: Shutting down...
05:06: Shutting down scripting engine
05:06: ********** DEBUG LOG CLOSED ********************************************
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Saving interface as in "Ghost in the Sheet"
« Reply #3 on: February 13, 2009, 09:16:52 AM »

Apparently there is no file called 'ui_elements\backgroundwi4.bmp' in your project.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Chaos

  • supporter
  • Lurker
  • *
  • Karma: 1
  • Offline Offline
  • Gender: Male
  • Posts: 45
  • "WME rocks!"
    • View Profile
Re: Saving interface as in "Ghost in the Sheet"
« Reply #4 on: February 14, 2009, 06:18:30 AM »

Hello again,Mnemonic!No,it just can't be that,because I just checked it out and that's only the image assigned to the Main Menu,that the engine could not find(an "absolute").The truth is I installed this saving interface on the Wme Demo,but anyway I don't see any reason why it shouldn't work.Believe me that I followed all the instructions from the "readme.txt".Anyhow,now I've cleaned the Log from all "absolutes",so you can take a look at it without any distractions.Perhaps it got something to do with the undefined methods.See ya! 

Quote
06:44: Engine initialized in 125 ms
06:44:
06:44: Using texture format: 21
06:44: Loading game 'saves\save001.dsv'...
06:44: Error opening file 'saves\save004.dsv'
06:44: Syntax error in EDIT definition
06:44: Error loading WINDOW definition
06:44: Error parsing WINDOW file 'interface\system\input.window'
06:44: Runtime error. Script 'scripts\game.script', line 186
06:44:   Call to undefined method 'Center'. Ignored.
06:44: Runtime error. Script 'scripts\game.script', line 190
06:44:   Call to undefined method 'GoSystemExclusive'. Ignored.
06:44: Syntax error in EDIT definition
06:44: Error loading WINDOW definition
06:44: Error parsing WINDOW file 'interface\system\input.window'
06:44: Runtime error. Script 'scripts\game.script', line 186
06:44:   Call to undefined method 'Center'. Ignored.
06:44: Runtime error. Script 'scripts\game.script', line 190
06:44:   Call to undefined method 'GoSystemExclusive'. Ignored.
06:44: Syntax error in EDIT definition
06:44: Error loading WINDOW definition
06:44: Error parsing WINDOW file 'interface\system\input.window'
06:44: Runtime error. Script 'scripts\game.script', line 186
06:44:   Call to undefined method 'Center'. Ignored.
06:44: Runtime error. Script 'scripts\game.script', line 190
06:44:   Call to undefined method 'GoSystemExclusive'. Ignored.
06:44:
06:44: Shutting down...
06:44: Shutting down scripting engine
06:44: ********** DEBUG LOG CLOSED ********************************************
« Last Edit: February 14, 2009, 06:21:58 AM by Chaos »
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Saving interface as in "Ghost in the Sheet"
« Reply #5 on: February 14, 2009, 01:22:59 PM »

The log says: "Error parsing WINDOW file 'interface\system\input.window'".
That means there's something wrong with this file. Does it open in WindowEdit?

What version of WME are you using anyway (you've cut the beginning of the log which display that information)? Some very old versions (pre-dating the introduction of WindowEdit tool) would not be able to open .window files generated by the tool.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Chaos

  • supporter
  • Lurker
  • *
  • Karma: 1
  • Offline Offline
  • Gender: Male
  • Posts: 45
  • "WME rocks!"
    • View Profile
Re: Saving interface as in "Ghost in the Sheet"
« Reply #6 on: February 28, 2009, 04:07:58 AM »

My mistake! :P You're absolutely right.The thing is my PC it is being repaired right now,and I was using my old computer at the moment.I have the 1.8 version installed on it so that’s not actually the problem,what happened was that some time ago the NET.framework stoped working(That’s why it doesn’t open any .Window files) and because I changed to my new PC back then,I never really fixed it.So I’m 100% sure this saving interface will work perfectly fine on my new computer.And I have to say it looks absolutely magnifique.Thanks for your assistance and time, Mnemonic.Dekuji ti!(I hope I spelled that right and didn’t insult the guy instead. 8) )Bye!
Logged
 

Page created in 0.033 seconds with 18 queries.