Soldat Maps & Mapmaking > Bot Forum

Making a bot the original way

<< < (3/3)

El_Spec:

--- Quote from: Chakra on April 16, 2006, 04:08:52 pm ---OnStartUse (Not sure what is this)
--- End quote ---

Its a command to tell the bot what to do when he respawns. 

Type 1 and he'll take a smoke, 2 for take some tobacco, and 3 he'll do nothing.

The post needs to be updated then.

Kavukamari:

--- Quote from: El_Spec on September 30, 2007, 10:22:17 am ---
--- Quote from: Chakra on April 16, 2006, 04:08:52 pm ---OnStartUse (Not sure what is this)
--- End quote ---

Its a command to tell the bot what to do when he respawns. 

Type 1 and he'll take a smoke, 2 for take some tobacco, and 3 he'll do nothing.

The post needs to be updated then.


--- End quote ---
prolly alt commands
maybe the ones saved in Taunts.txt

Skrofler:
Considering the huge amount of errors in the opening post, and the fact that they haven't been corrected in two years, this topic should definately not be stickied.

STM1993:
Well, ya this thing is pretty outdated with many mistakes (back in 2003, posted by lava). I'll just point out some that can be corrected for now, in red:


--- Quote from: Chakra on April 16, 2006, 04:08:52 pm ---Here's a description of what each line actually means.

Name (Add the name of the bot.)
Color1 (Shirt colour)
Color2 (Pants colour)
Skin color (The skin color.)
Hair color (The hair color.)



Favourite weapon (The bot favourite weapon. If the weapon is a primary weapon, he would tend to use this gun more often. If the weapon is a secondary weapon, he will ALWAYS use that secondary weapon, unless it is a Socom, in which the Bot would randomly choose a primary weapon. If it is a special weapon like Flamer, he may use it once in a while, or he would use a default primary weapon. Here is a list of weapons.)

Main guns.
|Add this names
Deagles - Desert Eagles
HK MP5 - HK MP5
Ak-74 - Ak-74
Steyr - Steyr AUG
Spas - Spas-12
Ruger - Ruger 77
M79 - M79
Barret - Barret M82A1
Minimi - FN Minimi
Minigun - XM214 Minigun

Secondary
Hands - Hands
USSoccom - Socom
Combat Knife - Combat Knife
Chainsaw - Chainsaw
M72Law - LAW

You can also make him use Rambo Bow or Flamer or Flamed Arrows, go and find out what names they are called.



Secondary Weapon
Secondary_Weapon=0 (Has a Socom)
Secondary_Weapon=1 (Has a Knife)
Secondary_Weapon=2 (Has a Saw)
Secondary_Weapon=3 (Has a LAW)

Friend (Add a name here that the bot will not shoot him.)

OnStartUse (When the bot first spawns, he will do this action. I'm not sure of the numbers, go modify a bot with a bot maker, then come back and take a look yourself)

Accuracy (0 is the best accuracy, I think 100 is the worst)
Shoot_Dead (Add 1 or 0. 1 the bot will shoot dead body's. 0 will not shoot.)
Grenade_Frequency (1000 = doesn't throw. 0 = always throws)
Camping (255 = camper. 125 = Half Camping. 0 = not camping)
Hair (Use from 1 to 3 number on this one.)
Headgear (Use 1 or 2 on this one)
Chain (Use 1 or 2 on this one. 0 takes of the chain)
Chat_Frequency (100 = doesn't talk. 0 = talks like crazy)
Chat_Kill (Add taunt when the bot will kill someone. ex: Hahaha got you, Go to a newbie server.)
Chat_Dead (Add taunt when the bot will be killed. Ex: LAAAAAAAAAAAG! , What the f###, Killed by n00b :()
Chat_Lowhealth (Add taunt when the bot is on low health. Ex: Where is the freakin medic?, MEDIC, I am bleeding like hell.)
Chat_SeeEnemy (Add taunt when the bot will see someone. ex Run because the masta is coming., Enemy spooted, Die b###h.)
Chat_Winning (Add taunt when the bot is winning. Ex: You all suck, Beaten by the masta, I am winning.)
NOTE: Only one message allowed.


The colors of the bot.

The bot use only coded colors. like the up one.
I will soon update some colors.
NOTE: Don't put color names like red, green, white, blue because the bots will not work.

Saving the bot.

Save the bots like this.

Botname.bot

"Botname" is the name of the bot, and '.bot' is the file type.


Topic was originally posted by lava in early 2003. Could do with some updating!


--- End quote ---

Costa:
Nice improvement!

Navigation

[0] Message Index

[*] Previous page

Go to full version