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: Timm 'Mr?' Stokke
eMail: hestokke@online.no
Difficulty Scale: Easy


Step 1
Ok. This hack is done in weapons.qc, so open that file right away. When we're done, you're gonna have one hell of a magnum! You'll have to mess around here a lot for you're self, coz there are so many options.. But at least, i'll help you getting started :) Now, search the weapons.qc for the text shown under.

Step 2
What you do now, is to mess around with the different numbers, like i've done in the sample under. After that, save it and compile it.. (Tip: Don't make it too powerfull, if you are gonna use it on a server!)
/*
================
W_FireShotgun
================
*/
void() W_FireShotgun =
{
	local vector dir;

	sound (self, CHAN_WEAPON, "weapons/guncock.wav", 1, ATTN_NORM);	// The SG sound

	self.punchangle_x = -2;
	
	self.currentammo = self.ammo_shells = self.ammo_shells - 1; //How much a shot needs
	dir = aim (self, 1000);		//How good to aim. For the magnum, i suggest 10-100
	FireBullets (20, dir, '0.04 0.04 0');	//20=20 bullets. 0.04= width\height
                                                //Good for da magnum is 0.001
};







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.