Skip to content

Commit

Permalink
Optimize China Nuke Missile blast timings
Browse files Browse the repository at this point in the history
  • Loading branch information
xezon committed Aug 13, 2022
1 parent 01ed861 commit 8f30322
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 44 deletions.
13 changes: 6 additions & 7 deletions Patch104pZH/GameFilesEdited/Data/INI/FXList.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3904,7 +3904,6 @@ FXList WeaponFX_CINEConvoyNuke
ParticleSystem
Name = NukeBlastWave
InitialDelay = 300 300 UNIFORM ;In milliseconds
;Offset = X:0.0 Y:0.0 Z:45.0
Offset = X:0.0 Y:0.0 Z:15.0
End

Expand Down Expand Up @@ -4804,13 +4803,13 @@ FXList FX_Nuke

ParticleSystem
Name = NukeRing
InitialDelay = 200 200 UNIFORM ; Patch104p @tweak from 0 0 UNIFORM to match new blast delays visually (red ring)
Offset = X:0.0 Y:0.0 Z:5.0
End

ParticleSystem
Name = NukeBlastWave
InitialDelay = 300 300 UNIFORM ;In milliseconds
;Offset = X:0.0 Y:0.0 Z:45.0
InitialDelay = 0 0 UNIFORM ; Patch104p @tweak from 300 300 UNIFORM to match new blast delays visually (white ring)
Offset = X:0.0 Y:0.0 Z:15.0
End

Expand Down Expand Up @@ -4877,13 +4876,13 @@ FXList FX_BaikonurNuke

ParticleSystem
Name = NukeBaikonurRing
InitialDelay = 200 200 UNIFORM ; Patch104p @tweak from 0 0 UNIFORM to match new blast delays visually (red ring)
Offset = X:0.0 Y:0.0 Z:5.0
End

ParticleSystem
Name = NukeBlastWave
InitialDelay = 300 300 UNIFORM ;In milliseconds
;Offset = X:0.0 Y:0.0 Z:45.0
InitialDelay = 0 0 UNIFORM ; Patch104p @tweak from 300 300 UNIFORM to match new blast delays visually (white ring)
Offset = X:0.0 Y:0.0 Z:15.0
End

Expand Down Expand Up @@ -8572,13 +8571,13 @@ FXList SupW_FX_Nuke

ParticleSystem
Name = NukeRing
InitialDelay = 200 200 UNIFORM ; Patch104p @tweak from 0 0 UNIFORM to match new blast delays visually (red ring)
Offset = X:0.0 Y:0.0 Z:5.0
End

ParticleSystem
Name = NukeBlastWave
InitialDelay = 300 300 UNIFORM ;In milliseconds
;Offset = X:0.0 Y:0.0 Z:45.0
InitialDelay = 0 0 UNIFORM ; Patch104p @tweak from 300 300 UNIFORM to match new blast delays visually (white ring)
Offset = X:0.0 Y:0.0 Z:15.0
End

Expand Down
19 changes: 10 additions & 9 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/SuperWeaponGeneral.ini
Original file line number Diff line number Diff line change
Expand Up @@ -321,14 +321,15 @@ Object SupW_NeutronMissile
End

; Patch104p @balance 05/09/2021 Change Nuke Missiles such that they destroy GLA holes.
; Patch104p @tweak 13/08/2022 Reduce blast delays by around 400 ms with fixed 80 ms step size.

Behavior = NeutronMissileSlowDeathBehavior ModuleTag_06
DestructionDelay = 3501
ScorchMarkSize = 320
FXList = SupW_FX_Nuke

Blast1Enabled = Yes
Blast1Delay = 580 ;in milliseconds
Blast1Delay = 300 ;in milliseconds
Blast1ScorchDelay = 100 ;in milliseconds
Blast1InnerRadius = 60.0 ;objects inside this get the full damage
Blast1OuterRadius = 90.0 ;objects inside this get some of the full damage
Expand All @@ -338,7 +339,7 @@ Object SupW_NeutronMissile
Blast1PushForce = 10.0 ;higher #'s push more

