Skip to content

Commit

Permalink
Fix: Units Shoot From Center Of Palace In Certain Model States (#1097)
Browse files Browse the repository at this point in the history
  • Loading branch information
commy2 authored Nov 7, 2022
1 parent fb5662c commit 9ec76bb
Show file tree
Hide file tree
Showing 8 changed files with 222 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
37 changes: 37 additions & 0 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/ChemicalGeneral.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7235,6 +7235,43 @@ Object Chem_GLAPalace
End
End

; Patch104p @bugfix commy2 04/09/2022 Fix units shooting from center of Palace in certain model states.
Draw = W3DModelDraw ModuleTag_FirePointFix
ConditionState = NONE
Model = None
End
AliasConditionState = GARRISONED
AliasConditionState = GARRISONED NIGHT
AliasConditionState = GARRISONED DAMAGED
AliasConditionState = GARRISONED REALLYDAMAGED
AliasConditionState = GARRISONED REALLYDAMAGED NIGHT
AliasConditionState = GARRISONED REALLYDAMAGED SNOW
AliasConditionState = GARRISONED REALLYDAMAGED SNOW NIGHT

ConditionState = GARRISONED SNOW
Model = UBPalace_FP9 ; model with missing 9th fire point
End
AliasConditionState = GARRISONED SNOW NIGHT
AliasConditionState = GARRISONED DAMAGED SNOW
AliasConditionState = GARRISONED DAMAGED SNOW NIGHT

ConditionState = GARRISONED DAMAGED NIGHT
Model = UBPalace_FPX ; model with missing fire points 3, 4 and 7 - 12
End
AliasConditionState = USER_1 GARRISONED
AliasConditionState = USER_1 GARRISONED NIGHT
AliasConditionState = USER_1 GARRISONED SNOW
AliasConditionState = USER_1 GARRISONED SNOW NIGHT
AliasConditionState = USER_1 GARRISONED DAMAGED
AliasConditionState = USER_1 GARRISONED DAMAGED NIGHT
AliasConditionState = USER_1 GARRISONED DAMAGED SNOW
AliasConditionState = USER_1 GARRISONED DAMAGED SNOW NIGHT
AliasConditionState = USER_1 GARRISONED REALLYDAMAGED
AliasConditionState = USER_1 GARRISONED REALLYDAMAGED NIGHT
AliasConditionState = USER_1 GARRISONED REALLYDAMAGED SNOW
AliasConditionState = USER_1 GARRISONED REALLYDAMAGED SNOW NIGHT
End

; ***DESIGN parameters ***
DisplayName = OBJECT:Palace
Side = GLAToxinGeneral
Expand Down
37 changes: 37 additions & 0 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/DemoGeneral.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7153,6 +7153,43 @@ Object Demo_GLAPalace
End
End

; Patch104p @bugfix commy2 04/09/2022 Fix units shooting from center of Palace in certain model states.
Draw = W3DModelDraw ModuleTag_FirePointFix
ConditionState = NONE
Model = None
End
AliasConditionState = GARRISONED
AliasConditionState = GARRISONED NIGHT
AliasConditionState = GARRISONED DAMAGED
AliasConditionState = GARRISONED REALLYDAMAGED
AliasConditionState = GARRISONED REALLYDAMAGED NIGHT
AliasConditionState = GARRISONED REALLYDAMAGED SNOW
AliasConditionState = GARRISONED REALLYDAMAGED SNOW NIGHT

ConditionState = GARRISONED SNOW
Model = UBPalace_FP9 ; model with missing 9th fire point
End
AliasConditionState = GARRISONED SNOW NIGHT
AliasConditionState = GARRISONED DAMAGED SNOW
AliasConditionState = GARRISONED DAMAGED SNOW NIGHT

ConditionState = GARRISONED DAMAGED NIGHT
Model = UBPalace_FPX ; model with missing fire points 3, 4 and 7 - 12
End
AliasConditionState = USER_1 GARRISONED
AliasConditionState = USER_1 GARRISONED NIGHT
AliasConditionState = USER_1 GARRISONED SNOW
AliasConditionState = USER_1 GARRISONED SNOW NIGHT
AliasConditionState = USER_1 GARRISONED DAMAGED
AliasConditionState = USER_1 GARRISONED DAMAGED NIGHT
AliasConditionState = USER_1 GARRISONED DAMAGED SNOW
AliasConditionState = USER_1 GARRISONED DAMAGED SNOW NIGHT
AliasConditionState = USER_1 GARRISONED REALLYDAMAGED
AliasConditionState = USER_1 GARRISONED REALLYDAMAGED NIGHT
AliasConditionState = USER_1 GARRISONED REALLYDAMAGED SNOW
AliasConditionState = USER_1 GARRISONED REALLYDAMAGED SNOW NIGHT
End

; ***DESIGN parameters ***
DisplayName = OBJECT:Palace
Side = GLADemolitionGeneral
Expand Down
37 changes: 37 additions & 0 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/FactionBuilding.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18262,6 +18262,43 @@ Object GLAPalace
End
End

; Patch104p @bugfix commy2 04/09/2022 Fix units shooting from center of Palace in certain model states.
Draw = W3DModelDraw ModuleTag_FirePointFix
ConditionState = NONE
Model = None
End
AliasConditionState = GARRISONED
AliasConditionState = GARRISONED NIGHT
AliasConditionState = GARRISONED DAMAGED
AliasConditionState = GARRISONED REALLYDAMAGED
AliasConditionState = GARRISONED REALLYDAMAGED NIGHT
AliasConditionState = GARRISONED REALLYDAMAGED SNOW
AliasConditionState = GARRISONED REALLYDAMAGED SNOW NIGHT

ConditionState = GARRISONED SNOW
Model = UBPalace_FP9 ; model with missing 9th fire point
End
AliasConditionState = GARRISONED SNOW NIGHT
AliasConditionState = GARRISONED DAMAGED SNOW
AliasConditionState = GARRISONED DAMAGED SNOW NIGHT

ConditionState = GARRISONED DAMAGED NIGHT
Model = UBPalace_FPX ; model with missing fire points 3, 4 and 7 - 12
End
AliasConditionState = USER_1 GARRISONED
AliasConditionState = USER_1 GARRISONED NIGHT
AliasConditionState = USER_1 GARRISONED SNOW
AliasConditionState = USER_1 GARRISONED SNOW NIGHT
AliasConditionState = USER_1 GARRISONED DAMAGED
AliasConditionState = USER_1 GARRISONED DAMAGED NIGHT
AliasConditionState = USER_1 GARRISONED DAMAGED SNOW
AliasConditionState = USER_1 GARRISONED DAMAGED SNOW NIGHT
AliasConditionState = USER_1 GARRISONED REALLYDAMAGED
AliasConditionState = USER_1 GARRISONED REALLYDAMAGED NIGHT
AliasConditionState = USER_1 GARRISONED REALLYDAMAGED SNOW
AliasConditionState = USER_1 GARRISONED REALLYDAMAGED SNOW NIGHT
End

; ***DESIGN parameters ***
DisplayName = OBJECT:Palace
Side = GLA
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3618,6 +3618,43 @@ Object GC_Chem_GLAPalace
End
End

; Patch104p @bugfix commy2 04/09/2022 Fix units shooting from center of Palace in certain model states.
Draw = W3DModelDraw ModuleTag_FirePointFix
ConditionState = NONE
Model = None
End
AliasConditionState = GARRISONED
AliasConditionState = GARRISONED NIGHT
AliasConditionState = GARRISONED DAMAGED
AliasConditionState = GARRISONED REALLYDAMAGED
AliasConditionState = GARRISONED REALLYDAMAGED NIGHT
AliasConditionState = GARRISONED REALLYDAMAGED SNOW
AliasConditionState = GARRISONED REALLYDAMAGED SNOW NIGHT

ConditionState = GARRISONED SNOW
Model = UBPalace_FP9 ; model with missing 9th fire point
End
AliasConditionState = GARRISONED SNOW NIGHT
AliasConditionState = GARRISONED DAMAGED SNOW
AliasConditionState = GARRISONED DAMAGED SNOW NIGHT

ConditionState = GARRISONED DAMAGED NIGHT
Model = UBPalace_FPX ; model with missing fire points 3, 4 and 7 - 12
End
AliasConditionState = USER_1 GARRISONED
AliasConditionState = USER_1 GARRISONED NIGHT
AliasConditionState = USER_1 GARRISONED SNOW
AliasConditionState = USER_1 GARRISONED SNOW NIGHT
AliasConditionState = USER_1 GARRISONED DAMAGED
AliasConditionState = USER_1 GARRISONED DAMAGED NIGHT
AliasConditionState = USER_1 GARRISONED DAMAGED SNOW
AliasConditionState = USER_1 GARRISONED DAMAGED SNOW NIGHT
AliasConditionState = USER_1 GARRISONED REALLYDAMAGED
AliasConditionState = USER_1 GARRISONED REALLYDAMAGED NIGHT
AliasConditionState = USER_1 GARRISONED REALLYDAMAGED SNOW
AliasConditionState = USER_1 GARRISONED REALLYDAMAGED SNOW NIGHT
End

; ***DESIGN parameters ***
DisplayName = OBJECT:Palace
Side = GLAToxinGeneral
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5364,6 +5364,43 @@ Object GC_Slth_GLAPalace
End
End

; Patch104p @bugfix commy2 04/09/2022 Fix units shooting from center of Palace in certain model states.
Draw = W3DModelDraw ModuleTag_FirePointFix
ConditionState = NONE
Model = None
End
AliasConditionState = GARRISONED
AliasConditionState = GARRISONED NIGHT
AliasConditionState = GARRISONED DAMAGED
AliasConditionState = GARRISONED REALLYDAMAGED
AliasConditionState = GARRISONED REALLYDAMAGED NIGHT
AliasConditionState = GARRISONED REALLYDAMAGED SNOW
AliasConditionState = GARRISONED REALLYDAMAGED SNOW NIGHT

ConditionState = GARRISONED SNOW
Model = UBPalace_FP9 ; model with missing 9th fire point
End
AliasConditionState = GARRISONED SNOW NIGHT
AliasConditionState = GARRISONED DAMAGED SNOW
AliasConditionState = GARRISONED DAMAGED SNOW NIGHT

ConditionState = GARRISONED DAMAGED NIGHT
Model = UBPalace_FPX ; model with missing fire points 3, 4 and 7 - 12
End
AliasConditionState = USER_1 GARRISONED
AliasConditionState = USER_1 GARRISONED NIGHT
AliasConditionState = USER_1 GARRISONED SNOW
AliasConditionState = USER_1 GARRISONED SNOW NIGHT
AliasConditionState = USER_1 GARRISONED DAMAGED
AliasConditionState = USER_1 GARRISONED DAMAGED NIGHT
AliasConditionState = USER_1 GARRISONED DAMAGED SNOW
AliasConditionState = USER_1 GARRISONED DAMAGED SNOW NIGHT
AliasConditionState = USER_1 GARRISONED REALLYDAMAGED
AliasConditionState = USER_1 GARRISONED REALLYDAMAGED NIGHT
AliasConditionState = USER_1 GARRISONED REALLYDAMAGED SNOW
AliasConditionState = USER_1 GARRISONED REALLYDAMAGED SNOW NIGHT
End

; ***DESIGN parameters ***
DisplayName = OBJECT:Palace
Side = GLAStealthGeneral
Expand Down
37 changes: 37 additions & 0 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/StealthGeneral.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7816,6 +7816,43 @@ Object Slth_GLAPalace
End
End

; Patch104p @bugfix commy2 04/09/2022 Fix units shooting from center of Palace in certain model states.
Draw = W3DModelDraw ModuleTag_FirePointFix
ConditionState = NONE
Model = None
End
AliasConditionState = GARRISONED
AliasConditionState = GARRISONED NIGHT
AliasConditionState = GARRISONED DAMAGED
AliasConditionState = GARRISONED REALLYDAMAGED
AliasConditionState = GARRISONED REALLYDAMAGED NIGHT
AliasConditionState = GARRISONED REALLYDAMAGED SNOW
AliasConditionState = GARRISONED REALLYDAMAGED SNOW NIGHT

ConditionState = GARRISONED SNOW
Model = UBPalace_FP9 ; model with missing 9th fire point
End
AliasConditionState = GARRISONED SNOW NIGHT
AliasConditionState = GARRISONED DAMAGED SNOW
AliasConditionState = GARRISONED DAMAGED SNOW NIGHT

ConditionState = GARRISONED DAMAGED NIGHT
Model = UBPalace_FPX ; model with missing fire points 3, 4 and 7 - 12
End
AliasConditionState = USER_1 GARRISONED
AliasConditionState = USER_1 GARRISONED NIGHT
AliasConditionState = USER_1 GARRISONED SNOW
AliasConditionState = USER_1 GARRISONED SNOW NIGHT
AliasConditionState = USER_1 GARRISONED DAMAGED
AliasConditionState = USER_1 GARRISONED DAMAGED NIGHT
AliasConditionState = USER_1 GARRISONED DAMAGED SNOW
AliasConditionState = USER_1 GARRISONED DAMAGED SNOW NIGHT
AliasConditionState = USER_1 GARRISONED REALLYDAMAGED
AliasConditionState = USER_1 GARRISONED REALLYDAMAGED NIGHT
AliasConditionState = USER_1 GARRISONED REALLYDAMAGED SNOW
AliasConditionState = USER_1 GARRISONED REALLYDAMAGED SNOW NIGHT
End

; ***DESIGN parameters ***
DisplayName = OBJECT:Palace
Side = GLAStealthGeneral
Expand Down

0 comments on commit 9ec76bb

Please sign in to comment.