Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change: Improved Sentry Drones #1042

Closed
wants to merge 8 commits into from
24 changes: 14 additions & 10 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/AirforceGeneral.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6819,8 +6819,8 @@ Object AirF_AmericaVehicleSentryDrone
Armor = SentryDroneArmor
DamageFX = TruckDamageFX
End
BuildCost = 850
BuildTime = 10.0 ;in seconds
BuildCost = 600
BuildTime = 8.0 ;in seconds
VisionRange = 200
ShroudClearingRange = 350
Prerequisites
Expand All @@ -6836,6 +6836,7 @@ Object AirF_AmericaVehicleSentryDrone

; Patch104p @bugfix commy2 04/09/2021 Added missing move start sound effects from vanilla USA Sentry Drone.
; Patch104p @bugfix commy2 09/09/2021 Added missing sound when unit leaves factory.
; Patch104p @balance Stubbjax 25/08/2022 Removed deployment times, reduced price, reduced build time, fixed stealth sounds, added auto-healing ability.

; *** AUDIO Parameters ***
VoiceSelect = SentryDroneVoiceSelect
Expand All @@ -6844,6 +6845,8 @@ Object AirF_AmericaVehicleSentryDrone
VoiceAttack = SentryDroneVoiceMove
SoundMoveStart = SentryDroneMoveStart
SoundMoveStartDamaged = SentryDroneMoveStart
SoundStealthOn = StealthOn
SoundStealthOff = StealthOff
UnitSpecificSounds
; These have the syntax of SomeNameSomewhereInCode = SomeNameSomewhereInLookupINIs
VoiceCreate = SentryDroneVoiceCreate
Expand Down Expand Up @@ -6895,10 +6898,10 @@ Object AirF_AmericaVehicleSentryDrone
MaxIdleScanAngle = 360 ; in degrees off the natural turret angle
End
AutoAcquireEnemiesWhenIdle = Yes ;Stealthed ; Means "Yes when idle, even if I am stealthed"
PackTime = 1000
UnpackTime = 1000
PackTime = 0
UnpackTime = 0
TurretsFunctionOnlyWhenDeployed = Yes
TurretsMustCenterBeforePacking = Yes
TurretsMustCenterBeforePacking = No
End

Locomotor = SET_NORMAL SentryLocomotor
Expand Down Expand Up @@ -6953,11 +6956,12 @@ Object AirF_AmericaVehicleSentryDrone
DetectionRate = 900 ; how often to rescan for stealthed things in my sight (msec)
DetectionRange = 225 ;Dustin, enable this for independant balancing!
End

; Behavior = GrantUpgradeCreate ModuleTag_13
; UpgradeToGrant = Upgrade_AmericaSentryDroneGun
; ExemptStatus = UNDER_CONSTRUCTION
; End
Behavior = AutoHealBehavior ModuleTag_13
StartsActive = Yes
HealingAmount = 2
HealingDelay = 1000
StartHealingDelay = 3000
End

Geometry = BOX
GeometryMajorRadius = 9.0
Expand Down
21 changes: 16 additions & 5 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/AmericaMiscUnit.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1674,8 +1674,8 @@ Object MISSION_AmericaVehicleSentryDrone
Armor = HumveeArmor
DamageFX = TruckDamageFX
End
BuildCost = 800
BuildTime = 10.0 ;in seconds
BuildCost = 600
BuildTime = 8.0 ;in seconds
VisionRange = 180
ShroudClearingRange = 350
Prerequisites
Expand All @@ -1689,13 +1689,17 @@ Object MISSION_AmericaVehicleSentryDrone
CrushableLevel = 2 ;What am I?: 0 = for infantry, 1 = for trees, 2 = general vehicles
CommandSet = AmericaVehicleSentryDroneCommandSet

; Patch104p @balance Stubbjax 25/08/2022 Removed deployment times, reduced price, reduced build time, fixed stealth sounds, added auto-healing ability.

