home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer 3.2 / 1997-05_Disc_3.2.iso / CHASM / CSM.BIN / PROC.DOC < prev    next >
Text File  |  1997-02-10  |  2KB  |  59 lines

  1.  -------------- + -------------- + -----------------
  2.  ; Setup sky file.
  3.    #sky=filename.cel
  4.  
  5.  ; Freeze 3d objects
  6.  #stopani [#number]    ,freeze 3d object at start of level.
  7.  
  8.  ; Messages definition
  9.  #mess [#number]
  10.   Delay [.sec]
  11.   Text[#word]: [ x,y] , x=-1 center for X
  12.  #end
  13.  
  14.  #proc [#number]
  15.  ; Setup process :
  16.   StartDelay    [.sec]
  17.   BackWait      [.sec] ,if not or 0 ,not revercible.
  18.   Speed         [.def]
  19.   LifeCheckon          ,LifeCheck:=True;
  20.   Mortal               ,Mortal:=True;
  21.   LightRemap           ,Wall bright:=Floor bright;
  22.   Lock                 ,locked at begin;
  23.   Loops         [.num] ,loop action;
  24.   LoopDelay     [.sec] ,delay after loop;
  25.   OnMessage     [.num] ,[.num]= message [.num]
  26.   FirstMessage  [.num] ,shows one time
  27.   LockMessage   [.num] ,if Locked
  28.   SfxId         [.num] ,[.num]= sfx [.num]
  29.   SfxPosxy      [ x,y] ,
  30.   LinkSwitchAt  [ x,y]
  31.  
  32.  #action
  33.  ;Action commands :
  34.   lock          [procnumber]
  35.   unlock        [procnumber]
  36.   playani       [.num]                  ,plays specified .3o .ani
  37.   stopani       [.num]                  ,stops ...
  38.   move          [ x,y] [ dx,dy] [s:num]
  39.   xmove         ---
  40.   ymove         ---
  41.   rotate        [ x,y] [ cx,cy] [dfi] [s:num]
  42.   up            [ x,y] [ H]   [s:num]     ,if H>=80 then walktrough
  43.   light         [ x,y] [int sec] [R:256] [Bright] [s:num]
  44.   waitout       [ x,y] [ R]
  45.  #end
  46.  
  47.  ; Links definition
  48.  #links
  49.   link      [x,y] [.num] , walls and .3o
  50.   floor       -          , floors
  51.   shoot       -          , walls and .3o
  52.   return      -          , walls and .3o
  53.   unlock      -          , walls and .3o
  54.   destroy     -          , 3dobject     (auto-unlock locked processes)
  55.   onofflink   -          , walls and .3o
  56.  #end
  57.  
  58.  
  59.