Skip to content

Commit

Permalink
somemoreanimation
Browse files Browse the repository at this point in the history
+ caracal, mcgriff, breaddog
  • Loading branch information
ravage123321 committed Sep 23, 2024
1 parent f6a7216 commit 5a2c973
Show file tree
Hide file tree
Showing 11 changed files with 106 additions and 7 deletions.
9 changes: 8 additions & 1 deletion Resources/Prototypes/Entities/Mobs/NPCs/animals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3055,8 +3055,15 @@
- type: Sprite
sprite: Mobs/Pets/caracal.rsi
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
- map: ["enum.DamageStateVisualLayers.Base", "movement"]
state: caracal_flop
- type: SpriteMovement
movementLayers:
movement:
state: caracal-moving
noMovementLayers:
movement:
state: caracal_flop
- type: DamageStateVisuals
states:
Alive:
Expand Down
9 changes: 8 additions & 1 deletion Resources/Prototypes/Entities/Mobs/NPCs/pets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,15 @@
drawdepth: Mobs
sprite: Mobs/Pets/mcgriff.rsi
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
- map: ["enum.DamageStateVisualLayers.Base", "movement"]
state: mcgriff
- type: SpriteMovement
movementLayers:
movement:
state: mcgriff-moving
noMovementLayers:
movement:
state: mcgriff
- type: Physics
- type: Fixtures
fixtures:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -874,8 +874,15 @@
drawdepth: Mobs
sprite: Mobs/Pets/breaddog.rsi
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
state: base
- map: ["enum.DamageStateVisualLayers.Base", "movement"]
state: breaddog
- type: SpriteMovement
movementLayers:
movement:
state: breaddog-moving
noMovementLayers:
movement:
state: breaddog
- type: Fixtures
fixtures:
fix1:
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 29 additions & 3 deletions Resources/Textures/Mobs/Pets/breaddog.rsi/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,39 @@
"states":
[
{
"name": "base",
"name": "breaddog",
"directions": 4
},

{
"name": "dead",
"name": "breaddog_dead",
"directions": 1
},
{
"name": "breaddog-moving",
"directions": 4,
"delays": [
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
]
]
}
]
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions Resources/Textures/Mobs/Pets/caracal.rsi/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,32 @@
{
"name": "caracal_dead"
},
{
"name": "caracal-moving",
"directions": 4,
"delays": [
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
]
]
},
{
"name": "caracal_flop",
"directions": 4,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions Resources/Textures/Mobs/Pets/mcgriff.rsi/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,32 @@
{
"name": "mcgriff_dead",
"directions": 1
},
{
"name": "mcgriff-moving",
"directions": 4,
"delays": [
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
],
[
0.2,
0.2,
0.2
]
]
}
]
}

0 comments on commit 5a2c973

Please sign in to comment.