Skip to content

Commit

Permalink
Fix: Improve China Neutron Shell explosion effects
Browse files Browse the repository at this point in the history
  • Loading branch information
xezon committed Apr 24, 2023
1 parent 8857b59 commit 2dd3bc6
Show file tree
Hide file tree
Showing 2 changed files with 153 additions and 28 deletions.
40 changes: 25 additions & 15 deletions Patch104pZH/GameFilesEdited/Data/INI/FXList.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9142,21 +9142,28 @@ FXList Neutron_WeaponFX_NukeCannon
End

ParticleSystem
Name = AirF_AuroraBombScatterIgnite2
Name = NeutronScatterFlares ; Patch104p @tweak from AirF_AuroraBombScatterIgnite2
InitialDelay = 0 0 UNIFORM ;In milliseconds
Offset = X:0.0 Y:0.0 Z:40.0
Offset = X:0.0 Y:0.0 Z:30.0 ; Patch104p @tweak from Z:40.0
End

ParticleSystem
Name = NeutronLenzflare
InitialDelay = 0 0 UNIFORM ;In milliseconds
Offset = X:0.0 Y:0.0 Z:40.0
Offset = X:0.0 Y:0.0 Z:10.0 ; Patch104p @tweak from Z:40.0
End

ParticleSystem
Name = NeutronRing
InitialDelay = 0 0 UNIFORM ;In milliseconds
Offset = X:0.0 Y:0.0 Z:40.0
Offset = X:0.0 Y:0.0 Z:10.0 ; Patch104p @tweak from Z:40.0
End

; Patch104p @tweak xezon 23/04/2023 Adds a second Neutron Ring to get better control over the individual Neutron Ring sizes.
ParticleSystem
Name = NeutronRing2
InitialDelay = 0 0 UNIFORM ;In milliseconds
Offset = X:0.0 Y:0.0 Z:10.0
End

ParticleSystem
Expand All @@ -9168,25 +9175,28 @@ FXList Neutron_WeaponFX_NukeCannon
ParticleSystem
Name = NeutronMushroomExplosion
InitialDelay = 0 0 UNIFORM ;In milliseconds
Offset = X:0.0 Y:0.0 Z:50.0
Offset = X:0.0 Y:0.0 Z:25.0 ; Patch104p @tweak from Z:50.0
End

ParticleSystem
Name = NeutronDust
InitialDelay = 0 0 UNIFORM ;In milliseconds
Offset = X:0.0 Y:0.0 Z:50.0
Offset = X:0.0 Y:0.0 Z:25.0 ; Patch104p @tweak from Z:50.0
End

ParticleSystem
Name = NeutronDustRingDust
InitialDelay = 0 0 UNIFORM ;In milliseconds
Offset = X:0.0 Y:0.0 Z:30.0
End
; Patch104p @tweak xezon 23/04/2023 Removes the second dust ring, because two dust rings at different speeds look odd.
;ParticleSystem
; Name = NeutronDustRingDust
; InitialDelay = 0 0 UNIFORM ;In milliseconds
; Offset = X:0.0 Y:0.0 Z:5.0 ; Z:30.0
;End

TerrainScorch ; Patch104p @tweak xezon 03/12/2022 Change scorch size from 50.
Type = RANDOM
Radius = 40
End
; Patch104p @tweak xezon 03/12/2022 Change scorch size from 50.
; Patch104p @tweak xezon 23/04/2023 Removes the scorch because the neutron explosion is not a typical explosive explosion.
;TerrainScorch
; Type = RANDOM
; Radius = 40
;End
End

