Skip to content

Commit

Permalink
Revert "Enable POW Truck for optional content use (#574)" (#607)
Browse files Browse the repository at this point in the history
  • Loading branch information
commy2 authored Oct 31, 2021
1 parent 34b4605 commit 85f5e15
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 48 deletions.
9 changes: 0 additions & 9 deletions Patch104pZH/GameFilesEdited/Data/INI/CommandButton.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8313,12 +8313,3 @@ CommandButton Command_ConstructTechRadioStation
ButtonBorderType = BUILD ; Identifier for the User as to what kind of button this is
DescriptLabel = OBJECT:TechRadioStation
End

CommandButton Command_ConstructAmericaVehiclePOWTruck ; Patch104p Jundiyy 17.10.2021 Added Command Button to allow map makers to train this unit.
Command = UNIT_BUILD
Object = AmericaVehiclePOWTruck
TextLabel = CONTROLBAR:ConstructChinaVehicleSupplyTruck
ButtonImage = SAPowTruck
ButtonBorderType = BUILD ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:ToolTipChinaBuildSupplyTruck
End
15 changes: 0 additions & 15 deletions Patch104pZH/GameFilesEdited/Data/INI/CommandSet.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5125,18 +5125,3 @@ CommandSet Boss_ChinaNuclearMissileCommandSetUpgrade
12 = Command_UpgradeEMPMines
14 = Command_Sell
End

CommandSet VehiclePOWTruckCommandSet ; Patch104p Jundiyy 17.10.2021 CommandSet for the POWTruck.
1 = Command_TransportExit
2 = Command_TransportExit
3 = Command_TransportExit
4 = Command_TransportExit
5 = Command_TransportExit
6 = Command_TransportExit
7 = Command_TransportExit
8 = Command_TransportExit
9 = Command_Evacuate
11 = Command_AttackMove
13 = Command_Guard
14 = Command_Stop
End
32 changes: 8 additions & 24 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/AmericaCINEUnit.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2554,7 +2554,6 @@ End


;------------------------------------------------------------------------------
; Patch104p Jundiyy 17.10.2021 Edited the POW truck to give it some use and be useable in game for map makers.
; NOTE NOTE NOTE NOTE
; NOTE NOTE NOTE NOTE
; NOTE NOTE NOTE NOTE
Expand Down Expand Up @@ -2611,12 +2610,11 @@ Object AmericaVehiclePOWTruck
Conditions = None
Armor = TruckArmor
DamageFX = TankDamageFX
End

End
; nope, sorry, can't build it. (srj)
;Buildable = No ; Patch104p Jundiyy 17.10.2021 Can be built.
BuildCost = 500
BuildTime = 10.0 ;in seconds
Buildable = No
;BuildCost = 500
;BuildTime = 10.0 ;in seconds
VisionRange = 200
ShroudClearingRange = 300
ExperienceValue = 50 50 50 50 ;Experience point value at each level
Expand All @@ -2626,7 +2624,7 @@ Object AmericaVehiclePOWTruck
CrushableLevel = 2 ;What am I?: 0 = for infantry, 1 = for trees, 2 = general vehicles

; nope, sorry, can't control it. (srj)
CommandSet = VehiclePOWTruckCommandSet
;CommandSet = VehiclePOWTruckCommandSet

; *** AUDIO Parameters ***
VoiceSelect = POWTruckUSAVoiceSelect
Expand Down Expand Up @@ -2678,24 +2676,10 @@ Object AmericaVehiclePOWTruck
ReallyDamagedParticleSystem1 = Bone:Smoke RandomBone:Yes PSys:SmokeSmallContinuous01
ReallyDamagedFXList1 = Loc: X:0 Y:0 Z:0 FXList:FX_BattleMasterDamageTransition
End

Behavior = TransportContain ModuleTag_06Transport ; Patch104p Jundiyy 17.10.2021 Could any amount but I chose more to 'bring more people to the party'
Slots = 8
HealthRegen%PerSec = 25
DamagePercentToUnits = 10%
AllowInsideKindOf = INFANTRY
AllowAlliesInside = Yes
AllowNeutralInside = No
AllowEnemiesInside = No
ExitDelay = 250
NumberOfExitPaths = 3 ; Defaults to 1. Set 0 to not use ExitStart/ExitEnd, set higher than 1 to use ExitStart01-nn/ExitEnd01-nn
GoAggressiveOnExit = Yes ; AI Will tell people to set their mood to Aggressive on exiting
Behavior = ExperienceScalarUpgrade ModuleTag_10
TriggeredBy = Upgrade_AmericaAdvancedTraining
AddXPScalar = 1.0 ;Increases experience gained by an additional 100%
End

;Behavior = ExperienceScalarUpgrade ModuleTag_10 ; Patch104p Jundiyy 17.10.2021 Doesn't gain xp so no need.
; TriggeredBy = Upgrade_AmericaAdvancedTraining
; AddXPScalar = 1.0 ;Increases experience gained by an additional 100%
;End
Behavior = FlammableUpdate ModuleTag_21
AflameDuration = 5000 ; If I catch fire, I'll burn for this long...
AflameDamageAmount = 3 ; taking this much damage...
Expand Down

0 comments on commit 85f5e15

Please sign in to comment.