[Fix] Shinamo grenades aren't trash (#794)

This commit is contained in:
BIGZi0348
2024-11-30 23:57:53 +03:00
committed by GitHub
7 changed files with 44 additions and 8 deletions

View File

@@ -33,7 +33,7 @@
- type: entity - type: entity
name: china lake name: china lake
parent: [BaseWeaponLauncher, BaseGunWieldable] parent: BaseWeaponLauncher # WD removed BaseGunWieldable
id: WeaponLauncherChinaLake id: WeaponLauncherChinaLake
description: PLOOP description: PLOOP
components: components:
@@ -57,6 +57,8 @@
- SemiAuto - SemiAuto
soundGunshot: soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/grenade_launcher.ogg path: /Audio/Weapons/Guns/Gunshots/grenade_launcher.ogg
minAngle: 10 # WD
maxAngle: 10 # WD
- type: BallisticAmmoProvider - type: BallisticAmmoProvider
whitelist: whitelist:
tags: tags:

View File

@@ -764,6 +764,9 @@
- type: ActiveTimerTrigger - type: ActiveTimerTrigger
timeRemaining: 0.3 timeRemaining: 0.3
- type: DeleteOnTrigger - type: DeleteOnTrigger
- type: SoundOnTrigger # WD
sound:
path: "/Audio/Effects/flash_bang.ogg"
# This is supposed to spawn shrapnel and stuff so uhh... TODO? # This is supposed to spawn shrapnel and stuff so uhh... TODO?
- type: entity - type: entity

View File

@@ -9,6 +9,9 @@
layers: layers:
- state: icon - state: icon
map: ["enum.GunVisualLayers.Base"] map: ["enum.GunVisualLayers.Base"]
- state: shinano
visible: false
map: [ "enum.ModuleVisualState.ShutterModule" ]
- type: Item - type: Item
sprite: White/Objects/Weapons/Guns/Launchers/shinano-inhands.rsi sprite: White/Objects/Weapons/Guns/Launchers/shinano-inhands.rsi
size: Large size: Large
@@ -16,6 +19,7 @@
- 0,0,2,1 - 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
quickEquip: false
slots: slots:
- Back - Back
- suitStorage - suitStorage
@@ -44,11 +48,22 @@
name: Shutter Module name: Shutter Module
insertSound: /Audio/White/Gun/Modules/insertmodule.ogg insertSound: /Audio/White/Gun/Modules/insertmodule.ogg
ejectSound: /Audio/White/Gun/Modules/ejectmodule.ogg ejectSound: /Audio/White/Gun/Modules/ejectmodule.ogg
priority: 1 priority: 4
whitelist: whitelist:
tags: tags:
- BaseShutterModule - BaseShutterModule
- type: ContainerContainer - type: ContainerContainer
containers: containers:
shutter_module: !type:ContainerSlot shutter_module: !type:ContainerSlot
ballistic-ammo: !type:Container
ents: []
- type: Appearance - type: Appearance
- type: EmitSoundOnPickup
sound:
collection: RiflesPickUp
- type: EmitSoundOnDrop
sound:
collection: RiflesDrop
- type: EmitSoundOnLand
sound:
collection: RiflesDrop

View File

@@ -142,3 +142,6 @@
value: "shinano" value: "shinano"
module_type: "shutter_module" module_type: "shutter_module"
tag: Grenade tag: Grenade
- type: Sprite
sprite: White\Objects\Weapons\modulesOnWeapon.rsi
state: telescopic

View File

@@ -1,5 +1,6 @@
- type: entity - type: entity
id: BaseBulletShinanoGranade id: BaseBulletShinanoGranade
parent: BaseBullet
abstract: true abstract: true
name: base shinano granade name: base shinano granade
components: components:
@@ -39,12 +40,17 @@
layers: layers:
- state: grenade - state: grenade
- type: FlashOnTrigger - type: FlashOnTrigger
range: 5 range: 6
stunTime: 2 # WD stunTime: 3
knockdownTime: 10 # WD knockdownTime: 10
- type: SpawnOnTrigger - type: SpawnOnTrigger
proto: GrenadeFlashEffect proto: GrenadeFlashEffect
- type: ActiveTimerTrigger
timeRemaining: 0.6
- type: DeleteOnTrigger - type: DeleteOnTrigger
- type: SoundOnTrigger
sound:
path: "/Audio/Effects/flash_bang.ogg"
- type: entity - type: entity
parent: BaseBulletShinanoGranade parent: BaseBulletShinanoGranade
@@ -66,6 +72,8 @@
Quantity: 50 Quantity: 50
- type: SoundOnTrigger - type: SoundOnTrigger
sound: /Audio/Items/smoke_grenade_smoke.ogg sound: /Audio/Items/smoke_grenade_smoke.ogg
- type: ActiveTimerTrigger
timeRemaining: 0.6
- type: DeleteOnTrigger - type: DeleteOnTrigger
- type: entity - type: entity
@@ -85,6 +93,8 @@
- type: ContainerContainer - type: ContainerContainer
containers: containers:
cluster-payload: !type:Container cluster-payload: !type:Container
- type: ActiveTimerTrigger
timeRemaining: 0.5
- type: entity - type: entity
parent: [BaseBullet, BaseBulletTrail] parent: [BaseBullet, BaseBulletTrail]
@@ -99,7 +109,7 @@
- type: Projectile - type: Projectile
damage: damage:
types: types:
Blunt: 15 Blunt: 20
- type: StaminaDamageOnCollide - type: StaminaDamageOnCollide
ignoreResistances: true ignoreResistances: true
damage: 80 damage: 100

View File

@@ -12,6 +12,9 @@
}, },
{ {
"name": "bolt-open" "name": "bolt-open"
},
{
"name": "shinano"
} }
] ]
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 B