New foam sprites (edge sprites) (#21308)
* New foam sprites (icon smoothing) * changed to edge sprites for foam * fix * edges for metal foams * fix
@@ -34,14 +34,25 @@
|
|||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
drawdepth: Effects
|
drawdepth: Effects
|
||||||
color: "#ffffffcc" #Add some transparency
|
color: "#ffffffcc"
|
||||||
sprite: Effects/foam.rsi
|
sprite: Effects/foam.rsi
|
||||||
state: foam
|
|
||||||
layers:
|
layers:
|
||||||
- state: foam
|
- state: foam
|
||||||
map: ["enum.FoamVisualLayers.Base"]
|
map: ["enum.FoamVisualLayers.Base"]
|
||||||
|
- map: [ "enum.EdgeLayer.South" ]
|
||||||
|
state: foam-south
|
||||||
|
- map: [ "enum.EdgeLayer.East" ]
|
||||||
|
state: foam-east
|
||||||
|
- map: [ "enum.EdgeLayer.North" ]
|
||||||
|
state: foam-north
|
||||||
|
- map: [ "enum.EdgeLayer.West" ]
|
||||||
|
state: foam-west
|
||||||
- type: AnimationPlayer
|
- type: AnimationPlayer
|
||||||
- type: Appearance
|
- type: Appearance
|
||||||
|
- type: SmoothEdge
|
||||||
|
- type: IconSmooth
|
||||||
|
key: walls
|
||||||
|
mode: NoSprite
|
||||||
- type: SmokeVisuals
|
- type: SmokeVisuals
|
||||||
- type: FoamVisuals
|
- type: FoamVisuals
|
||||||
animationTime: 0.6
|
animationTime: 0.6
|
||||||
@@ -73,22 +84,39 @@
|
|||||||
- type: StepTrigger
|
- type: StepTrigger
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: IronMetalFoam
|
id: MetalFoam
|
||||||
name: iron metal foam
|
name: metal foam
|
||||||
noSpawn: true
|
noSpawn: true
|
||||||
parent: Foam
|
parent: Foam
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
state: mfoam
|
drawdepth: Effects
|
||||||
|
color: "#ffffffcc"
|
||||||
|
sprite: Effects/foam.rsi
|
||||||
layers:
|
layers:
|
||||||
- state: mfoam
|
- state: m_foam
|
||||||
map: ["enum.FoamVisualLayers.Base"]
|
map: ["enum.FoamVisualLayers.Base"]
|
||||||
|
- map: [ "enum.EdgeLayer.South" ]
|
||||||
|
state: m_foam-south
|
||||||
|
- map: [ "enum.EdgeLayer.East" ]
|
||||||
|
state: m_foam-east
|
||||||
|
- map: [ "enum.EdgeLayer.North" ]
|
||||||
|
state: m_foam-north
|
||||||
|
- map: [ "enum.EdgeLayer.West" ]
|
||||||
|
state: m_foam-west
|
||||||
- type: Appearance
|
- type: Appearance
|
||||||
- type: SmokeVisuals
|
- type: SmokeVisuals
|
||||||
- type: FoamVisuals
|
- type: FoamVisuals
|
||||||
animationTime: 0.6
|
animationTime: 0.6
|
||||||
animationState: mfoam-dissolve
|
animationState: m_foam-dissolve
|
||||||
- type: Smoke
|
- type: Smoke
|
||||||
|
|
||||||
|
- type: entity
|
||||||
|
id: IronMetalFoam
|
||||||
|
name: iron metal foam
|
||||||
|
noSpawn: true
|
||||||
|
parent: MetalFoam
|
||||||
|
components:
|
||||||
- type: SpawnOnDespawn
|
- type: SpawnOnDespawn
|
||||||
prototype: FoamedIronMetal
|
prototype: FoamedIronMetal
|
||||||
|
|
||||||
@@ -96,19 +124,8 @@
|
|||||||
id: AluminiumMetalFoam
|
id: AluminiumMetalFoam
|
||||||
name: aluminium metal foam
|
name: aluminium metal foam
|
||||||
noSpawn: true
|
noSpawn: true
|
||||||
parent: Foam
|
parent: MetalFoam
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
|
||||||
state: mfoam
|
|
||||||
layers:
|
|
||||||
- state: mfoam
|
|
||||||
map: ["enum.FoamVisualLayers.Base"]
|
|
||||||
- type: Appearance
|
|
||||||
- type: SmokeVisuals
|
|
||||||
- type: FoamVisuals
|
|
||||||
animationTime: 0.6
|
|
||||||
animationState: mfoam-dissolve
|
|
||||||
- type: Smoke
|
|
||||||
- type: SpawnOnDespawn
|
- type: SpawnOnDespawn
|
||||||
prototype: FoamedAluminiumMetal
|
prototype: FoamedAluminiumMetal
|
||||||
|
|
||||||
@@ -139,6 +156,11 @@
|
|||||||
mask:
|
mask:
|
||||||
- WallLayer
|
- WallLayer
|
||||||
- type: Occluder
|
- type: Occluder
|
||||||
|
- type: Appearance
|
||||||
|
- type: SmoothEdge
|
||||||
|
- type: IconSmooth
|
||||||
|
key: walls
|
||||||
|
mode: NoSprite
|
||||||
- type: Transform
|
- type: Transform
|
||||||
anchored: true
|
anchored: true
|
||||||
- type: Airtight
|
- type: Airtight
|
||||||
@@ -161,8 +183,20 @@
|
|||||||
parent: BaseFoamedMetal
|
parent: BaseFoamedMetal
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
|
drawdepth: Effects
|
||||||
|
color: "#ffffffcc"
|
||||||
sprite: Effects/foam.rsi
|
sprite: Effects/foam.rsi
|
||||||
state: ironfoam
|
layers:
|
||||||
|
- state: iron_foam
|
||||||
|
map: ["enum.FoamVisualLayers.Base"]
|
||||||
|
- map: [ "enum.EdgeLayer.South" ]
|
||||||
|
state: iron_foam-south
|
||||||
|
- map: [ "enum.EdgeLayer.East" ]
|
||||||
|
state: iron_foam-east
|
||||||
|
- map: [ "enum.EdgeLayer.North" ]
|
||||||
|
state: iron_foam-north
|
||||||
|
- map: [ "enum.EdgeLayer.West" ]
|
||||||
|
state: iron_foam-west
|
||||||
|
|
||||||
- type: entity
|
- type: entity
|
||||||
id: FoamedAluminiumMetal
|
id: FoamedAluminiumMetal
|
||||||
@@ -171,5 +205,17 @@
|
|||||||
parent: BaseFoamedMetal
|
parent: BaseFoamedMetal
|
||||||
components:
|
components:
|
||||||
- type: Sprite
|
- type: Sprite
|
||||||
|
drawdepth: Effects
|
||||||
|
color: "#ffffffcc"
|
||||||
sprite: Effects/foam.rsi
|
sprite: Effects/foam.rsi
|
||||||
state: metalfoam
|
layers:
|
||||||
|
- state: metal_foam
|
||||||
|
map: ["enum.FoamVisualLayers.Base"]
|
||||||
|
- map: [ "enum.EdgeLayer.South" ]
|
||||||
|
state: metal_foam-south
|
||||||
|
- map: [ "enum.EdgeLayer.East" ]
|
||||||
|
state: metal_foam-east
|
||||||
|
- map: [ "enum.EdgeLayer.North" ]
|
||||||
|
state: metal_foam-north
|
||||||
|
- map: [ "enum.EdgeLayer.West" ]
|
||||||
|
state: metal_foam-west
|
||||||
|
|||||||
BIN
Resources/Textures/Effects/foam.rsi/foam-east.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
Resources/Textures/Effects/foam.rsi/foam-north.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
Resources/Textures/Effects/foam.rsi/foam-south.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
Resources/Textures/Effects/foam.rsi/foam-west.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
Resources/Textures/Effects/foam.rsi/iron_foam-east.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
Resources/Textures/Effects/foam.rsi/iron_foam-north.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
Resources/Textures/Effects/foam.rsi/iron_foam-south.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
Resources/Textures/Effects/foam.rsi/iron_foam-west.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 5.4 KiB |
BIN
Resources/Textures/Effects/foam.rsi/m_foam-east.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
Resources/Textures/Effects/foam.rsi/m_foam-north.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
Resources/Textures/Effects/foam.rsi/m_foam-south.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
Resources/Textures/Effects/foam.rsi/m_foam-west.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
@@ -1 +1,99 @@
|
|||||||
{"version": 1, "size": {"x": 32, "y": 32}, "license": "CC-BY-SA-3.0", "copyright": "Taken from https://github.com/discordia-space/CEV-Eris/blob/81b3a082ccdfb425f36bbed6e5bc1f0faed346ec/icons/effects/effects.dmi", "states": [{"name": "foam", "directions": 1}, {"name": "foam-dissolve", "directions": 1, "delays": [[0.1, 0.1, 0.1, 0.1, 0.1, 0.1]]}, {"name": "ironfoam", "directions": 1}, {"name": "metalfoam", "directions": 1}, {"name": "mfoam", "directions": 1}, {"name": "mfoam-dissolve", "directions": 1, "delays": [[0.1, 0.1, 0.1, 0.1, 0.1, 0.1]]}]}
|
{
|
||||||
|
"version": 1,
|
||||||
|
"license": "CC-BY-SA-3.0",
|
||||||
|
"copyright": "Taken from https://github.com/discordia-space/CEV-Eris/blob/81b3a082ccdfb425f36bbed6e5bc1f0faed346ec/icons/effects/effects.dmi, foam_directionals by brainfood1183 (github)",
|
||||||
|
"size": {
|
||||||
|
"x": 32,
|
||||||
|
"y": 32
|
||||||
|
},
|
||||||
|
"states": [
|
||||||
|
{
|
||||||
|
"name": "foam"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "foam-west"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "foam-east"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "foam-north"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "foam-south"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "iron_foam"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "iron_foam-north"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "iron_foam-east"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "iron_foam-south"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "iron_foam-west"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "metal_foam"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "metal_foam-north"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "metal_foam-east"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "metal_foam-south"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "metal_foam-west"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "m_foam"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "m_foam-north"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "m_foam-east"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "m_foam-south"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "m_foam-west"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "m_foam-dissolve",
|
||||||
|
"directions": 1,
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "foam-dissolve",
|
||||||
|
"directions": 1,
|
||||||
|
"delays": [
|
||||||
|
[
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1,
|
||||||
|
0.1
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|||||||
BIN
Resources/Textures/Effects/foam.rsi/metal_foam-east.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
Resources/Textures/Effects/foam.rsi/metal_foam-north.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
Resources/Textures/Effects/foam.rsi/metal_foam-south.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
Resources/Textures/Effects/foam.rsi/metal_foam-west.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |