Add Custom Bot Profiles

A Tutorial for Counter-Strike 1.6

Members see zero ads. Signup for free

Updates

TutorialParentSubmitterStats
  • Added a bunch of nice formating to help the thing be more readable
  • Fixed some inconsistencies too
Formating !!!!! 2y
  • Fixed some gramatical mistakes
  • Added some info about the existance of skill and play style templates
Update 1 3y

For CS:CZ Bots

Disclaimer : This tutorial can only be followed after successfully installing CS:CZ bots to your game

1. 1.0 Finding the File location

Go to your counter-strike folder and find the cstrike folder.

In there, there will be a file called 'BotProfile.db'. 

2. 2.0 Creating your very own bot

Open 'BotProfile.db' with a text editor )notepad++ or windows notepad are good options), scroll down, and look for these words:

//
// These are the individual bot profiles, which inherit first from 
// Default and then the specified Template(s), in order
//

Right under these lines you can add you custom bot profiles, and here is how:

2.1. 2.1 Bot difficulty

First, you'll want to start a new line with any of the following words, this will be the skill level of the bot.

  • Elite 
  • Expert
  • VeryHard
  • Hard
  • Tough
  • Normal
  • Fair
  • Easy

Note : The specific stats for each and every skill level are pulled from premade templates located in this same file, of wich you can make your own to further customize your bots.

Note : For every ingame difficulty setting you will also get bots from the next and previous skill levels. For example:if you set the bot difficulty to "Expert" only bots of the "Elite", "Expert" and "VeryHard" skill levels will spawn, the ingame difficulty is controled by the bot_difficulty (0-3) CVar.

2.2. 2.2 Bot playstyle

Next you'll want to add a plus sign ("+"), followed by one of the following play styles:

  • Rifle(will prefer to buy and/or use the m4a1, ak47, famas, galil or mp5)
  • Punch(will prefer to buy and/or use the aug, sg552, famas, galil or mp5)
  • Sniper(Will prefer to buy and/or use The AWP, autosnipers, scout, famas, galil, or mp5)
  • Power(Will prefer to buy and/or use the m249, xm1014, m3, famas, galil or mp5)
  • Shotgun(similar to power, but a bot with this play style will not prefer an m249)
  • Shield(Will prefer to buy and/or use a shield, unless the shield is disallowed, in wich case, it is the same than the rifle play style)
  • Spray(Will prefer to buy/use any SMG except the UMP-45)

Note : The specific weapon preferences for each and every play style are pulled from premade templates located in this same file, of wich you can make your own to further customize your bots.

2.3. 2.3 Bot name

And finally, preceded by a space, add the name of the bot.

So, an example of the first line would be:

Hard+Sniper Siaba

This is the name that will show up ingame.

2.4. 2.4 Various properties

Then you can add some extra lines with many other properties, such as:

  • Cost(number) (This value is only used in CS:CZ, it is the cost of hiring that bot, thank you deanamx!)
  • VoicePitch(number) (100 is default) (It changes the pitch of the voice of the bot in voice messages, lower is deeper)
  • Skin(number) (Integer from 1 to 4) (Forces the bot to choose a skin. If this property is not set, the bot will choose a random skin, every time)

To add an extra property to a bot profile what you have to do is: write the property name, a space, an "equals" sign ("="), another space, and then the value.

Here is an example:

	VoicePitch = 120

2.5. 2.5 Ending a bot definition

To end a bot profile you have to add a line with the word End after all the properties you might have added.

2.6. 2.6 Putting it all together

 Ok. Now let's apply averything we've learned and make a new bot profile. The result could be as follows:

Hard+Sniper siaba
	VoicePitch = 110
	Skin = 2
End

Keep in mind you can have the specific properties together with the other misc properties. In this way, you can have an easy level bot with crazy high accuracy.




That pretty much covers it.

I hope you enjoyed this tutorial, and have fun playing with your own custom bots.

