added Character Setup (#511)

* added Character Setup

* whoops

* reverted unrelated changes

* Made everything work post-rebase

* Removed unused PreferencesChanged event

* nope, don't need this

* HumanoidProfileEditorPanel -> HumanoidProfileEditor

* Set initial data for hair pickers

* Fixed nullable warning

* Renamed LooksComponent -> HumanoidAppearanceComponent

* Renamed LooksComponentState -> HumanoidAppearanceComponentState

* Final renaming maybe

* Use a human-like dummy instead of a real human

* Change preferences structs back to classes
This commit is contained in:
DamianX
2020-01-18 01:54:13 +01:00
committed by Pieter-Jan Briers
parent d03da83fda
commit a4e369e629
41 changed files with 1423 additions and 756 deletions

View File

@@ -22,7 +22,8 @@
drawdepth: Mobs
layers:
- sprite: Mob/human.rsi
- map: ["enum.HumanoidVisualLayers.Body"]
sprite: Mob/human.rsi
state: male
- map: ["enum.Slots.INNERCLOTHING"]
- map: ["enum.Slots.IDCARD"]
@@ -82,4 +83,71 @@
- type: Examiner
- type: CharacterInfo
- type: FootstepSound
- type: Hair
- type: HumanoidAppearance
- type: entity
save: false
name: Urist McHands
id: HumanMob_Dummy
description: A dummy human meant to be used in character setup
components:
- type: Hands
hands:
- left
- right
# Organs
- type: Stomach
- type: Inventory
- type: Sprite
netsync: false
drawdepth: Mobs
layers:
- map: ["enum.HumanoidVisualLayers.Body"]
sprite: Mob/human.rsi
state: male
- map: ["enum.Slots.INNERCLOTHING"]
- map: ["enum.Slots.IDCARD"]
- map: ["enum.Slots.GLOVES"]
- map: ["enum.Slots.SHOES"]
- map: ["enum.Slots.EARS"]
- map: ["enum.Slots.OUTERCLOTHING"]
- map: ["enum.Slots.EYES"]
- map: ["enum.Slots.BELT"]
- map: ["enum.Slots.BACKPACK"]
- map: ["enum.HumanoidVisualLayers.FacialHair"]
state: shaved
sprite: Mob/human_facial_hair.rsi
- map: ["enum.HumanoidVisualLayers.Hair"]
state: bald
sprite: Mob/human_hair.rsi
- map: ["enum.Slots.MASK"]
- map: ["enum.Slots.HEAD"]
- map: ["hand-left"]
- map: ["hand-right"]
- type: Icon
sprite: Mob/human.rsi
state: male
- type: Physics
mass: 85
- type: Collidable
shapes:
- !type:PhysShapeAabb
bounds: "-0.35,-0.35,0.35,0.35"
mask: 30
layer: 4
- type: Species
Template: Human
HeatResistance: 323
- type: Damageable
- type: Appearance
visuals:
- type: SpeciesVisualizer2D
- type: HumanoidAppearance

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -1,29 +1,153 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
"version": 1,
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "fat_husk",
"directions": 4,
"delays": [
[
1.0
],
[
1.0
],
[
1.0
],
[
1.0
]
]
},
"license": "CC-BY-SA-3.0",
"copyright": "Taken from https://github.com/discordia-space/CEV-Eris at commit 9a3a3a180344460263e8df7ea2565128e07b86b5",
"states": [
{
"name": "male",
"directions": 4,
"delays": [
[
1.0
],
[
1.0
],
[
1.0
],
[
1.0
]
]
}
]
{
"name": "female",
"directions": 4,
"delays": [
[
1.0
],
[
1.0
],
[
1.0
],
[
1.0
]
]
},
{
"name": "female_fat",
"directions": 4,
"delays": [
[
1.0
],
[
1.0
],
[
1.0
],
[
1.0
]
]
},
{
"name": "female_slim",
"directions": 4,
"delays": [
[
1.0
],
[
1.0
],
[
1.0
],
[
1.0
]
]
},
{
"name": "husk",
"directions": 4,
"delays": [
[
1.0
],
[
1.0
],
[
1.0
],
[
1.0
]
]
},
{
"name": "male",
"directions": 4,
"delays": [
[
1.0
],
[
1.0
],
[
1.0
],
[
1.0
]
]
},
{
"name": "male_fat",
"directions": 4,
"delays": [
[
1.0
],
[
1.0
],
[
1.0
],
[
1.0
]
]
},
{
"name": "male_slim",
"directions": 4,
"delays": [
[
1.0
],
[
1.0
],
[
1.0
],
[
1.0
]
]
}
]
}