Blast2Enabled = Yes
Blast2Delay = 660 ;in milliseconds
Blast2Delay = 380 ;in milliseconds
Blast2ScorchDelay = 180 ;in milliseconds
Blast2InnerRadius = 90.0 ;objects inside this get the full damage
Blast2OuterRadius = 120.0 ;objects inside this get some of the full damage
Expand All @@ -348,7 +349,7 @@ Object SupW_NeutronMissile
Blast2PushForce = 8.0 ;higher #'s push more

Blast3Enabled = Yes
Blast3Delay = 720 ;in milliseconds
Blast3Delay = 460 ;in milliseconds
Blast3ScorchDelay = 260 ;in milliseconds
Blast3InnerRadius = 120.0 ;objects inside this get the full damage
Blast3OuterRadius = 150.0 ;objects inside this get some of the full damage
Expand All @@ -358,7 +359,7 @@ Object SupW_NeutronMissile
Blast3PushForce = 6.0 ;higher #'s push more

Blast4Enabled = Yes
Blast4Delay = 850 ;in milliseconds
Blast4Delay = 540 ;in milliseconds
Blast4ScorchDelay = 340 ;in milliseconds
Blast4InnerRadius = 150.0 ;objects inside this get the full damage
Blast4OuterRadius = 180.0 ;objects inside this get some of the full damage
Expand All @@ -368,7 +369,7 @@ Object SupW_NeutronMissile
Blast4PushForce = 6.0 ;higher #'s push more

Blast5Enabled = Yes
Blast5Delay = 1000 ;in milliseconds
Blast5Delay = 620 ;in milliseconds
Blast5ScorchDelay = 420 ;in milliseconds
Blast5InnerRadius = 180.0 ;objects inside this get the full damage
Blast5OuterRadius = 210.0 ;objects inside this get some of the full damage
Expand All @@ -378,7 +379,7 @@ Object SupW_NeutronMissile
Blast5PushForce = 6.0 ;higher #'s push more

Blast6Enabled = Yes
Blast6Delay = 1180 ;in milliseconds
Blast6Delay = 700 ;in milliseconds
Blast6ScorchDelay = 500 ;in milliseconds
Blast6InnerRadius = 210.0 ;objects inside this get the full damage
Blast6OuterRadius = 210.0 ;objects inside this get some of the full damage
Expand All @@ -387,17 +388,17 @@ Object SupW_NeutronMissile
Blast6ToppleSpeed = 0.35 ;higher #'s topple faster
Blast6PushForce = 4.0 ;higher #'s push more

Blast7Enabled = Yes
Blast7Enabled = No
Blast7Delay = 999999 ;in milliseconds, don't do the damage wave
Blast7ScorchDelay = 620 ;in milliseconds
Blast7OuterRadius = 210.0 ;objects inside this get some of the full damage

Blast8Enabled = Yes
Blast8Enabled = No
Blast8Delay = 999999 ;in milliseconds, don't do the damage wave
Blast8ScorchDelay = 700 ;in milliseconds
Blast8OuterRadius = 210.0 ;objects inside this get some of the full damage

Blast9Enabled = Yes
Blast9Enabled = No
Blast9Delay = 999999 ;in milliseconds, don't do the damage wave
Blast9ScorchDelay = 800 ;in milliseconds
Blast9OuterRadius = 210.0 ;objects inside this get some of the full damage
Expand Down
19 changes: 10 additions & 9 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/System.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2694,14 +2694,15 @@ Object BaikonurRocketDetonation
End

; Patch104p @balance 05/09/2021 Change Nuke Missiles such that they destroy GLA holes.
; Patch104p @tweak 13/08/2022 Reduce blast delays by around 400 ms with fixed 80 ms step size.

Behavior = NeutronMissileSlowDeathBehavior ModuleTag_08
DestructionDelay = 3501
ScorchMarkSize = 320
FXList = FX_BaikonurNuke

Blast1Enabled = Yes
Blast1Delay = 580 ;in milliseconds
Blast1Delay = 300 ;in milliseconds
Blast1ScorchDelay = 100 ;in milliseconds
Blast1InnerRadius = 60.0 ;objects inside this get the full damage
Blast1OuterRadius = 90.0 ;objects inside this get some of the full damage
Expand All @@ -2711,7 +2712,7 @@ Object BaikonurRocketDetonation
Blast1PushForce = 10.0 ;higher #'s push more

