How to create a Bot (only works on DM and Duels)

Looking for Resources for your mod/project? Want to share some of your creations so others can use them? Post them here!
Post Reply
User avatar
Matiu
Posts a lot
Posts: 754
Joined: Thu May 29, 2014 7:56 pm
Location: Santiago De Chile
Clan: FS (ZD)
Clan Tag: Your Pal
Contact:

How to create a Bot (only works on DM and Duels)

#1

Post by Matiu » Tue Dec 01, 2015 10:15 pm

i've never seen a tutorial to create a bot.. just i've posted this:
this is a tutorial for the newbies who want to create a bot... be patient and exactly create up a "BOTINFO" in the folder.
[spoiler]Image[/spoiler]

For later creating them... must be maded as a text and later adding that for example:

Code: Select all

name = "\cbWanderer"
script = HUMANBOT
skin = "Wanderer"
gender = male
class = "random"
color = "255 255 255"
revealed = true
accuracy = 3
evade = 4
intelect = 3
anticipation = 2
reactiontime = 3
perception = 4
chatlump = WANDCHAT
chatfrequency = 30
favoriteweapon = "RocketLauncher"
then you maded up these things i have to tell at us: the name is just nesesary to add at the bot, the script must be added as a HUMANBOT Script., the skin can be nesesary to add it or no, The Class is important to the bot.. must be added as "Random" or other class if is for a mod, the colors are nesesary too to add adding the volume of color (Red, Green , Blue), The Revealed can be added if is a secret Bot as False. if you add as a true, the bot can be founded in your bot info, Accuracy is just the skill of the bot who shots with a perfect range, evade is just then the Bot evades each attack, Reaction time is just how he reacts then he hears a shot of the player, the perception seems to the bot perceptes his enemies are, The Intelect is how smart is the bot, The Favorite Weapon means the weapon who loves the bot on doom games,The Chat Frequency means the time then the bot starts saying something (NOTE:only if you is nesesary to add it with the required chatlump), the anticipation is then the bot anticipates the shots.

If you add a chatlump for the bot:
The Chatlumps are a text to create another text then the bot chats for example "WANDCHAT", that entry too can be created in text executing in different strings:

Code: Select all

Introstrings:
The introstrings are the principal for the bot adding a simple message like ""Now It's Game Over...... \crFor you"" if you add him from the game or from a master server.

FragStrings:
Frag Strings is then the Bot Frags a player and the bot says "Got It" then the player got fragged by him.

KilledStrings:
then the bot got fragged by a player says exactly for example "..........I'm Down......"

RoamingStrings:
then The Bot walks to found the player or walks during of a game example: "Let's Rekt You..... Founding Up"

EnragedStrings:
if the bot got fragged lot of times by each other guy or killed lot of times, the example who says then got fragged lot of times or killed lot of times: "\crOH MY GOD!"

DemoralizedStrings:
i'm just a bit dork to explain that.. i can't how means that to spell...

WinStrings:
if the bot wins a match or wins on DM or in TDM, the bot says for example:"Game Over For You.."

LoseStrings:
if the bot loses a match or loses on DM or in TDM, the bot says for example:"now The Evil Souls are not comming for you... \chForever...."
sorry if i have a bad english.. i've just telled all about to create a bot.. more info can be added with separate things and more about to create a bot for us.

Moar Things that Samuzero said:
Samuzero15tlh wrote: Seriously did'nt know that? :o

OK so because you're supposed to explain the properties, I will explain them in a nutshell.
Spoiler: In BotInfo (Open)
Name: Of course the name of your bot.
Script The script of this bot. Check _BOTLUMP to see the predefined scripts.
Skin: Name of the skin for the bot.
Gender: Male, Female or Neither.
Class: The class for the bot.
Color: The color of the skin for the bot.
Revealed: True or False, this is when you pick up the bot from the bot selection.
Acurracy: How presice is the bot. In a scale of 0 to 4.
Evade: How quick is the bot. In a scale of 0 to 4.
Intellect: How smart is the bot?. In a scale of 0 to 4.
Anticipation: The way that anticipates the hitscanshots. In a scale of 0 to 4.
ReactionTime: Is this guy quick enough to react? In a scale of 0 to 4.
Perception: How good it is to detect any enemy? In a scale of 0 to 4.
Chatlump: The script of the chat for the bot.
ChatFrequency: How chatty it is? From 1 to 100.
FavoriteWeapon: The weapon what it tries to get it no matter what.
RailColor: The color of the rail when using the railgun.
Spoiler: In the chat info (Open)
[IntroStrings] When the bot enters in the game.
[FragStrings] When the bot makes a frag.
[KilledStrings] When the bot is killed or dies.
[RoamingStrings] When the bot is searching or doing absolutly nothing.
[RareRoamingStrings] Same as the adove but saying it in rare times.
[EnragedStrings] When the bot is annoyed or just pissed off.
[DemoralizedStrings] When the bot is confused, surprised or offended.
[WinStrings] When the bot (or the team with the bot) wins the game.
[LoseStrings] Same but in the opposite way.