; *** AUDIO Parameters ***
VoiceSelect = SentryDroneVoiceSelect
VoiceMove = SentryDroneVoiceMove
VoiceGuard = SentryDroneVoiceMove
VoiceAttack = SentryDroneVoiceMove
SoundMoveStart = NoSound
SoundMoveStartDamaged = NoSound
SoundStealthOn = StealthOn
SoundStealthOff = StealthOff
UnitSpecificSounds
; These have the syntax of SomeNameSomewhereInCode = SomeNameSomewhereInLookupINIs
VoiceCreate = NoSound
Expand Down Expand Up @@ -1729,10 +1733,10 @@ Object MISSION_AmericaVehicleSentryDrone
MaxIdleScanAngle = 360 ; in degrees off the natural turret angle
End
AutoAcquireEnemiesWhenIdle = Yes
PackTime = 1000
UnpackTime = 1000
PackTime = 0
UnpackTime = 0
TurretsFunctionOnlyWhenDeployed = Yes
TurretsMustCenterBeforePacking = Yes
TurretsMustCenterBeforePacking = No
End

Locomotor = SET_NORMAL SentryLocomotor
Expand Down Expand Up @@ -1787,6 +1791,13 @@ Object MISSION_AmericaVehicleSentryDrone
DetectionRate = 900 ; how often to rescan for stealthed things in my sight (msec)
;DetectionRange = ??? ;Dustin, enable this for independant balancing!
End
Behavior = AutoHealBehavior ModuleTag_13
StartsActive = Yes
HealingAmount = 2
HealingDelay = 1000
StartHealingDelay = 3000
End

Geometry = BOX
GeometryMajorRadius = 9.0
GeometryMinorRadius = 7.0
Expand Down
20 changes: 15 additions & 5 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/AmericaVehicle.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2161,8 +2161,8 @@ Object AmericaVehicleSentryDrone
Armor = SentryDroneArmor
DamageFX = TruckDamageFX
End
BuildCost = 800
BuildTime = 10.0 ;in seconds
BuildCost = 600
BuildTime = 8.0 ;in seconds
VisionRange = 200
ShroudClearingRange = 350
Prerequisites
Expand All @@ -2178,6 +2178,7 @@ Object AmericaVehicleSentryDrone

; Patch104p @bugfix commy2 04/09/2021 Added missing move start sound effects when damaged.
; Patch104p @bugfix commy2 09/09/2021 Added missing sound when unit leaves factory.
; Patch104p @balance Stubbjax 25/08/2022 Removed deployment times, reduced price, reduced build time, fixed stealth sounds, added auto-healing ability.

; *** AUDIO Parameters ***
VoiceSelect = SentryDroneVoiceSelect
Expand All @@ -2186,6 +2187,8 @@ Object AmericaVehicleSentryDrone
VoiceAttack = SentryDroneVoiceMove
SoundMoveStart = SentryDroneMoveStart
SoundMoveStartDamaged = SentryDroneMoveStart
SoundStealthOn = StealthOn
SoundStealthOff = StealthOff
UnitSpecificSounds
; These have the syntax of SomeNameSomewhereInCode = SomeNameSomewhereInLookupINIs
VoiceCreate = SentryDroneVoiceCreate
Expand Down Expand Up @@ -2237,10 +2240,10 @@ Object AmericaVehicleSentryDrone
MaxIdleScanAngle = 360 ; in degrees off the natural turret angle
End
AutoAcquireEnemiesWhenIdle = Yes ;Stealthed ; Means "Yes when idle, even if I am stealthed"
PackTime = 1000
UnpackTime = 1000
PackTime = 0
UnpackTime = 0
TurretsFunctionOnlyWhenDeployed = Yes
TurretsMustCenterBeforePacking = Yes
TurretsMustCenterBeforePacking = No
End

Locomotor = SET_NORMAL SentryLocomotor
Expand Down Expand Up @@ -2295,6 +2298,13 @@ Object AmericaVehicleSentryDrone
DetectionRate = 900 ; how often to rescan for stealthed things in my sight (msec)
DetectionRange = 225 ;Dustin, enable this for independant balancing!
End
Behavior = AutoHealBehavior ModuleTag_13
StartsActive = Yes
HealingAmount = 2
HealingDelay = 1000
StartHealingDelay = 3000
End

Geometry = BOX
GeometryMajorRadius = 9.0
GeometryMinorRadius = 7.0
Expand Down
20 changes: 15 additions & 5 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/BossGeneral.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19901,8 +19901,8 @@ Object Boss_VehicleSentryDrone
Armor = SentryDroneArmor
DamageFX = TruckDamageFX
End
BuildCost = 800
BuildTime = 10.0 ;in seconds
BuildCost = 600
BuildTime = 8.0 ;in seconds
VisionRange = 200
ShroudClearingRange = 350
Prerequisites
Expand All @@ -19918,6 +19918,7 @@ Object Boss_VehicleSentryDrone

