Continue weapon effect chain work
Start work on using muzzles to determine the effect of the ammo when loaded
This commit is contained in:
@@ -52,6 +52,7 @@ defaultBulletWeapon =
|
||||
& itUse . heldAmmoTypes .~ singleAmmo BulletAmmo
|
||||
-- & itUse . heldUse .~ HeldUseAmmoParams -- useAmmoParams
|
||||
& itType . iyModules . at ModBulletCollision ?~ EMPTYMODULE
|
||||
& itUse . heldAim . aimMuzzles .~ [Muzzle (V2 15 0) 0 0.01 0 PistolFlare MuzzleShootBullet]
|
||||
-- & itType . iyModules . at ModBulletPayload ?~ EMPTYMODULE
|
||||
-- & itType . iyModules . at ModBulletTrajectory ?~ EMPTYMODULE
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ defaultHeldUse =
|
||||
, _torqueAfter = 0.2
|
||||
, _randomOffset = 0
|
||||
, _sidePush = 0
|
||||
, _bulGunSound = tap3S
|
||||
, _bulGunSound = (tap3S, 0)
|
||||
, _weaponInvLock = 0
|
||||
, _weaponRepeat = []
|
||||
}
|
||||
|
||||
@@ -24,6 +24,7 @@ defaultMuzzle = Muzzle
|
||||
, _mzInaccuracy = 0.05
|
||||
, _mzAmmoSlot = 0
|
||||
, _mzFlareType = DefaultFlareType
|
||||
, _mzEffect = MuzzleShootBullet
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -144,6 +144,7 @@ defaultLWorld =
|
||||
, _distortions = []
|
||||
, _lClock = 0
|
||||
, _lTestString = []
|
||||
, _lTestInt = 0
|
||||
}
|
||||
|
||||
defaultHUD :: HUD
|
||||
|
||||
Reference in New Issue
Block a user