Echoes of voices from the demiplanes (#840)

* split lightdarkness type magic to 2

* signal lights

* finish spells

* demiplane voices echoes

* Update closets.yml

* spells impact relay

* sprite fix
This commit is contained in:
Ed
2025-02-05 14:21:12 +03:00
committed by GitHub
parent 4becbd2c12
commit d100ed765b
28 changed files with 401 additions and 40 deletions

View File

@@ -133,19 +133,16 @@
- type: StorageFill
contents:
- id: CP14Rope
- id: CP14Rope
- id: Bola
amount: 2
- id: Bola
amount: 2
- id: CP14ModularGuardHalberd
- id: CP14BaseShield
- id: CP14ModularGripIronLongGuard
- id: CP14ModularGripIronLongGuard
amount: 2
- id: CP14BaseLightCrossbow
- id: CP14Crossbolt
- id: CP14Crossbolt
- id: CP14Crossbolt
- id: CP14Crossbolt
- id: CP14Crossbolt
amount: 5
- id: CP14EnergyCrystalSmall
- id: CP14CrystalLampBlueEmpty
- id: CP14BookImperialLawsHandBook
@@ -158,13 +155,13 @@
- type: StorageFill
contents:
- id: CP14Rope
- id: CP14Rope
amount: 2
- id: Bola
- id: Bola
- id: CP14ModularGuardHalberd
- id: CP14BaseShield
- id: CP14ModularGripIronLongGuard
- id: CP14ModularGripIronLongGuard
amount: 2
- id: CP14EnergyCrystalSmall
- id: CP14CrystalLampBlueEmpty
- id: CP14StampGuardCommander
@@ -181,4 +178,10 @@
- id: HandLabeler #TODO custom cp14 labeler
- id: CP14StampDenied
- id: CP14StampApproved
- id: CP14PaperFolderBlue
- id: CP14PaperFolderBlue
- id: CP14SpellscrollSignalLightBlue
amount: 4
- id: CP14SpellscrollSignalLightYellow
amount: 4
- id: CP14SpellscrollSignalLightRed
amount: 4

View File

@@ -9,7 +9,7 @@
- type: CP14MagicEffectManaCost
manaCost: 10
- type: CP14MagicEffect
magicType: LightDarkness
magicType: Light
effects:
- !type:CP14SpellSpawnEntityOnTarget
spawns:
@@ -120,7 +120,7 @@
volume: -12
- type: entity
parent: CP14BaseSpellScrollLightDarkness
parent: CP14BaseSpellScrollLight
id: CP14SpellScrollSphereOfLight
name: sphere of light spell scroll
components:

View File

@@ -9,7 +9,7 @@
- type: CP14MagicEffectManaCost
manaCost: 10
- type: CP14MagicEffect
magicType: LightDarkness
magicType: Light
telegraphyEffects:
- !type:CP14SpellSpawnEntityOnTarget
spawns:
@@ -92,7 +92,7 @@
lifetime: 0.5
- type: entity
parent: CP14BaseSpellScrollLightDarkness
parent: CP14BaseSpellScrollLight
id: CP14SpellScrollFlashLight
name: flash light spell scroll
components:

View File

@@ -0,0 +1,249 @@
- type: entity
id: CP14ActionSpellSignalLightBase
abstract: true
components:
- type: Sprite
sprite: _CP14/Effects/Magic/spells_icons.rsi
- type: CP14MagicEffectManaCost
manaCost: 5
- type: CP14MagicEffect
magicType: Light
- type: CP14MagicEffectSomaticAspect
- type: InstantAction
itemIconStyle: BigAction
sound: !type:SoundPathSpecifier
path: /Audio/Magic/rumble.ogg
event: !type:CP14DelayedInstantActionEvent
cooldown: 10
castDelay: 0.5
breakOnMove: false
# RED
- type: entity
id: CP14ActionSpellSignalLightRed
parent: CP14ActionSpellSignalLightBase
name: Red signal Light
description: You launch a hovering ball of light, briefly emitting a bright glow of red. This glow is able to penetrate the real world even from the demiplane.
components:
- type: Sprite
state: signal_light_red
- type: CP14MagicEffect
effects:
- !type:CP14SpellSpawnEntityOnTarget
spawns:
- CP14SignalLightRed
- type: CP14MagicEffectCastingVisual
proto: CP14RuneSignalLightRed
- type: InstantAction
icon:
sprite: _CP14/Effects/Magic/spells_icons.rsi
state: signal_light_red
- type: entity
id: CP14RuneSignalLightRed
parent: CP14BaseMagicRune
categories: [ HideSpawnMenu ]
components:
- type: PointLight
color: "#db1616"
- type: Sprite
layers:
- state: sun
color: "#db1616"
shader: unshaded
- type: entity
parent: CP14BaseSpellScrollLight
id: CP14SpellscrollSignalLightRed
name: red signal light spell scroll
components:
- type: CP14SpellStorage
spells:
- CP14ActionSpellSignalLightRed
# YELLOW
- type: entity
id: CP14ActionSpellSignalLightYellow
parent: CP14ActionSpellSignalLightBase
name: Yellow signal Light
description: You launch a hovering ball of light, briefly emitting a bright glow of yellow. This glow is able to penetrate the real world even from the demiplane.
components:
- type: Sprite
state: signal_light_yellow
- type: CP14MagicEffect
effects:
- !type:CP14SpellSpawnEntityOnTarget
spawns:
- CP14SignalLightYellow
- type: CP14MagicEffectCastingVisual
proto: CP14RuneSignalLightYellow
- type: InstantAction
icon:
sprite: _CP14/Effects/Magic/spells_icons.rsi
state: signal_light_yellow
- type: entity
id: CP14RuneSignalLightYellow
parent: CP14BaseMagicRune
categories: [ HideSpawnMenu ]
components:
- type: PointLight
color: "#ebc942"
- type: Sprite
layers:
- state: sun
color: "#ebc942"
shader: unshaded
- type: entity
parent: CP14BaseSpellScrollLight
id: CP14SpellscrollSignalLightYellow
name: yellow signal light spell scroll
components:
- type: CP14SpellStorage
spells:
- CP14ActionSpellSignalLightYellow
# BLUE
- type: entity
id: CP14ActionSpellSignalLightBlue
parent: CP14ActionSpellSignalLightBase
name: Blue signal Light
description: You launch a hovering ball of light, briefly emitting a bright glow of blue. This glow is able to penetrate the real world even from the demiplane.
components:
- type: Sprite
state: signal_light_blue
- type: CP14MagicEffect
effects:
- !type:CP14SpellSpawnEntityOnTarget
spawns:
- CP14SignalLightBlue
- type: CP14MagicEffectCastingVisual
proto: CP14RuneSignalLightBlue
- type: InstantAction
icon:
sprite: _CP14/Effects/Magic/spells_icons.rsi
state: signal_light_blue
- type: entity
id: CP14RuneSignalLightBlue
parent: CP14BaseMagicRune
categories: [ HideSpawnMenu ]
components:
- type: PointLight
color: "#42aaeb"
- type: Sprite
layers:
- state: sun
color: "#42aaeb"
shader: unshaded
- type: entity
parent: CP14BaseSpellScrollLight
id: CP14SpellscrollSignalLightBlue
name: blue signal light spell scroll
components:
- type: CP14SpellStorage
spells:
- CP14ActionSpellSignalLightBlue
# Signals
- type: entity
id: CP14SignalLightBase
abstract: true
categories: [ ForkFiltered ]
name: signal light
components:
- type: TimedDespawn
lifetime: 12
- type: Sprite
sprite: _CP14/Effects/Magic/sphere_of_light.rsi
noRot: true
layers:
- state: icon
shader: unshaded
- type: PointLight
radius: 20.0
energy: 1
netsync: false
mask: /Textures/_CP14/Effects/LightMasks/lighthouse_cone.png
- type: EmitSoundOnSpawn
sound:
path: /Audio/Items/Flare/flare_on.ogg
- type: AmbientSound
enabled: true
volume: -5
range: 5
sound:
path: /Audio/Items/Flare/flare_burn.ogg #TODO sound redesign
- type: CP14SpawnOutOfDemiplane
- type: entity
id: CP14SignalLightRed
parent: CP14SignalLightBase
suffix: Red
components:
- type: Sprite
color: "#db1616"
- type: PointLight
color: "#db1616"
- type: LightBehaviour
behaviours:
- !type:PulseBehaviour
interpolate: Cubic
maxDuration: 2
minValue: 1.0
maxValue: 60.0
property: Energy
isLooped: true
enabled: true
- type: RotatingLight
speed: 80
- type: entity
id: CP14SignalLightYellow
parent: CP14SignalLightBase
suffix: Yellow
components:
- type: Sprite
color: "#ebc942"
- type: PointLight
color: "#ebc942"
- type: LightBehaviour
behaviours:
- !type:PulseBehaviour
interpolate: Cubic
maxDuration: 3
minValue: 1.0
maxValue: 60.0
property: Energy
isLooped: true
enabled: true
- type: RotatingLight
speed: 30
- type: entity
id: CP14SignalLightBlue
parent: CP14SignalLightBase
suffix: Blue
components:
- type: Sprite
color: "#42aaeb"
- type: PointLight
color: "#42aaeb"
- type: LightBehaviour
behaviours:
- !type:PulseBehaviour
interpolate: Cubic
maxDuration: 4
minValue: 1.0
maxValue: 60.0
property: Energy
isLooped: true
enabled: true
- type: RotatingLight
speed: 50

View File

@@ -34,4 +34,5 @@
- type: Sprite
drawdepth: Effects
sprite: _CP14/Effects/Magic/cast_impact.rsi
noRot: true
noRot: true
- type: CP14SpawnOutOfDemiplane

View File

@@ -113,7 +113,7 @@
- type: entity
abstract: true
id: CP14BaseSpellScrollLightDarkness
id: CP14BaseSpellScrollLight
parent: CP14BaseSpellScroll
components:
- type: Sprite

View File

@@ -35,7 +35,7 @@
- type: PointLight
enabled: true
color: "#8f42ff"
energy: 30
energy: 1
radius: 5
netsync: false
- type: LightBehaviour

View File

@@ -67,9 +67,7 @@
drawdepth: Effects
sprite: /Textures/_CP14/Structures/Dungeon/demiplan_rift_core.rsi
layers:
- state: core
shader: unshaded
- state: pulse
- state: connective
shader: unshaded
- type: PointLight
radius: 2
@@ -80,6 +78,8 @@
guides:
- CP14_RU_Demiplanes
- CP14_EN_Demiplanes
- type: Speech
speechVerb: Ghost
- type: entity
id: CP14DemiplaneTimedRadiusPassway

View File

@@ -19,10 +19,15 @@
color: "#89e04f"
- type: magicType
id: LightDarkness
name: cp14-magic-type-light-darkness
id: Light
name: cp14-magic-type-light
color: "#ba97b8"
- type: magicType
id: Darkness
name: cp14-magic-type-darkness
color: "#4e0691"
- type: magicType
id: Meta
name: cp14-magic-type-meta