- 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:
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/taser.ogg
- type: ProjectileBatteryAmmoProvider
- proto: BulletDisabler
+ proto: BulletTaser
fireCost: 100
- type: MagazineVisuals
magState: mag
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