Dinosaur - Yumkaraptor (#492)

* dino

* sprite

* fix

* ForkFiltered

* Yumkaraptor

* Update meta.json

* Update meta.json

---------

Co-authored-by: Ed <96445749+TheShuEd@users.noreply.github.com>
This commit is contained in:
Nim
2024-10-23 21:25:49 +03:00
committed by GitHub
parent 1ebe48978e
commit 1d43bad57f
11 changed files with 148 additions and 1 deletions

View File

@@ -41,4 +41,9 @@
- files: ["owl9.ogg"]
license: "CC-BY-4.0"
copyright: 'by Benboncan of Freesound.org. Cropped and mixed from stereo to mono.'
source: "https://freesound.org/people/Benboncan/sounds/64544/"
source: "https://freesound.org/people/Benboncan/sounds/64544/"
- files: ["dino1.ogg, dino2.ogg, dino3.ogg"]
license: "CC-BY-4.0"
copyright: 'by GreatNate98 of Freesound.org. Cropped and mixed from stereo to mono.'
source: "https://freesound.org/people/GreatNate98/sounds/586547/"

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -25,3 +25,13 @@
Heat: 1.5
Cold: 0.4
Poison: 0
- type: damageModifierSet
id: CP14Dinosaur
coefficients:
Blunt: 0.9
Slash: 0.7
Piercing: 1.2
Heat: 0.8
Cold: 1.4
Poison: 0.8

View File

@@ -29,3 +29,19 @@
- type: ConditionalSpawner
prototypes:
- CP14MobRabbit
- type: entity
name: yumkaraptor spawner
id: CP14SpawnMobDinoYumkaraptor
parent: MarkerBase
categories: [ ForkFiltered ]
components:
- type: Sprite
layers:
- sprite: Markers/cross.rsi
state: green
- sprite: _CP14/Mobs/Animals/dino.rsi
state: dino
- type: ConditionalSpawner
prototypes:
- CP14MobDinoYumkaraptor

View File

@@ -0,0 +1,88 @@
- type: entity
id: CP14MobDinoYumkaraptor
parent: SimpleMobBase
name: yumkaraptor
description: A large scaly lizard, an obvious predator that liked to snack on meat.
categories: [ ForkFiltered ]
components:
- type: HTN
rootTask:
task: SimpleHostileCompound
blackboard:
NavClimb: !type:Bool
true
NavSmash: !type:Bool
true
- type: NpcFactionMember
factions:
- CP14AggressiveAnimals
- type: Sprite
drawdepth: Mobs
layers:
- map: ["enum.DamageStateVisualLayers.Base"]
sprite: _CP14/Mobs/Animals/dino.rsi
state: dino
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeCircle
radius: 0.35
density: 500
mask:
- MobMask
layer:
- MobLayer
- type: ReplacementAccent
accent: xeno
- type: Damageable
damageContainer: Biological
damageModifierSet: CP14Dinosaur
- type: Appearance
- type: Body
prototype: Animal
- type: MobThresholds
thresholds:
0: Alive
70: Dead
- type: SlowOnDamage
speedModifierThresholds:
55: 0.6
- type: Stamina
critThreshold: 200
- type: CombatMode
- type: MeleeWeapon
angle: 0
animation: WeaponArcBite
damage:
types:
Slash: 8
Piercing: 2
- type: MovementSpeedModifier
baseWalkSpeed: 5
baseSprintSpeed: 6
acceleration: 16.0
- type: DamageStateVisuals
states:
Alive:
Base: dino
Dead:
Base: dino_dead
- type: Butcherable
spawned:
- id: CP14FoodMeatLamb # to replace the dino meat
amount: 5
- type: Bloodstream
bloodMaxVolume: 200
- type: Grammar
attributes:
gender: female
- type: SpamEmitSound
minInterval: 20
maxInterval: 40
sound:
collection: CP14Dinosaurs
params:
volume: -8
variation: 0.125
- type: SoundWhileAlive

View File

@@ -0,0 +1,6 @@
- type: soundCollection
id: CP14Dinosaurs
files:
- /Audio/_CP14/Animals/dino1.ogg
- /Audio/_CP14/Animals/dino2.ogg
- /Audio/_CP14/Animals/dino3.ogg

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1,22 @@
{
"version": 1,
"size":
{
"x": 48,
"y": 48
},
"license": "CC-BY-SA-3.0",
"copyright": "Created by Pelemonk (Github) for CrystallPunk 14",
"states":
[
{
"name": "dino",
"directions": 4
},
{
"name": "dino_dead",
"directions": 1
}
]
}