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: Carnage
eMail: rbaker@pcez.com
Difficulty Scale: Easy


Step 1
One thing that I hated about the Reapers was that, when playing against several bots, I had to set the skill level for each and every one! And... while I was setting skills they were kicking mine and each other's asses before I got started! Well... with this RIP each time a bot is spawned it's skill level is randomly chosen. The skill level is chosen from 1, 1.5, 2, 2.5, and 3.

Open botspawn.qc and find:

entity () AddBot = {
Under
local float plycolor;
put
local float ran_skill;
Now look for these lines:

	       self.skil = skill;
	   if ( (self.skil < FALSE) ) {

 	     self.skil = FALSE;

 	  } else {

 	     if ( (self.skil > MOVETYPE_WALK) ) {
	
 	        self.skil = MOVETYPE_WALK;
	
 	     }

  	 }
Paste over the above lines with this:
	//RANDOM BOT SKILL BEGIN
  	 ran_skill = crandom ();
  	 if (ran_skill <= 0.50) {
  	    self.skil = 1.00;
  	 }
  	 if ((ran_skill > 0.50) && (ran_skill <= 0.200)){
		self.skil = 1.500;
  	 }
  	 if ((ran_skill > 0.200) && (ran_skill <= 0.600)){
		self.skil = 2.00;
  	 }
  	 if ((ran_skill > 0.600) && (ran_skill <= 0.800)){
		self.skil = 2.500;
   	}
   	if ((ran_skill > 0.800) && (ran_skill <= 1.00)){
		self.skil = 3.00;
   	}
	//RANDOM BOT SKILL END
These are the numbers I use...gives me a skill 2 Reaper more often. You can mess around with the above numbers to adjust the random factors to your liking.

Enjoy!


Reaperbot (c) 1996 by Steven Polge
Norse_movetogoal (c) 1997 by Roscoe A. Sincero
QCBot Ranking (c) 1997 by Alan Kivlin






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.