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

USA Sentry drone improvements 2 #1162

Merged
merged 7 commits into from
Sep 14, 2022
Merged
Binary file not shown.
6 changes: 3 additions & 3 deletions Patch104pZH/GameFilesEdited/Data/INI/Locomotor.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4387,9 +4387,9 @@ Locomotor SentryLocomotor
SpeedDamaged = 50 ; in dist/sec
TurnRate = 180 ;120 ; in degrees/sec
TurnRateDamaged = 180 ;120 ; in degrees/sec
Acceleration = 60 ; in dist/(sec^2)
AccelerationDamaged = 60 ; in dist/(sec^2)
Braking = 60 ; in dist/(sec^2)
Acceleration = 200 ; in dist/(sec^2) Patch104p @tweak from 60 to accelerate in 0.3 seconds instead of 1.0
AccelerationDamaged = 200 ; in dist/(sec^2) Patch104p @tweak from 60 to accelerate in 0.3 seconds instead of 1.0
Braking = 200 ; in dist/(sec^2) Patch104p @tweak from 60 to accelerate in 0.3 seconds instead of 1.0
MinTurnSpeed = 20 ; in dist/sec
TurnPivotOffset = -0.33 ; where to pivot when turning (-1.0 = rear, 0.0 = center, 1.0 = front)
ZAxisBehavior = NO_Z_MOTIVE_FORCE
Expand Down
19 changes: 10 additions & 9 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/AirforceGeneral.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6725,7 +6725,8 @@ Object AirF_AmericaVehicleSentryDrone
AnimationMode = LOOP
ShowSubObject = TURRETUP09
End
TrackMarks = EXTnkTrack.tga

TrackMarks = exdronetrack.tga ; Patch104p from EXTnkTrack to use less transparent tracks
TreadDebrisLeft = SentryDroneTrackDebrisDirtLeft
TreadDebrisRight = SentryDroneTrackDebrisDirtRight
TreadAnimationRate = 4.0 ; amount of tread texture to move per second
Expand All @@ -6750,16 +6751,16 @@ Object AirF_AmericaVehicleSentryDrone
Armor = SentryDroneArmor
DamageFX = TruckDamageFX
End
BuildCost = 850
BuildCost = 800 ; Patch104p @tweak from 850 to match with Humvee cost
BuildTime = 10.0 ;in seconds
VisionRange = 200
ShroudClearingRange = 350
ShroudClearingRange = 400 ; Patch104p @tweak from 350
Prerequisites
Object = AirF_AmericaWarFactory
End

ExperienceValue = 50 50 100 150 ;Experience point value at each level
ExperienceRequired = 0 100 150 300 ;Experience points needed to gain each level
;ExperienceRequired = 0 100 150 300 ;Experience points needed to gain each level
IsTrainable = No ;Can gain experience
CrusherLevel = 0 ;What can I crush?: 1 = infantry, 2 = trees, 3 = vehicles
CrushableLevel = 2 ;What am I?: 0 = for infantry, 1 = for trees, 2 = general vehicles
Expand Down Expand Up @@ -6810,7 +6811,7 @@ Object AirF_AmericaVehicleSentryDrone
ChangeType = ADD_CURRENT_HEALTH_TOO
End

Behavior = DeployStyleAIUpdate ModuleTag_04
Behavior = AIUpdateInterface ModuleTag_04 ; Patch104p @tweak from DeployStyleAIUpdate
Turret
TurretTurnRate = 180
TurretPitchRate = 180
Expand All @@ -6826,10 +6827,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
TurretsFunctionOnlyWhenDeployed = Yes
TurretsMustCenterBeforePacking = Yes
;PackTime = 1000
;UnpackTime = 1000
;TurretsFunctionOnlyWhenDeployed = Yes
;TurretsMustCenterBeforePacking = Yes
End

Locomotor = SET_NORMAL SentryLocomotor
Expand Down
18 changes: 9 additions & 9 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/AmericaVehicle.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2136,7 +2136,7 @@ Object AmericaVehicleSentryDrone
ShowSubObject = TURRETUP09
End

