dynamic alert sprites (#25452)

* dynamic alert sprite

* fix fat cooldowns
This commit is contained in:
Nemanja
2024-03-28 02:32:56 -04:00
committed by GitHub
parent 6863a7cc26
commit d576f5cbbb
38 changed files with 154 additions and 84 deletions

View File

@@ -25,6 +25,14 @@
- alertType: Magboots
- alertType: Pacified
- type: entity
id: AlertSpriteView
categories: [ hideSpawnMenu ]
components:
- type: Sprite
layers:
- map: [ "enum.AlertVisualLayers.Base" ]
- type: alert
id: LowOxygen
category: Breathing

View File

@@ -4,45 +4,26 @@
icons:
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
state: essence0
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
state: essence1
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
state: essence2
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
state: essence3
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
state: essence4
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
state: essence5
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
state: essence6
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
state: essence7
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
state: essence8
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
state: essence9
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
state: essence10
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
state: essence11
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
state: essence12
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
state: essence13
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
state: essence14
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
state: essence15
- sprite: /Textures/Interface/Alerts/essence_counter.rsi
state: essence16
alertViewEntity: AlertEssenceSpriteView
name: alerts-revenant-essence-name
description: alerts-revenant-essence-desc
minSeverity: 0
maxSeverity: 16
- type: alert
id: Corporeal
icons: [ /Textures/Mobs/Ghosts/revenant.rsi/icon.png ]
name: alerts-revenant-corporeal-name
description: alerts-revenant-corporeal-desc
description: alerts-revenant-corporeal-desc
- type: entity
id: AlertEssenceSpriteView
categories: [ hideSpawnMenu ]
components:
- type: Sprite
sprite: /Textures/Interface/Alerts/essence_counter.rsi
layers:
- map: [ "enum.AlertVisualLayers.Base" ]
- map: [ "enum.RevenantVisualLayers.Digit1" ]
- map: [ "enum.RevenantVisualLayers.Digit2" ]
offset: 0.125, 0
- map: [ "enum.RevenantVisualLayers.Digit3" ]
offset: 0.25, 0

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 156 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 319 B

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 298 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 308 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 311 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 311 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 321 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 307 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 313 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 297 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 299 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 321 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 302 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 297 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 317 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 295 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 292 B

View File

@@ -11,52 +11,34 @@
"name": "essence0"
},
{
"name": "essence1"
"name": "0"
},
{
"name": "essence2"
"name": "1"
},
{
"name": "essence3"
"name": "2"
},
{
"name": "essence4"
"name": "3"
},
{
"name": "essence5"
"name": "4"
},
{
"name": "essence6"
"name": "5"
},
{
"name": "essence7"
"name": "6"
},
{
"name": "essence8"
"name": "7"
},
{
"name": "essence9"
"name": "8"
},
{
"name": "essence10"
},
{
"name": "essence11"
},
{
"name": "essence12"
},
{
"name": "essence13"
},
{
"name": "essence14"
},
{
"name": "essence15"
},
{
"name": "essence16"
"name": "9"
}
]
}