cs起源武器属性修改提示.docx
cs起源武器属性修改提示百度一下“CSS全版本通用武器脚本”然后修改对应枪的属性如下,再将其复制到cs起源根目录/cstrike/scripts中去WeaponData"MaxPlayerSpeed" "250" /带上枪后,玩家的移动速度"WeaponType" "Rifle" /武器的属性,决定玩家持有该枪的方式,pistol是副武器,其余全是主武器,主副武器只能一次各带一把"WeaponPrice" "1400" /买枪耗费的美元"WeaponArmorRatio" "0.95" /"CrosshairMinDistance" "9" /准星静止时分开的程度,取值0至9"CrosshairDeltaDistance" "3" /武器开火时散开的幅度"Team" "TERRORIST" /持枪方"BuiltRightHanded" "0" /模型是左手模还是右手模"PlayerAnimationExtension" "mac10" /动画文件的后缀"MuzzleFlashStyle" "CS_MUZZLEFLASH_X" /膛口焰的形式(可有可无,若没有这一句的话,膛口焰就是默认的球形)"MuzzleFlashScale" "1.1" /膛口焰的缩放(是指三维的缩放,值取得太大,一开枪满屋子都是火汗汗)"CanEquipWithShield" "0" /没用的,原计划要加入的防爆盾的预留项/ Weapon characteristics:"Penetration" "1" /穿透力,可以穿过材质的数量,99999的话,一枪可以打穿一张地图,咳咳"Damage" "29" /敌人中枪后取得的伤害值,一般是20到30,AIAW是115汗,这就是为什么它可以穿死人而其他的枪不可以"Range" "4096" /射程,很假的值,超过这个数以后,子弹就被忽略不计了"RangeModifier" "0.82" /射程的随机量"Bullets" "1" /一次扣动扳机所发射的子弹数量,m1014是6;超级90是9"CycleTime" "0.07" /射速值,改得太高会直接死机或跳出,慎用"AccuracyDivisor" "200" /"AccuracyOffset" "0.6" /这上下两个值是互相作用的,Divisor越大,Offset越小,枪的震动就越小"MaxInaccuracy" "1.65" /弹着点散布的随机值,这个值越小,枪越准,狙击枪干脆没有这个值"TimeToIdle" "2" /射击震动的持续时间,即恢复瞄准的速度"IdleInterval" "20" /瞄准时长/ Weapon data is loaded by both the Game and Client DLLs."printname" "#Cstrike_WPNHUD_MAC10" /显示枪支名称"viewmodel" "models/weapons/v_smg_mac10.mdl" /强制枪支视角模型"playermodel" "models/weapons/w_smg_mac10.mdl" /世界模型,同上: "models/weapons/w_snip_awp.mdl""anim_prefix" "anim""bucket" "0" /图标显示位置"bucket_position" "0" /图标显示位置"clip_size" "30" /弹夹容量,可用值-1到无限大,不用担心死机"primary_ammo" "BULLET_PLAYER_45ACP" /武器所用弹种"secondary_ammo" "None""weight" "25""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_MAC10.Single"/ Weapon Sprite data is loaded by the Client DLL. 死亡图标及其他图标,可以打开自带的字体看看每个字母都是什么枪TextureData"weapon""font" "CSweaponsSmall""character" "L""weapon_s" "font" "CSweapons""character" "L""ammo""font" "CSTypeDeath""character" "M""crosshair""file" "sprites/crosshairs""x" "0""y" "48""width" "24""height" "24""autoaim""file" "sprites/crosshairs""x" "0""y" "48""width" "24""height" "24"