Hi,
now here it is - the first public source code version of my
verb bar demonstration.
http://wme.jerrot.de/verbbarwin_src.exeIf you don't trust "exe" files, (and in general you shouldn't!) you can also unpack it with 7-zip.
It's not commented yet and I won't find the time to insert them until I return from my holidays in about 2 weeks. Therefore I upload this version as a beta release for you to test and play around with it (if someone's interested!).
I just took and simplified the first scene from the WME demo project to play around with the features. So don't search the exit
but try to talk, use the things, try using two books in your inventory together, etc. ! Not many things changed since I published the package, but some bugs are fixed and the source code is at least much cleaner now, most verbbar functions have been outsourced to one included script now.
It's not designed to use as-it-is but it should give you an impression of how it could look and work like, the buttons are just graphics and the inventory is something LucasArts-like.
Oh, and you should work with the newest release ( >= 1.0.030 ) of WME.
The features:
- it's a verb bar (wow!)
- mouse over caption / command display at the top of the verb bar
- object / persons can have default verbs. the default verb is colored when the mouse is over an object with an default value
- automatic "use"/"use with" = you can define, if your object can be used alone or only in connection with another object
- changing background for dialogs
- keyboard shortcuts
That's it for now. Feedback and Improvements are welcome, but please remember, that this is only a demonstration (which I even won't use for my own project...) and not a full-features plug-in with editor tools to add buttons etc.
Jerrot.