搜索
楼主: 我是新手

[AMXX 带源码] 已解决利用插件完美实现服务器机器人的远程控制

[复制链接]
发表于 2009-3-4 15:52:08 | 显示全部楼层 来自 中国–广东–广州
挺好的,有个问题,怎么把机器人名字不显示前面的[POD]
回复

使用道具 举报

发表于 2009-3-4 15:52:27 | 显示全部楼层 来自 中国–广东–广州
怎么不让机器人说话?
回复

使用道具 举报

 楼主| 发表于 2009-3-4 16:03:55 | 显示全部楼层 来自 中国–甘肃–兰州
挺好的,有个问题,怎么把机器人名字不显示前面的[POD]
dongtianbao 发表于 2009-3-4 15:52

.....\addons\podbot里有个podbot.cfg中可以更改。原文如下:(部分重要的我已翻译并更改,你可直接复制过去,机器人名前就没“POD”的前缀了,其他你自己改吧)


# This is the Pod-Bot Config File (for HL Counter-Strike)
#
# Any line begining with '#' in the first column is a comment line
#
# Make sure no Line exceeds 80 Characters !!!
#
# The following commands are supported in the bot.cfg file:
#
# All arguments in square Brackets are optional if you don't
# specify them a random value will be chosen
#
# pause <timeout> - pause for the specified number of seconds before
#      continuing with the commands in the bot.cfg file.
#
# min_bots <value> - configure the minimum number of bots that will run
#      on this dedicated server.
#
# max_bots <value> - configure the maximum number of bots that will run
#      on this dedicated server.
#
# minbotskill <value> - Sets the minimum Skill if Bots are created without
#                        specifying the Skill (0-100)
# maxbotskill <value> - Sets the maximum Skill if Bots are created without
#                        specifying the Skill. Must be bigger than minbotskill
#                        of course !
#
botchat 0 - Turns on/off Botchatting. Bots chat if they killed
#                    someone, if the Bomb was planted or if they are dead
#                    and bored. NOTICE: BotChat.txt must be there even if
#                     Botchat is turned off !
#
# addbot [skill] [team] [name] - Adds a Bot using a Skill from 0-100,
#      team is 1 for Terrorists, 2 for Counter Terrorists and 5 to
#      use auto-assign, name is of course the name for this Bot
#      If you don't specify the arguments, a random skill will be
#      chosen and the Bot will be auto-assigned with a Name he chooses
#      randomly from "Botnames.txt". You can edit this File to add some
#      names you like better ! NOTICE: Don't delete BotChat.txt ! It will
#      be used !
#
#
# jasonmode <on|off> - Turns on/off Jason Mode ! Meaning Bots don't buy
#                       weapons and only use the knife for combat ! Greets
#                       to Auxois ! (Thanks for hosting btw.) Use this for
#                       much fun with e.a. cs_estate or cs_office
#
#
# wptfolder <folder> - Sets the default Folder for loading/saving Waypoint
#                       Files. This folder HAS to be inside the POD-Bot
#                       Directory ! Don't put it into quotation marks and
#                       don't use spaces or a trailing backslash !
#
detailnames off - Turns on/off the Skilldisplay behind names and the
#                         [POD] before the name
#
# inhumanturns <on|off> - If you think that a Skill 100 Bot is too weak for
#                          you, you can turn this on to have that unfair
#                          turning from previous versions again. Note that
#                          this overrides the turn amounts in botskill.cfg
#
# botsfollowuser <number> - Sets the maximum number of Bots in the team to
#                            follow the same user (when Radio Command
#                            "Follow Me" is used). Default is 3
#                           #机器人跟随玩家的最大数量
# maxweaponpickup <number> - Sets the maximum number of weapons Bots are
#                             allowed to pickup during a round
#                           # 指定bot最大捡枪次数,建议越大越好
# collectexperience <on|off> - Turn this on/off to allow the Bots collecting
#                               experience about the map they're playing
#                               (turning this off also prevents saving the
#                               .exp Files)(PodBot经验积累。占用一定系统资源,建议关掉)
#
# shootthruwalls <on|off> - This Variable specifies if Bots are allowed to
#                            shoot through Walls if they saw an enemy or if
#                            they heard someone on the other Side of a Wall
#
# usespeech <on|off> -        Turns on/off usage of HL Engine Speech Synthesis

# This sets the Waypoint Folder (in the POD-Bot Directory)
# for loading/saving waypoints. Don't use a trailing backslash or spaces.
# This doesn't work for the first game you create (default is wptdefault).
# But when creating for the second time (or loading with newmap) this
# directory will be used.
// 路点所在文件夹
wptfolder wptdefault

# Set the below option to off to turn off the Skilldisplay and
# the [POD] before the name
#是否开启机器人名字细节
detailnames off  

