Difference between revisions of "Bots:Advanced"
(→Bot Charactaristics) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | {{WIP}} | ||
+ | |||
== Design your own bot == | == Design your own bot == | ||
If you're releasing it map it would be very easy to create a bot for the map. Whenever you map is used on a server, that bot will be able to used. | If you're releasing it map it would be very easy to create a bot for the map. Whenever you map is used on a server, that bot will be able to used. | ||
Line 7: | Line 9: | ||
− | ==Bot | + | ==Bot Characteristics== |
skill 1 | skill 1 | ||
Line 92: | Line 94: | ||
==Inventory weapon weighting (part broke)== | ==Inventory weapon weighting (part broke)== | ||
− | |||
#include "inv.h" | #include "inv.h" | ||
− | |||
− | |||
#define FS_HEALTH 1 | #define FS_HEALTH 1 | ||
− | |||
#define FS_ARMOR 1 | #define FS_ARMOR 1 | ||
− | |||
#define W_KNIFE 1 | #define W_KNIFE 1 | ||
#define W_BERETTA 10 | #define W_BERETTA 10 | ||
− | |||
#define W_DEAGLE 10 | #define W_DEAGLE 10 | ||
− | |||
#define W_SPAS12 10 | #define W_SPAS12 10 | ||
− | |||
#define W_MP5K 10 | #define W_MP5K 10 | ||
− | |||
#define W_UMP45 10 | #define W_UMP45 10 | ||
#define W_G36 10 | #define W_G36 10 | ||
− | |||
#define W_AK103 10 | #define W_AK103 10 | ||
− | |||
#define W_M4 10 | #define W_M4 10 | ||
− | |||
#define W_NEGEV 100 | #define W_NEGEV 100 | ||
− | |||
#define W_PSG1 10 | #define W_PSG1 10 | ||
− | |||
#define W_SR8 10 | #define W_SR8 10 | ||
− | |||
#define W_HK69 1 | #define W_HK69 1 | ||
− | |||
#define W_GRENADE_HE 100 | #define W_GRENADE_HE 100 | ||
− | |||
#define W_GRENADE_SMOKE 1 | #define W_GRENADE_SMOKE 1 | ||
− | |||
− | |||
#define GWW_KNIFE 10 | #define GWW_KNIFE 10 | ||
#define GWW_BERETTA 10 | #define GWW_BERETTA 10 | ||
− | |||
#define GWW_DEAGLE 10 | #define GWW_DEAGLE 10 | ||
− | |||
#define GWW_SPAS12 10 | #define GWW_SPAS12 10 | ||
− | |||
#define GWW_MP5K 10 | #define GWW_MP5K 10 | ||
− | |||
#define GWW_UMP45 10 | #define GWW_UMP45 10 | ||
#define GWW_G36 10 | #define GWW_G36 10 | ||
− | |||
#define GWW_AK103 10 | #define GWW_AK103 10 | ||
− | |||
#define GWW_M4 10 | #define GWW_M4 10 | ||
− | |||
#define GWW_NEGEV 200 | #define GWW_NEGEV 200 | ||
− | |||
#define GWW_PSG1 10 | #define GWW_PSG1 10 | ||
− | |||
#define GWW_SR8 10 | #define GWW_SR8 10 | ||
− | |||
#define GWW_HK69 1 | #define GWW_HK69 1 | ||
− | |||
#define GWW_GRENADE_HE 1 | #define GWW_GRENADE_HE 1 | ||
− | |||
#define GWW_GRENADE_SMOKE 1 | #define GWW_GRENADE_SMOKE 1 | ||
− | |||
− | |||
#define FLAG_WEIGHT 4000 | #define FLAG_WEIGHT 4000 | ||
− | + | #include "bots/gense/fw_items.c" | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | #include "bots/gense/fw_items.c" | ||
== Alternative uses for bots == | == Alternative uses for bots == |
Latest revision as of 17:03, 19 August 2011
This page is work in progress! |
Contents
Design your own bot
If you're releasing it map it would be very easy to create a bot for the map. Whenever you map is used on a server, that bot will be able to used.
You don't have to release a full map in order to create a bot, it can be packed into a pk3 but it's very unlikely it would be used.
Bot Characteristics
skill 1 { CHARACTERISTIC_NAME "azlcmb1" CHARACTERISTIC_GENDER "female" CHARACTERISTIC_ATTACK_SKILL 0.65 CHARACTERISTIC_WEAPONWEIGHTS "bots/ut_azlcmb1_w.c" CHARACTERISTIC_AIM_SKILL 0.45 CHARACTERISTIC_AIM_ACCURACY 0.6 CHARACTERISTIC_VIEW_FACTOR 0.45 CHARACTERISTIC_VIEW_MAXCHANGE 280 CHARACTERISTIC_REACTIONTIME 0.3 CHARACTERISTIC_CHAT_FILE "bots/ut_azlcmb1_t.c" CHARACTERISTIC_CHAT_NAME "azlcmb1" CHARACTERISTIC_CHAT_CPM 600 CHARACTERISTIC_CHAT_INSULT 1.0 CHARACTERISTIC_CHAT_MISC 1.0 CHARACTERISTIC_CHAT_STARTENDLEVEL 1.0 CHARACTERISTIC_CHAT_ENTEREXITGAME 1.0 CHARACTERISTIC_CHAT_KILL 1.0 CHARACTERISTIC_CHAT_DEATH 1.0 CHARACTERISTIC_CHAT_ENEMYSUICIDE 1.0 CHARACTERISTIC_CHAT_HITTALKING 1.0 CHARACTERISTIC_CHAT_HITNODEATH 1.0 CHARACTERISTIC_CHAT_HITNOKILL 1.0 CHARACTERISTIC_CHAT_RANDOM 0.3 CHARACTERISTIC_CHAT_REPLY 0.4 CHARACTERISTIC_CROUCHER 0.3 CHARACTERISTIC_JUMPER 0.25 CHARACTERISTIC_WALKER 0.3 CHARACTERISTIC_WEAPONJUMPING 0.0 CHARACTERISTIC_GRAPPLE_USER 0.0 CHARACTERISTIC_ITEMWEIGHTS "bots/ut_azlcmb1_i.c" CHARACTERISTIC_AGGRESSION 0.2 CHARACTERISTIC_SELFPRESERVATION 1.0 CHARACTERISTIC_VENGEFULNESS 0.1 CHARACTERISTIC_CAMPER 0.1 CHARACTERISTIC_EASY_FRAGGER 0.75 CHARACTERISTIC_ALERTNESS 0.75 CHARACTERISTIC_FIRETHROTTLE 0.2 }
skill 5 { CHARACTERISTIC_NAME "azlcmb1" CHARACTERISTIC_GENDER "female" CHARACTERISTIC_ATTACK_SKILL 1.0 CHARACTERISTIC_WEAPONWEIGHTS "bots/ut_azlcmb1_w.c" CHARACTERISTIC_AIM_SKILL 0.80 CHARACTERISTIC_AIM_ACCURACY 0.85 CHARACTERISTIC_VIEW_FACTOR 0.8 CHARACTERISTIC_VIEW_MAXCHANGE 400 CHARACTERISTIC_REACTIONTIME 0.1 CHARACTERISTIC_CHAT_FILE "bots/ut_azlcmb1_t.c" CHARACTERISTIC_CHAT_NAME "azlcmb1" CHARACTERISTIC_CHAT_CPM 4000 CHARACTERISTIC_CHAT_INSULT 1.0 CHARACTERISTIC_CHAT_MISC 1.0 CHARACTERISTIC_CHAT_STARTENDLEVEL 1.0 CHARACTERISTIC_CHAT_ENTEREXITGAME 1.0 CHARACTERISTIC_CHAT_KILL 1.0 CHARACTERISTIC_CHAT_DEATH 1.0 CHARACTERISTIC_CHAT_ENEMYSUICIDE 1.0 CHARACTERISTIC_CHAT_HITTALKING 1.0 CHARACTERISTIC_CHAT_HITNODEATH 0.8 CHARACTERISTIC_CHAT_HITNOKILL 1.0 CHARACTERISTIC_CHAT_RANDOM 1.0 CHARACTERISTIC_CHAT_REPLY 1.0 CHARACTERISTIC_CROUCHER 0.3 CHARACTERISTIC_JUMPER 0.8 CHARACTERISTIC_WALKER 0.1 CHARACTERISTIC_WEAPONJUMPING 1.0 CHARACTERISTIC_GRAPPLE_USER 1.0 CHARACTERISTIC_ITEMWEIGHTS "bots/ut_azlcmb1_i.c" CHARACTERISTIC_AGGRESSION 2.0 CHARACTERISTIC_SELFPRESERVATION 0.2 CHARACTERISTIC_VENGEFULNESS 1.0 CHARACTERISTIC_CAMPER 1.0 CHARACTERISTIC_EASY_FRAGGER 0.55 CHARACTERISTIC_ALERTNESS 0.95 CHARACTERISTIC_FIRETHROTTLE 0.5 }
Inventory weapon weighting (part broke)
#include "inv.h" #define FS_HEALTH 1 #define FS_ARMOR 1 #define W_KNIFE 1 #define W_BERETTA 10 #define W_DEAGLE 10 #define W_SPAS12 10 #define W_MP5K 10 #define W_UMP45 10 #define W_G36 10 #define W_AK103 10 #define W_M4 10 #define W_NEGEV 100 #define W_PSG1 10 #define W_SR8 10 #define W_HK69 1 #define W_GRENADE_HE 100 #define W_GRENADE_SMOKE 1 #define GWW_KNIFE 10 #define GWW_BERETTA 10 #define GWW_DEAGLE 10 #define GWW_SPAS12 10 #define GWW_MP5K 10 #define GWW_UMP45 10 #define GWW_G36 10 #define GWW_AK103 10 #define GWW_M4 10 #define GWW_NEGEV 200 #define GWW_PSG1 10 #define GWW_SR8 10 #define GWW_HK69 1 #define GWW_GRENADE_HE 1 #define GWW_GRENADE_SMOKE 1 #define FLAG_WEIGHT 4000 #include "bots/gense/fw_items.c"