Upstream core (#284)
* [Feature] Holo Update (#948) * Это база, основа, фундамент. * update icons * based2 * zamena headcoder * протоНовые функции Обновлены окна персонажа для отображения статистики и навыков игрока. Добавлена система боевой музыки, которая активируется во время боя. Реализована функция широковещательной передачи сообщений в чате для нескольких получателей. Внедрены изменения на основе навыков и статистики для медицинских систем, включая дефибриллятор и лечение. Улучшена система ближнего боя с новыми действиями и сообщениями. Введена система предсказуемого рандома для продвинутой генерации случайных значений. Навыки и статистика теперь зависят от назначений на работу. * abilities * zvuk * tweaks & fixes * sprite fix * govno * govno2 * fix govna * GOVNOOOOOOOOOOOO * finally * цена (cherry picked from commit cf4a7d0a7ccb780905e0df7db80d60d2338c02d0) * Automatic changelog update (cherry picked from commit 32a1f13849b4593fa03eafff99179814278f5f11) --------- Co-authored-by: RavmorganButOnCocaine <valtos@nextmail.ru>
This commit is contained in:
@@ -922,7 +922,7 @@
|
||||
icon: { sprite: /Textures/Objects/Misc/guardian_info.rsi, state: icon }
|
||||
productEntity: BoxHoloparasite
|
||||
cost:
|
||||
Telecrystal: 12
|
||||
Telecrystal: 13
|
||||
categories:
|
||||
- UplinkAllies
|
||||
conditions:
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
context: "human"
|
||||
- type: MobMover
|
||||
- type: InputMover
|
||||
- type: Puller
|
||||
- type: MovementSpeedModifier
|
||||
baseWalkSpeed: 4
|
||||
baseSprintSpeed: 5.5
|
||||
@@ -29,20 +30,6 @@
|
||||
Blunt: 5
|
||||
soundHit:
|
||||
collection: MetalThud
|
||||
- type: RandomSprite
|
||||
available:
|
||||
- enum.DamageStateVisualLayers.Base:
|
||||
magic_base: ""
|
||||
enum.DamageStateVisualLayers.BaseUnshaded:
|
||||
magic_flare: Sixteen
|
||||
- enum.DamageStateVisualLayers.Base:
|
||||
miner_base: ""
|
||||
enum.DamageStateVisualLayers.BaseUnshaded:
|
||||
miner_flare: Sixteen
|
||||
- enum.DamageStateVisualLayers.Base:
|
||||
tech_base: ""
|
||||
enum.DamageStateVisualLayers.BaseUnshaded:
|
||||
tech_flare: Sixteen
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
sprite: White/Mobs/Aliens/Guardians/guardians.rsi
|
||||
@@ -112,8 +99,8 @@
|
||||
|
||||
# From the uplink injector
|
||||
- type: entity
|
||||
name: Holoparasite
|
||||
id: MobHoloparasiteGuardian
|
||||
name: HoloparasiteStandart
|
||||
id: MobHoloparasiteGuardianStandart
|
||||
parent: MobGuardianBase
|
||||
description: A mesmerising whirl of hard-light patterns weaves a marvelous, yet oddly familiar visage. It stands proud, tuning into its owner's life to sustain itself.
|
||||
components:
|
||||
@@ -126,22 +113,208 @@
|
||||
raffle:
|
||||
settings: default
|
||||
- type: GhostTakeoverAvailable
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
sprite: White/Mobs/Aliens/Guardians/guardians.rsi
|
||||
layers:
|
||||
- state: tech_base
|
||||
map: [ "enum.DamageStateVisualLayers.Base" ]
|
||||
- state: tech_flare
|
||||
map: [ "enum.DamageStateVisualLayers.BaseUnshaded" ]
|
||||
color: "#707070"
|
||||
shader: unshaded
|
||||
noRot: true
|
||||
- type: Guardian
|
||||
damageShare: 0.5
|
||||
distance: 6
|
||||
- type: MovementSpeedModifier
|
||||
baseWalkSpeed: 4.5
|
||||
baseSprintSpeed: 6
|
||||
- type: DamageOnHighSpeedImpact
|
||||
damage:
|
||||
types:
|
||||
Blunt: 5
|
||||
soundHit:
|
||||
collection: MetalThud
|
||||
- type: MeleeWeapon
|
||||
hidden: false
|
||||
altDisarm: false
|
||||
animation: WeaponArcFist
|
||||
attackRate: 2.2
|
||||
autoAttack: true
|
||||
soundHit:
|
||||
collection: Punch
|
||||
damage:
|
||||
types:
|
||||
Blunt: 24
|
||||
Structural: 24
|
||||
- type: NameIdentifier
|
||||
group: Holoparasite
|
||||
- type: TypingIndicator
|
||||
proto: holo
|
||||
- type: Sprite
|
||||
layers:
|
||||
- state: tech_base
|
||||
map: [ "enum.DamageStateVisualLayers.Base" ]
|
||||
- state: tech_flare
|
||||
map: [ "enum.DamageStateVisualLayers.BaseUnshaded" ]
|
||||
color: "#40a7d7"
|
||||
shader: unshaded
|
||||
- type: HTN
|
||||
rootTask:
|
||||
task: SimpleHumanoidHostileCompound
|
||||
|
||||
- type: entity
|
||||
name: HoloparasiteAssasin
|
||||
id: MobHoloparasiteGuardianAssasin
|
||||
parent: MobGuardianBase
|
||||
description: A mesmerising whirl of hard-light patterns weaves a marvelous, yet oddly familiar visage. It stands proud, tuning into its owner's life to sustain itself.
|
||||
components:
|
||||
- type: GhostRole
|
||||
allowMovement: true
|
||||
allowSpeech: true
|
||||
makeSentient: true
|
||||
name: ghost-role-information-holoparasite-name
|
||||
description: ghost-role-information-holoparasite-description
|
||||
raffle:
|
||||
settings: default
|
||||
- type: GhostTakeoverAvailable
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
sprite: White/Mobs/Aliens/Guardians/guardians.rsi
|
||||
layers:
|
||||
- state: tech_base
|
||||
map: [ "enum.DamageStateVisualLayers.Base" ]
|
||||
- state: tech_flare
|
||||
map: [ "enum.DamageStateVisualLayers.BaseUnshaded" ]
|
||||
color: "#9d0016"
|
||||
shader: unshaded
|
||||
noRot: true
|
||||
- type: Guardian
|
||||
damageShare: 1
|
||||
distance: 10
|
||||
- type: MovementSpeedModifier
|
||||
baseWalkSpeed: 4
|
||||
baseSprintSpeed: 5.5
|
||||
- type: DamageOnHighSpeedImpact
|
||||
damage:
|
||||
types:
|
||||
Blunt: 5
|
||||
soundHit:
|
||||
collection: MetalThud
|
||||
- type: MeleeWeapon
|
||||
hidden: false
|
||||
altDisarm: false
|
||||
animation: WeaponArcFist
|
||||
attackRate: 2
|
||||
autoAttack: true
|
||||
soundHit:
|
||||
collection: Punch
|
||||
damage:
|
||||
types:
|
||||
Blunt: 14
|
||||
Structural: 14
|
||||
- type: NameIdentifier
|
||||
group: Holoparasite
|
||||
- type: TypingIndicator
|
||||
proto: holo
|
||||
- type: HTN
|
||||
rootTask:
|
||||
task: SimpleHumanoidHostileCompound
|
||||
|
||||
- type: entity
|
||||
name: HoloparasiteCharger
|
||||
id: MobHoloparasiteGuardianCharger
|
||||
parent: MobGuardianBase
|
||||
description: A mesmerising whirl of hard-light patterns weaves a marvelous, yet oddly familiar visage. It stands proud, tuning into its owner's life to sustain itself.
|
||||
components:
|
||||
- type: GhostRole
|
||||
allowMovement: true
|
||||
allowSpeech: true
|
||||
makeSentient: true
|
||||
name: ghost-role-information-holoparasite-name
|
||||
description: ghost-role-information-holoparasite-description
|
||||
raffle:
|
||||
settings: default
|
||||
- type: GhostTakeoverAvailable
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
sprite: White/Mobs/Aliens/Guardians/guardians.rsi
|
||||
layers:
|
||||
- state: tech_base
|
||||
map: [ "enum.DamageStateVisualLayers.Base" ]
|
||||
- state: tech_flare
|
||||
map: [ "enum.DamageStateVisualLayers.BaseUnshaded" ]
|
||||
color: "#54f3ff"
|
||||
shader: unshaded
|
||||
noRot: true
|
||||
- type: MovementSpeedModifier
|
||||
baseWalkSpeed: 6
|
||||
baseSprintSpeed: 7.5
|
||||
- type: DamageOnHighSpeedImpact
|
||||
damage:
|
||||
types:
|
||||
Blunt: 5
|
||||
soundHit:
|
||||
collection: MetalThud
|
||||
- type: MeleeWeapon
|
||||
hidden: false
|
||||
altDisarm: false
|
||||
animation: WeaponArcFist
|
||||
attackRate: 2.5
|
||||
autoAttack: true
|
||||
soundHit:
|
||||
collection: Punch
|
||||
damage:
|
||||
types:
|
||||
Blunt: 15
|
||||
Structural: 15
|
||||
- type: NameIdentifier
|
||||
group: Holoparasite
|
||||
- type: TypingIndicator
|
||||
proto: holo
|
||||
- type: HTN
|
||||
rootTask:
|
||||
task: SimpleHumanoidHostileCompound
|
||||
|
||||
- type: entity
|
||||
name: HoloparasiteLighting
|
||||
id: MobHoloparasiteGuardianLighting
|
||||
parent: MobGuardianBase
|
||||
description: A mesmerising whirl of hard-light patterns weaves a marvelous, yet oddly familiar visage. It stands proud, tuning into its owner's life to sustain itself.
|
||||
components:
|
||||
- type: GhostRole
|
||||
allowMovement: true
|
||||
allowSpeech: true
|
||||
makeSentient: true
|
||||
name: ghost-role-information-holoparasite-name
|
||||
description: ghost-role-information-holoparasite-description
|
||||
raffle:
|
||||
settings: default
|
||||
- type: GhostTakeoverAvailable
|
||||
- type: Sprite
|
||||
drawdepth: Mobs
|
||||
sprite: White/Mobs/Aliens/Guardians/guardians.rsi
|
||||
layers:
|
||||
- state: tech_base
|
||||
map: [ "enum.DamageStateVisualLayers.Base" ]
|
||||
- state: tech_flare
|
||||
map: [ "enum.DamageStateVisualLayers.BaseUnshaded" ]
|
||||
color: "#2000c8"
|
||||
shader: unshaded
|
||||
noRot: true
|
||||
- type: MeleeWeapon
|
||||
hidden: false
|
||||
altDisarm: false
|
||||
animation: WeaponArcFist
|
||||
attackRate: 1.8
|
||||
autoAttack: true
|
||||
soundHit:
|
||||
collection: Punch
|
||||
damage:
|
||||
types:
|
||||
Blunt: 5
|
||||
Structural: 5
|
||||
- type: NameIdentifier
|
||||
group: Holoparasite
|
||||
- type: TypingIndicator
|
||||
proto: holo
|
||||
- type: HTN
|
||||
rootTask:
|
||||
task: SimpleHumanoidHostileCompound
|
||||
|
||||
# From Wizard deck of cards
|
||||
- type: entity
|
||||
name: Ifrit
|
||||
|
||||
@@ -9,6 +9,15 @@
|
||||
state: combat_hypo
|
||||
- type: GuardianCreator
|
||||
guardianProto: MobHoloparasiteGuardian
|
||||
guardiansAvaliable:
|
||||
- Assasin
|
||||
- Charger
|
||||
- Standart
|
||||
- Lighting
|
||||
- type: UserInterface # PARSEC EDIT
|
||||
interfaces:
|
||||
enum.GuardianSelectorUiKey.Key:
|
||||
type: GuardianSelectorBUI
|
||||
|
||||
- type: entity
|
||||
name: holoclown injector
|
||||
|
||||
36
Resources/Prototypes/_White/Actions/guardian.yml
Normal file
36
Resources/Prototypes/_White/Actions/guardian.yml
Normal file
@@ -0,0 +1,36 @@
|
||||
- type: entity
|
||||
id: ActionGuardianPowerToggle
|
||||
name: "[color=green]Сила голопаразита[/color]"
|
||||
description: Уникальная способность голопаразита.
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: InstantAction
|
||||
checkCanInteract: false
|
||||
checkConsciousness: false
|
||||
icon: White/Interface/Guardian/powerOff.png
|
||||
iconOn: White/Interface/Guardian/power.png
|
||||
event: !type:ToggleGuardianPowerActionEvent
|
||||
|
||||
- type: entity
|
||||
id: ActionGuardianPowerOff
|
||||
parent: ActionCombatModeToggle
|
||||
name: "[color=red]Сила голопаразита[/color]"
|
||||
description: Уникальная способность голопаразита.
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: InstantAction
|
||||
enabled: false
|
||||
autoPopulate: false
|
||||
|
||||
- type: entity
|
||||
id: ActionChargerPower
|
||||
name: "[color=green]Сила голопаразита[/color]"
|
||||
description: Уникальная способность голопаразита, позволяет зарядить ваш кулак и одним ударом поразить цель.
|
||||
noSpawn: true
|
||||
components:
|
||||
- type: InstantAction
|
||||
useDelay: 4
|
||||
checkCanInteract: false
|
||||
checkConsciousness: false
|
||||
icon: White/Interface/Guardian/powerOff.png
|
||||
event: !type:ChargerPowerActionEvent
|
||||
Reference in New Issue
Block a user