Anomalies behaviours (#24683)

* Added new anomaly particle

* Add basic anomaly behaviour

* +2 parametres

* add functional to new particle

* add components to behaviours

* big content

* add shuffle, moved thing to server

* clean up

* fixes

* random pick redo

* bonjour behavioUr

* fix AJCM

* fix

* add some new behaviours

* power modifier behaviour

* rmeove timer

* new event for update ui fix

* refactor!

* fixes

* enum

* Fix mapinit

* Minor touches

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
Ed
2024-04-01 11:29:13 +03:00
committed by GitHub
parent de8b788856
commit a4ec01d471
29 changed files with 832 additions and 91 deletions

View File

@@ -643,6 +643,7 @@
- type: Clothing
sprite: Objects/Weapons/Guns/Revolvers/chimp.rsi
- type: Gun
projectileSpeed: 4
fireRate: 1.5
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/taser2.ogg
@@ -657,6 +658,8 @@
fireCost: 100
- proto: AnomalousParticleZetaStrong
fireCost: 100
- proto: AnomalousParticleSigmaStrong
fireCost: 100
- type: Construction
graph: UpgradeWeaponPistolCHIMP
node: start
@@ -679,6 +682,8 @@
fireCost: 100
- proto: AnomalousParticleZetaStrong
fireCost: 100
- proto: AnomalousParticleSigmaStrong
fireCost: 100
- type: entity
name: eye of a behonker

View File

@@ -487,6 +487,11 @@
name: delta particles
noSpawn: true
components:
- type: PointLight
enabled: true
color: "#c2385d"
radius: 2.0
energy: 7.0
- type: AnomalousParticle
particleType: Delta
- type: Sprite
@@ -513,6 +518,9 @@
Heat: 5
- type: TimedDespawn
lifetime: 3
- type: Reflective
reflective:
- Energy
- type: entity
@@ -533,6 +541,11 @@
name: epsilon particles
noSpawn: true
components:
- type: PointLight
enabled: true
color: "#38c296"
radius: 2.0
energy: 7.0
- type: Sprite
layers:
- state: magicm_cyan
@@ -558,6 +571,11 @@
name: zeta particles
noSpawn: true
components:
- type: PointLight
enabled: true
color: "#b9c238"
radius: 2.0
energy: 7.0
- type: Sprite
layers:
- state: magicm_yellow
@@ -583,6 +601,11 @@
name: omega particles
noSpawn: true
components:
- type: PointLight
enabled: true
color: "#38c24f"
radius: 2.0
energy: 7.0
- type: Sprite
sprite: Objects/Weapons/Guns/Projectiles/magic.rsi
layers:
@@ -601,6 +624,33 @@
types:
Heat: 20
- type: entity
parent: AnomalousParticleDelta
id: AnomalousParticleSigma
name: sigma particles
noSpawn: true
components:
- type: PointLight
enabled: true
color: "#8d38c2"
radius: 2.0
energy: 7.0
- type: Sprite
layers:
- state: magicm
shader: unshaded
- type: AnomalousParticle
particleType: Sigma
- type: entity
parent: AnomalousParticleSigma
id: AnomalousParticleSigmaStrong
name: sigma particles
noSpawn: true
components:
- type: AnomalousParticle
particleType: Sigma
# Launcher projectiles (grenade / rocket)
- type: entity
id: BulletRocket

View File

@@ -172,10 +172,12 @@
- AnomalousParticleDelta
- AnomalousParticleEpsilon
- AnomalousParticleZeta
- AnomalousParticleSigma
setTypePorts:
SetParticleDelta: AnomalousParticleDelta
SetParticleEpsilon: AnomalousParticleEpsilon
SetParticleZeta: AnomalousParticleZeta
SetParticleSigma: AnomalousParticleSigma
fireBurstSize: 1
fireBurstDelayMin: 2
fireBurstDelayMax: 6
@@ -185,6 +187,7 @@
guides:
- APE
- type: Gun
projectileSpeed: 4
fireRate: 10 #just has to be fast enough to keep up with upgrades
showExamineText: false
selectedMode: SemiAuto
@@ -219,6 +222,7 @@
- SetParticleDelta
- SetParticleEpsilon
- SetParticleZeta
- SetParticleSigma
- type: entity
id: MachineAnomalyGenerator

View File

@@ -21,6 +21,7 @@
anchored: false
- type: Physics
bodyType: Static
bodyStatus: InAir
- type: Fixtures
fixtures:
fix1:
@@ -47,6 +48,9 @@
- type: EmitSoundOnSpawn
sound:
path: /Audio/Effects/teleport_arrival.ogg
- type: SecretDataAnomaly
randomStartSecretMin: 0
randomStartSecretMax: 2
- type: entity
id: AnomalyPyroclastic
@@ -119,11 +123,11 @@
castShadows: false
- type: GravityAnomaly
- type: GravityWell
- type: RadiationSource
- type: RadiationSource
- type: Physics
bodyType: Dynamic
bodyStatus: InAir
- type: CanMoveInAir
- type: CanMoveInAir
- type: RandomWalk
- type: SingularityDistortion
intensity: 1000
@@ -598,7 +602,7 @@
color: "#6270bb"
- type: Anomaly
animationTime: 6
offset: 0.05, 0
offset: 0, 0
corePrototype: AnomalyCoreFlora
coreInertPrototype: AnomalyCoreFloraInert
anomalyContactDamage: