Skip to content

Commit

Permalink
Fix: Sat Hack 1 Fails To Reveal Newly Built Command Centers (#791)
Browse files Browse the repository at this point in the history
  • Loading branch information
commy2 authored Jul 31, 2022
1 parent d995729 commit 2692eb6
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35110,11 +35110,9 @@ Object ChinaInternetCenter
DeathFX = FX_StructureMediumDeath
End

Behavior = SpyVisionUpdate ModuleTag_15
NeedsUpgrade = Yes
SelfPowered = Yes ; No SpecialPower module, turns self on and off on timers (No timers means always on)
SpyOnKindof = COMMANDCENTER ; Defaults to ALL
TriggeredBy = Upgrade_ChinaSatelliteHackOne
; Patch104p @bugfix commy2 30/07/2022 Fix Sathack 1 does not reveal new Command Centers.
Behavior = FireWeaponUpdate ModuleTag_15
Weapon = SatelliteHackOneDummyWeapon
End

Behavior = SpyVisionUpdate ModuleTag_16
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13822,11 +13822,9 @@ Object Infa_ChinaInternetCenter
DeathFX = FX_StructureMediumDeath
End

Behavior = SpyVisionUpdate ModuleTag_15
NeedsUpgrade = Yes
SelfPowered = Yes ; No SpecialPower module, turns self on and off on timers (No timers means always on)
SpyOnKindof = COMMANDCENTER ; Defaults to ALL
TriggeredBy = Upgrade_ChinaSatelliteHackOne
; Patch104p @bugfix commy2 30/07/2022 Fix Sathack 1 does not reveal new Command Centers.
Behavior = FireWeaponUpdate ModuleTag_15
Weapon = SatelliteHackOneDummyWeapon
End

Behavior = SpyVisionUpdate ModuleTag_16
Expand Down
8 changes: 3 additions & 5 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/NukeGeneral.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16410,11 +16410,9 @@ Object Nuke_ChinaInternetCenter
DeathFX = FX_StructureMediumDeath
End

Behavior = SpyVisionUpdate ModuleTag_15
NeedsUpgrade = Yes
SelfPowered = Yes ; No SpecialPower module, turns self on and off on timers (No timers means always on)
SpyOnKindof = COMMANDCENTER ; Defaults to ALL
TriggeredBy = Upgrade_ChinaSatelliteHackOne
; Patch104p @bugfix commy2 30/07/2022 Fix Sathack 1 does not reveal new Command Centers.
Behavior = FireWeaponUpdate ModuleTag_15
Weapon = SatelliteHackOneDummyWeapon
End

Behavior = SpyVisionUpdate ModuleTag_16
Expand Down
28 changes: 27 additions & 1 deletion Patch104pZH/GameFilesEdited/Data/INI/Object/System.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2934,7 +2934,6 @@ Object DummyWeaponProjectile
End

; Patch104p @bugfix commy2 24/10/2021 Logic that grants player Cash Bounty.

;------------------------------------------------------------------------------
Object CashBountyDummy

Expand Down Expand Up @@ -2966,3 +2965,30 @@ Object CashBountyDummy
Bounty = 20%
End
End

; Patch104p @bugfix commy2 30/07/2022 Logic for Sathack 1 to reveal Command Centers.
;------------------------------------------------------------------------------
Object SatelliteHackOneDummy

; ***DESIGN parameters ***
EditorSorting = SYSTEM
KindOf = NO_COLLIDE IMMOBILE UNATTACKABLE INERT

; *** ENGINEERING Parameters ***
Body = HighlanderBody ModuleTag_01
MaxHealth = 1.0
InitialHealth = 1.0
End

Behavior = LifetimeUpdate ModuleTag_02
MinLifetime = 1000 ; min lifetime in msec
MaxLifetime = 1000 ; max lifetime in msec
End

Behavior = SpyVisionUpdate ModuleTag_15
NeedsUpgrade = Yes
SelfPowered = Yes ; No SpecialPower module, turns self on and off on timers (No timers means always on)
SpyOnKindof = COMMANDCENTER ; Defaults to ALL
TriggeredBy = Upgrade_ChinaSatelliteHackOne
End
End
8 changes: 3 additions & 5 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/TankGeneral.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15415,11 +15415,9 @@ Object Tank_ChinaInternetCenter
DeathFX = FX_StructureMediumDeath
End

Behavior = SpyVisionUpdate ModuleTag_15
NeedsUpgrade = Yes
SelfPowered = Yes ; No SpecialPower module, turns self on and off on timers (No timers means always on)
SpyOnKindof = COMMANDCENTER ; Defaults to ALL
TriggeredBy = Upgrade_ChinaSatelliteHackOne
; Patch104p @bugfix commy2 30/07/2022 Fix Sathack 1 does not reveal new Command Centers.
Behavior = FireWeaponUpdate ModuleTag_15
Weapon = SatelliteHackOneDummyWeapon
End

Behavior = SpyVisionUpdate ModuleTag_16
Expand Down
10 changes: 9 additions & 1 deletion Patch104pZH/GameFilesEdited/Data/INI/ObjectCreationList.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8569,6 +8569,15 @@ ObjectCreationList Infa_SUPERWEAPON_Paradrop3
End


; Patch104p @bugfix commy2 30/07/2022 Creates fresh Sathack 1 dummy object.
; -----------------------------------------------------------------------------
ObjectCreationList OCL_SatelliteHackOneDummy
CreateObject
ObjectNames = SatelliteHackOneDummy
End
End



ObjectCreationList GC_Slth_SUPERWEAPON_RebelAmbush1
CreateObject
Expand Down Expand Up @@ -9168,7 +9177,6 @@ End


; Patch104p @bugfix commy2 29/08/2021 Creates dummies used to handle Demolitions upgrade with the Battle Bus.

; -----------------------------------------------------------------------------
; Demolitions General
; -----------------------------------------------------------------------------
Expand Down
8 changes: 7 additions & 1 deletion Patch104pZH/GameFilesEdited/Data/INI/Weapon.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8738,9 +8738,15 @@ Weapon Demo_ScudStormDeathWeapon
End

; Patch104p @bugfix commy2 24/10/2021 Spawns temporary object with cash bounty logic over and over.

;------------------------------------------------------------------------------
Weapon CashBountyDummyWeapon
DelayBetweenShots = 250 ; time between shots, msec
FireOCL = OCL_CashBountyDummy
End

; Patch104p @bugfix commy2 24/10/2021 Spawns dummy object with sathack 1 logic over and over.
;------------------------------------------------------------------------------
Weapon SatelliteHackOneDummyWeapon
DelayBetweenShots = 1000 ; time between shots, msec
FireOCL = OCL_SatelliteHackOneDummy
End

0 comments on commit 2692eb6

Please sign in to comment.