苏联装甲师吧 关注:622贴子:24,396

【邪恶无耻的叛徒】关于cs1.6,2.0的BOT设定

只看楼主收藏回复

在这个贴吧发一个


IP属地:上海1楼2014-08-01 10:43回复
    首先关于机器人的设定
    在更目录下的cstrike 文件夹中


    IP属地:上海2楼2014-08-01 10:44
    回复
      2025-12-07 20:18:23
      广告
      不感兴趣
      开通SVIP免广告
      然后找到BOTProfile,用记事本打开该文件


      IP属地:上海3楼2014-08-01 10:45
      回复
        可以看到该界面,但这些英文就是 cs的BOT 设定
        掌握之后你可以随意创造自己的BOT!


        IP属地:上海4楼2014-08-01 10:47
        回复
          首先在上面显示————
          //----------------------------------------------------------------------------
          // BotProfile.db
          // Author: Michael S. Booth, Turtle Rock Studios (http://www.turtlerockstudios.com)
          //
          // This database defines bot "personalities".
          // Feel free to edit it and define your own bots.
          //
          //----------------------------------------------------------------------------
          //
          // All profiles begin with this data and overwrite their own
          //
          Default
          Skill = 80
          Aggression = 100
          ReactionTime = 0.1
          AttackDelay = 0
          Teamwork = 100
          WeaponPreference = none
          Cost = 3
          Difficulty = HARD
          VoicePitch = 85
          Skin = 0
          End
          //----------------------------------------------------------------------------
          //
          // These templates inherit from Default and override with their values
          // The name of the template defines a type that is used by individual bot profiles
          //
          这些不用鸟他,没用的


          IP属地:上海5楼2014-08-01 10:49
          回复
            接下来进入重点,这些显示的是 BOT的武器设定
            //----------------------------------------------------------------------------
            //
            // These templates inherit from Default and override with their values
            // The name of the template defines a type that is used by individual bot profiles
            //
            // weapon preference templates
            Template Rifle 喜好m4的BOT
            WeaponPreference = m4a1
            WeaponPreference = ak47
            WeaponPreference = famas
            WeaponPreference = galil
            WeaponPreference = mp5
            End
            Template RifleT 喜好ak的BOT
            WeaponPreference = ak47
            WeaponPreference = m4a1
            WeaponPreference = galil
            WeaponPreference = famas
            WeaponPreference = mp5
            End
            Template Punch 喜好aug的BOT
            WeaponPreference = aug
            WeaponPreference = sg552
            WeaponPreference = famas
            WeaponPreference = galil
            WeaponPreference = mp5
            End
            Template PunchT 喜好sg552的BOT
            WeaponPreference = sg552
            WeaponPreference = aug
            WeaponPreference = famas
            WeaponPreference = galil
            WeaponPreference = mp5
            End
            Template Sniper 喜好awp的狙击手
            WeaponPreference = awp
            WeaponPreference = sg550
            WeaponPreference = g3sg1
            WeaponPreference = scout
            WeaponPreference = famas
            WeaponPreference = galil
            WeaponPreference = mp5
            End
            Template Power 喜好m249的机枪手
            WeaponPreference = m249
            WeaponPreference = xm1014
            WeaponPreference = m3
            WeaponPreference = famas
            WeaponPreference = galil
            WeaponPreference = mp5
            End
            Template Shotgun 喜好喷子的疯子
            WeaponPreference = xm1014
            WeaponPreference = m3
            WeaponPreference = famas
            WeaponPreference = galil
            WeaponPreference = mp5
            End
            Template Shield 喜好盾牌的无赖
            WeaponPreference = shield
            WeaponPreference = m4a1// in case shield is disallowed(盾牌被禁止使用后,转为m4)
            WeaponPreference = ak47
            WeaponPreference = famas
            WeaponPreference = galil
            WeaponPreference = mp5
            End
            Template Spray 喜好p90的冲锋兵
            WeaponPreference = p90
            WeaponPreference = mp5
            WeaponPreference = tmp
            WeaponPreference = mac10
            End


            IP属地:上海8楼2014-08-01 11:12
            回复
              最上面为BOT最喜欢用的武器。
              当买不起(或无法使用)该武器时,BOT就会自动转而使用下一种武器
              举例详细说明————
              Template Rifle 善用来复枪(m4a1)的BOT,(但土匪买不了m4,就会用第二武器ak)
              WeaponPreference = m4a1 第一武器为m4a1(如果他是T匪拿着ak,看到地上的m4后就会扔掉ak换m4)
              WeaponPreference = ak47 第二武器为ak47
              WeaponPreference = famas 第三武器为famas(买不起m4、ak后,电脑就会买这把枪)
              WeaponPreference = galil 第四武器为galil (同famas,买不起是的选择)
              WeaponPreference = mp5 第五武器为 MP5 (买不起上述武器时买,如果连mp5都买不起,BOT就用手枪了)
              End
              Template RifleT 善用来福枪(ak)的BOT,但CT买不了ak,就会用第二武器m4
              WeaponPreference = ak47 第一武器为ak47(如果他是CT匪拿着m4,看到地上的ak后就会扔掉m4换ak)
              WeaponPreference = m4a1 第二武器为m4a1
              WeaponPreference = galil 第三为galil
              WeaponPreference = famas 第四famas
              WeaponPreference = mp5 第五武器mp5
              End


              IP属地:上海9楼2014-08-01 11:15
              回复
                接下来的这些是————电脑的难度设定
                加BOT时,可以发现BOT 分简单 中等 困难 专家 4个等级
                其实不然,从接下来的数据可以得知,BOt 其实有 8个等级!
                // skill templates
                Template Elite (精英级别,最高难度)
                Skill = 100
                Aggression = 100
                ReactionTime = 0.2
                Cost = 4
                Difficulty = EXPERT (只会在玩家选专家级别才有可能出现)
                VoicePitch = 85
                End
                Template Expert (专家级别,第二难度)
                Skill = 90
                Aggression = 90
                ReactionTime = 0.2
                Cost = 4
                Difficulty = EXPERT (在玩家选专家级别时出现)
                VoicePitch = 88
                End
                Template VeryHard (非常困难级,第三难度)
                Skill = 80
                Aggression = 80
                ReactionTime = 0.25
                Cost = 3
                Difficulty = HARD (在玩家选困难级是出现)
                VoicePitch = 92
                End
                Template Hard (困难级,第四难度)
                Skill = 75
                Aggression = 75
                ReactionTime = 0.25
                Cost = 3
                Difficulty = HARD (选困难级时出现)
                VoicePitch = 94
                End
                Template Tough (老练级,第五难度)
                Skill = 60
                Aggression = 60
                ReactionTime = 0.3
                AttackDelay = 0.35
                Cost = 2
                Difficulty = NORMAL+HARD (选 中等,困难级是都有可能出现)
                VoicePitch = 96
                End
                Template Normal (普通级)
                Skill = 50
                Aggression = 50
                ReactionTime = 0.4
                AttackDelay = 0.7
                Cost = 2
                Difficulty = NORMAL (选中等级别时出现)
                End
                Template Fair (公平级)
                Skill = 25
                Aggression = 30
                ReactionTime = 0.4
                AttackDelay = 1.0
                Cost = 1
                Difficulty = EASY+NORMAL (选简单,中等级别时都有可能出现)
                VoicePitch = 105
                End
                Template Easy (简单级)
                Skill = 0
                Aggression = 20
                ReactionTime = 0.5
                AttackDelay = 1.5
                Cost = 1
                Difficulty = EASY (选简单及时出现)
                VoicePitch = 110
                End


                IP属地:上海10楼2014-08-01 11:23
                回复
                  2025-12-07 20:12:23
                  广告
                  不感兴趣
                  开通SVIP免广告
                  那么其他属性是说什么的哪?
                  这里详细说明下
                  skill:枪法———— BOT使用武器的能力。此属性越高,BOT枪法越BT。而且高技巧的BOT貌似还会尝试躲闪敌方射出的子弹,而不会傻傻的站着对射
                  Aggression:勇气(或侵略)———— 经常看到有些BOT逃避敌人,或龟缩在一个地方不敢进攻,这是勇气属性低的表现。此属性越高,BOT的侵略性越强!胆子越大,越会发起凶猛的进攻!
                  ReactionTime:反应时间————电脑发现敌人到做出反应所需时间:此属性越小,BOT反应越快
                  AttackDelay :攻击延迟————电脑做出反应后,离开始攻击所需的时间。此属性越大,电脑越呆板
                  Cost:别管他,没用的
                  VoicePitch:此属性越大,电脑说话时声音越尖,没什么大用。
                  详细举例:
                  Template Elite (精英级别,最高难度)
                  Skill = 100 (枪法100,几乎弹无虚发)
                  Aggression = 100 (勇气100,极具侵略性,进攻时凶猛无比,很少退缩)
                  ReactionTime = 0.2 (发现敌人到做出反应只需短短0.2秒)
                  Cost = 4
                  Difficulty = EXPERT (只会在玩家选专家级别才有可能出现)
                  VoicePitch = 85
                  End
                  注:Elite电脑没有AttackDelay(攻击延迟)。发现敌人0.2秒后开枪
                  Template Easy (简单级)
                  Skill = 0(枪法为0,让子弹飞吧)
                  Aggression = 20(胆小如鼠,进攻时犹豫不决)
                  ReactionTime = 0.5(看见或听见敌人后0.5秒做出反应)
                  AttackDelay = 1.5(做出反应后过1.5秒开枪)
                  Cost = 1
                  Difficulty = EASY (选简单及时出现)
                  VoicePitch = 110
                  End
                  注:Easy电脑发动攻击的时间=反应时间+攻击延迟。也就是看见敌人后要过2秒才会开枪。
                  也就是————(视野中出现敌人,过了0.5秒)哦,那有个敌人!!我接下来该做什么?
                  (又过了1.5秒)哦,我应该开枪!!(开始攻击)


                  IP属地:上海11楼2014-08-01 11:42
                  回复
                    刚才介绍了 武器模板和难度模板
                    将这两种模板按一定格式组合,再加上名字就可已生成BOT了!!
                    //----------------------------------------------------------------------------
                    //
                    // These are the individual bot profiles, which inherit first from
                    // Default and then the specified Template(s), in order
                    //
                    Elite+Rifle Cliffe
                    Skin = 1
                    VoicePitch = 95
                    End
                    Elite+Spray Minh
                    Skin = 2
                    VoicePitch = 105
                    End
                    Elite+Shotgun Crusher
                    Skin = 4
                    VoicePitch = 84
                    End
                    Elite+Punch Pheonix
                    Skin = 4
                    VoicePitch = 110
                    End
                    Elite+Power Rock
                    Skin = 2
                    VoicePitch = 80
                    End
                    Elite+PunchT Shark
                    Skin = 4
                    VoicePitch = 90
                    End
                    Elite+Rifle Wolf
                    Skin = 2
                    VoicePitch = 98
                    End
                    Elite+RifleT Gunner
                    Skin = 1
                    VoicePitch = 96
                    End
                    Elite+Sniper Zed
                    Skin = 3
                    VoicePitch = 105
                    End
                    Elite+RifleT Steel
                    Skin = 1
                    VoicePitch = 84
                    End
                    Elite+PunchT Stone
                    Skin = 4
                    VoicePitch = 86
                    End
                    //----------------------------------------
                    Expert+RifleT Arnold
                    VoicePitch = 85
                    End
                    Expert+Rifle Brett
                    VoicePitch = 100
                    End
                    Expert+Punch Kurt
                    VoicePitch = 95
                    End
                    Expert+Sniper Kyle
                    Cost = 5
                    VoicePitch = 115
                    End
                    Expert+Shotgun Moe
                    VoicePitch = 87
                    End
                    Expert+Rifle Quade
                    VoicePitch = 91
                    End
                    Expert+Rifle Quintin
                    VoicePitch = 101
                    End
                    Expert Ringo
                    VoicePitch = 112
                    End



                    太多了,不全打了


                    IP属地:上海12楼2014-08-01 11:45
                    回复
                      Elite+Rifle Cliffe ———— 精英级别 善用来复枪(m4)的BOT,名字叫 Cliffe
                      Skin = 1 ———— 皮肤为T/CT的第一个(海豹 和凤凰战士)
                      VoicePitch = 95 ———— 声音的粗细程度为95
                      End
                      VeryHard+Power Cory ————非常困难级别 善用m249机枪的BOT,名字叫 Cory
                      Skin = 1 ———— 皮肤为第1个
                      VoicePitch = 110 ———— 声音110
                      End
                      Tough+RifleT Wade ———— 老练级别 善用来复枪(AK)的BOT,名字叫Wade
                      Skin = 4 ———— 皮肤为第4个
                      VoicePitch = 95———— 声音95
                      End
                      Easy Wesley————简单级别的电脑,名字叫Wesley
                      VoicePitch = 120 声音120
                      End
                      注:无武器模板————随即武器(一般都是破抢,如TMP,Mac-10等)
                      无人物模板————随机皮肤


                      IP属地:上海13楼2014-08-01 11:52
                      回复
                        掌握这些同志们就可以随意创造自己的BOT了!!!
                        什么?不信?!
                        如下————
                        Elite+RifleT icy-general 精英级的ak,冷酷大将军
                        Skin = 4
                        VoicePitch = 80
                        End
                        Elite+Rifle EA3645 精英级的m4,EA3645
                        Skin = 1
                        VoicePitch = 90
                        End
                        Elite+Punch nets 精英级的aug/sg552,nets
                        Skin = 2
                        VoicePitch = 100
                        End
                        Easy rebel 简单级的叛徒,武器随机
                        Skin = 3
                        VoicePitch = 120
                        End
                        什么?不信?
                        上图——————





                        IP属地:上海14楼2014-08-01 12:10
                        收起回复
                          纯原创+手打,求加精


                          IP属地:上海15楼2014-08-01 12:13
                          回复


                            IP属地:上海16楼2014-08-01 12:24
                            回复
                              2025-12-07 20:06:23
                              广告
                              不感兴趣
                              开通SVIP免广告


                              17楼2014-08-01 12:25
                              回复