Blast2Enabled = Yes
Blast2Delay = 660 ;in milliseconds
Blast2Delay = 380 ;in milliseconds
Blast2ScorchDelay = 180 ;in milliseconds
Blast2InnerRadius = 90.0 ;objects inside this get the full damage
Blast2OuterRadius = 120.0 ;objects inside this get some of the full damage
Expand All @@ -2721,7 +2722,7 @@ Object BaikonurRocketDetonation
Blast2PushForce = 8.0 ;higher #'s push more

Blast3Enabled = Yes
Blast3Delay = 720 ;in milliseconds
Blast3Delay = 460 ;in milliseconds
Blast3ScorchDelay = 260 ;in milliseconds
Blast3InnerRadius = 120.0 ;objects inside this get the full damage
Blast3OuterRadius = 150.0 ;objects inside this get some of the full damage
Expand All @@ -2731,7 +2732,7 @@ Object BaikonurRocketDetonation
Blast3PushForce = 6.0 ;higher #'s push more

Blast4Enabled = Yes
Blast4Delay = 850 ;in milliseconds
Blast4Delay = 540 ;in milliseconds
Blast4ScorchDelay = 340 ;in milliseconds
Blast4InnerRadius = 150.0 ;objects inside this get the full damage
Blast4OuterRadius = 180.0 ;objects inside this get some of the full damage
Expand All @@ -2741,7 +2742,7 @@ Object BaikonurRocketDetonation
Blast4PushForce = 6.0 ;higher #'s push more

Blast5Enabled = Yes
Blast5Delay = 1000 ;in milliseconds
Blast5Delay = 620 ;in milliseconds
Blast5ScorchDelay = 420 ;in milliseconds
Blast5InnerRadius = 180.0 ;objects inside this get the full damage
Blast5OuterRadius = 210.0 ;objects inside this get some of the full damage
Expand All @@ -2751,7 +2752,7 @@ Object BaikonurRocketDetonation
Blast5PushForce = 6.0 ;higher #'s push more

Blast6Enabled = Yes
Blast6Delay = 1180 ;in milliseconds
Blast6Delay = 700 ;in milliseconds
Blast6ScorchDelay = 500 ;in milliseconds
Blast6InnerRadius = 210.0 ;objects inside this get the full damage
Blast6OuterRadius = 210.0 ;objects inside this get some of the full damage
Expand All @@ -2760,17 +2761,17 @@ Object BaikonurRocketDetonation
Blast6ToppleSpeed = 0.35 ;higher #'s topple faster
Blast6PushForce = 4.0 ;higher #'s push more

Blast7Enabled = Yes
Blast7Enabled = No
Blast7Delay = 999999 ;in milliseconds, don't do the damage wave
Blast7ScorchDelay = 620 ;in milliseconds
Blast7OuterRadius = 210.0 ;objects inside this get some of the full damage

Blast8Enabled = Yes
Blast8Enabled = No
Blast8Delay = 999999 ;in milliseconds, don't do the damage wave
Blast8ScorchDelay = 700 ;in milliseconds
Blast8OuterRadius = 210.0 ;objects inside this get some of the full damage

Blast9Enabled = Yes
Blast9Enabled = No
Blast9Delay = 999999 ;in milliseconds, don't do the damage wave
Blast9ScorchDelay = 800 ;in milliseconds
Blast9OuterRadius = 210.0 ;objects inside this get some of the full damage
Expand Down
40 changes: 21 additions & 19 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/WeaponObjects.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1833,7 +1833,7 @@ Object DaisyCutterGas
End

;------------------------------------------------------------------------------
Object NeutronMissile
Object NeutronMissile ; This one is used by the China Nuke Missiles

; *** ART Parameters ***
Draw = W3DModelDraw ModuleTag_01
Expand Down Expand Up @@ -1907,14 +1907,15 @@ Object NeutronMissile
End

; Patch104p @balance 05/09/2021 Change Nuke Missiles such that they destroy GLA holes.
; Patch104p @tweak 13/08/2022 Reduce blast delays by around 400 ms with fixed 80 ms step size.

