Skeleton demiplane antag (#609)

* skeletons! ack

* nerf skeletons
This commit is contained in:
Ed
2024-11-24 22:08:05 +03:00
committed by GitHub
parent 191112a8a8
commit 8057fad4d3
28 changed files with 481 additions and 9 deletions

View File

@@ -0,0 +1,2 @@
cp14-ghost-role-information-name-skeleton = Demiplane skeleton
cp14-ghost-role-information-description-skeleton = A spawn of necromancy that seeks to kill all living things that have infiltrated the demiplane.

View File

@@ -0,0 +1 @@
cp14-ghost-role-information-rules-demiplane = Вы - [color=red]антагонист демиплана[/color]. Ваша задача - убить вторженцев в демиплан любой ценой. Вы можете выполнять свою цель любыми способами. Вы не помните вашу прошлую жизнь, и вам абсолютно [color=red]НЕ[/color] разрешается помнить, скажем, имя, внешность и т.д. вашего предыдущего персонажа.

View File

@@ -0,0 +1,2 @@
cp14-ghost-role-information-name-skeleton = Скелет демиплана
cp14-ghost-role-information-description-skeleton = Порождение некромантии, стремящееся убить все живое, проникшее в демиплан.

View File

@@ -0,0 +1 @@
cp14-ghost-role-information-rules-demiplane = Вы - [color=red]антагонист демиплана[/color]. Ваша задача - убить вторженцев в демиплан любой ценой. Вы можете выполнять свою цель любыми способами. Вы не помните вашу прошлую жизнь, и вам абсолютно [color=red]НЕ[/color] разрешается помнить, скажем, имя, внешность и т.д. вашего предыдущего персонажа.

View File

@@ -0,0 +1,40 @@
- type: body
id: CP14Skeleton
name: skeleton
root: torso
slots:
head:
part: CP14HeadSkeleton
connections:
- torso
torso:
part: TorsoHuman
connections:
- right_arm
- left_arm
- right_leg
- left_leg
right_arm:
part: CP14RightArmSkeleton
connections:
- right_hand
left_arm:
part: CP14LeftArmSkeleton
connections:
- left_hand
right_hand:
part: CP14RightHandSkeleton
left_hand:
part: CP14LeftHandSkeleton
right_leg:
part: CP14RightLegSkeleton
connections:
- right_foot
left_leg:
part: CP14LeftLegSkeleton
connections:
- left_foot
right_foot:
part: CP14RightFootSkeleton
left_foot:
part: CP14LeftFootSkeleton

View File

@@ -0,0 +1,95 @@
- type: entity
id: CP14TorsoSkeleton
parent: CP14TorsoHuman
categories: [ ForkFiltered ]
components:
- type: Sprite
sprite: _CP14/Mobs/Species/Skeleton/parts.rsi
state: torso
- type: entity
id: CP14HeadSkeleton
parent: CP14HeadHuman
categories: [ ForkFiltered ]
components:
- type: Sprite
sprite: _CP14/Mobs/Species/Skeleton/parts.rsi
state: head
- type: entity
id: CP14LeftArmSkeleton
parent: CP14LeftArmHuman
categories: [ ForkFiltered ]
components:
- type: Sprite
sprite: _CP14/Mobs/Species/Skeleton/parts.rsi
- type: entity
id: CP14RightArmSkeleton
parent: CP14RightArmHuman
categories: [ ForkFiltered ]
components:
- type: Sprite
sprite: _CP14/Mobs/Species/Skeleton/parts.rsi
- type: entity
id: CP14LeftHandSkeleton
parent: CP14LeftHandHuman
categories: [ ForkFiltered ]
components:
- type: Sprite
sprite: _CP14/Mobs/Species/Skeleton/parts.rsi
- type: entity
id: CP14RightHandSkeleton
parent: CP14RightHandHuman
categories: [ ForkFiltered ]
components:
- type: Sprite
sprite: _CP14/Mobs/Species/Skeleton/parts.rsi
- type: entity
id: CP14LeftLegSkeleton
parent: CP14LeftLegHuman
categories: [ ForkFiltered ]
components:
- type: Sprite
sprite: _CP14/Mobs/Species/Skeleton/parts.rsi
state: "l_leg"
- type: Icon
sprite: _CP14/Mobs/Species/Skeleton/parts.rsi
state: "l_leg"
- type: BodyPart
partType: Leg
symmetry: Left
- type: entity
id: CP14RightLegSkeleton
parent: CP14RightLegHuman
categories: [ ForkFiltered ]
components:
- type: Sprite
sprite: _CP14/Mobs/Species/Skeleton/parts.rsi
state: "r_leg"
- type: Icon
sprite: _CP14/Mobs/Species/Skeleton/parts.rsi
state: "r_leg"
- type: BodyPart
partType: Leg
symmetry: Right
- type: entity
id: CP14LeftFootSkeleton
parent: CP14LeftFootHuman
categories: [ ForkFiltered ]
components:
- type: Sprite
sprite: _CP14/Mobs/Species/Skeleton/parts.rsi
- type: entity
id: CP14RightFootSkeleton
parent: CP14RightFootHuman
categories: [ ForkFiltered ]
components:
- type: Sprite
sprite: _CP14/Mobs/Species/Skeleton/parts.rsi

View File

@@ -0,0 +1,40 @@
- type: entity
id: CP14MobUndeadSkeleton
parent: CP14BaseMobSkeleton
name: skeleton
description: animated by the dark magic of a fragile skeleton. Skeletons are usually extremely intelligent creatures, controlled by a recently deceased soul.
categories: [ ForkFiltered ]
components:
- type: NpcFactionMember
factions:
- CP14Undead
- type: Loadout
prototypes:
- CP14MobSkeleton
- type: CP14SkillsStorage
- type: CP14AutoAddSkill
skills:
- Warcraft
- type: entity
id: SpawnPointGhostDemiplaneSkeleton
name: ghost role spawn point
suffix: rat king
categories: [ ForkFiltered ]
parent: MarkerBase
components:
- type: GhostRole
name: cp14-ghost-role-information-name-skeleton
allowMovement: true
description: cp14-ghost-role-information-description-skeleton
rules: cp14-ghost-role-information-rules-demiplane
raffle:
settings: default
- type: GhostRoleMobSpawner
prototype: CP14MobUndeadSkeleton
- type: Sprite
sprite: Markers/jobs.rsi
layers:
- state: green
- sprite: _CP14/Mobs/Species/Skeleton/parts.rsi
state: full

View File

@@ -0,0 +1,117 @@
- type: entity
parent:
- BaseMobSpecies
- MobFlammable
id: CP14BaseMobSkeleton
name: Mr. Skeleton
abstract: true
components:
- type: HumanoidAppearance
species: CP14Skeleton
- type: Sprite
layers:
- map: [ "enum.HumanoidVisualLayers.Chest" ]
- map: [ "enum.HumanoidVisualLayers.Head" ]
- map: [ "enum.HumanoidVisualLayers.Snout" ]
- map: [ "enum.HumanoidVisualLayers.Eyes" ]
- map: [ "enum.HumanoidVisualLayers.RArm" ]
- map: [ "enum.HumanoidVisualLayers.LArm" ]
- map: [ "enum.HumanoidVisualLayers.RLeg" ]
- map: [ "enum.HumanoidVisualLayers.LLeg" ]
- map: [ "shirt" ]
- map: [ "pants" ]
- map: [ "enum.HumanoidVisualLayers.LFoot" ]
- map: [ "enum.HumanoidVisualLayers.RFoot" ]
- map: [ "enum.HumanoidVisualLayers.LHand" ]
- map: [ "enum.HumanoidVisualLayers.RHand" ]
- map: [ "gloves" ]
- map: [ "shoes" ]
- map: [ "ears" ]
- map: [ "cloak" ]
- map: [ "eyes" ]
- map: [ "belt1" ]
- map: [ "belt2" ]
- map: [ "neck" ]
- map: [ "back" ]
- map: [ "enum.HumanoidVisualLayers.HeadSide" ]
- map: [ "enum.HumanoidVisualLayers.HeadTop" ]
- map: [ "enum.HumanoidVisualLayers.Tail" ]
- map: [ "mask" ]
- map: [ "head" ]
- map: [ "pocket1" ]
- map: [ "pocket2" ]
- map: ["enum.HumanoidVisualLayers.Handcuffs"]
color: "#ffffff"
sprite: Objects/Misc/handcuffs.rsi
state: body-overlay-2
visible: false
- type: DamageVisuals
damageOverlayGroups:
Brute:
sprite: Mobs/Effects/brute_damage.rsi
color: "#555555AA"
Burn:
sprite: Mobs/Effects/burn_damage.rsi
- type: Icon
sprite: _CP14/Mobs/Species/Skeleton/parts.rsi
state: full
- type: Body
prototype: CP14Skeleton
requiredLegs: 2
gibSound: /Audio/Effects/bone_rattle.ogg
- type: MobState
allowedStates:
- Alive
- Dead
- type: MobThresholds
thresholds:
0: Alive
50: Dead
- type: SlowOnDamage
speedModifierThresholds:
40: 0.8
25: 0.6
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.35
density: 130
restitution: 0.0
mask:
- MobMask
layer:
- MobLayer
- type: Damageable
damageContainer: Biological
damageModifierSet: Skeleton
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 50
behaviors:
- !type:GibBehavior { }
- type: Vocal
sounds:
Male: Skeleton
Female: Skeleton
Unsexed: Skeleton
#- type: ReplacementAccent
# accent: Skeleton
- type: FireVisuals
alternateState: Standing #TODO - custom visuals
- type: ContainerContainer
- type: Inventory
templateId: CP14Human
- type: entity
parent: CP14BaseSpeciesDummy
id: CP14MobSkeletonDummy
categories: [ HideSpawnMenu ]
components:
- type: HumanoidAppearance
species: CP14Skeleton
- type: Inventory
templateId: CP14Human

View File

@@ -86,4 +86,10 @@
path: /Audio/Items/candle_blowing.ogg #TODO sound
params:
variation: 0.05
volume: 10
volume: 10
- type: entity
parent: CP14Torch
id: CP14TorchIgnited
components:
- type: CP14AutoIgnite

View File

@@ -428,7 +428,6 @@
actions:
- CP14ActionSpellCureBurn
- type: loadout
id: CP14ActionSpellBloodPurification
dummyEntity: CP14ActionSpellBloodPurification

View File

@@ -51,3 +51,12 @@
back: CP14BaseShield
head: CP14ClothingHeadCapellina
mask: CP14ClothingMaskSteelMask
- type: startingGear
id: CP14MobSkeleton
equipment:
pants: CP14ClothingPantsLoincloth
neck: CP14BaseSword
belt1: CP14BaseDagger
inhand:
- CP14TorchIgnited

View File

@@ -305,14 +305,14 @@
layers:
- !type:OreDunGen
entity: CP14SpawnerExpeditionLootCommon
count: 15
minGroupSize: 1
count: 20
minGroupSize: 2
maxGroupSize: 3
- type: cp14DemiplaneModifier
id: EnemyXeno
name: cp14-modifier-xeno
difficulty: 0.5
difficulty: 0.4
requiredTags:
- CP14DemiplaneUnderground
layers:
@@ -330,7 +330,7 @@
- type: cp14DemiplaneModifier
id: EnemyZombie
name: cp14-modifier-zombie
difficulty: 0.4
difficulty: 0.3
generationWeight: 1.5
layers:
- !type:OreDunGen
@@ -339,10 +339,22 @@
minGroupSize: 5
maxGroupSize: 8
- type: cp14DemiplaneModifier
id: EnemySkeleton
name: cp14-modifier-zombie
difficulty: 0.3
generationWeight: 1.5
layers:
- !type:OreDunGen
entity: SpawnPointGhostDemiplaneSkeleton
count: 1
minGroupSize: 2
maxGroupSize: 3
- type: cp14DemiplaneModifier
id: EnemyDyno
name: cp14-modifier-dyno
difficulty: 0.5
difficulty: 0.3
requiredTags:
- CP14DemiplaneOpenSky
- CP14DemiplaneGrass
@@ -356,7 +368,7 @@
- type: cp14DemiplaneModifier
id: SmallHydra
name: cp14-modifier-dyno
difficulty: 0.5
difficulty: 0.3
requiredTags:
- CP14DemiplaneGrass
layers:
@@ -369,7 +381,7 @@
- type: cp14DemiplaneModifier
id: MonsterMosquito
name: cp14-modifier-dyno
difficulty: 0.5
difficulty: 0.15
requiredTags:
- CP14DemiplaneGrass
layers:

View File

@@ -0,0 +1,94 @@
- type: species
id: CP14Skeleton
name: cp14-species-name-human
roundStart: false
prototype: CP14BaseMobSkeleton
sprites: CP14MobSkeletonSprites
markingLimits: MobHumanMarkingLimits
dollPrototype: CP14MobSkeletonDummy
skinColoration: TintedHues
defaultSkinTone: "#ffffff"
maleFirstNames: CP14_Names_Human_Male_First
femaleFirstNames: CP14_Names_Human_Female_First
lastNames: CP14_Names_Human_Last
- type: speciesBaseSprites
id: CP14MobSkeletonSprites
sprites:
Head: CP14MobSkeletonHead
Chest: CP14MobSkeletonTorso
Eyes: CP14MobSkeletonEyes
LArm: CP14MobSkeletonLArm
RArm: CP14MobSkeletonRArm
LHand: CP14MobSkeletonLHand
RHand: CP14MobSkeletonRHand
LLeg: CP14MobSkeletonLLeg
RLeg: CP14MobSkeletonRLeg
LFoot: CP14MobSkeletonLFoot
RFoot: CP14MobSkeletonRFoot
- type: humanoidBaseSprite
id: CP14MobSkeletonEyes
baseSprite:
sprite: _CP14/Mobs/Customization/eyes.rsi
state: eyes
- type: humanoidBaseSprite
id: CP14MobSkeletonHead
baseSprite:
sprite: _CP14/Mobs/Species/Skeleton/parts.rsi
state: head
- type: humanoidBaseSprite
id: CP14MobSkeletonTorso
baseSprite:
sprite: _CP14/Mobs/Species/Skeleton/parts.rsi
state: torso
- type: humanoidBaseSprite
id: CP14MobSkeletonLLeg
baseSprite:
sprite: _CP14/Mobs/Species/Skeleton/parts.rsi
state: l_leg
- type: humanoidBaseSprite
id: CP14MobSkeletonLArm
baseSprite:
sprite: _CP14/Mobs/Species/Skeleton/parts.rsi
state: l_arm
- type: humanoidBaseSprite
id: CP14MobSkeletonLHand
baseSprite:
sprite: _CP14/Mobs/Species/Skeleton/parts.rsi
state: l_hand
- type: humanoidBaseSprite
id: CP14MobSkeletonLFoot
baseSprite:
sprite: _CP14/Mobs/Species/Skeleton/parts.rsi
state: l_foot
- type: humanoidBaseSprite
id: CP14MobSkeletonRLeg
baseSprite:
sprite: _CP14/Mobs/Species/Skeleton/parts.rsi
state: r_leg
- type: humanoidBaseSprite
id: CP14MobSkeletonRArm
baseSprite:
sprite: _CP14/Mobs/Species/Skeleton/parts.rsi
state: r_arm
- type: humanoidBaseSprite
id: CP14MobSkeletonRHand
baseSprite:
sprite: _CP14/Mobs/Species/Skeleton/parts.rsi
state: r_hand
- type: humanoidBaseSprite
id: CP14MobSkeletonRFoot
baseSprite:
sprite: _CP14/Mobs/Species/Skeleton/parts.rsi
state: r_foot

Binary file not shown.

After

Width:  |  Height:  |  Size: 709 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 600 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 335 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 359 B

View File

@@ -0,0 +1,54 @@
{
"version": 1,
"license": "CLA",
"copyright": "Created by KREKS",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "full"
},
{
"name": "head",
"directions": 4
},
{
"name": "l_arm",
"directions": 4
},
{
"name": "l_foot",
"directions": 4
},
{
"name": "l_hand",
"directions": 4
},
{
"name": "l_leg",
"directions": 4
},
{
"name": "r_arm",
"directions": 4
},
{
"name": "r_foot",
"directions": 4
},
{
"name": "r_hand",
"directions": 4
},
{
"name": "r_leg",
"directions": 4
},
{
"name": "torso",
"directions": 4
}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 329 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 356 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 740 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 386 B

After

Width:  |  Height:  |  Size: 380 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 957 B

After

Width:  |  Height:  |  Size: 952 B