------------------------------------------------------------------------------
 HOW TO EDIT CONFILES ?
 by Matthias Wacker 
 1996 Daemion Inc. <Germany>

 This is only a short description of the GAME.CON and the possibilities
 you have. You can try to find out more about the files on your own but
 it will help you at the beginning.

------------------------------------------------------------------------------


 I.) ACTORS

     Actors are graphical objects which can be influenced by the
     user. There are only commandlines for a few of them in the   
     GAME.CON but sometimes you can add an actor which is defined
     in the DEFS.CON. 
     The commandlines for an actor describe what will happen in
     a special situation. Example : 
     
     ifhitweapon { spawn BLOODPOOL sound GLASS_BREAKING }
       
     means if a weapon hits the object you can see blood on the 
     floor and you will hear the sound of breaking glass.
     every command after an "if" has to be written in the shown braces.
     You can add a new actor in the following way :

     actor <ACTORNAME> <COMMANDLINE> enda

     You can also use more than one line for an actor but at the and
     you have to mention an "enda" to end the actor.


 II.) STATE       
  
      A state is a subprogram which can be started by an actor. It 
      has to be mentioned before the actor who uses it. You will 
      have to use it in the following way : 
     
       state <STATENAME>
       <COMMANDLINE> 
       ends
      
      actor <ACTORNAME> state <STATENAME> enda

 
 III.) ACTIONS 
     
       Actions are used to make an actor doing something what can not
       be done by another actor. A PIGCOP for example does not look like 
       one of the normal troopers when he is frozen. He has the same blue  
       colour and he can not move but he has another silhouette.  
       If their is an action defined in the GAME.CON you can use it
       for the same actor in other parts of the file. You can find 
       the following syntax in the GAME.CON :

       action <ACTIONNAME> <NUMBERS>

       If you want to start the action in another part of the file you have 
       to use the following syntax :

       action <ACTIONNAME>

 IV.) COMMANDLINES

      The commandlines are used to influence the actors They can include 
      different commands, actions (III) and states (II). 
      
      The commands :
     
      1.) SPAWN               
          
          Can create a new small graphic on the screen which is only used   
          in special situations. Syntax :

          spawn <NAME>

          There are many different objects which can be created by this
          command. These are some of them : 
          
          NAME               EFFECT                          TIMELIMIT/(t)
          
          BLOODPOOL          Blood on the floor              (t)
          BLOOD              Splashing blood                 (t)
          BURNING            Flames on the floor             (t) 
          BURNING2           Flames on the floor             (t) 
          GREENSLIME         Little green monster            
          EXPLOSION2         An explosion (RPG/PIPEBOMB)     (t) 
          RAT                A rat                           (t)
          SMALLSMOKE         Smoke (RPG)                     (t)
          WATERDRIP          Splashing water                 (t)
          TRANSPORTERSTAR    White star                      (t)
          FIRSTGUNSPRITE     Pistol 
          SHIELD             Armour                         
          AMMO               Ammo
          BATTERYAMMO        Ammo
          WATERBUBBLE        A waterbubble                   (t)

      2.) SIZETO 
          
          The command sizeto can change the size of an actor. The two
          numbers after the command are used to give him a new size.
          
          Syntax :

            sizeto <FIRST NUMBER> <SECOND NUMBER> 
            
      3.) SPRITEPAL

          The command spritepal can change the colour of an actor. The 
          number behind is used to give him a new colour. 
          
          Used numbers :

          1     blue
          2     red
          3     -unknown-
          4     black
          5     -unknown-
          6     green 

          Syntax :

            spritepal <NUMBER>

      4.) SOUND

          The command sound is used to make a sound. All possible choices 
          are mentioned in the USER.CON. But do not use the mentioned   
          filename. There will be another name after the command "definesound"
          in the USER.CON.
          
          Syntax :

            sound <SOUNDNAME>

      5.) QUOTE 
          
          The command quote will show a short message on your screen. All
          messages are mentioned in the USER.CON. The number after the
          word "definequote" has to be written after this command in the
          GAME.CON.

          Syntax :
           
           quote <NUMBER>
            
      6.) MOVE
          
          The command move controls the actor`s movements. They speed 
          of the movements is defined with words like "TROOPRUNVELS" which
          means the speed of a running normal trooper. This command is 
          defined in the GAME.CON and you have to write all commandlines
          which you want to add after this entry. The word behind
          will define the sense of its movements. These commands like 
          the word "faceplayer" or "jumptoplayer" are mentioned in the 
          DEFS.CON.

          Syntax :

           move <SPEED> <SENSE>

 V.) IF

     There are many constructions including the word "if". That means that
     the following commands depend on an action which has to happen before.
     All commands behind an "if" has to be written in braces.

     Syntax :

        ifXXX { <COMMANDS> }

        ifXXX 
        {
           <COMMANDS>
           <COMMANDS>
           <COMMANDS>
         }

     Example :

        ifdead { spawn BLOODPOOL }

     Possible constructions :

        ifdead                 If the actor died
        ifhitweapon            If the actor is hit by a weapon
        ifspawnedby            If the actor was spawned by 
                               another special actor 
        ifmove 0               If the actor does not move
        
        ifp                    If the player does something
                               (Has to be combined with other commands)
        - ponsteroids          If the player took steroids
        - pshrunk              If the is hit by the shrinker
        - prunning             If the player is running
        - prunningback         If the player is running back

        ifinwater              If the player is in water
        else                   If the nothing what was mentioned before 
                               has happened
                               
            -These are only a few of the possible commands-


------------------------------------------------------------------------------
