Damage visualizer for simple mobs (#1332)
Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com> Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Hacky for the stress test so don't even consider adding to this
|
||||
- type: entity
|
||||
save: false
|
||||
name: Xeno
|
||||
name: Xeno hunter
|
||||
id: XenoMob_Content
|
||||
description: They mostly come at night. Mostly.
|
||||
drawdepth: Mobs
|
||||
@@ -14,15 +14,16 @@
|
||||
- left
|
||||
- right
|
||||
- type: MovementSpeedModifier
|
||||
# Organs
|
||||
- type: InteractionOutline
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
sprite: Mobs/Species/xeno.rsi
|
||||
state: running
|
||||
layers:
|
||||
- map: ["enum.DamageStateVisualLayers.Base"]
|
||||
state: running
|
||||
sprite: Mobs/Species/xeno_hunter.rsi
|
||||
- type: Icon
|
||||
sprite: Mobs/Species/xeno.rsi
|
||||
state: running
|
||||
sprite: Mobs/Species/xeno_hunter.rsi
|
||||
state: standing
|
||||
- type: Clickable
|
||||
- type: Physics
|
||||
mass: 85
|
||||
@@ -48,13 +49,16 @@
|
||||
- type: Damageable
|
||||
- type: CombatMode
|
||||
- type: Teleportable
|
||||
- type: CharacterInfo
|
||||
- type: FootstepSound
|
||||
- type: HumanoidAppearance
|
||||
- type: Stunnable
|
||||
- type: AnimationPlayer
|
||||
- type: UnarmedCombat
|
||||
range: 1.5
|
||||
arcwidth: 0
|
||||
arc: claw
|
||||
damage: 90
|
||||
- type: Appearance
|
||||
visuals:
|
||||
- type: DamageStateVisualizer2D
|
||||
normal: running
|
||||
dead: dead
|
||||
|
||||
BIN
Resources/Textures/Mobs/Species/xeno_hunter.rsi/dead.png
Normal file
BIN
Resources/Textures/Mobs/Species/xeno_hunter.rsi/dead.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.9 KiB |
@@ -14,6 +14,20 @@
|
||||
{
|
||||
"name": "standing",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "dead",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "sleeping",
|
||||
"directions": 1,
|
||||
"delays": [
|
||||
[
|
||||
1.0,
|
||||
1.0
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 7.9 KiB |
BIN
Resources/Textures/Mobs/Species/xeno_hunter.rsi/sleeping.png
Normal file
BIN
Resources/Textures/Mobs/Species/xeno_hunter.rsi/sleeping.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.5 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Reference in New Issue
Block a user