Behavior = NeutronMissileSlowDeathBehavior ModuleTag_06
DestructionDelay = 3501
ScorchMarkSize = 320
FXList = FX_Nuke

Blast1Enabled = Yes
Blast1Delay = 580 ;in milliseconds
Blast1Delay = 300 ;in milliseconds
Blast1ScorchDelay = 100 ;in milliseconds
Blast1InnerRadius = 60.0 ;objects inside this get the full damage
Blast1OuterRadius = 90.0 ;objects inside this get some of the full damage
Expand All @@ -1924,7 +1925,7 @@ Object NeutronMissile
Blast1PushForce = 10.0 ;higher #'s push more

Blast2Enabled = Yes
Blast2Delay = 660 ;in milliseconds
Blast2Delay = 380 ;in milliseconds
Blast2ScorchDelay = 180 ;in milliseconds
Blast2InnerRadius = 90.0 ;objects inside this get the full damage
Blast2OuterRadius = 120.0 ;objects inside this get some of the full damage
Expand All @@ -1934,7 +1935,7 @@ Object NeutronMissile
Blast2PushForce = 8.0 ;higher #'s push more

Blast3Enabled = Yes
Blast3Delay = 720 ;in milliseconds
Blast3Delay = 460 ;in milliseconds
Blast3ScorchDelay = 260 ;in milliseconds
Blast3InnerRadius = 120.0 ;objects inside this get the full damage
Blast3OuterRadius = 150.0 ;objects inside this get some of the full damage
Expand All @@ -1944,7 +1945,7 @@ Object NeutronMissile
Blast3PushForce = 6.0 ;higher #'s push more

Blast4Enabled = Yes
Blast4Delay = 850 ;in milliseconds
Blast4Delay = 540 ;in milliseconds
Blast4ScorchDelay = 340 ;in milliseconds
Blast4InnerRadius = 150.0 ;objects inside this get the full damage
Blast4OuterRadius = 180.0 ;objects inside this get some of the full damage
Expand All @@ -1954,7 +1955,7 @@ Object NeutronMissile
Blast4PushForce = 6.0 ;higher #'s push more

Blast5Enabled = Yes
Blast5Delay = 1000 ;in milliseconds
Blast5Delay = 620 ;in milliseconds
Blast5ScorchDelay = 420 ;in milliseconds
Blast5InnerRadius = 180.0 ;objects inside this get the full damage
Blast5OuterRadius = 210.0 ;objects inside this get some of the full damage
Expand All @@ -1964,7 +1965,7 @@ Object NeutronMissile
Blast5PushForce = 6.0 ;higher #'s push more

Blast6Enabled = Yes
Blast6Delay = 1180 ;in milliseconds
Blast6Delay = 700 ;in milliseconds
Blast6ScorchDelay = 500 ;in milliseconds
Blast6InnerRadius = 210.0 ;objects inside this get the full damage
Blast6OuterRadius = 210.0 ;objects inside this get some of the full damage
Expand All @@ -1973,17 +1974,17 @@ Object NeutronMissile
Blast6ToppleSpeed = 0.35 ;higher #'s topple faster
Blast6PushForce = 4.0 ;higher #'s push more

Blast7Enabled = Yes
Blast7Enabled = No
Blast7Delay = 999999 ;in milliseconds, don't do the damage wave
Blast7ScorchDelay = 620 ;in milliseconds
Blast7OuterRadius = 210.0 ;objects inside this get some of the full damage

Blast8Enabled = Yes
Blast8Enabled = No
Blast8Delay = 999999 ;in milliseconds, don't do the damage wave
Blast8ScorchDelay = 700 ;in milliseconds
Blast8OuterRadius = 210.0 ;objects inside this get some of the full damage

Blast9Enabled = Yes
Blast9Enabled = No
Blast9Delay = 999999 ;in milliseconds, don't do the damage wave
Blast9ScorchDelay = 800 ;in milliseconds
Blast9OuterRadius = 210.0 ;objects inside this get some of the full damage
Expand Down Expand Up @@ -2031,14 +2032,15 @@ Object CargoTruckNuke
End

; Patch104p @balance 05/09/2021 Change Nuke Missiles such that they destroy GLA holes.
; Patch104p @tweak 13/08/2022 Reduce blast delays by around 400 ms with fixed 80 ms step size.

