Skip to content

Commit

Permalink
Fix: Prevent radar dish animation reset on damage transition of China…
Browse files Browse the repository at this point in the history
… Listening Outpost (#2365)
  • Loading branch information
xezon committed Sep 16, 2023
1 parent 6360273 commit 86ba983
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/ChinaVehicle.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2852,29 +2852,34 @@ Object ChinaVehicleListeningOutpost
Draw = W3DModelDraw ModuleTag_33
OkToChangeModelColor = Yes

; Patch104p @bugfix xezon 16/09/2023 Maintain frame across states for the radar dish and legs. (#2365)
ConditionState = NONE
Model = NVLOUTPOST_B
Animation = NVLOUTPOST_B.NVLOUTPOST_B
AnimationMode = LOOP
Flags = MAINTAIN_FRAME_ACROSS_STATES
TransitionKey = Trans_Deployed
End
ConditionState = REALLYDAMAGED
Model = NVLOUTPOST_BD
Animation = NVLOUTPOST_BD.NVLOUTPOST_BD
AnimationMode = LOOP
Flags = MAINTAIN_FRAME_ACROSS_STATES
TransitionKey = Trans_Deployed_ReallyDamaged
End

ConditionState = MOVING
Model = NVLOUTPOST_A
Animation = NVLOUTPOST_A.NVLOUTPOST_A
AnimationMode = LOOP
Flags = MAINTAIN_FRAME_ACROSS_STATES
TransitionKey = Trans_Moving
End
ConditionState = REALLYDAMAGED MOVING
Model = NVLOUTPOST_AD
Animation = NVLOUTPOST_AD.NVLOUTPOST_AD
AnimationMode = LOOP
Flags = MAINTAIN_FRAME_ACROSS_STATES
TransitionKey = Trans_Moving_ReallyDamaged
End

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16337,29 +16337,34 @@ Object Infa_ChinaVehicleListeningOutpost
Draw = W3DModelDraw ModuleTag_33
OkToChangeModelColor = Yes

; Patch104p @bugfix xezon 16/09/2023 Maintain frame across states for the radar dish and legs. (#2365)
ConditionState = NONE
Model = NVLOUTPOST_B
Animation = NVLOUTPOST_B.NVLOUTPOST_B
AnimationMode = LOOP
Flags = MAINTAIN_FRAME_ACROSS_STATES
TransitionKey = Trans_Deployed
End
ConditionState = REALLYDAMAGED
Model = NVLOUTPOST_BD
Animation = NVLOUTPOST_BD.NVLOUTPOST_BD
AnimationMode = LOOP
Flags = MAINTAIN_FRAME_ACROSS_STATES
TransitionKey = Trans_Deployed_ReallyDamaged
End

ConditionState = MOVING
Model = NVLOUTPOST_A
Animation = NVLOUTPOST_A.NVLOUTPOST_A
AnimationMode = LOOP
Flags = MAINTAIN_FRAME_ACROSS_STATES
TransitionKey = Trans_Moving
End
ConditionState = REALLYDAMAGED MOVING
Model = NVLOUTPOST_AD
Animation = NVLOUTPOST_AD.NVLOUTPOST_AD
AnimationMode = LOOP
Flags = MAINTAIN_FRAME_ACROSS_STATES
TransitionKey = Trans_Moving_ReallyDamaged
End

Expand Down
5 changes: 5 additions & 0 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/NukeGeneral.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4959,29 +4959,34 @@ Object Nuke_ChinaVehicleListeningOutpost
Draw = W3DModelDraw ModuleTag_33
OkToChangeModelColor = Yes

; Patch104p @bugfix xezon 16/09/2023 Maintain frame across states for the radar dish and legs. (#2365)
ConditionState = NONE
Model = NVLOUTPOST_B
Animation = NVLOUTPOST_B.NVLOUTPOST_B
AnimationMode = LOOP
Flags = MAINTAIN_FRAME_ACROSS_STATES
TransitionKey = Trans_Deployed
End
ConditionState = REALLYDAMAGED
Model = NVLOUTPOST_BD
Animation = NVLOUTPOST_BD.NVLOUTPOST_BD
AnimationMode = LOOP
Flags = MAINTAIN_FRAME_ACROSS_STATES
TransitionKey = Trans_Deployed_ReallyDamaged
End

ConditionState = MOVING
Model = NVLOUTPOST_A
Animation = NVLOUTPOST_A.NVLOUTPOST_A
AnimationMode = LOOP
Flags = MAINTAIN_FRAME_ACROSS_STATES
TransitionKey = Trans_Moving
End
ConditionState = REALLYDAMAGED MOVING
Model = NVLOUTPOST_AD
Animation = NVLOUTPOST_AD.NVLOUTPOST_AD
AnimationMode = LOOP
Flags = MAINTAIN_FRAME_ACROSS_STATES
TransitionKey = Trans_Moving_ReallyDamaged
End

Expand Down
5 changes: 5 additions & 0 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/TankGeneral.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5162,29 +5162,34 @@ Object Tank_ChinaVehicleListeningOutpost
Draw = W3DModelDraw ModuleTag_33
OkToChangeModelColor = Yes

; Patch104p @bugfix xezon 16/09/2023 Maintain frame across states for the radar dish and legs. (#2365)
ConditionState = NONE
Model = NVLOUTPOST_B
Animation = NVLOUTPOST_B.NVLOUTPOST_B
AnimationMode = LOOP
Flags = MAINTAIN_FRAME_ACROSS_STATES
TransitionKey = Trans_Deployed
End
ConditionState = REALLYDAMAGED
Model = NVLOUTPOST_BD
Animation = NVLOUTPOST_BD.NVLOUTPOST_BD
AnimationMode = LOOP
Flags = MAINTAIN_FRAME_ACROSS_STATES
TransitionKey = Trans_Deployed_ReallyDamaged
End

ConditionState = MOVING
Model = NVLOUTPOST_A
Animation = NVLOUTPOST_A.NVLOUTPOST_A
AnimationMode = LOOP
Flags = MAINTAIN_FRAME_ACROSS_STATES
TransitionKey = Trans_Moving
End
ConditionState = REALLYDAMAGED MOVING
Model = NVLOUTPOST_AD
Animation = NVLOUTPOST_AD.NVLOUTPOST_AD
AnimationMode = LOOP
Flags = MAINTAIN_FRAME_ACROSS_STATES
TransitionKey = Trans_Moving_ReallyDamaged
End

Expand Down

0 comments on commit 86ba983

Please sign in to comment.