SCUMM Tutorial

SCUMM Tutorial

S.C.U.M.M. Tutorial “Rising to the top of the Software Cesspool” Wallace Poulter Circa 1991 Table of Contents PREFACE .................................................................................................................................. 10 Chapter 1 Introduction ....................................................................................................... 10 Chapter 2 Tutorial ................................................................................................................ 13 2.1.0 Introduction ....................................................................................................................... 13 2.1.1 Why Scumm? ...................................................................................................................... 13 2.1.2 Structure of Scumm ......................................................................................................... 15 2.1.3 Structure Explanation ..................................................................................................... 17 2.1.4 The Interface ...................................................................................................................... 20 2.2.1 The say-line command (see 5.7.3) .............................................................................. 20 2.2.2 New Object bat .................................................................................................................. 21 2.2.3 New Verb look-at .............................................................................................................. 22 2.2.4 Set State / Set Use ............................................................................................................. 23 2.2.5 Adding a more complicated object front-door ....................................................... 25 2.2.6 New Verb open .................................................................................................................. 25 2.2.7 The state-of command .................................................................................................... 26 2.2.8 New Verb Close .................................................................................................................. 27 2.2.9 The if command ................................................................................................................ 27 2.2.10 New Verb Use .................................................................................................................. 28 2.2.11 Redefine object bat ....................................................................................................... 29 2.2.12 New Verb Pick-up .......................................................................................................... 29 2.2.13 The pick-up-object statement ................................................................................... 30 2.2.14 The owner-of function ................................................................................................. 30 2.2.15 New object bozo ............................................................................................................. 31 2.2.16 New Verb Push ................................................................................................................ 32 2.2.17 The start-script statement .......................................................................................... 32 2.2.18 Scripts ................................................................................................................................ 33 2.2.19 The break-here statement .......................................................................................... 34 2.2.20 New Verb pull .................................................................................................................. 34 2.2.21 The stop-script statement ........................................................................................... 35 2.2.22 The script-running function ....................................................................................... 35 2.2.23 The draw-object statement ........................................................................................ 36 2.2.24 New Object window ...................................................................................................... 37 2.2.25 The class is statement .................................................................................................. 38 2.2.26 The noun2 function ....................................................................................................... 39 2.2.27 New Object closet-door ................................................................................................ 40 2.2.28 The me function ............................................................................................................. 41 2.2.29 Predefined script open-door ..................................................................................... 41 2.2.30 The sleep-for statement .............................................................................................. 42 2.2.31 Exercise One .................................................................................................................... 42 2.2.32 The for statement .......................................................................................................... 43 2.2.33 Exercise Two ................................................................................................................... 43 2.2.34 Exercise Three ................................................................................................................ 43 2.2.35 The draw-object statement Revisited ..................................................................... 44 2.2.36 The order structure ...................................................................................................... 44 2.2.37 The dependent-on statement .................................................................................... 45 2.2.38 Exercise Four ................................................................................................................... 45 variables (global and local) ...................................................................................................................... 46 Sound Effects .................................................................................................................................................. 47 Making an object in Flem .......................................................................................................................... 47 Adding a new room ..................................................................................................................................... 48 Editing Boxes ................................................................................................................................................. 49 Rules for Boxes .............................................................................................................................................. 49 Creating object in new room ................................................................................................................... 51 Building a room ............................................................................................................................................. 51 Come-out-door statement ........................................................................................................................ 52 Exit and Enter ................................................................................................................................................ 53 Actor and Object trade-off ........................................................................................................................ 53 Elevation .......................................................................................................................................................... 53 Actor Classes (changed as of March 1991) ....................................................................................... 54 Adding a new costume ............................................................................................................................... 55 Using default within actor ........................................................................................................................ 55 Changing Costumes ..................................................................................................................................... 56 Actor command explanation ................................................................................................................... 56 Animations ...................................................................................................................................................... 57 Say-line punctuation ................................................................................................................................... 58 do-animation .................................................................................................................................................. 58 Walk statements ........................................................................................................................................... 59 Put-actor .........................................................................................................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    183 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us