《堡壘》武器數(shù)據(jù)修改
- 來源:wenxiao
- 作者:Alvin
- 編輯:ChunTian

游戲的一些參數(shù)使用xml明文定義,位置在:Bastion\Content\Game\
簡述一下Bastion\Content\Game\Weapons中遠(yuǎn)程武器文件RangedWeapons.xml里面的東西,以Repeater的主參數(shù)為例(修改后直接進(jìn)入存檔就可以生效哦):
改完的真正bt效果(爆炸箭我就懶得說了,大家可以參考大炮的數(shù)據(jù)得到)
<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" \\射彈數(shù)量,多重箭效果
Cooldown="0.15" \\射擊頻率
ChargeTime="0" \\蓄力參數(shù)
ChargeGraphic="PlayerRepeaterCharge"
OnlyChargeOnce="true"
ClipSize="8" \\彈夾大小
ReloadTime="1.3" \\換彈時(shí)間
ReloadOnRelease="false"
ReloadGraphic="PlayerRepeaterReload"
Spread="0"
DisableOwnerForDuration="0.0"
RequiresTarget="false"
RootOwnerWhileFiring="true" \\射擊時(shí)是否需要站住不動(dòng)
RootOwnerWhileFiringDuration="0.15" \\如果射擊時(shí)可以移動(dòng),那可以把這行刪掉
TriggerTapIgnoresCooldown="false"
CriticalFireChance="0.0"
CriticalFireWeapon="null"
NoAmmoSound="WeaponSwitch"
AutoLock="true"
AutoLockRange="675"
AutoLockDuration="0.20"
ReloadSound="RepeaterReload"
CancelMovement="true"
MouseApproachRange="999"
>
后面還有彈藥的參數(shù)(穿透射擊在這里面),以及升級(jí)的參數(shù)等等,大家可以自行嘗試修改
拋磚引玉,大家多多摸索哈

玩家點(diǎn)評(píng) (0人參與,0條評(píng)論)
熱門評(píng)論
全部評(píng)論