游戏的一些参数使用xml明文定义,位置在:Bastion\Content\Game\
简述一下Bastion\Content\Game\Weapons中远程武器文件RangedWeapons.xml里面的东西,以Repeater的主参数为例(修改后直接进入存档就可以生效哦):
改完的真正bt效果(爆炸箭我就懒得说了,大家可以参考大炮的数据得到)
<Weapon
Name="Repeater"
InheritFrom="1_BaseWeapon"
Cost="25"
Type="GUN"
SlotType="PRIMARY"
Icon="GUI\\Icons\\Icon_Repeater_02"
AmmoIcon="Projectiles\\RepeaterBullet_Vertical"
AmmIconPipsPerRow="12"
AmmoIconSpacing="22"
Graphic="PlayerRepeaterFire"
IdleGraphic="PlayerRepeaterIdle"
FireGraphic="RepeaterMuzzleFlash"
FireFxB="RepeaterMuzzleSmoke"
FireSound="RepeaterFire"
BarrelLength="60"
Projectile="Repeater"
NumProjectiles="1" \\射弹数量,多重箭效果
Cooldown="0.15" \\射击频率
ChargeTime="0" \\蓄力参数
ChargeGraphic="PlayerRepeaterCharge"
OnlyChargeOnce="true"
ClipSize="8" \\弹夹大小
ReloadTime="1.3" \\换弹时间
ReloadOnRelease="false"
ReloadGraphic="PlayerRepeaterReload"
Spread="0"
DisableOwnerForDuration="0.0"
RequiresTarget="false"
相关文章