;----------------------------------------------------
Expand Down
141 changes: 128 additions & 13 deletions Patch104pZH/GameFilesEdited/Data/INI/ParticleSystem.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6362,13 +6362,13 @@ ParticleSystem NeutronLenzflare
AngularRateZ = 0.00 0.00
AngularDamping = 1.00 1.00
VelocityDamping = 0.98 0.98
Gravity = 0.00
Gravity = 0.02 ; Patch104p @tweak from 0.00 to elevate the flare a bit
Lifetime = 40.00 40.00
SystemLifetime = 3
Size = 10.00 10.00
Size = 2.00 2.00 ; Patch104p @tweak from 10.00 10.00 to start growing from smaller point
StartSizeRate = 0.00 0.00
SizeRate = 7.00 7.00
SizeRateDamping = 0.95 0.99
SizeRate = 20.00 20.00 ; Patch104p @tweak from 7.00 7.00 to grow bigger
SizeRateDamping = 0.90 0.90 ; Patch104p @tweak from 0.95 0.99
Alpha1 = 0.00 0.00 0
Alpha2 = 0.00 0.00 0
Alpha3 = 0.00 0.00 0
Expand Down Expand Up @@ -24446,6 +24446,63 @@ ParticleSystem AirF_AuroraBombScatterIgnite2
WindPingPongEndAngleMax = 6.283185
End

ParticleSystem NeutronScatterFlares ; Patch104p @feature A copy of AirF_AuroraBombScatterIgnite2, but with different colors
Priority = CRITICAL
IsOneShot = No
Shader = ADDITIVE
Type = PARTICLE
ParticleName = EXLnzFlar1.tga
AngleZ = 0.00 1.00
AngularRateZ = -0.10 0.10
AngularDamping = 1.00 1.00
VelocityDamping = 0.65 0.65
Gravity = 0.25
Lifetime = 26.00 26.00
SystemLifetime = 15
Size = 0.75 1.00
StartSizeRate = 0.00 0.00
SizeRate = 1.50 2.00
SizeRateDamping = 1.00 1.00
Alpha1 = 0.25 0.25 0
Alpha2 = 0.00 0.00 26
Alpha3 = 0.00 0.00 0
Alpha4 = 0.00 0.00 0
Alpha5 = 0.00 0.00 0
Alpha6 = 0.00 0.00 0
Alpha7 = 0.00 0.00 0
Alpha8 = 0.00 0.00 0
Color1 = R:0 G:0 B:0 0
Color2 = R:0 G:0 B:0 4
Color3 = R:255 G:100 B:50 10
Color4 = R:255 G:218 B:106 18
Color5 = R:0 G:0 B:0 26
Color6 = R:0 G:0 B:0 0
Color7 = R:0 G:0 B:0 0
Color8 = R:0 G:0 B:0 0
ColorScale = 0.00 0.00
BurstDelay = 1.00 1.00
BurstCount = 2.00 2.00
InitialDelay = 0.00 0.00
DriftVelocity = X:0.00 Y:0.00 Z:0.00
VelocityType = OUTWARD
VelOutward = 16.00 20.00
VelOutwardOther = 10.00 10.00
VolumeType = CYLINDER
VolCylinderRadius = 1.00
VolCylinderLength = 0.00
IsHollow = Yes
IsGroundAligned = No
IsEmitAboveGroundOnly = No
IsParticleUpTowardsEmitter = No
WindMotion = Unused
WindAngleChangeMin = 0.149924
WindAngleChangeMax = 0.449946
WindPingPongStartAngleMin = 0.000000
WindPingPongStartAngleMax = 0.785398
WindPingPongEndAngleMin = 5.497787
WindPingPongEndAngleMax = 6.283185
End

ParticleSystem BuildUpSnowSmoke
Priority = BUILDUP
IsOneShot = No
Expand Down Expand Up @@ -42633,7 +42690,7 @@ ParticleSystem JetExplosionGroundDebris
WindPingPongEndAngleMax = 6.283185
End

