Skip to content

Commit

Permalink
Tinted Cell visual fix:
Browse files Browse the repository at this point in the history
1. fix engine about zoffset
2. make some weapon's radiation has a short delay when spawn, better for visual
3. nuke weapon radiation spawn gradually, not all at once
  • Loading branch information
dnqbob committed Nov 3, 2024
1 parent 36e4294 commit 082c273
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 7 deletions.
2 changes: 1 addition & 1 deletion mod.config
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
MOD_ID="sp"

# The OpenRA engine version to use for this project.
ENGINE_VERSION="27a042ff4ca63df887b6cd05157e98cccb0c1ce1"
ENGINE_VERSION="5feebda9cd8bd97788f441ad762b5b6ba9e12b17"

##############################################################################
# Packaging
Expand Down
10 changes: 8 additions & 2 deletions mods/sp/rules/environment/world.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -246,20 +246,26 @@ World:
UpdateDelay: 75
FadeoutDelay: 150
Darkest: 16
Brightest: 230
Brightest: 256
ZOffset: -56320
Offset: 0, 0, 0
TintedCellsLayer@BlueRadiation:
Name: BlueRadiation
Color: 220099
Color: 0000FF
UpdateDelay: 75
FadeoutDelay: 150
Darkest: 16
Brightest: 256
ZOffset: -56320
Offset: 0, 0, 0
TintedCellsLayer@OrangeRadiation:
Name: OrangeRadiation
Color: EFFF00
UpdateDelay: 25
FadeoutDelay: 150
Darkest: 8
ZOffset: -56320
Offset: 0, 0, 0
WeaponTriggerCells@catalyst:
Name: catalystLayer
#ShowDebugOverlay: true
Expand Down
2 changes: 1 addition & 1 deletion mods/sp/weapons/campaignweapons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ TVDDFinal:
AirThreshold: 8c0
Warhead@9Radio: CreateTintedCells ##used for decoration
Spread: 1c0
Level: 400
Level: 300
Falloff: 8, 8, 5, 5, 5, 5, 5, 3, 2, 1
MaxLevel: 2000
LayerName: BlueRadiation
Expand Down
13 changes: 11 additions & 2 deletions mods/sp/weapons/explosionweapons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -852,11 +852,20 @@ NuclearMissile:
AirThreshold: 8c0
Warhead@8Radio: CreateTintedCells
Spread: 1c0
Level: 1500
Falloff: 100, 100, 80, 70, 60, 50, 40, 30, 20, 10
Level: 1000
Falloff: 50, 45, 35, 25, 15, 10, 5, 1, 0
MaxLevel: 2000
LayerName: OrangeRadiation
AirThreshold: 8c0
Delay: 2
Warhead@9Radio: CreateTintedCells
Spread: 0c512
Level: 1000
Falloff: 50, 50, 45, 45, 40, 40, 35, 30, 25, 20, 15, 10, 5, 1, 0
MaxLevel: 2000
LayerName: OrangeRadiation
AirThreshold: 8c0
Delay: 25

NukeFlame:
Inherits: ^FlameDamage
Expand Down
6 changes: 6 additions & 0 deletions mods/sp/weapons/mutweapons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ ExplosionGas:
DamageTypes: Prone70Percent, TriggerProne, TiberiumDeath
Warhead@3Radio: CreateTintedCells
Level: 90
Delay: 1
Warhead@2Eff: CreateEffect
Explosions: smallacidfire
ExplosionPalette: jascgreenalpha
Expand Down Expand Up @@ -245,6 +246,7 @@ SkirmisherMortarGas:
DamageTypes: Prone70Percent, TriggerProne, TiberiumDeath
Warhead@3Radio: CreateTintedCells
Level: 10
Delay: 1

SeerTesla:
Inherits: ^FullDamage
Expand Down Expand Up @@ -391,6 +393,7 @@ LynxRocketGas:
DamageTypes: Prone70Percent, TriggerProne, TiberiumDeath
Warhead@3Radio: CreateTintedCells
Level: 10
Delay: 1

QuadFire:
Inherits: ^VulcanWeapon
Expand Down Expand Up @@ -553,6 +556,7 @@ MUTMRLSRocketGas:
DamageTypes: Prone70Percent, TriggerProne, TiberiumDeath
Warhead@3Radio: CreateTintedCells
Level: 6
Delay: 1

RavagerStrike:
Inherits: ^FullDamage
Expand Down Expand Up @@ -629,6 +633,7 @@ NukeFuelDrop:
Warhead@3Radio: CreateTintedCells
LayerName: OrangeRadiation
Level: 750
Delay: 1

GargoylACannon:
Inherits: ^FullDamage
Expand Down Expand Up @@ -863,6 +868,7 @@ FalconPunchGas:
Warhead@3Radio: CreateTintedCells
Level: 10
Spread: 768
Delay: 1
Warhead@1Dam: SpreadDamage
DamageTypes: Prone70Percent, TriggerProne, TiberiumDeath

Expand Down
4 changes: 4 additions & 0 deletions mods/sp/weapons/scrweapons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ CorruptorAcid:
Heavy: 25
DamageTypes: Prone70Percent, TriggerProne, TiberiumDeath, ScrinEssenceKill
NoUnintendedFriendlyFire: Actor
Warhead@3Radio: CreateTintedCells
Delay: 1

CorruptorAcidBlue:
Inherits: CorruptorAcid
Expand Down Expand Up @@ -927,6 +929,7 @@ WasteTurretWeapon:
Spread: 512
Level: 24
ValidTargets: Vehicle, Building, Infantry, Ground, Water, Air
Delay: 1

WasteTurretWeaponBlue:
Inherits: WasteTurretWeapon
Expand Down Expand Up @@ -1234,6 +1237,7 @@ ColoussTeleTo:
Falloff: 100, 85, 60, 45, 30, 15
LayerName: radioactivity
AirThreshold: 8c0
Delay: 2

ColoussTeleFrom:
ValidTargets: Vehicle, Infantry, Building, Ground, Water
Expand Down
2 changes: 1 addition & 1 deletion mods/sp/weapons/superweapons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ ApocalypseMissileExplosion:
Delay: 15
Warhead@9Radio: CreateTintedCells ##used for decoration
Spread: 1c0
Level: 1500
Level: 1200
Falloff: 8, 8, 5, 5, 5, 5, 5, 3, 2, 1
MaxLevel: 2000
LayerName: BlueRadiation
Expand Down

0 comments on commit 082c273

Please sign in to comment.