[Image]

 Created By:                              The Devil
 eMail                                    rjacob@utelco.tds.net
 Difficulty Scale                         Easy

 [Image]Step 1
        This tutorial will teach you how to make various "Cheat" Functions
        such as give you armor, keys, and lots of other stuff. First open up
        WEAPONS.QC, First we are gonna give your player full armor. *NOTE* for
        all of these you will have to make your own impulse commands, which
        you should already know how to do. Put all of these cheats right after
        the function Void QuadCheat()

        Void function ArmorCheat();   \\ make an impulse to ArmorCheat()
        {
          self.armorvalue = 200;    // Give you 200 armor
          self.items = self.items | IT_ARMOR3;    // Show the red armor Icon
          dprint("Armor Cheat\n");
        };

 [Image]Step 2
        This cheat will give you all of the runes:

        Void function RunesCheat();    // Make an impulse to RunesCheat()
        {
          serverflags = serverflags * FL_SWIM + 1;     // Give you all of the runes
          serverflags = serverflags * FL_SWIM + 1;
          serverflags = serverflags * FL_SWIM + 1;
          serverflags = serverflags * FL_SWIM + 1;
          dprint("Runes Cheat Activated\n");
        };

 [Image]Step 3
        This cheat will give you the Pentagram of Protection(Permentaly):

        Void function PentCheat();   // Make an impulse to PentCheat()
        {
          self.items = self.items | IT_INVULNERABILITY;    // Give them the invulernability
          self.takedamage = 0;   \\ You now take 0 damage
          dprint("Pentagram of Protection Cheat Activated\n");
        };

 [Image]Step 4
        This cheat will give you a Quad Cheat that lasts for 2 minutes

        Void function NewQuadCheat();    // Make an impulse to NewQuadCheat()
        {
          self.super_time = 120; // Time is 2 minutes i.e. 120 seconds
          self.super_damage_finished = 120 + SVC_INTERMISSION;
          self.items = self.items | IT_QUAD;    // Give them the quad power
          dprint("Quad Cheat Activated\n");
        };

 [Image]Step 5
        This cheat gives you EVERYTHING IN THE GAME(All effects are permanent such as quad cheat)

        Void function AllCheat();    // Make an impulse to AllCheat()
        {
          serverflags = serverflags * FL_SWIM + 1;    // All the runes
          serverflags = serverflags * FL_SWIM + 1;
          serverflags = serverflags * FL_SWIM + 1;
          serverflags = serverflags * FL_SWIM + 1;
          self.rad_time = 99999999;                                        // BioSuit
          self.radsuit_finished = 99999999 + SVC_INTERMISSION;
          self.items = self.items | IT_SUIT;
          self.items = self.items | IT_INVULNERABILITY;      // Pentagram of Protection
          self.takedamage = 0;
          self.invisible_time = 99999999;
          self.invisible_finished = 99999999 + SVC_INTERMISSION;      // Ring of the Shadows
          self.items = self.items | IT_INVISIBILITY;
          self.super_time = 99999999;
          self.super_damage_finished = 99999999 + SVC_INTERMISSION;
          self.items = self.items | IT_QUAD;            // Quad damage
          self.ammo_rockets = 255;                            // All the ammo you can hold
          self.ammo_nails = 255;
          self.ammo_shells = 255;
          self.items = self.items | IT_AXE | IT_SHOTGUN | IT_SUPER_SHOTGUN //Make this one line..
         | IT_NAILGUN | IT_SUPER_NAILGUN | IT_GRENADE_LAUNCHER | IT_ROCKET_LAUNCHER;//All of the Weapons
          self.ammo_cells = 255;
          self.items = self.items | IT_LIGHTNING;
          self.weapon = IT_ROCKET_LAUNCHER;
          self.impulse = 0;
          W_SetCurrentAmmo();
          self.health = 250;                             // 250 Health
          self.items = self.items | IT_SUPERHEALTH;
          self.items = self.items | IT_KEY1 | IT_KEY2;        // Both Keys
          self.armorvalue = 255;
          self.items = self.items | IT_ARMOR3;                // 255 Armor
          dprint("All Cheats Activated\n");
        };

 [Image]Step 6
        Thats it!! Compile and have fun. (And then i mean fun!)
