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: jester51
eMail: jester51@mindspring.com
Difficulty Scale: Easy\Medium


Step 1
Ok.. This tutorial is going to help you keep suiciders off your server You also have the option of letting the players get a chance to respawn :) O'well.. Open up the client.qc file, and scroll down to the "ClientKill" section, shown below.
/*
============
ClientKill

Player entered the suicide command
============
*/
void() ClientKill =
{
	bprint (self.netname);
	bprint (" suicides\n");
	set_suicide_frame ();
	self.modelindex = modelindex_player;
	self.frags = self.frags - 2;	// extra penalty
	respawn ();
};


Step 2
What we have to do, is to replace that part with the text shown below.
void() ClientKill = 
{
        self.netname = "King Llama"				 // makes sure they regret it
        bprint (self.netname);
        bprint ("suicides: what a dumbass!"); 		// changed suicide message
        set_suicide_frame ();					// Remove if you don't want the LLama to re-spawn!
        self.modelindex = modelindex_player;
        self.frags = self.frags - 5;				 // extra penalty.. note the lack of the
                                                        //respawn ().  This makes sure they have to leave.
};
Compile, and enjoy! Try running this on you're server! have fun, and don't forget to not suicide :) Note: This lesson is under construction. A follow up is comming soon!






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.