ParticleSystem NeutronDustRingDust
ParticleSystem NeutronDustRingDust ; unused
Priority = CRITICAL
IsOneShot = No
Shader = ALPHA
Expand Down Expand Up @@ -57557,12 +57614,12 @@ ParticleSystem NeutronRing
AngularDamping = 0.80 0.85
VelocityDamping = 0.50 0.50
Gravity = 0.00
Lifetime = 20.00 20.00
SystemLifetime = 2
Lifetime = 15.00 15.00 ; Patch104p @tweak from 20.00 20.00
SystemLifetime = 1 ; Patch104p @tweak from 2
Size = 10.00 10.00
StartSizeRate = 0.00 0.00
SizeRate = 10.00 15.00
SizeRateDamping = 0.85 0.90
SizeRate = 18.00 18.00 ; Patch104p @tweak from 10.00 15.00 to grow to larger size quicker
SizeRateDamping = 0.88 0.88 ; Patch104p @tweak from 0.85 0.90
Alpha1 = 1.00 1.00 0
Alpha2 = 0.00 0.00 0
Alpha3 = 0.00 0.00 0
Expand All @@ -57572,8 +57629,66 @@ ParticleSystem NeutronRing
Alpha7 = 0.00 0.00 0
Alpha8 = 0.00 0.00 0
Color1 = R:255 G:128 B:64 0
Color2 = R:0 G:0 B:0 20
Color3 = R:0 G:0 B:0 90
Color2 = R:0 G:0 B:0 15
Color3 = R:0 G:0 B:0 0
Color4 = R:0 G:0 B:0 0
Color5 = R:0 G:0 B:0 0
Color6 = R:0 G:0 B:0 0
Color7 = R:0 G:0 B:0 0
Color8 = R:0 G:0 B:0 0
ColorScale = 0.00 0.00
BurstDelay = 2.00 2.00
BurstCount = 1.00 5.00
InitialDelay = 0.00 0.00
DriftVelocity = X:0.00 Y:0.00 Z:0.00
VelocityType = ORTHO
VelOrthoX = 0.00 0.00
VelOrthoY = 0.00 0.00
VelOrthoZ = 0.00 0.00
VolumeType = LINE
VolLineStart = X:0.00 Y:0.00 Z:8.00
VolLineEnd = X:0.00 Y:0.00 Z:8.00
IsHollow = No
IsGroundAligned = Yes
IsEmitAboveGroundOnly = No
IsParticleUpTowardsEmitter = No
WindMotion = Unused
WindAngleChangeMin = 0.149924
WindAngleChangeMax = 0.449946
WindPingPongStartAngleMin = 0.000000
WindPingPongStartAngleMax = 0.785398
WindPingPongEndAngleMin = 5.497787
WindPingPongEndAngleMax = 6.283185
End

ParticleSystem NeutronRing2 ; Patch104p @feature A copy of NeutronRing, but smaller
Priority = CRITICAL
IsOneShot = No
Shader = ADDITIVE
Type = PARTICLE
ParticleName = EXFireRing.tga
AngleZ = 0.00 0.00
AngularRateZ = -0.10 0.10
AngularDamping = 0.80 0.85
VelocityDamping = 0.50 0.50
Gravity = 0.00
Lifetime = 15.00 15.00
SystemLifetime = 1
Size = 9.00 9.00
StartSizeRate = 0.00 0.00
SizeRate = 12.00 16.00
SizeRateDamping = 0.88 0.88
Alpha1 = 1.00 1.00 0
Alpha2 = 0.00 0.00 0
Alpha3 = 0.00 0.00 0
Alpha4 = 0.00 0.00 0
Alpha5 = 0.00 0.00 0
Alpha6 = 0.00 0.00 0
Alpha7 = 0.00 0.00 0
Alpha8 = 0.00 0.00 0
Color1 = R:255 G:128 B:64 0
Color2 = R:0 G:0 B:0 15
Color3 = R:0 G:0 B:0 0
Color4 = R:0 G:0 B:0 0
Color5 = R:0 G:0 B:0 0
Color6 = R:0 G:0 B:0 0
Expand Down Expand Up @@ -62715,15 +62830,15 @@ ParticleSystem NeutronDust
AngularDamping = 1.00 1.00
VelocityDamping = 0.98 0.98
Gravity = 0.00
Lifetime = 200.00 200.00
Lifetime = 100.00 100.00 ; Patch104p @tweak from 200.00 200.00
SystemLifetime = 1
Size = 5.00 5.00
StartSizeRate = 0.00 0.00
SizeRate = 1.00 5.00
SizeRateDamping = 0.80 0.90
Alpha1 = 0.50 0.50 0
Alpha2 = 0.35 0.35 20
Alpha3 = 0.00 0.00 200
Alpha3 = 0.00 0.00 100
Alpha4 = 0.00 0.00 0
Alpha5 = 0.00 0.00 0
Alpha6 = 0.00 0.00 0
Expand Down

0 comments on commit 2dd3bc6

Please sign in to comment.