Inside3D tutorials.

Inside3D
 • Front Page
 • Articles
 • Downloads
 • Forums
 • Hosting
 • Help Wanted
 • Interviews
 • Reviews
 • Staff

 
Allied Sites
 - AI Cafe
 - Bot Epidemic
 - Dark Places
 - Flat Earth
 - FrikBot
 - Ghoulish Art
 - Kilbert3D
 - Quake Info Pool
 - QSG: Quake Standards
 - Rusted Fork
 - Stroggs Gone Mad
 - More...
 
Quake
 - Getting Started
 - QuakeC Specs v1.0
 - QuakeC Tutorials
 - Quake Mod Index
 
Quake II
 - Getting Started
 - dll Sourcecode
 - Coding Tutorials
 
.dll Central
 - Getting Started
 - Learning
 - dll Primer
 - dll in C
 - dll in Delphi
 - Compilers
 
Jedi Knight
 - Getting Started
 - COG Specs
 - Sound Specs
 - Tutorials
 
Level Editing
 - Tutorials/Tips
 
 
Telefragged!!!
Created By: Wampey
eMail: wampey@planetquake.com
Difficulty Scale: Easy


Intruduction
here is a tutoral for you that makes it so when you have over 50 cells you can put in a impulse command in the consule and you get quad damage, but you loose 50 cells when you do it.


Step 1
Make a new document called quad.qc


Step 2
Open the quad.qc and put these following lines in it:

void() CheckQuad =
{
        if (self.ammo_cells >= 50) \\Saying if you have over 50 cells you can
activate quad damage.
        {
                self.ammo_cells = self.ammo_cells - 50; \\ -50 means: 50 cells will be
taken away from you.
                self.super_time = 1;    
                self.super_damage_finished = time + 30; \\time + 30 means: that you will
have quad damage for 30 secs
                self.items = self.items | IT_QUAD; \\ tells what item to use
        }
        else return; \\ if you dont have the 50 cells you cant do it
};


Step 3
Open the weapons.qc:

void() SuperDamageSound;
void() CheckQuad; \\ Put this line in.

Now go down to the impulse commands and add these following commands:

if (self.impulse == 50) \\ So if you have the 50 cells now you put impulse 50 in the "~" quad damage is activated
        CheckQuad ();


Step 4
Open progs.src:

quad.qc          \\Put this above the weapons.qc 
weapons.qc


Step 5
That's it! Compile it, and Enjoy!






The Inside3D content and design is copyrighted by the Inside3D team, and may not be re-produced or copied without proper consent. All rights reserved. Any work credited to any author not part of InsideQC is copyrighted by that author. If you have any feedback, suggestions or flames please send it in to the author. Inside3D is hosted by telefragged and the design was originated by project-9.