《消逝的光芒》修改枪械类武器属性方法解析( 二 )


FF_EffectName("Shot_StrongPistol");
FF_Left(0.3);
FF_Right(0.4);
FF_Duration(0.1);
FF_FadeOut(0.0);
CriticalProb(0.0);
CriticalDamage(1.0);
DamageHeadMult(6.0);
DamageToPhysicsObjects(10.0);
FirePointRange(0,400.0 *0.01);
FirePointDamage(0,159.0);
FirePointForce(0,25.0);
FirePointRange(1,700.0 *0.01);
FirePointDamage(1,159.0);
FirePointForce(1,25.0);
FirePointRange(2,2500.0 *0.01);
FirePointDamage(2,79.5);
FirePointForce(2,12.5);
FirePointRange(3,10000.0 *0.01);
FirePointDamage(3,39.75);
FirePointForce(3,6.25);
Color(Color_Blue);
GenType(GenType_Firearm);
ShotTailDelay(0.5);
AchType(AchType_Pistol);
NameGender(0);
PriceMult(1.1);
}
Item("Firearm_PistolAGen", CategoryType_Firearm)
{
CategoryType(CategoryType_Firearm);
UsageType(UsageType_Aim);
UpgradeLevel(0);
HandOffset(HandModification_Normal, [-0.0009,-0.0051,0.2]);
HandRot(HandModification_Normal, [0.7237,-0.1293,0.0]);
HandOffset(HandModification_Custom, [-0.0003,-0.0003,0.0]);
ShootMinAngle(0.005);
ShootMaxAngle(0.13);
ShootAngleVel(0.13);
ShootAngleCooldown(0.189);
ShootVertRecoil(0.0);
ShootVertRecoilSpread(0.0);
ShootHorzRecoil(0.0);
ShootHorzRecoilSpread(0.0);
ShootRecoilTime(0.16);
}
最后是找到NoiseType这么个重点词,NoiseType("HEAVY_SHOT");一般是这种的,将其改为NoiseType("NONE");就会变成飞镖类的无声武器了........
其他一些像是子弹初速什么的玩意你们就自己改吧主要的东西我已经说了,剩下的可以自己研究下
改成NONE之后确实还有些问题,之前不知道改了哪一项了,噪音影响范围变小了,我再继续研究下在zombie的属性里找到一个特殊感染者的触发条件,或许跟开枪就出现有关?
更多相关资讯请关注:消逝的光芒专题
【《消逝的光芒》修改枪械类武器属性方法解析】

相关经验推荐