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