Storm nerf (#1107)

* weather lightning nerf

* port storm weather to gamerule events

* fix
This commit is contained in:
Ed
2025-03-31 23:46:21 +03:00
committed by GitHub
parent 05de87e9e9
commit edc67dd280
14 changed files with 225 additions and 97 deletions

View File

@@ -17,7 +17,6 @@
- type: Tag
tags:
- HideContextMenu
- type: AnimationPlayer
- type: PointLight
color: "#73efff"
enabled: true

View File

@@ -27,9 +27,10 @@
- id: CP14MosquitoSpawn
- id: CP14RabbitsSpawn
- id: CP14FrogsSpawn
- id: CP14Storm
- type: entity
parent: CP14BaseStationEventShortDelay
parent: CP14BaseStationEventLongDelay
id: CP14ZombiesSpawn
components:
- type: StationEvent
@@ -46,7 +47,7 @@
prob: 0.08
- type: entity
parent: CP14BaseStationEventShortDelay
parent: CP14BaseStationEventLongDelay
id: CP14HydrasSpawn
components:
- type: StationEvent
@@ -63,7 +64,7 @@
prob: 0.08
- type: entity
parent: CP14BaseStationEventShortDelay
parent: CP14BaseStationEventLongDelay
id: CP14MosquitoSpawn
components:
- type: StationEvent
@@ -111,4 +112,19 @@
- type: VentCrittersRule
entries:
- id: CP14MobGroupSpawnerFrogs
prob: 0.08
prob: 0.08
- type: entity
parent: CP14BaseStationEventLongDelay
id: CP14Storm
components:
- type: StationEvent
startAnnouncement: cp14-event-announcement-storm
startAudio:
collection: CP14LightningFar
earliestStart: 45
minimumPlayers: 10
duration: 180
maxDuration: 600
- type: CP14WeatherRule
weather: CP14Storm

View File

@@ -8,11 +8,12 @@
params:
loop: true
volume: -6
effects:
- !type:ApplyEntityEffect
prob: 0.2
effects:
- !type:ExtinguishReaction
config:
- effects:
- !type:ApplyEntityEffect
prob: 0.2
effects:
- !type:ExtinguishReaction
- type: weather
id: CP14Storm
@@ -24,14 +25,18 @@
params:
loop: true
volume: -6
effects:
- !type:ApplyEntityEffect
prob: 0.4
config:
- maxEntities: 2
frequency: 10
canAffectOnWeatherBlocker: false
effects:
- !type:ExtinguishReaction
- !type:SpawnEntityOnTop
prob: 0.0001
entity: CP14SkyLightning
- !type:ApplyEntityEffect
prob: 0.4
effects:
- !type:ExtinguishReaction
- !type:SpawnEntityOnTop
prob: 0.25
entity: CP14SkyLightning
- type: weather
id: CP14Mist
@@ -45,23 +50,24 @@
- type: weather
id: CP14ManaMist
offsetSpeed: 0.56, -0.36
color: "#3d81ff"
color: "#91a1bf"
alpha: 0.7
sprite:
sprite: /Textures/_CP14/Effects/parallax.rsi
state: noise
effects:
- !type:ApplyEntityEffect
prob: 0.5
effects:
- !type:CP14ManaChange
manaDelta: 8
safe: true
config:
- effects:
- !type:ApplyEntityEffect
prob: 0.5
effects:
- !type:CP14ManaChange
manaDelta: 8
safe: true
- type: weather
id: CP14AntiManaMist
offsetSpeed: -0.56, -0.31
color: "#d929d9"
color: "#302a2a"
alpha: 0.8
sprite:
sprite: /Textures/_CP14/Effects/parallax.rsi
@@ -71,25 +77,27 @@
params:
loop: true
volume: -18
effects:
- !type:ApplyEntityEffect
prob: 0.5
effects:
- !type:CP14ManaChange
manaDelta: -10
safe: true
config:
- effects:
- !type:ApplyEntityEffect
prob: 0.5
effects:
- !type:CP14ManaChange
manaDelta: -10
safe: true
- type: weather
id: CP14SnowLight
sprite:
sprite: /Textures/_CP14/Effects/weather.rsi
state: snowfall_light
#effects:
#- !type:ApplyEntityEffect
# prob: 1
# effects:
# - !type:AdjustTemperature
# amount: -20000
#config:
#- effects:
#- !type:ApplyEntityEffect
# prob: 1
# effects:
# - !type:AdjustTemperature
# amount: -20000
- type: weather
id: CP14SnowMedium
@@ -101,12 +109,13 @@
params:
loop: true
volume: -18
#effects:
#- !type:ApplyEntityEffect
# prob: 1
# effects:
# - !type:AdjustTemperature
# amount: -40000
#config:
#- effects:
#- !type:ApplyEntityEffect
# prob: 1
# effects:
# - !type:AdjustTemperature
# amount: -40000
- type: weather
id: CP14SnowHeavy
@@ -118,12 +127,13 @@
params:
loop: true
volume: -6
#effects:
#- !type:ApplyEntityEffect
# prob: 1
# effects:
# - !type:AdjustTemperature
# amount: -60000
#config:
#- effects:
#- !type:ApplyEntityEffect
# prob: 1
# effects:
# - !type:AdjustTemperature
# amount: -60000
- type: weather
id: CP14FireStorm
@@ -136,14 +146,15 @@
params:
loop: true
volume: -6
effects:
#- !type:ApplyEntityEffect
# prob: 1
# effects:
# - !type:AdjustTemperature
# amount: 40000
- !type:ApplyEntityEffect
effects:
- !type:FlammableReaction
multiplier: 1
- !type:Ignite
config:
- effects:
#- !type:ApplyEntityEffect
# prob: 1
# effects:
# - !type:AdjustTemperature
# amount: 40000
- !type:ApplyEntityEffect
effects:
- !type:FlammableReaction
multiplier: 1
- !type:Ignite