Example:
[WinStrings]
"GG!"
"OMG Mom get the camera!!! Mommy!!!"
"Ha-Ha!!"
"Weeeee are the champions my friend!!!"
"Git gud"

Warning: The more string you place, the more lagg you make. (In excesive way)
BotInfo in zdoom wiki.

You can add a bot inside of a skin if wou want :D
Last edited by Matiu on Sat Dec 26, 2015 3:36 am, edited 1 time in total.
Current FS member (ZDaemon), former GOH member, former SNS Staff and former ZDaemon Discord Admin.
Youtube Channel | Matiu's Purple World | Instagram | Twitter
Image

User avatar
Slim
Zandrone
Posts: 1112
Joined: Sat Mar 16, 2013 7:11 am
Location: Zero Space
Clan: Can't fit it in here
Clan Tag: -=FSR=-
Contact:

RE: How to create a Bot (only works on DM and Duels)

#2

Post by Slim » Tue Dec 01, 2015 10:52 pm

Nice, I'm sure some people didn't know how to make a bot with/without a skin.

Not that many people play with bots, but nice to have anyway.
Image

"Your childish antics grow tiring. If you dare to fight me, then I accept your challenge: Anytime, anywhere." - Zero, Megaman X5
Spoiler: Quotes (Open)
5:54 PM - Slim: you're complaining about something so small that
5:54 PM - Lance: so? we do that all the time
5:55 PM - Lance: we're a bunch of losers complaining at a bar minus the bar
Spoiler: Galactus tried evading (Open)
Image

Samuzero15tlh
Forum Regular
Posts: 257
Joined: Wed Sep 09, 2015 2:21 pm
Location: In home, sweet Home
Clan Tag: <skr>

RE: How to create a Bot (only works on DM and Duels)

#3

Post by Samuzero15tlh » Sun Dec 13, 2015 3:08 am

Seriously did'nt know that? :o

OK so because you're supposed to explain the properties, I will explain them in a nutshell.
Spoiler: In BotInfo (Open)
Name: Of course the name of your bot.
Script The script of this bot. Check _BOTLUMP to see the predefined scripts.
Skin: Name of the skin for the bot.
Gender: Male, Female or Neither.
Class: The class for the bot.
Color: The color of the skin for the bot.
Revealed: True or False, this is when you pick up the bot from the bot selection.
Acurracy: How presice is the bot. In a scale of 0 to 4.
Evade: How quick is the bot. In a scale of 0 to 4.
Intellect: How smart is the bot?. In a scale of 0 to 4.
Anticipation: The way that anticipates the hitscanshots. In a scale of 0 to 4.
ReactionTime: Is this guy quick enough to react? In a scale of 0 to 4.
Perception: How good it is to detect any enemy? In a scale of 0 to 4.
Chatlump: The script of the chat for the bot.
ChatFrequency: How chatty it is? From 1 to 100.
FavoriteWeapon: The weapon what it tries to get it no matter what.
RailColor: The color of the rail when using the railgun.
Spoiler: In the chat info (Open)
[IntroStrings] When the bot enters in the game.
[FragStrings] When the bot makes a frag.
[KilledStrings] When the bot is killed or dies.
[RoamingStrings] When the bot is searching or doing absolutly nothing.
[RareRoamingStrings] Same as the adove but saying it in rare times.
[EnragedStrings] When the bot is annoyed or just pissed off.
[DemoralizedStrings] When the bot is confused, surprised or offended.
[WinStrings] When the bot (or the team with the bot) wins the game.
[LoseStrings] Same but in the opposite way.

Example:
[WinStrings]
"GG!"
"OMG Mom get the camera!!! Mommy!!!"
"Ha-Ha!!"
"Weeeee are the champions my friend!!!"
"Git gud"

Warning: The more string you place, the more lagg you make. (In excesive way)
BotInfo in zdoom wiki.

You can add a bot inside of a skin if wou want :D
Everyone wants happiness without pain, but you cant have a rainbow without a rain.

I'm working in the Shotgun Frenzy Plus mod in my free time.
Yes, I have a pet that helps me to build doom projects, the Pack-O-Daemon, ain't it cute?.

Spoiler: My Other zandro stuff! (Open)


Samuzero15tlh

User avatar
NachtIntellect
Forum Regular
Posts: 480
Joined: Mon Jun 11, 2012 9:20 am
Location: Bienenstock, Germany

RE: How to create a Bot (only works on DM and Duels)

#4

Post by NachtIntellect » Sun Dec 13, 2015 3:58 pm

I've actually made my own bot before using Hae-lin's skin, sounds and even some of the code from Demonsteele, not really impressive since quite literally anyone can do it and I took resources from Demonsteele to create it.
Last edited by NachtIntellect on Sun Dec 13, 2015 3:59 pm, edited 1 time in total.
Did you just bite me? Come here, I will bite you back bastard.

Post Reply