Advanced Search

Author Topic: [TUTORIAL] How to Make Your Own Bots  (Read 59659 times)

0 Members and 1 Guest are viewing this topic.

July 12, 2010, 01:33:25 AM
Read 59659 times

Offline squidgy617

  • MM8BDM Contributor
  • ***
  • Date Registered: February 26, 2010, 12:02:29 AM

    • View Profile
[TUTORIAL] How to Make Your Own Bots
« on: July 12, 2010, 01:33:25 AM »
Well, several people have asked this, and after experimenting, I know how! Overall, its pretty easy, and quite entertaining. Remember to save often. Also, a skin of the bot you are making must be in your skins folder. You'll need SlumpEd. First, using SlumpEd, create a new .wad. First, add a lump called BOT"insertbotname here", for example, BOTMFAN, for my Fan skin. You do not have to put this in if your bot doesn't talk. Put this in there:
Code: [Select]
[IntroStrings]
"TEXT"

[FragStrings]
"TEXT"

[KilledStrings]
"TEXT"

[RoamingStrings]
"TEXT"

[EnragedStrings]
"TEXT"

[WinStrings]
"TEXT"

[LoseStrings]
"TEXT HERE"
IntroStrings are for when the game begins, FragStrings are for when they frag someone, KilledStrings are for when they are killed, RoamingStrings are for when they are just walking around, EnragedStrings are for when they become angered, WinStrings are for when they win, and LoseStrings are for when they lose, obviously.
You can take out lines and add more, as well as replace each line with what you want.
Some special lines to use:
$player_random_notself - Say the name of a random player other than itself.
$player_killed - Say the name of the player the bot killed last.
$player_killedby - Say the name of the player who killed it last.
$player_inlead - player who's winning
$player_lastplace - player who's last
Now, create a lump called BOTINFO. Paste the code below and edit it as desired.
Code: [Select]
{
name = "\cnMegaman"
accuracy = 4
intellect = 3
evade = 2
anticipation = 1
reactiontime = 2
perception = 1
favoriteweapon = "MegaBusterWep"
color = "00 00 00"
gender = "male"
skin = "Base"
class = "Megaman"
revealed = true
script = "humanbot"
chatlump = BOTMEGA
chatfrequency = 50
}
Here are some things to replace. First, change the skin name to whatever you called the skin in the skins folder.. Make the name whatever you want, the \c[letter] is just for color changing. Here's a guide to what each letter after the c will change the name color to. The only other thing to change is the chatfrequency, which only changes how much they talk. I would use either 50 or 0, for "talk or don't talk", basically. Also, change the BOTMEGA to the name of your bots chat lump, obviously.
To use the bot, open up the launcher and click "add file". Find the bot you want to use and voila! You're bot is in-game.
So, that's how you make a bot. Now, just open up the game, go to Offline Skirmish, and see if your bots worked. You can add as many bots as you want, so have fun!

July 12, 2010, 03:50:42 AM
Reply #1

Offline Korby

  • Global Moderator

  • Benvenuto nella room italiana!
  • ************
  • Date Registered: March 04, 2010, 03:36:02 AM

    • View Profile
    • Korby Games
Re: How to Make Your Own Bots
« Reply #1 on: July 12, 2010, 03:50:42 AM »
Cool. Battling Galaxyman to the death is pretty fun.

July 12, 2010, 06:41:29 AM
Reply #2

Anonymous

  • Guest
Re: How to Make Your Own Bots
« Reply #2 on: July 12, 2010, 06:41:29 AM »
Nice info, thanks. :)

I'm just wondering though, is there a list on what letters generate what colors in the c[letter] thing? I've been searching for it to no avail... ^^;

July 12, 2010, 11:06:21 AM
Reply #3

Offline TERRORsphere

  • MM8BDM Contributor
  • ****
  • Date Registered: August 22, 2009, 08:45:17 PM

    • View Profile
    • http://www.youtube.com/user/DoomThroughDoom
Re: How to Make Your Own Bots
« Reply #3 on: July 12, 2010, 11:06:21 AM »
Quote from: "2128Kite"
Nice info, thanks. :)

I'm just wondering though, is there a list on what letters generate what colors in the c[letter] thing? I've been searching for it to no avail... ^^;
http://cutstuff.net/forum/viewtopic.php?f=6&t=505


July 12, 2010, 11:48:21 AM
Reply #4

Offline CutmanMike

  • Administrator

  • :dozercool:
  • ******
  • Date Registered: December 17, 2008, 12:24:34 PM

    • View Profile
    • https://cutstuff.net
Re: [TUTORIAL] How to Make Your Own Bots
« Reply #4 on: July 12, 2010, 11:48:21 AM »
Haha, cool little image that. Might put that on the ZDoom wiki, I always head there to remember the codes  :cool:

July 12, 2010, 12:30:24 PM
Reply #5

Offline TERRORsphere

  • MM8BDM Contributor
  • ****
  • Date Registered: August 22, 2009, 08:45:17 PM

    • View Profile
    • http://www.youtube.com/user/DoomThroughDoom
