Skip to content

Commit

Permalink
some better dome effects
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinary1 committed Oct 17, 2024
1 parent 19ce1e5 commit 6c2a3f1
Showing 1 changed file with 42 additions and 34 deletions.
76 changes: 42 additions & 34 deletions Resources/Prototypes/Entities/Effects/dome.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Basic

- type: entity
id: EnergyDomeBase
abstract: true
Expand Down Expand Up @@ -32,43 +34,59 @@
tags:
- HideContextMenu
- IgnoreMelee

# Nukeops

- type: entity
id: EnergyDomeSmallPink
id: EnergyDomeSmallRed
categories: [ HideSpawnMenu ]
parent: EnergyDomeBase
components:
- type: Sprite
drawdepth: Effects
noRot: true
sprite: Effects/EnergyDome/energydome_small.rsi
layers:
- state: small
color: "#f5166b"
color: "#b00000"
- type: PointLight
enabled: true
radius: 5
power: 2
color: "#f5166b"
color: "#b00000"

- type: entity
id: EnergyDomeSmallBlue
id: EnergyDomeMediumRed
categories: [ HideSpawnMenu ]
parent: EnergyDomeBase
components:
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 1.8
density: 0
mask:
- None
layer:
- BulletImpassable
- Opaque
- type: Sprite
drawdepth: Effects
noRot: true
sprite: Effects/EnergyDome/energydome_small.rsi
sprite: Effects/EnergyDome/energydome_medium.rsi
layers:
- state: small
color: "#64b9de"
- state: medium
color: "#b00000"
- type: PointLight
enabled: true
radius: 5
power: 2
color: "#64b9de"
power: 10
color: "#b00000"

# NanoTrasen

- type: entity
id: EnergyDomeSmallRed
id: EnergyDomeSmallBlue
categories: [ HideSpawnMenu ]
parent: EnergyDomeBase
components:
Expand All @@ -78,13 +96,13 @@
sprite: Effects/EnergyDome/energydome_small.rsi
layers:
- state: small
color: "#b00000"
color: "#64b9de"
- type: PointLight
enabled: true
radius: 5
power: 2
color: "#b00000"

color: "#64b9de"
- type: entity
id: EnergyDomeMediumBlue
categories: [ HideSpawnMenu ]
Expand Down Expand Up @@ -112,34 +130,24 @@
radius: 5
power: 10
color: "#64b9de"


# Misc

- type: entity
id: EnergyDomeMediumRed
id: EnergyDomeSmallPink
categories: [ HideSpawnMenu ]
parent: EnergyDomeBase
components:
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 1.8
density: 0
mask:
- None
layer:
- BulletImpassable
- Opaque
- type: Sprite
sprite: Effects/EnergyDome/energydome_medium.rsi
sprite: Effects/EnergyDome/energydome_small.rsi
layers:
- state: medium
color: "#b00000"
- state: small
color: "#f5166b"
- type: PointLight
enabled: true
radius: 5
power: 10
color: "#b00000"
power: 2
color: "#f5166b"

- type: entity
id: EnergyDomeSlowing
Expand Down

0 comments on commit 6c2a3f1

Please sign in to comment.