Wintermute Engine Forum

Wintermute Engine => Scripts, plugins, utilities, goodies => Topic started by: Rocco on July 11, 2005, 07:32:46 PM

Title: Sierra right click interface
Post by: Rocco on July 11, 2005, 07:32:46 PM
Hi all,

After setting all things up, this way i nearly need it for my first wintermute game,
i want to make it downloadable for other newbies.
Nothing special, but maybe useful for others who can learn a new engine best, when
examining sourcecode examples, like me.
My impression is, that wintermute is a great engine, but the community is very small,
therefore not much source code snippets are available at the moment.

So here are the "features" of my example:

- myst style game without an actor
- sierra style right click interface with three options
- scenemenu, instead of using the window approach for the menu.
- example intromovie

Open Source Template
Mystic Triddle Engine Source (http://www.virtual-illusion.com/download/files/MT-tech.zip) ~ 2,5 MB

Here is the game i made with it:
Mystic Triddle (http://www.virtual-illusion.com/download/files/MysticTriddleSetup.exe) ~ 27MB

thx to mnemonic, jerrot and all the other helping wintermuttis  ;D
Title: Re: Sierra right click interface
Post by: Mnemonic on July 12, 2005, 07:37:18 AM
Great! Thank you, Rocco.
Title: Re: Sierra right click interface
Post by: SoundGuy on June 26, 2006, 11:06:56 PM
I tried your right click interface, and it looks awesome apart for one thing.
For some reason the verb icon changes slowly even if i click a very fast.
like i click 4-5 times a second and it only changes verbs one a second.
have you encountered something like this, and perhaps have newer code ?

Oded
Title: Re: Sierra right click interface
Post by: SoundGuy on June 26, 2006, 11:18:10 PM
Found the problem and fixed it..
just add the RightDoubleClick event:
Code: WME Script
  1.  
  2. on "RightClick"
  3. {
  4.                                                
  5.                         switchcursor();       // function for right click defined in functions.inc
  6.  
  7. }
  8.  
  9. on "RightDoubleClick"
  10. {
  11.                                                
  12.                         switchcursor();       // function for right click defined in functions.inc
  13.  
  14. }
  15.  
Title: Re: Sierra right click interface
Post by: Rocco on October 12, 2006, 05:39:21 PM
thanks SoundGuy, i included your suggestion in the new uploaded example.
Title: Re: Sierra right click interface
Post by: elfersp on February 06, 2009, 10:56:19 PM
Hey Rocco -

I have a couple of questions -

First, once I'm in one the two rooms, how do I reach the menu?  I wouldn't know how to "save" if I can't get there.  Maybe I'm missing something obvious.  Also, if you had a character (I know you don't) then wouldn't you have to do something special to remember his or her state?  Where standing and in which scene?

Next - the inventory window still displays at the top of the menu screen (since it is a scene) - isn't that a little strange?

Sorry if these are dumb - this is my first post to this board!
Paul
Title: Re: Sierra right click interface
Post by: Rocco on February 08, 2009, 02:23:12 PM
Hi elfersp,

You can reach the menu in every room by pressing ESC.
and when you use a character, you havent to deal with any states or variables, wintermute will do all the work for you.  ;)

Yeah the inventory window is also shown in the menu scene, but its no big deal to deactivate this behavior.

In this board, there are also very good other demos with characters and other stuff, so check them out.
Title: Re: Sierra right click interface
Post by: piere on February 22, 2011, 12:21:39 AM
Can you re-post the link?
Title: Re: Sierra right click interface
Post by: Rocco on February 22, 2011, 09:50:12 AM
its up and running again.  :)
Title: Re: Sierra right click interface
Post by: anarchist on February 23, 2011, 12:30:04 AM
Excellent example thanks Rocco
Title: Re: Sierra right click interface
Post by: SOLO on November 15, 2011, 03:13:24 PM
Rocco,
          Great example but how would I implement this with the basic demo menu?
What I mean is I have an actor on screen and the normal mouse pointer and when I press the RIGHT mouse button the MENU appears initially and then RIGHT clicking afterwards moves through the actions - LOOK, TAKE etc

Can this be done?

All I get is errors or it does not work, is this because of the loop?

Many thanks
Title: Re: Sierra right click interface
Post by: isabusl on June 18, 2012, 03:22:34 PM
its up and running again.  :)

I get an error message:

chCounter: MySQL error!
SQL query:
    INSERT INTO `V_Illu_count_downloads_and_hyperlinks_logs` ( id, typ, timestamp, monat, anzahl ) VALUES ( 8, 'download', 1340028972, 201206, 1 );
Error number: 1142
INSERT command denied to user: 'virtual@dd26118.kasserver.com' for table 'V_Illu_count_downloads_and_hyperlinks_logs'
Script stopped.

Could you please upload it again?  ;D
Title: Re: Sierra right click interface
Post by: 3cats on July 17, 2013, 12:19:04 PM
Anybody still have the source files ?
Thanks !
Title: Re: Sierra right click interface
Post by: Rocco on April 22, 2015, 12:43:54 PM
Better late as never, its up and running again.  :)