Page 1 of 1

SCUMM for beginners The very basics

#1 paperclipmuffin  Icon User is offline

  • Disassembling...
  • member icon

Reputation: 13
  • View blog
  • Posts: 944
  • Joined: 16-April 09

Post icon  Posted 30 June 2009 - 02:01 AM

Hello, and welcome to my tutorial.

SCUMM: Script Creation Utility for Maniac Mansion.

Scumm is a flexible, javascript-like programming language mainly used for point-and-click adventure games. As the company who created Scumm, LucasArts, still has not released the full syntax, what I know, and anyone outside of lucas knows, is mostly guesswork. So nothing here has a 100% guarantee. But we think this is it. So here it is.

---Chapter 1: Getting started---
To learn Scumm, you really need experience in a c variant, java or a .net language. This is fast-paced and complex stuff.

To create a variable, you say:
var variable1;


And if looks like:
If(variable = 1){do stuff here};


And then you have actors. Actors are people in the game. As of yet, it is still hard to determine how to introduce an actor*, but we know how to handle them. You can select an actor and move bits about like:
Actor.Init(1); //Selects actor 1
Actor.Face(180); //Turns the face to 180 degrees


And then make them speak:
SayLineSimple(1, "This is a new game!"); //1 = actor 1
//In a game with sound, you would
//identify the sound clip like so:
SayLineSimple(1, "/soundclip_nwgm/ This is a new game!");


For a long speaking part, you have 2 sound clips, and have to wait for the first to end:
SayLineSimple(4,"/newgame1/This is a new game..."); 
Wait.ForMessage();
SayLineSimple(4,'/newgame2/ and it will be AWESOME!');


Wait.ForMessage(); says to wait till the first sound clip finishes.

That's pretty much it for now. Stay tuned for more. I hoped you liked my tutorial.!


*We think that an actor does not need to be introduced, but needs to be in the data files (hex files that show the images, ect. for each actor and room) next to the executable. We are working on how to make data files.

Is This A Good Question/Topic? 0
  • +

Replies To: SCUMM for beginners

#2 born2c0de  Icon User is offline

  • printf("I'm a %XR",195936478);
  • member icon

Reputation: 180
  • View blog
  • Posts: 4,667
  • Joined: 26-November 04

Posted 02 July 2009 - 10:49 AM

This is awesome, I've always loved the Monkey Island and Maniac Mansion series.
Was This Post Helpful? 0
  • +
  • -

#3 paperclipmuffin  Icon User is offline

  • Disassembling...
  • member icon

Reputation: 13
  • View blog
  • Posts: 944
  • Joined: 16-April 09

Posted 03 July 2009 - 07:51 PM

There's more on the way, but progress is slow.

JUST RELEASE THE DAMN SOURCE, LUCAS!! YOU DON'T EVEN USE IT ANYMORE!

Ahem...

This post has been edited by paperclipmuffin: 04 July 2009 - 12:12 AM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1