Please make sure to rate this tutorial acordingly and comment if you have any questions or potential contributions to the tutorial.



  • MB-Michael avatar
    MB-Michael username pic Joined 3y ago
    Offline
    ModHacK Flag Affiliation: ModHacK
    10,559 points Ranked 512th
    18 medals 1 legendary 3 rare
    • 30 submissions featured Medal icon
    • Submitted 50 Skins Medal icon
    • 10 submissions featured Medal icon
    • Reached 50 subscribers Medal icon
    • One month a member Medal icon
    • Submitted 10 Skins Medal icon
    MB-Michael avatar
    MB-Michael
    ModHacK Flag
    Affiliation
    ModHacK
    3y
    Can't use <space> for bot names
    "abdisamad SPAWN" --- Not work
    "ingemarssonPotti -- Work
    Dota 2 fanboy
    URL to post:
  • Mark Tven avatar
    Mark Tven Joined 4y ago
    Offline
    UnreaLaws Flag Affiliation: UnreaLaws
    2,964 points Ranked 19702nd
    22 medals 4 rare
    • Submitted 50 Maps Medal icon
    • Returned 1000 times Medal icon
    • Submitted 20 Maps Medal icon
    • Submitted 20 Castaways Medal icon
    • Unlocked Treehouse VIP clearance Medal icon
    • One month a member Medal icon
    Mark Tven UnreaLaws Flag
    Affiliation
    UnreaLaws
    4y
    I'm more suggest lux bot's Look here gameplay podbots vs Luxbots. ALso in lux bots it's more easy to command them you have a program with a menu where you choose what can or can't do bots and so on.
    Whatever avatar
    Mantra
    Whatever
    URL to post:
  • deanamx avatar
    deanamx Joined 4y ago
    Offline
    5,589 points Ranked 1123rd
    23 medals 4 legendary 4 rare
    • Submitted 100 Skins Medal icon
    • 30 submissions featured Medal icon
    • Reached 100 subscribers Medal icon
    • 2017 Top Contributor Medal icon
    • Reached 50 subscribers Medal icon
    • 10 submissions featured Medal icon
    4y
    Cost: It's only applied to CS:CZ, in the Tour of Duty mode. The cost is the actual cost required to hire the bot for duty. Voice Pitch: 100+ will make the sound chilidsh while the 100- will make the sound like a mature man.
    • Helpful x 1
    • Interesting x 1
    • Thanks x 1
    Pishang
    URL to post:

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Key Authors
~Mc3 avatar Life Tree Flag
Affiliation
Life Tree
~Mc3 username pic Joined 4y ago
Offline
Life Tree Flag Affiliation: Life Tree
1,306 points Ranked 22260th
20 medals 1 rare
  • Returned 1000 times Medal icon
  • GameBanana’s Christmas Giveaway 2014 Day Fifteen Winner! Medal icon
  • 11-15 Entries! GameBanana’s Christmas Giveaway 2014 Medal icon
  • Winter Worlds Mapping Contest Entrant Medal icon
  • 1 post awarded Exemplary Feedback Medal icon
  • One month a member Medal icon
Gather information, Writer

Submitter

~Mc3 avatar
~Mc3 username pic Joined 4y ago
Offline
Life Tree Flag Affiliation: Life Tree
1,306 points Ranked 22260th
20 medals 1 rare
  • Returned 1000 times Medal icon
  • GameBanana’s Christmas Giveaway 2014 Day Fifteen Winner! Medal icon
  • 11-15 Entries! GameBanana’s Christmas Giveaway 2014 Medal icon
  • Winter Worlds Mapping Contest Entrant Medal icon
  • 1 post awarded Exemplary Feedback Medal icon
  • One month a member Medal icon
~Mc3 avatar
~Mc3
Life Tree Flag
Affiliation
Life Tree

Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Details

Difficulty Level
Beginner

Attributes

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Share on Google+
  • 2
  • 11.3k
  • 4
  • 4y
  • 2y
  • 2y

WiPs by Submitter

More Other/Misc Tutorials

bcp.crwdcntrl.net tracking pixel