Inside3D tutorials.
Created By: | Carnage |
eMail: | rbaker@pcez.com |
Difficulty Scale: | Easy |
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 ENDThese 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