csgo是一款在全世界热门的FPS竞技游戏,今天小编为大家分享玩家自己琢磨出来的控制台单机打bot作弊修改技巧,希望能帮到大家愉快游戏!注意这些命令只适合单机打电脑哦,联网是不能用的。
修改方法:
找到..\Steam\SteamApps\common\Counter-Strike Global Offensive\csgo\scripts文件夹,找到里面的所有以weapon_开头的文件,这些文件都是武器脚本文件,全部都是txt文件,例如找到weapon_aug.txt,
里面的参数:
WeaponData
{
// particle muzzle flash effect to play when fired
"MuzzleFlashEffect_1stPerson" "weapon_muzzle_flash_assaultrifle"
"MuzzleFlashEffect_3rdPerson" "weapon_muzzle_flash_assaultrifle"
"HeatEffect" "weapon_muzzle_smoke" //枪口冒烟的模型
"HeatPerShot" "0.35" //每枪多少热量
"AddonScale" "0.90"
"AddonLocation" "primary_rifle"
// model for the shell casing to eject when we fire bullets
"EjectBrassEffect" "weapon_shell_casing_rifle"
// the tracer particle effect and frequency
"TracerEffect" "weapon_tracers_assrifle"
// 0 = never, 1 = every shot, 2 = every other, etc
"TracerFrequency" "1" //弹道,0为不显示,1为显示
"MaxPlayerSpeed" 245 //站立时的移动速度
"MaxPlayerSpeedAlt" 190 //蹲下时的移动速度
"WeaponType" "Rifle" //武器类型
"FullAuto" 1 //是否为全自动,1为是
"WeaponPrice" "3300" //武器价格
"KillAward" "300" //杀敌奖励
"WeaponArmorRatio" "1.8"
"CrosshairMinDistance" "3" //开枪时准星离开中心的最小距离
"CrosshairDeltaDistance" "3"
"Team" "CT" //武器所属的队伍
"BuiltRightHanded" "1" //是否为右手持枪,1为是
"PlayerAnimationExtension" "aug"
"CanEquipWithShield" "0" //是否可以和防爆盾同时拥有,1为是
"ZoomLevels" 1 //放大级数,aug能放大一次,狙击枪能放大2次
"ZoomTime0" 0.06
"ZoomFov1" 55 //放大倍数
"ZoomTime1" 0.1
"HideViewModelZoomed" 1
"ZoomINSound" "Weapon_AUG.ZoomIn"
"ZoomOUTSound" "Weapon_AUG.ZoomOut"
// Weapon characteristics:
"Penetration" "3" //穿透系数,0-3
"Damage" "300" //武器伤害
"Range" "8192" //范围
"RangeModifier" "0.98"
"Bullets" "1" //每一枪所发出的子弹数,个人认为不是越多越好
"CycleTime" "0.12"
"TimeToIdle" "1.9"
"IdleInterval" "20"
FlinchVelocityModifierLarge 0.40
FlinchVelocityModifierSmall 0.55
// accuracy model parameters
"Spread" 0.00
"InaccuracyCrouch" 0.00
"InaccuracyStand" 0.00
"InaccuracyJump" 0.000
"InaccuracyLand" 0.000
"InaccuracyLadder" 0.00
"InaccuracyFire" 0.00
"InaccuracyMove" 0.00
"SpreadAlt" 0.00
"InaccuracyCrouchAlt" 0.00
"InaccuracyStandAlt" 0.00
"InaccuracyJumpAlt" 0.000
"InaccuracyLandAlt" 0.000
"InaccuracyLadderAlt" 0.00
"InaccuracyFireAlt" 0.00
"InaccuracyMoveAlt" 0.00
"RecoveryTimeCrouch" 0.405520
"RecoveryTimeStand" 0.469727
//取消后坐力必须把以下四项设为0,如下所示:
"RecoilAngle" 0
"RecoilAngleVariance" 0
"RecoilMagnitude" 0
"RecoilMagnitudeVariance" 0
"RecoilSeed" 24204
// Weapon data is loaded by both the Game and Client DLLs.
"printname" "#SFUI_WPNHUD_Aug"
"viewmodel" "models/weapons/v_rif_aug.mdl"
"playermodel" "models/weapons/w_rif_aug.mdl"
"anim_prefix" "anim"
"bucket" "0" //哪一个包,0为主武器,1为副武器
"bucket_position" "0"
"clip_size" "-1" //弹夹子弹数目,-1为无限
"primary_ammo" "BULLET_PLAYER_762MM" //子弹类型
"secondary_ammo" "None"
"weight" "25"
"item_flags" "0"
"rumble" "4"
// 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_AUG.Single"
}
// Weapon Sprite data is loaded by the Client DLL.
TextureData
{
"weapon"
{
"font" "CSweaponsSmall"
"character" "E"
}
"weapon_s"
{
"font" "CSweapons"
"character" "E"
}
"ammo"
{
"font" "CSTypeDeath"
"character" "V"
}
"zoom"
{
"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 "-9 -3 -15"
Maxs "25 12 -1"
}
World
{
Mins "-11 -1 -5"
Maxs "23 4 10"
}
}
}