Readd tasers (#14123)
This commit is contained in:
@@ -321,14 +321,13 @@
|
||||
- type: ProjectileBatteryAmmoProvider
|
||||
proto: BulletDisablerPractice
|
||||
fireCost: 100
|
||||
|
||||
|
||||
- type: entity
|
||||
name: taser
|
||||
parent: BaseWeaponBatterySmall
|
||||
id: WeaponTaser
|
||||
description: A low-capacity, energy-based stun gun used by security teams to subdue targets at range.
|
||||
# Use Disabler
|
||||
suffix: Obsolete
|
||||
suffix: Admin
|
||||
components:
|
||||
- type: Tag
|
||||
tags:
|
||||
@@ -351,7 +350,7 @@
|
||||
soundGunshot:
|
||||
path: /Audio/Weapons/Guns/Gunshots/taser.ogg
|
||||
- type: ProjectileBatteryAmmoProvider
|
||||
proto: BulletDisabler
|
||||
proto: BulletTaser
|
||||
fireCost: 100
|
||||
- type: MagazineVisuals
|
||||
magState: mag
|
||||
|
||||
@@ -129,6 +129,47 @@
|
||||
damage: 15
|
||||
|
||||
# Energy projectiles
|
||||
- type: entity
|
||||
name: taser bolt
|
||||
id: BulletTaser
|
||||
parent: BaseBullet
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: FlyBySound
|
||||
sound:
|
||||
collection: EnergyMiss
|
||||
params:
|
||||
volume: 5
|
||||
- type: Sprite
|
||||
noRot: true
|
||||
sprite: Objects/Weapons/Guns/Projectiles/projectiles2.rsi
|
||||
color: "#ffff33"
|
||||
layers:
|
||||
- state: spark
|
||||
shader: unshaded
|
||||
- type: Physics
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.2,-0.2,0.2,0.2"
|
||||
hard: false
|
||||
id: projectile
|
||||
mask:
|
||||
- Impassable
|
||||
- BulletImpassable
|
||||
- type: Ammo
|
||||
- type: Projectile
|
||||
damage:
|
||||
types:
|
||||
Heat: 5
|
||||
soundHit:
|
||||
path: "/Audio/Weapons/Guns/Hits/taser_hit.ogg"
|
||||
soundForce: true
|
||||
- type: StunOnCollide
|
||||
stunAmount: 5
|
||||
knockdownAmount: 5
|
||||
|
||||
- type: entity
|
||||
name : disabler bolt
|
||||
id: BulletDisabler
|
||||
|
||||
Reference in New Issue
Block a user