# wait for 3 seconds
#游戏开始3秒后自动添加机器人,通过修改后面的数字修改电脑自动加入PodBot的时间。
# pause 3

# Set the below value to delay bots re-join after new map start
mapstartbotdelay 6

# Shows the welcome message. Switch it to off if You want the people on the
# server won't know there are some bots on the server
welcome_msgs on

# Remove the comments on the 2 lines below to support a minimum and maximum
# number of bots running on a dedicated server.  Bots will be added to the
# server until the total number of players (bots and humans) reaches the
# max_bots value.  Each time a new player joins the server, a bot will be
# kicked from the server unless there are only min_bots number of bots
# currently on the server.  After players disconnect from the server, bots
# will be automatically added back to the server until the total number
# of players reaches max_bots again.  You should make max_bots be AT LEAST
# one less than the maxplayers value (otherwise no one will be able to join
# your server).
机器人的最少和最多数量限制,如果加#的话则没有限制
min_bots 0
max_bots 16

# Remove the Comments on the Line below to turn off Botchatting
#机器人聊天
#botchat off

# Remove the Comments on the Line below to turn on Jason Mode !
#砍刀模式:所有机器人都只用刀
#jasonmode on

# Remove the Comments on the Line below to add Bots that have at least
# a Skill of 60
#机器人最小技能值
minbotskill 99

# Remove the Comments on the Line below to limit Bots to the specified
# skill
#机器人最大技能值
maxbotskill 100

# Set the below option to on if you want the old combat behaviour
# of instantly turning around to the enemy
#如果你认为100级的电脑很菜就把这个选项打开
inhumanturns off

# This value sets the maximum number of Bots to follow a
# User
#机器人跟随玩家的最大数量
botsfollowuser 32

# This value sets the maximum number of weapons Bots are allowed to
# pickup during one round
#机器人最大拣枪次数
maxweaponpickup 30

# This Variable specifies if Bots are allowed to shoot through Walls
# if they saw an enemy or if they heard someone on the other Side of
# a Wall (additional Settings are specified in "botskill.cfg")
#机器人是否可以穿墙
shootthruwalls on

# These Settings below specify the Rate (in Seconds) of updating
# some of the Bot Checks. If you've got a slow computer you could
# try changing these to higher values to get some performance back.
# NOTE: This seriously affects the Bots Perception. If you have a
# fast computer you might try lowering them to get better even
# better playing results
// 机器人对声音、捡枪、扔雷的最大反应时间 单位 秒
// 如果计算比性能不好的话请增大这些数值, 反之减小
timer_sound 0.1
timer_pickup 0.1
timer_grenade 0.1

# Use this to turn on/off the Speech Synthesis
#开启/关闭发出团队命令
usespeech off

# Set this to off to disallow Bot Logo Spraying
#是否允许电脑喷logo
botspray on

# The setting below specifies the danger factor with which the bots
# will weighten any waypoint where they have been killed in the past,
# in order to avoid it later. The higher the value, the more the bot
# will care about these waypoints and pick other routes instead.
# Progression is logarithmic. Warning: higher values require more CPU.
danger_factor 800

# Remove the comments on the lines below to have Bots
# join automatically if you start a new map

//加入机器人addbot
addbot
addbot
addbot
addbot
addbot
addbot
addbot
addbot
addbot

# The line below binds the User Menu to the "=" key. Of course you
# can bind this to any key you like.
#绑定"["为机器人菜单
bind "[" "podbotmenu"
回复

使用道具 举报

 楼主| 发表于 2009-3-4 16:06:04 | 显示全部楼层 来自 中国–甘肃–兰州
怎么不让机器人说话?
dongtianbao 发表于 2009-3-4 15:52

请参看我在楼上的回复,PODBOT.cfg中就可以更改
回复

使用道具 举报

发表于 2009-3-4 16:42:49 | 显示全部楼层 来自 中国–陕西–西安
好东西谢谢分享!
回复

使用道具 举报

发表于 2009-3-5 00:55:50 | 显示全部楼层 来自 中国–广东–珠海
今天来到再顶你一个。用过一定再回来说说情况的。
回复

使用道具 举报

发表于 2009-3-5 09:24:54 | 显示全部楼层 来自 中国–北京–北京
真实太有才了~
回复

使用道具 举报

发表于 2009-3-6 13:34:59 | 显示全部楼层 来自 中国–江苏–苏州
好东西,就是贵了。没钱。能设置1币吗?对你的劳动成果给予认可,也给没钱的兄弟帮助
回复

使用道具 举报

发表于 2009-3-10 11:27:31 | 显示全部楼层 来自 中国–广东–珠海
怎么机器人只加到9个就不会再添加了?郁闷了。。。。
回复

使用道具 举报

发表于 2009-3-10 13:03:48 | 显示全部楼层 来自 中国–广东–广州–番禺区
addpot


.........
回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

快速回复 返回顶部 返回列表