; Patch104p @bugfix commy2 04/09/2021 Added missing move start sound effects from vanilla USA Sentry Drone.
; Patch104p @bugfix commy2 09/09/2021 Added missing sound when unit leaves factory.
; Patch104p @balance Stubbjax 25/08/2022 Removed deployment times, reduced price, reduced build time, fixed stealth sounds, added auto-healing ability.

; *** AUDIO Parameters ***
VoiceSelect = SentryDroneVoiceSelect
Expand All @@ -19926,6 +19927,8 @@ Object Boss_VehicleSentryDrone
VoiceAttack = SentryDroneVoiceMove
SoundMoveStart = SentryDroneMoveStart
SoundMoveStartDamaged = SentryDroneMoveStart
SoundStealthOn = StealthOn
SoundStealthOff = StealthOff
UnitSpecificSounds
; These have the syntax of SomeNameSomewhereInCode = SomeNameSomewhereInLookupINIs
VoiceCreate = SentryDroneVoiceCreate
Expand Down Expand Up @@ -19976,10 +19979,10 @@ Object Boss_VehicleSentryDrone
MaxIdleScanAngle = 360 ; in degrees off the natural turret angle
End
AutoAcquireEnemiesWhenIdle = Yes ;Stealthed ; Means "Yes when idle, even if I am stealthed"
PackTime = 1000
UnpackTime = 1000
PackTime = 0
UnpackTime = 0
TurretsFunctionOnlyWhenDeployed = Yes
TurretsMustCenterBeforePacking = Yes
TurretsMustCenterBeforePacking = No
End

Locomotor = SET_NORMAL SentryLocomotor
Expand Down Expand Up @@ -20034,6 +20037,13 @@ Object Boss_VehicleSentryDrone
DetectionRate = 900 ; how often to rescan for stealthed things in my sight (msec)
DetectionRange = 225 ;Dustin, enable this for independant balancing!
End
Behavior = AutoHealBehavior ModuleTag_13
StartsActive = Yes
HealingAmount = 2
HealingDelay = 1000
StartHealingDelay = 3000
End

Geometry = BOX
GeometryMajorRadius = 9.0
GeometryMinorRadius = 7.0
Expand Down
20 changes: 15 additions & 5 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/LaserGeneral.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6530,8 +6530,8 @@ Object Lazr_AmericaVehicleSentryDrone
Armor = SentryDroneArmor
DamageFX = TruckDamageFX
End
BuildCost = 800
BuildTime = 10.0 ;in seconds
BuildCost = 600
BuildTime = 8.0 ;in seconds
VisionRange = 200
ShroudClearingRange = 350
Prerequisites
Expand All @@ -6547,6 +6547,7 @@ Object Lazr_AmericaVehicleSentryDrone

; Patch104p @bugfix commy2 04/09/2021 Added missing move start sound effects from vanilla USA Sentry Drone.
; Patch104p @bugfix commy2 09/09/2021 Added missing sound when unit leaves factory.
; Patch104p @balance Stubbjax 25/08/2022 Removed deployment times, reduced price, reduced build time, fixed stealth sounds, added auto-healing ability.

; *** AUDIO Parameters ***
VoiceSelect = SentryDroneVoiceSelect
Expand All @@ -6555,6 +6556,8 @@ Object Lazr_AmericaVehicleSentryDrone
VoiceAttack = SentryDroneVoiceMove
SoundMoveStart = SentryDroneMoveStart
SoundMoveStartDamaged = SentryDroneMoveStart
SoundStealthOn = StealthOn
SoundStealthOff = StealthOff
UnitSpecificSounds
; These have the syntax of SomeNameSomewhereInCode = SomeNameSomewhereInLookupINIs
VoiceCreate = SentryDroneVoiceCreate
Expand Down Expand Up @@ -6606,10 +6609,10 @@ Object Lazr_AmericaVehicleSentryDrone
MaxIdleScanAngle = 360 ; in degrees off the natural turret angle
End
AutoAcquireEnemiesWhenIdle = Yes ;Stealthed ; Means "Yes when idle, even if I am stealthed"
PackTime = 1000
UnpackTime = 1000
PackTime = 0
UnpackTime = 0
TurretsFunctionOnlyWhenDeployed = Yes
TurretsMustCenterBeforePacking = Yes
TurretsMustCenterBeforePacking = No
End

