SCUMM templates - UPDATED 4-8-04

Started by Proskrito, Fri 13/06/2003 22:38:08

Previous topic - Next topic

Proskrito

**UPDATE 4-8-04: Go HERE**

Ok, i made this templates for SCUMM interfaces,

Some features:

1- Easier way for defining and checking cursormodes (specially extended ones).
2- Map type rooms are handled by the template.
3- SCUMM-like interface, including:
     - Ability of assign predefined actions for hotspots, characters, inventory items and objects that will run with the right mouse button.
     - almost exact looking and working(some cosmetic issues :P) Save and Load GUIs, with up to 99 savegames. (maybe too many, but the games mentioned had 99 :) ).
     - Ability to assign actions to "Walk" modes
     - The main GUI works in the same way as the ones in MI2/DOTT/FOA.
4- Some little functions i made for myself that i think could be useful.
(I've also made normal, speech and credits SCI fonts for it, so grab them if you want)

I hope someone find it useful.

Read the documentation, although it's not very good  :(

EDIT: Two more templates  :)

LINKS:
Monkey Island 2 & Day of the tentacle:
http://usuarios.lycos.es/golfapagina/bazura/
(DOTT credits font by Synthetique)

Fate of Atlantis: (some things to fix atm)
http://galeon.com/golfa/otros/SCUMM-FOA.rar

(might need "save target as")

Scummbuddy

Sweeet.  I'll test it out man, and I'll let you know how its going.  Thanks.
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Rui 'Trovatore' Pires

I'll add it to my collection. Holler if you don't want me to.
Reach for the moon. Even if you miss, you'll land among the stars.

Kneel. Now.

Never throw chicken at a Leprechaun.

Scorpiorus

I have tried it and... Yeah, it's very useful. Nice&Cool work mate! Thanks for this template! :D

-Cheers

Jimi

 :o

i...

wow...

I...LOVE it...

I think its great you've gone to all this trouble too.

Pumaman

Nice one :)

Very clever idea to use the ">" in the strings to do the default modes too :)

Proskrito

#6
2 more SCUMM templates available:

*These templates doesnt have character animations

Day of the tentacle: Updated: it had a little problem, fixed now.
http://galeon.com/golfa/otros/SCUMM-DOTT.rar

Fate of Atlantis:
http://galeon.com/golfa/otros/SCUMM-FOA.rar

(right click, save target as)


Scummbuddy

downloaded... but i have class. ill get back to you.  thanks!
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

LucasFan

How can I change manually (by scripting) the extensions of a hotspot or an object, Proskrito?

Proskrito

#9
I'm afraid that cant be done atm, because there isnt any function to change the name of hotspots.
I suggested that  while i was making the template, because i thought it would be very useful to be able to change the extensions
http://www.adventuregamestudio.co.uk/yabb/index.php?board=2;action=display;threadid=6489
lets see if chris implement something like that, and a ChangeExtension sort of function could be done.
if the object is a door, that if its open, the default action should be closed, and if its closed, the default action should be open, i think that as you should make 2 objects, or 1 object and 1 hotspot, one for open and other for closed, this is solved.
with characters, you could use character[CHARID].name variable.
The problem is with hotspots and inventory items. Im gonna mess with the script and i'll edit this post if i find something useful

Scummbuddy

Hmm... cursor 5... doesn't really look like a cross... more like Hoagie.  ;D
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Proskrito

#11
Lucasfan, this is what i have come to:
There could be a extension, say >v, for things that have variable extension, and then, in the global script, a function called VariableExtensions(), in which you would define which extension to have depending on whatever you want, like global ints, which room, which object... like:
you call "door>v" a door in the room #5, which is hotspot #3,
then, inside the VariableExtensions function you write:

if (player.room==5 && GetHotspotAt(mouse.x,mouse.y)==3)
 {
  if (GetGlobalInt(1)==0)
  { //if its open
     AddExtension('c',location); //set action Close
  }
  else
{ //if its closed
     AddExtension('o',location); //set action Open
  }
}

This is the best sollution i can think of (until hotspots could be renamed) , if you like it, tell me and i'll put it in the templates.
QuoteHmm... cursor 5... doesn't really look like a cross... more like Hoagie.   ;D
lol  ;D ;D, thanks for  telling me, it looked ok in game, so i didnt realized that.

LucasFan

Quoteif you like it, tell me and i'll put it in the templates.

I like it very much.  :)

Btw.: I think we could use a GUI for Restart.

Scummbuddy

if you are playing thegame and you are in walk mode, you could click somewhere on the status bar, and the char would walk, thinking its part of the room.   Not neccisarily able to walk down there (of course if you add a walkable area, maybe) but I dont think we should be able to click there and have a walking ability.  I thought it was there so that we could click on a command line that we want to happen, but that is not the case, so i guess im just confused as to why its clickable which causes the char to walk in that direction.... like if he starts off by the sign on scabb island (no treasure huntin' zone) and you click on 'walk to' down on the status line, guybrush will walk onto the bridge.

And just wondering, why did you not keep the status line and the 9 verbs on the same gui?  
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Proskrito

QuoteBtw.: I think we could use a GUI for Restart.
Ok, not so difficult to make ;)
Quoteif you are playing thegame and you are in walk mode, you could click somewhere on the status bar, and the char would walk
Oh, i see. Make the gui called ACTION clickable and that should do it  :)
QuoteI thought it was there so that we could click on a command line that we want to happen,
mmm might it happened in indy3 and maniac mansion?? (those that didnt put automatically in the status bar the name of the thing the mouse was over) I think from monkey island 1 up, that didnt happened, but im not sure.
QuoteAnd just wondering, why did you not keep the status line and the 9 verbs on the same gui?
I made it that way because when you go to see the voodoo lady in the
coffin,you see the status bar, but dont see the verb box and inventory.
And later i was happy of making it that way, cos it made things easier when triying to do the highlighting effect in the status bar
Thanks for telling me all the errors or other flaws!! :)

Scummbuddy

Quote from: Proskrito on Tue 17/06/2003 19:10:52

Quoteif you are playing thegame and you are in walk mode, you could click somewhere on the status bar, and the char would walk
Oh, i see. Make the gui called ACTION clickable and that should do it  :)

worked just fine.  thanks a lot.  I'll let you know more if i see any.  This is really great!
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Proskrito

#16
Lucasfan: the restart gui and the variable extensions done
Scummbuddy: The status bar thing and the cursor 5 not being hoagie done

http://usuarios.lycos.es/golfapagina/bazura/

And just one thing that isnt in the doc file yet: put the interactions of the extended modes in the "extended" interaction, and the walk modes in the "walk to" interaction,  (or usermode1 and usermode2,  dont remember if i changed the names) not in "any click" interaction, because if not, sometimes unhandled_event could be called when it shouldn't.

LucasFan


Scummbuddy

just something small, but i forgot to report.  Just a graphic problem. on your 'logo' page, there are still shadow marks from where lucasguy used to have his arms up along with the eyelash lines...  i like what you did with it though.  very humourus
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Proskrito

#19
ah, thanks... i know what are you talking about... it looked as the same black in photoshop, thanks for spotting it out. i forgot to remove the intro room  ;D . i'll remove that room in the next upload, (and i'm fixing the translations thingie, it didnt work very well)

SMF spam blocked by CleanTalk