Re: [TUTORIAL] How to Make Your Own Bots
« Reply #5 on: July 12, 2010, 12:30:24 PM »
It lacks "C" but you can remember that's white, right? (I'm a poet and I didn't know it)

July 12, 2010, 03:06:48 PM
Reply #6

Offline squidgy617

  • MM8BDM Contributor
  • ***
  • Date Registered: February 26, 2010, 12:02:29 AM

    • View Profile
Re: [TUTORIAL] How to Make Your Own Bots
« Reply #6 on: July 12, 2010, 03:06:48 PM »
Oh yeah, just remembered. When the full version comes out, if you want to keep your Bots, you can just use the Export button to export the BOTname and BOTINFO files, then import them into the full .pk3.

July 12, 2010, 03:07:56 PM
Reply #7

Offline CutmanMike

  • Administrator

  • :dozercool:
  • ******
  • Date Registered: December 17, 2008, 12:24:34 PM

    • View Profile
    • https://cutstuff.net
Re: [TUTORIAL] How to Make Your Own Bots
« Reply #7 on: July 12, 2010, 03:07:56 PM »
I think you can put them in skin files too if I remember correctly

July 12, 2010, 03:49:28 PM
Reply #8

Offline squidgy617

  • MM8BDM Contributor
  • ***
  • Date Registered: February 26, 2010, 12:02:29 AM

    • View Profile
Re: [TUTORIAL] How to Make Your Own Bots
« Reply #8 on: July 12, 2010, 03:49:28 PM »
The first time I attempted making a bot I tried it, but it didn't work. I could've messed something else up though, so its possible.

@Korby: You should release the Galaxyman skin :D

July 13, 2010, 01:39:08 AM
Reply #9

Offline Korby

  • Global Moderator

  • Benvenuto nella room italiana!
  • ************
  • Date Registered: March 04, 2010, 03:36:02 AM

    • View Profile
    • Korby Games
Re: [TUTORIAL] How to Make Your Own Bots
« Reply #9 on: July 13, 2010, 01:39:08 AM »
Quote from: "squidgy617"
@Korby: You should release the Galaxyman skin :D
I would, but it doesn't look too good when he switches to weapons with white as the secondary color, and the fact that I didn't make the sprites :V.

July 16, 2010, 03:40:29 AM
Reply #10

Offline brawlman9876

  • MM8BDM Extender
  • **
  • Date Registered: March 13, 2010, 03:21:20 AM

    • View Profile
Re: [TUTORIAL] How to Make Your Own Bots
« Reply #10 on: July 16, 2010, 03:40:29 AM »
ok just a quick question (yay im going to sound really stupid saying this, YAY BEING NEW  :| ) anyway what if you didnt make the skin....then it dosnt show up there so how would you make the bot? it confuses me....i was going to make an awesome bumomoing devil.....

July 16, 2010, 01:41:17 PM
Reply #11

Offline squidgy617

  • MM8BDM Contributor
  • ***
  • Date Registered: February 26, 2010, 12:02:29 AM

    • View Profile
Re: [TUTORIAL] How to Make Your Own Bots
« Reply #11 on: July 16, 2010, 01:41:17 PM »
Okay, so does the skin show up on your skin select screen? If not, then you downloaded it wrong.

If so, then you have to name the skin correctly in BOTINFO. My Yellow Devil skin is called "Yellow Devil", so that's what you'd put to make that.

July 16, 2010, 02:18:50 PM
Reply #12

Offline brawlman9876

  • MM8BDM Extender
  • **
  • Date Registered: March 13, 2010, 03:21:20 AM

    • View Profile
Re: [TUTORIAL] How to Make Your Own Bots
« Reply #12 on: July 16, 2010, 02:18:50 PM »
In game it shows up perfectly fine, but its not in MM8BDM-SGC so how would i be able to like transfer it over? i tried doing it, but when i try to load the game it just goes to an error or does that not matter and im DOING IT WRONG!

July 16, 2010, 02:22:03 PM
Reply #13

Offline squidgy617

  • MM8BDM Contributor
  • ***
  • Date Registered: February 26, 2010, 12:02:29 AM

    • View Profile
Re: [TUTORIAL] How to Make Your Own Bots
« Reply #13 on: July 16, 2010, 02:22:03 PM »
You don't need to put the skin in MM8BDM-SGC.pk3. If its in your skins folder, it will work. That's all you have to do.

Test it and let me know if it works.

July 16, 2010, 02:35:02 PM
Reply #14

Offline brawlman9876

  • MM8BDM Extender
  • **
  • Date Registered: March 13, 2010, 03:21:20 AM

    • View Profile
Re: [TUTORIAL] How to Make Your Own Bots
« Reply #14 on: July 16, 2010, 02:35:02 PM »
and it works perfectly fine YAY and boo at the same time, cuz my first attempt i did the exact same thing. only for some reason it stayed as the base bot. and my second attempt failed miserably. thanks for the help! Bumomomomo!