TrackMarks = EXTnkTrack.tga
TrackMarks = exdronetrack.tga ; Patch104p from EXTnkTrack to use less transparent tracks
TreadDebrisLeft = SentryDroneTrackDebrisDirtLeft
TreadDebrisRight = SentryDroneTrackDebrisDirtRight
TreadAnimationRate = 4.0 ; amount of tread texture to move per second
Expand All @@ -2160,16 +2160,16 @@ Object AmericaVehicleSentryDrone
Armor = SentryDroneArmor
DamageFX = TruckDamageFX
End
BuildCost = 800
BuildCost = 700 ; Patch104p @tweak from 800 to match with Humvee cost
BuildTime = 10.0 ;in seconds
VisionRange = 200
ShroudClearingRange = 350
ShroudClearingRange = 400 ; Patch104p @tweak from 350
Prerequisites
Object = AmericaWarFactory
End

ExperienceValue = 50 50 100 150 ;Experience point value at each level
ExperienceRequired = 0 100 150 300 ;Experience points needed to gain each level
;ExperienceRequired = 0 100 150 300 ;Experience points needed to gain each level
IsTrainable = No ;Can gain experience
CrusherLevel = 0 ;What can I crush?: 1 = infantry, 2 = trees, 3 = vehicles
CrushableLevel = 2 ;What am I?: 0 = for infantry, 1 = for trees, 2 = general vehicles
Expand Down Expand Up @@ -2220,7 +2220,7 @@ Object AmericaVehicleSentryDrone
ChangeType = ADD_CURRENT_HEALTH_TOO
End

Behavior = DeployStyleAIUpdate ModuleTag_04
Behavior = AIUpdateInterface ModuleTag_04 ; Patch104p @tweak from DeployStyleAIUpdate
Turret
TurretTurnRate = 180
TurretPitchRate = 180
Expand All @@ -2236,10 +2236,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
TurretsFunctionOnlyWhenDeployed = Yes
TurretsMustCenterBeforePacking = Yes
;PackTime = 1000
;UnpackTime = 1000
;TurretsFunctionOnlyWhenDeployed = Yes
;TurretsMustCenterBeforePacking = Yes
End

Locomotor = SET_NORMAL SentryLocomotor
Expand Down
28 changes: 15 additions & 13 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/BossGeneral.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19878,11 +19878,12 @@ Object Boss_VehicleSentryDrone
AnimationMode = LOOP
ShowSubObject = TURRETUP09
End
TrackMarks = EXTnkTrack.tga
TreadDebrisLeft = SentryDroneTrackDebrisDirtLeft
TreadDebrisRight = SentryDroneTrackDebrisDirtRight
TreadAnimationRate = 4.0 ; amount of tread texture to move per second
End

TrackMarks = exdronetrack.tga ; Patch104p from EXTnkTrack to use less transparent tracks
TreadDebrisLeft = SentryDroneTrackDebrisDirtLeft
TreadDebrisRight = SentryDroneTrackDebrisDirtRight
TreadAnimationRate = 4.0 ; amount of tread texture to move per second
End

; ***DESIGN parameters ***
DisplayName = OBJECT:SentryDrone
Expand All @@ -19902,16 +19903,16 @@ Object Boss_VehicleSentryDrone
Armor = SentryDroneArmor
DamageFX = TruckDamageFX
End
BuildCost = 800
BuildCost = 700 ; Patch104p @tweak from 800 to match with Humvee cost
BuildTime = 10.0 ;in seconds
VisionRange = 200
ShroudClearingRange = 350
ShroudClearingRange = 400 ; Patch104p @tweak from 350
Prerequisites
Object = Boss_WarFactory
End

