css模型吧 关注:66贴子:271
  • 17回复贴,共1

【求助】进来看看吧 出问题了

只看楼主收藏回复

我在banana上挖了个连喷的模型 装上了
发现准心非常小
而且指哪打哪
打出来的子弹只有一颗

然后 我在网上问了一下
说是\counter-strike source\cstrike\scripts里的weapon_xm1014.txt可以改
但是他就告诉我这个
我都不知道怎么改T_T
听说这个吧有很多大神
我就来请教了


IP属地:贵州1楼2013-02-25 18:52回复
    这是weapon_xm1014.txt 里的
    WeaponData{"MaxPlayerSpeed" "240""WeaponType" "Shotgun""WeaponPrice""3000""WeaponArmorRatio""1.0""CrosshairMinDistance""5""CrosshairDeltaDistance""5""Team""ANY""BuiltRightHanded""1""PlayerAnimationExtension""xm1014""MuzzleFlashScale""1.3""CanEquipWithShield""0"// Weapon characteristics:"Penetration""7""Damage""20""Range""3048""RangeModifier""0.96""Bullets""6""CycleTime""0.3"// Weapon data is loaded by both the Game and Client DLLs."printname""#Cstrike_WPNHUD_xm1014""viewmodel""models/weapons/v_shot_xm1014.mdl""playermodel""models/weapons/w_shot_xm1014.mdl""anim_prefix""anim""bucket""0""bucket_position""0"
    "clip_size""7""primary_ammo""BULLET_PLAYER_BUCKSHOT""secondary_ammo""None"
    "weight""20""item_flags""0"
    // Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)SoundData{//"reload""Default.Reload"//"empty""Default.ClipEmpty_Rifle""single_shot""Weapon_XM1014.Single"special3Default.Zoom}
    // Weapon Sprite data is loaded by the Client DLL.TextureData{"weapon"{"font""CSweaponsSmall""character""]"}"weapon_s"{"font""CSweapons""character""]"}"ammo"{"font""CSTypeDeath""character""J"}"crosshair"{"file""sprites/crosshairs""x""0""y""48""width""24""height""24"}"autoaim"{"file""sprites/crosshairs""x""0""y""48""width""24""height""24"}}ModelBounds{Viewmodel{Mins"-13 -3 -11"Maxs"29 10 0"}World{Mins"-4 -8 -4"Maxs"30 8 6"}}}


    IP属地:贵州2楼2013-02-25 18:53
    收起回复
      WeaponData
      {
      "MaxPlayerSpeed" "240"
      "WeaponType" "Shotgun"
      "WeaponPrice" "3000"
      "WeaponArmorRatio" "1.0"
      "CrosshairMinDistance" "5"
      "CrosshairDeltaDistance" "5"
      "Team" "ANY"
      "BuiltRightHanded" "1"
      "PlayerAnimationExtension" "xm1014"
      "MuzzleFlashScale" "1.3"
      "CanEquipWithShield" "0"
      // Weapon characteristics:
      "Penetration" "7"
      "Damage""20""Range" "3048"
      "RangeModifier" "0.96"
      "Bullets" "6"
      "CycleTime" "0.3"
      // Weapon data is loaded by both the Game and Client DLLs.
      "printname" "#Cstrike_WPNHUD_xm1014"
      "viewmodel" "models/weapons/v_shot_xm1014.mdl"
      "playermodel" "models/weapons/w_shot_xm1014.mdl"
      "anim_prefix" "anim"
      "bucket" "0"
      "bucket_position" "0"
      "clip_size" "7"
      "primary_ammo" "BULLET_PLAYER_BUCKSHOT"
      "secondary_ammo" "None"
      "weight" "20"
      "item_flags" "0"
      // Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)SoundData
      {
      //"reload" "Default.Reload"
      //"empty" "Default.ClipEmpty_Rifle"
      "single_shot" "Weapon_XM1014.Single"
      special3 Default.Zoom
      }
      // Weapon Sprite data is loaded by the Client DLL.
      TextureData
      {
      "weapon"
      {
      "font" "CSweaponsSmall"
      "character" "]"
      }
      "weapon_s"
      {
      "font" "CSweapons"
      "character" "]"
      }
      "ammo"
      {
      "font" "CSTypeDeath"
      "character" "J"
      }
      "crosshair"
      {
      "file" "sprites/crosshairs"
      "x" "0"
      "y" "48"
      "width" "24"
      "height" "24"
      }
      "autoaim"
      {
      "file" "sprites/crosshairs"
      "x" "0"
      "y" "48"
      "width" "24"
      "height" "24"
      }
      }
      ModelBounds
      {
      Viewmodel
      {
      Mins"-13 -3 -11"
      Maxs"29 10 0"
      }
      World
      {
      Mins"-4 -8 -4"
      Maxs"30 8 6"
      }
      }
      }


      IP属地:贵州3楼2013-02-25 19:11
      回复
        我想 吧主 应该知道把
        @CSOL狂w妄


        IP属地:贵州4楼2013-02-25 19:21
        收起回复
          其实吧...你可以直接把weapon_xm1014.txt这个文件删了...模型一样可以用的我已经很久没碰起源了 没记错的话武器的txt文件是关于枪模的属性的...删去就是游戏默认属性...


          6楼2013-03-02 03:27
          收起回复
            我给你翻译一下,你就会自己弄了


            IP属地:安徽来自iPhone客户端7楼2013-06-01 01:19
            回复
              {
              "MaxPlayerSpeed" "" //带上枪后,玩家的移动速度
              "WeaponType" "" //武器的属性,决定玩家持有该枪的方式,pistol是副武器,Rifle是自动步枪,其余全是主武器,主副武器只能一次各带一把
              "WeaponPrice" "" //买枪耗费的美元[图片]吸引以下GAY
              "WeaponArmorRatio" "" //
              "CrosshairMinDistance" "" //准星静止时分开的程度,取值0至9
              "CrosshairDeltaDistance" "" //武器开火时散开的幅度
              "Team" "XX" //持枪方
              "BuiltRightHanded" "0" //模型是左手模还是右手模
              "PlayerAnimationExtension" "" //动画文件的后缀
              "MuzzleFlashStyle" "CS_MUZZLEFLASH_X" //膛口焰的形式(可有可无,若没有这一句的话,膛口焰就是默认的球形)
              "MuzzleFlashScale" "" //膛口焰的缩放(是指三维的缩放,值取得太大,一开枪满屋子都是火)
              "CanEquipWithShield" "" //没用的,原计划要加入的防爆盾的预留项
              // Weapon characteristics:
              "Penetration" "" //穿透力,可以穿过材质的数量,"Damage" "" //敌人中枪后取得的伤害值,一般是20到30,AWP是115,这就是为什么它可以穿死人而其他的枪不可以……
              "Range" "" //射程,一般都是8000左右 "RangeModifier" "" //射程的随机量
              "Bullets" " //一次扣动扳机所发射的子弹数量,X1014是6;M3是9
              "CycleTime" "" //射速值,改得太高会直接死机或跳出
              "AccuracyDivisor" "" //
              "AccuracyOffset" "" //这上下两个值是互相作用的,Divisor越大,Offset越小,枪的震动就越小
              "MaxInaccuracy" "" //弹着点散布的随机值,这个值越小,枪越准,"TimeToIdle" "" //射击震动的持续时间,即恢复瞄准的速度
              "IdleInterval" "" //瞄准时长


              IP属地:安徽来自iPhone客户端8楼2013-06-01 01:19
              收起回复
                温切斯特?


                IP属地:辽宁9楼2013-06-02 18:26
                收起回复
                  ..


                  10楼2017-06-03 15:19
                  回复