Add xenos (#1204)
* Add xenos for stress test Pretty hacky and not how I'd do it long-term * Remove claws * Add in unarmed combat behaviors * Cleanuppppp Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
@@ -12,6 +12,8 @@
|
||||
|
||||
- type: entity
|
||||
id: WeaponTGArc
|
||||
save: false
|
||||
abstract: true
|
||||
parent: WeaponArc
|
||||
components:
|
||||
- type: Sprite
|
||||
|
||||
59
Resources/Prototypes/Entities/Mobs/NPCs/mimic.yml
Normal file
59
Resources/Prototypes/Entities/Mobs/NPCs/mimic.yml
Normal file
@@ -0,0 +1,59 @@
|
||||
# Hacky for the stress test so don't even consider adding to this
|
||||
- type: entity
|
||||
save: false
|
||||
name: Mimic
|
||||
id: MimicMob_Content
|
||||
description: Surprise. # When this gets a proper write this should use the object's actual description >:)
|
||||
drawdepth: Mobs
|
||||
suffix: AI
|
||||
components:
|
||||
- type: AiController
|
||||
logic: Mimic
|
||||
- type: Hands
|
||||
hands:
|
||||
- left
|
||||
- right
|
||||
- type: MovementSpeedModifier
|
||||
- type: InteractionOutline
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
drawdepth: Mobs
|
||||
sprite: Buildings/VendingMachines/cola.rsi
|
||||
state: normal
|
||||
- type: Icon
|
||||
sprite: Buildings/VendingMachines/cola.rsi
|
||||
state: normal
|
||||
- type: Physics
|
||||
mass: 85
|
||||
- type: Collidable
|
||||
shapes:
|
||||
- !type:PhysShapeAabb
|
||||
bounds: "-0.35,-0.35,0.35,0.35"
|
||||
mask:
|
||||
- Impassable
|
||||
- MobImpassable
|
||||
- VaultImpassable
|
||||
- SmallImpassable
|
||||
layer:
|
||||
- Opaque
|
||||
- MobImpassable
|
||||
- type: Species
|
||||
Template: Human
|
||||
HeatResistance: 323
|
||||
- type: BodyManager
|
||||
BaseTemplate: bodyTemplate.Humanoid
|
||||
BasePreset: bodyPreset.BasicHuman
|
||||
- type: HeatResistance
|
||||
- type: Damageable
|
||||
- type: CombatMode
|
||||
- type: Teleportable
|
||||
- type: CharacterInfo
|
||||
- type: FootstepSound
|
||||
- type: HumanoidAppearance
|
||||
- type: Stunnable
|
||||
- type: AnimationPlayer
|
||||
- type: UnarmedCombat
|
||||
range: 1.5
|
||||
arcwidth: 0
|
||||
arc: fist
|
||||
damage: 90
|
||||
59
Resources/Prototypes/Entities/Mobs/NPCs/xeno.yml
Normal file
59
Resources/Prototypes/Entities/Mobs/NPCs/xeno.yml
Normal file
@@ -0,0 +1,59 @@
|
||||
# Hacky for the stress test so don't even consider adding to this
|
||||
- type: entity
|
||||
save: false
|
||||
name: Xeno
|
||||
id: XenoMob_Content
|
||||
description: They mostly come at night. Mostly.
|
||||
drawdepth: Mobs
|
||||
suffix: AI
|
||||
components:
|
||||
- type: AiController
|
||||
logic: Xeno
|
||||
- type: Hands
|
||||
hands:
|
||||
- left
|
||||
- right
|
||||
- type: MovementSpeedModifier
|
||||
# Organs
|
||||
- type: InteractionOutline
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
sprite: Mob/xeno.rsi
|
||||
state: running
|
||||
- type: Icon
|
||||
sprite: Mob/xeno.rsi
|
||||
state: running
|
||||
- type: Physics
|
||||
mass: 85
|
||||
- type: Collidable
|
||||
shapes:
|
||||
- !type:PhysShapeAabb
|
||||
bounds: "-0.35,-0.35,0.35,0.35"
|
||||
mask:
|
||||
- Impassable
|
||||
- MobImpassable
|
||||
- VaultImpassable
|
||||
- SmallImpassable
|
||||
layer:
|
||||
- Opaque
|
||||
- MobImpassable
|
||||
- type: Species
|
||||
Template: Human
|
||||
HeatResistance: 323
|
||||
- type: BodyManager
|
||||
BaseTemplate: bodyTemplate.Humanoid
|
||||
BasePreset: bodyPreset.BasicHuman
|
||||
- type: HeatResistance
|
||||
- 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
|
||||
20
Resources/Prototypes/Entities/Mobs/Player/human.yml
Normal file
20
Resources/Prototypes/Entities/Mobs/Player/human.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
- type: entity
|
||||
save: false
|
||||
name: Urist McHands
|
||||
parent: BaseHumanMob_Content
|
||||
abstract: true
|
||||
id: HumanMob_Content
|
||||
description: A miserable pile of secrets
|
||||
drawdepth: Mobs
|
||||
components:
|
||||
- type: Mind
|
||||
show_examine_info: true
|
||||
- type: Input
|
||||
context: "human"
|
||||
- type: StatusEffectsUI
|
||||
- type: OverlayEffectsUI
|
||||
- type: Eye
|
||||
zoom: 0.5, 0.5
|
||||
- type: CameraRecoil
|
||||
- type: Examiner
|
||||
- type: HumanInventoryController
|
||||
@@ -1,5 +1,5 @@
|
||||
# Both humans and NPCs inherit from this.
|
||||
# Anything human specific (e.g. UI, input) goes under HumanMob_Content
|
||||
# Anything player specific (e.g. UI, input) goes under HumanMob_Content
|
||||
- type: entity
|
||||
save: false
|
||||
name: Urist McHands
|
||||
@@ -138,26 +138,6 @@
|
||||
arcwidth: 30
|
||||
arc: fist
|
||||
|
||||
- type: entity
|
||||
save: false
|
||||
name: Urist McHands
|
||||
parent: BaseHumanMob_Content
|
||||
id: HumanMob_Content
|
||||
description: A miserable pile of secrets
|
||||
drawdepth: Mobs
|
||||
components:
|
||||
- type: Mind
|
||||
show_examine_info: true
|
||||
- type: Input
|
||||
context: "human"
|
||||
- type: StatusEffectsUI
|
||||
- type: OverlayEffectsUI
|
||||
- type: Eye
|
||||
zoom: 0.5, 0.5
|
||||
- type: CameraRecoil
|
||||
- type: Examiner
|
||||
- type: HumanInventoryController
|
||||
|
||||
- type: entity
|
||||
save: false
|
||||
name: Urist McHands
|
||||
|
||||
19
Resources/Textures/Mob/xeno.rsi/meta.json
Normal file
19
Resources/Textures/Mob/xeno.rsi/meta.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 64,
|
||||
"y": 32
|
||||
},
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "https://github.com/discordia-space/CEV-Eris/raw/7344da18b5e3dd0b1994a84e9c9c0774d71b93a5/icons/mob/alien.dmi",
|
||||
"states": [
|
||||
{
|
||||
"name": "running",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "standing",
|
||||
"directions": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Resources/Textures/Mob/xeno.rsi/running.png
Normal file
BIN
Resources/Textures/Mob/xeno.rsi/running.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.9 KiB |
BIN
Resources/Textures/Mob/xeno.rsi/standing.png
Normal file
BIN
Resources/Textures/Mob/xeno.rsi/standing.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
BIN
Resources/Textures/Objects/Melee/xeno_claw.rsi/icon.png
Normal file
BIN
Resources/Textures/Objects/Melee/xeno_claw.rsi/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 309 B |
BIN
Resources/Textures/Objects/Melee/xeno_claw.rsi/inhand-left.png
Normal file
BIN
Resources/Textures/Objects/Melee/xeno_claw.rsi/inhand-left.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
BIN
Resources/Textures/Objects/Melee/xeno_claw.rsi/inhand-right.png
Normal file
BIN
Resources/Textures/Objects/Melee/xeno_claw.rsi/inhand-right.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
23
Resources/Textures/Objects/Melee/xeno_claw.rsi/meta.json
Normal file
23
Resources/Textures/Objects/Melee/xeno_claw.rsi/meta.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"version": 1,
|
||||
"size": {
|
||||
"x": 32,
|
||||
"y": 32
|
||||
},
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "https://github.com/discordia-space/CEV-Eris/raw/7344da18b5e3dd0b1994a84e9c9c0774d71b93a5/icons/mob/alien.dmi",
|
||||
"states": [
|
||||
{
|
||||
"name": "icon",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "inhand-left",
|
||||
"directions": 1
|
||||
},
|
||||
{
|
||||
"name": "inhand-right",
|
||||
"directions": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user