@@ -4,5 +4,5 @@
|
|||||||
public sealed partial class TriggerOnLandComponent : Component
|
public sealed partial class TriggerOnLandComponent : Component
|
||||||
{
|
{
|
||||||
[DataField]
|
[DataField]
|
||||||
public float Delay = 0.3f;
|
public float Delay = 1f;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,5 +6,5 @@ namespace Content.Shared._White.BuffedFlashGrenade;
|
|||||||
public sealed partial class FlashSoundSuppressionComponent : Component
|
public sealed partial class FlashSoundSuppressionComponent : Component
|
||||||
{
|
{
|
||||||
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
||||||
public float MaxRange = 3f;
|
public float MaxRange = 2f;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
ent-BaseShinanoGrenadeAmmoProvider = { ent-BaseAmmoProvider }
|
ent-BaseShinanoGrenadeAmmoProvider = { ent-BaseAmmoProvider }
|
||||||
.desc = { ent-BaseAmmoProvider.desc }
|
.desc = { ent-BaseAmmoProvider.desc }
|
||||||
ent-BoxShinanoGrenadeFlash = коробка гранат (светошумовые)
|
ent-BoxShinanoGrenadeFlash = коробка светошумовых гранат (40мм)
|
||||||
.desc = Заставь их плакать.
|
.desc = Заставь их плакать.
|
||||||
ent-BoxShinanoGrenadeSmoke = коробка гранат (слезоточивые)
|
ent-BoxShinanoGrenadeSmoke = коробка слезоточивых гранат (40мм)
|
||||||
.desc = Заставь их плакать.
|
.desc = Заставь их плакать.
|
||||||
ent-BoxShinanoGrenadeBeanbag = коробка гранат (травматические)
|
ent-BoxShinanoGrenadeStinger = коробка травматических гранат (40мм)
|
||||||
|
.desc = Это точно никого не убьет?
|
||||||
|
ent-BoxShinanoGrenadeBeanbag = коробка травматических пуль (40мм)
|
||||||
.desc = Это точно никого не убьет?
|
.desc = Это точно никого не убьет?
|
||||||
@@ -1,8 +1,10 @@
|
|||||||
ent-BaseShinanoGrenade = Граната
|
ent-BaseShinanoGrenade = граната (40мм)
|
||||||
.desc = { ent-BaseCartridge.desc }
|
.desc = { ent-BaseCartridge.desc }
|
||||||
ent-ShinanoGrenadeFlash = Светошумовая граната
|
ent-ShinanoGrenadeFlash = светошумовая граната (40мм)
|
||||||
.desc = { ent-BaseShinanoGrenade.desc }
|
.desc = { ent-BaseShinanoGrenade.desc }
|
||||||
ent-ShinanoGrenadeSmoke = Слезоточивая граната
|
ent-ShinanoGrenadeSmoke = слезоточивая граната (40мм)
|
||||||
.desc = { ent-BaseShinanoGrenade.desc }
|
.desc = { ent-BaseShinanoGrenade.desc }
|
||||||
ent-ShinanoGrenadeBeanbag = Травматическая граната
|
ent-ShinanoGrenadeStinger = травматическая граната (40мм)
|
||||||
|
.desc = { ent-BaseShinanoGrenade.desc }
|
||||||
|
ent-ShinanoGrenadeBeanbag = травматическая пуля (40мм)
|
||||||
.desc = { ent-BaseShinanoGrenade.desc }
|
.desc = { ent-BaseShinanoGrenade.desc }
|
||||||
@@ -22,6 +22,7 @@
|
|||||||
- id: WeaponLauncherShinano
|
- id: WeaponLauncherShinano
|
||||||
- id: BoxShinanoGrenadeFlash
|
- id: BoxShinanoGrenadeFlash
|
||||||
- id: BoxShinanoGrenadeSmoke
|
- id: BoxShinanoGrenadeSmoke
|
||||||
|
- id: BoxShinanoGrenadeStinger
|
||||||
- id: BoxShinanoGrenadeBeanbag
|
- id: BoxShinanoGrenadeBeanbag
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
@@ -46,6 +47,7 @@
|
|||||||
- id: WeaponLauncherShinano
|
- id: WeaponLauncherShinano
|
||||||
- id: BoxShinanoGrenadeFlash
|
- id: BoxShinanoGrenadeFlash
|
||||||
- id: BoxShinanoGrenadeSmoke
|
- id: BoxShinanoGrenadeSmoke
|
||||||
|
- id: BoxShinanoGrenadeStinger
|
||||||
- id: BoxShinanoGrenadeBeanbag
|
- id: BoxShinanoGrenadeBeanbag
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
|
|||||||
@@ -36,6 +36,19 @@
|
|||||||
- state: boxwide
|
- state: boxwide
|
||||||
- state: shellflare
|
- state: shellflare
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
name: shinano grenade stinger dispenser
|
||||||
|
parent: BaseShinanoGrenadeAmmoProvider
|
||||||
|
id: BoxShinanoGrenadeStinger
|
||||||
|
description: A dispenser box full of stinger grenade, designed for Shinano.
|
||||||
|
components:
|
||||||
|
- type: BallisticAmmoProvider
|
||||||
|
proto: ShinanoGrenadeStinger
|
||||||
|
- type: Sprite
|
||||||
|
layers:
|
||||||
|
- state: boxwide
|
||||||
|
- state: shellflare
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
name: shinano grenade beanbag dispenser
|
name: shinano grenade beanbag dispenser
|
||||||
parent: BaseShinanoGrenadeAmmoProvider
|
parent: BaseShinanoGrenadeAmmoProvider
|
||||||
|
|||||||
@@ -45,6 +45,23 @@
|
|||||||
state: smoke
|
state: smoke
|
||||||
suffix: false
|
suffix: false
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: ShinanoGrenadeStinger
|
||||||
|
name: shinano stinger grenade
|
||||||
|
parent: BaseShinanoGrenade
|
||||||
|
components:
|
||||||
|
- type: CartridgeAmmo
|
||||||
|
proto: ShinanoBulletGrenadeStinger
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Objects/Weapons/Guns/Ammunition/Explosives/explosives.rsi
|
||||||
|
layers:
|
||||||
|
- state: blast
|
||||||
|
map: ["enum.AmmoVisualLayers.Base"]
|
||||||
|
- type: Appearance
|
||||||
|
- type: SpentAmmoVisuals
|
||||||
|
state: stinger
|
||||||
|
suffix: false
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: ShinanoGrenadeBeanbag
|
id: ShinanoGrenadeBeanbag
|
||||||
name: beanbag shinano grenade
|
name: beanbag shinano grenade
|
||||||
|
|||||||
@@ -22,7 +22,6 @@
|
|||||||
- ItemMask
|
- ItemMask
|
||||||
restitution: 0.3 # fite me
|
restitution: 0.3 # fite me
|
||||||
friction: 0.2
|
friction: 0.2
|
||||||
- type: DeleteOnTrigger
|
|
||||||
- type: Physics
|
- type: Physics
|
||||||
bodyType: Dynamic
|
bodyType: Dynamic
|
||||||
- type: TimedDespawn
|
- type: TimedDespawn
|
||||||
@@ -40,9 +39,11 @@
|
|||||||
layers:
|
layers:
|
||||||
- state: grenade
|
- state: grenade
|
||||||
- type: FlashOnTrigger
|
- type: FlashOnTrigger
|
||||||
range: 3
|
range: 5
|
||||||
|
forceStun: true
|
||||||
- type: SpawnOnTrigger
|
- type: SpawnOnTrigger
|
||||||
proto: GrenadeFlashEffect
|
proto: GrenadeFlashEffect
|
||||||
|
- type: DeleteOnTrigger
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: BaseBulletShinanoGranade
|
parent: BaseBulletShinanoGranade
|
||||||
@@ -64,6 +65,25 @@
|
|||||||
Quantity: 50
|
Quantity: 50
|
||||||
- type: SoundOnTrigger
|
- type: SoundOnTrigger
|
||||||
sound: /Audio/Items/smoke_grenade_smoke.ogg
|
sound: /Audio/Items/smoke_grenade_smoke.ogg
|
||||||
|
- type: DeleteOnTrigger
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: ShinanoBulletGrenadeStinger
|
||||||
|
name: stinger shinano grenade
|
||||||
|
parent: BaseBulletShinanoGranade
|
||||||
|
noSpawn: true
|
||||||
|
components:
|
||||||
|
- type: Sprite
|
||||||
|
sprite: Objects/Weapons/Guns/Projectiles/projectiles2.rsi
|
||||||
|
layers:
|
||||||
|
- state: grenade
|
||||||
|
- type: ClusterGrenade
|
||||||
|
fillPrototype: PelletClusterRubber
|
||||||
|
maxGrenadesCount: 30
|
||||||
|
grenadeType: enum.GrenadeType.Shoot
|
||||||
|
- type: ContainerContainer
|
||||||
|
containers:
|
||||||
|
cluster-payload: !type:Container
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
parent: [BaseBullet, BaseBulletTrail]
|
parent: [BaseBullet, BaseBulletTrail]
|
||||||
|
|||||||
@@ -11,6 +11,9 @@
|
|||||||
map: ["enum.GunVisualLayers.Base"]
|
map: ["enum.GunVisualLayers.Base"]
|
||||||
- type: Item
|
- type: Item
|
||||||
sprite: White/Objects/Weapons/Guns/Launchers/shinano-inhands.rsi
|
sprite: White/Objects/Weapons/Guns/Launchers/shinano-inhands.rsi
|
||||||
|
size: Large
|
||||||
|
shape:
|
||||||
|
- 0,0,2,1
|
||||||
- type: Clothing
|
- type: Clothing
|
||||||
sprite: White/Objects/Weapons/Guns/Launchers/shinano-inhands.rsi
|
sprite: White/Objects/Weapons/Guns/Launchers/shinano-inhands.rsi
|
||||||
slots:
|
slots:
|
||||||
|
|||||||
@@ -82,6 +82,9 @@
|
|||||||
- type: Tag
|
- type: Tag
|
||||||
id: DoorjackUsable
|
id: DoorjackUsable
|
||||||
|
|
||||||
|
- type: Tag
|
||||||
|
id: ShinanoGrenade
|
||||||
|
|
||||||
- type: Tag
|
- type: Tag
|
||||||
id: Card
|
id: Card
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user