ExperienceValue = 50 50 100 150 ;Experience point value at each level
ExperienceRequired = 0 100 150 300 ;Experience points needed to gain each level
;ExperienceRequired = 0 100 150 300 ;Experience points needed to gain each level
IsTrainable = No ;Can gain experience
CrusherLevel = 0 ;What can I crush?: 1 = infantry, 2 = trees, 3 = vehicles
CrushableLevel = 2 ;What am I?: 0 = for infantry, 1 = for trees, 2 = general vehicles
Expand Down Expand Up @@ -19961,7 +19962,8 @@ Object Boss_VehicleSentryDrone
AddMaxHealth = 75.0
ChangeType = ADD_CURRENT_HEALTH_TOO
End
Behavior = DeployStyleAIUpdate ModuleTag_04

Behavior = AIUpdateInterface ModuleTag_04 ; Patch104p @tweak from DeployStyleAIUpdate
Turret
TurretTurnRate = 180
TurretPitchRate = 180
Expand All @@ -19977,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
TurretsFunctionOnlyWhenDeployed = Yes
TurretsMustCenterBeforePacking = Yes
;PackTime = 1000
;UnpackTime = 1000
;TurretsFunctionOnlyWhenDeployed = Yes
;TurretsMustCenterBeforePacking = Yes
End

Locomotor = SET_NORMAL SentryLocomotor
Expand Down
27 changes: 14 additions & 13 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/LaserGeneral.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6436,11 +6436,12 @@ Object Lazr_AmericaVehicleSentryDrone
AnimationMode = LOOP
ShowSubObject = TURRETUP09
End
TrackMarks = EXTnkTrack.tga
TreadDebrisLeft = SentryDroneTrackDebrisDirtLeft
TreadDebrisRight = SentryDroneTrackDebrisDirtRight
TreadAnimationRate = 4.0 ; amount of tread texture to move per second
End

TrackMarks = exdronetrack.tga ; Patch104p from EXTnkTrack to use less transparent tracks
TreadDebrisLeft = SentryDroneTrackDebrisDirtLeft
TreadDebrisRight = SentryDroneTrackDebrisDirtRight
TreadAnimationRate = 4.0 ; amount of tread texture to move per second
End


; ***DESIGN parameters ***
Expand All @@ -6461,16 +6462,16 @@ Object Lazr_AmericaVehicleSentryDrone
Armor = SentryDroneArmor
DamageFX = TruckDamageFX
End
BuildCost = 800
BuildCost = 700 ; Patch104p @tweak from 800 to match with Humvee cost
BuildTime = 10.0 ;in seconds
VisionRange = 200
ShroudClearingRange = 350
ShroudClearingRange = 400 ; Patch104p @tweak from 350
Prerequisites
Object = Lazr_AmericaWarFactory
End

ExperienceValue = 50 50 100 150 ;Experience point value at each level
ExperienceRequired = 0 100 150 300 ;Experience points needed to gain each level
;ExperienceRequired = 0 100 150 300 ;Experience points needed to gain each level
IsTrainable = No ;Can gain experience
CrusherLevel = 0 ;What can I crush?: 1 = infantry, 2 = trees, 3 = vehicles
CrushableLevel = 2 ;What am I?: 0 = for infantry, 1 = for trees, 2 = general vehicles
Expand Down Expand Up @@ -6521,7 +6522,7 @@ Object Lazr_AmericaVehicleSentryDrone
ChangeType = ADD_CURRENT_HEALTH_TOO
End

Behavior = DeployStyleAIUpdate ModuleTag_04
Behavior = AIUpdateInterface ModuleTag_04 ; Patch104p @tweak from DeployStyleAIUpdate
Turret
TurretTurnRate = 180
TurretPitchRate = 180
Expand All @@ -6537,10 +6538,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
TurretsFunctionOnlyWhenDeployed = Yes
TurretsMustCenterBeforePacking = Yes
;PackTime = 1000
;UnpackTime = 1000
;TurretsFunctionOnlyWhenDeployed = Yes
;TurretsMustCenterBeforePacking = Yes
End