Behavior = NeutronMissileSlowDeathBehavior ModuleTag_03
DestructionDelay = 3501
ScorchMarkSize = 320
FXList = FX_Nuke

Blast1Enabled = Yes
Blast1Delay = 580 ;in milliseconds
Blast1Delay = 300 ;in milliseconds
Blast1ScorchDelay = 100 ;in milliseconds
Blast1InnerRadius = 60.0 ;objects inside this get the full damage
Blast1OuterRadius = 90.0 ;objects inside this get some of the full damage
Expand All @@ -2048,7 +2050,7 @@ Object CargoTruckNuke
Blast1PushForce = 10.0 ;higher #'s push more

Blast2Enabled = Yes
Blast2Delay = 660 ;in milliseconds
Blast2Delay = 380 ;in milliseconds
Blast2ScorchDelay = 180 ;in milliseconds
Blast2InnerRadius = 90.0 ;objects inside this get the full damage
Blast2OuterRadius = 120.0 ;objects inside this get some of the full damage
Expand All @@ -2058,7 +2060,7 @@ Object CargoTruckNuke
Blast2PushForce = 8.0 ;higher #'s push more

Blast3Enabled = Yes
Blast3Delay = 720 ;in milliseconds
Blast3Delay = 460 ;in milliseconds
Blast3ScorchDelay = 260 ;in milliseconds
Blast3InnerRadius = 120.0 ;objects inside this get the full damage
Blast3OuterRadius = 150.0 ;objects inside this get some of the full damage
Expand All @@ -2068,7 +2070,7 @@ Object CargoTruckNuke
Blast3PushForce = 6.0 ;higher #'s push more

Blast4Enabled = Yes
Blast4Delay = 850 ;in milliseconds
Blast4Delay = 540 ;in milliseconds
Blast4ScorchDelay = 340 ;in milliseconds
Blast4InnerRadius = 150.0 ;objects inside this get the full damage
Blast4OuterRadius = 180.0 ;objects inside this get some of the full damage
Expand All @@ -2078,7 +2080,7 @@ Object CargoTruckNuke
Blast4PushForce = 6.0 ;higher #'s push more

Blast5Enabled = Yes
Blast5Delay = 1000 ;in milliseconds
Blast5Delay = 620 ;in milliseconds
Blast5ScorchDelay = 420 ;in milliseconds
Blast5InnerRadius = 180.0 ;objects inside this get the full damage
Blast5OuterRadius = 210.0 ;objects inside this get some of the full damage
Expand All @@ -2088,7 +2090,7 @@ Object CargoTruckNuke
Blast5PushForce = 6.0 ;higher #'s push more

Blast6Enabled = Yes
Blast6Delay = 1180 ;in milliseconds
Blast6Delay = 700 ;in milliseconds
Blast6ScorchDelay = 500 ;in milliseconds
Blast6InnerRadius = 210.0 ;objects inside this get the full damage
Blast6OuterRadius = 210.0 ;objects inside this get some of the full damage
Expand All @@ -2097,17 +2099,17 @@ Object CargoTruckNuke
Blast6ToppleSpeed = 0.35 ;higher #'s topple faster
Blast6PushForce = 4.0 ;higher #'s push more

Blast7Enabled = Yes
Blast7Enabled = No
Blast7Delay = 999999 ;in milliseconds, don't do the damage wave
Blast7ScorchDelay = 620 ;in milliseconds
Blast7OuterRadius = 210.0 ;objects inside this get some of the full damage

Blast8Enabled = Yes
Blast8Enabled = No
Blast8Delay = 999999 ;in milliseconds, don't do the damage wave
Blast8ScorchDelay = 700 ;in milliseconds
Blast8OuterRadius = 210.0 ;objects inside this get some of the full damage

Blast9Enabled = Yes
Blast9Enabled = No
Blast9Delay = 999999 ;in milliseconds, don't do the damage wave
Blast9ScorchDelay = 800 ;in milliseconds
Blast9OuterRadius = 210.0 ;objects inside this get some of the full damage
Expand Down

0 comments on commit 8f30322

Please sign in to comment.