Locomotor = SET_NORMAL SentryLocomotor
Expand Down Expand Up @@ -6664,6 +6667,13 @@ Object Lazr_AmericaVehicleSentryDrone
DetectionRate = 900 ; how often to rescan for stealthed things in my sight (msec)
DetectionRange = 225 ;Dustin, enable this for independant balancing!
End
Behavior = AutoHealBehavior ModuleTag_13
StartsActive = Yes
HealingAmount = 2
HealingDelay = 1000
StartHealingDelay = 3000
End

Geometry = BOX
GeometryMajorRadius = 9.0
GeometryMinorRadius = 7.0
Expand Down
20 changes: 15 additions & 5 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/SuperWeaponGeneral.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7000,8 +7000,8 @@ Object SupW_AmericaVehicleSentryDrone
Armor = SentryDroneArmor
DamageFX = TruckDamageFX
End
BuildCost = 1000
BuildTime = 10.0 ;in seconds
BuildCost = 600
BuildTime = 8.0 ;in seconds
VisionRange = 200
ShroudClearingRange = 350
Prerequisites
Expand All @@ -7017,6 +7017,7 @@ Object SupW_AmericaVehicleSentryDrone

; Patch104p @bugfix commy2 04/09/2021 Added missing move start sound effects from vanilla USA Sentry Drone.
; Patch104p @bugfix commy2 09/09/2021 Added missing sound when unit leaves factory.
; Patch104p @balance Stubbjax 25/08/2022 Removed deployment times, reduced price, reduced build time, fixed stealth sounds, added auto-healing ability.

; *** AUDIO Parameters ***
VoiceSelect = SentryDroneVoiceSelect
Expand All @@ -7025,6 +7026,8 @@ Object SupW_AmericaVehicleSentryDrone
VoiceAttack = SentryDroneVoiceMove
SoundMoveStart = SentryDroneMoveStart
SoundMoveStartDamaged = SentryDroneMoveStart
SoundStealthOn = StealthOn
SoundStealthOff = StealthOff
UnitSpecificSounds
; These have the syntax of SomeNameSomewhereInCode = SomeNameSomewhereInLookupINIs
VoiceCreate = SentryDroneVoiceCreate
Expand Down Expand Up @@ -7076,10 +7079,10 @@ Object SupW_AmericaVehicleSentryDrone
MaxIdleScanAngle = 360 ; in degrees off the natural turret angle
End
AutoAcquireEnemiesWhenIdle = Yes ;Stealthed ; Means "Yes when idle, even if I am stealthed"
PackTime = 1000
UnpackTime = 1000
PackTime = 0
UnpackTime = 0
TurretsFunctionOnlyWhenDeployed = Yes
TurretsMustCenterBeforePacking = Yes
TurretsMustCenterBeforePacking = No
End

Locomotor = SET_NORMAL SentryLocomotor
Expand Down Expand Up @@ -7134,6 +7137,13 @@ Object SupW_AmericaVehicleSentryDrone
DetectionRate = 900 ; how often to rescan for stealthed things in my sight (msec)
DetectionRange = 225 ;Dustin, enable this for independant balancing!
End
Behavior = AutoHealBehavior ModuleTag_13
StartsActive = Yes
HealingAmount = 2
HealingDelay = 1000
StartHealingDelay = 3000
End

Geometry = BOX
GeometryMajorRadius = 9.0
GeometryMinorRadius = 7.0
Expand Down
5 changes: 3 additions & 2 deletions Patch104pZH/GameFilesEdited/Data/INI/Upgrade.ini
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,11 @@ Upgrade Upgrade_AmericaChemicalSuits
ResearchSound = RangerVoiceUpgradeChemSuits
End

; Patch104p @balance Stubbjax 08/09/2022 Reduced cost and research time by 50%.
Upgrade Upgrade_AmericaSentryDroneGun
DisplayName = UPGRADE:AmericaSentryDroneGun
BuildTime = 30.0
BuildCost = 1000
BuildTime = 15.0
BuildCost = 500
ButtonImage = SASentryUpgr
End

Expand Down