Locomotor = SET_NORMAL SentryLocomotor
Expand Down
27 changes: 14 additions & 13 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/SuperWeaponGeneral.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6905,11 +6905,12 @@ Object SupW_AmericaVehicleSentryDrone
AnimationMode = LOOP
ShowSubObject = TURRETUP09
End
TrackMarks = EXTnkTrack.tga
TreadDebrisLeft = SentryDroneTrackDebrisDirtLeft
TreadDebrisRight = SentryDroneTrackDebrisDirtRight
TreadAnimationRate = 4.0 ; amount of tread texture to move per second
End

TrackMarks = exdronetrack.tga ; Patch104p from EXTnkTrack to use less transparent tracks
TreadDebrisLeft = SentryDroneTrackDebrisDirtLeft
TreadDebrisRight = SentryDroneTrackDebrisDirtRight
TreadAnimationRate = 4.0 ; amount of tread texture to move per second
End


; ***DESIGN parameters ***
Expand All @@ -6930,16 +6931,16 @@ Object SupW_AmericaVehicleSentryDrone
Armor = SentryDroneArmor
DamageFX = TruckDamageFX
End
BuildCost = 1000
BuildCost = 850 ; Patch104p @tweak from 1000 to match with Humvee cost
BuildTime = 10.0 ;in seconds
VisionRange = 200
ShroudClearingRange = 350
ShroudClearingRange = 400 ; Patch104p @tweak from 350
Prerequisites
Object = SupW_AmericaWarFactory
End

ExperienceValue = 50 50 100 150 ;Experience point value at each level
ExperienceRequired = 0 100 150 300 ;Experience points needed to gain each level
;ExperienceRequired = 0 100 150 300 ;Experience points needed to gain each level
IsTrainable = No ;Can gain experience
CrusherLevel = 0 ;What can I crush?: 1 = infantry, 2 = trees, 3 = vehicles
CrushableLevel = 2 ;What am I?: 0 = for infantry, 1 = for trees, 2 = general vehicles
Expand Down Expand Up @@ -6990,7 +6991,7 @@ Object SupW_AmericaVehicleSentryDrone
ChangeType = ADD_CURRENT_HEALTH_TOO
End

Behavior = DeployStyleAIUpdate ModuleTag_04
Behavior = AIUpdateInterface ModuleTag_04 ; Patch104p @tweak from DeployStyleAIUpdate
Turret
TurretTurnRate = 180
TurretPitchRate = 180
Expand All @@ -7006,10 +7007,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
TurretsFunctionOnlyWhenDeployed = Yes
TurretsMustCenterBeforePacking = Yes
;PackTime = 1000
;UnpackTime = 1000
;TurretsFunctionOnlyWhenDeployed = Yes
;TurretsMustCenterBeforePacking = Yes
End

Locomotor = SET_NORMAL SentryLocomotor
Expand Down
4 changes: 2 additions & 2 deletions Patch104pZH/GameFilesEdited/Data/INI/Upgrade.ini
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ End

Upgrade Upgrade_AmericaSentryDroneGun
DisplayName = UPGRADE:AmericaSentryDroneGun
BuildTime = 30.0
BuildCost = 1000
BuildTime = 10.0 ; Patch104p @tweak from 30.0 to consolidate with usefulness of Upgrade_AmericaTOWMissile
BuildCost = 800 ; Patch104p @tweak from 1000 to match with price of Upgrade_AmericaTOWMissile
ButtonImage = SASentryUpgr
ResearchSound = EvaVoiceUpgradeSentryDrone ; Patch104p @tweak commy2 20/08/2022 Add voice line.
End
Expand Down
2 changes: 1 addition & 1 deletion Patch104pZH/GameFilesEdited/Data/INI/Weapon.ini
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ End

;------------------------------------------------------------------------------
Weapon SentryDroneGun
PrimaryDamage = 8.0
PrimaryDamage = 10.0 ; Patch104p @tweak from 8.0 to match damage with HumveeGun
PrimaryDamageRadius = 0.0
AttackRange = 150.0
DamageType = COMANCHE_VULCAN
Expand Down