Skip to content

Commit

Permalink
Fix: Some Civilian Buildings Invisible On Snowy Maps (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
commy2 authored Oct 16, 2021
1 parent 8e71858 commit ec33690
Showing 1 changed file with 112 additions and 108 deletions.
220 changes: 112 additions & 108 deletions Patch104pZH/GameFilesEdited/Data/INI/Object/CivilianBuilding.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18624,63 +18624,65 @@ Object CivilianHighrise01
AnimationMode = LOOP
End

; Snow
ConditionState = SNOW
Model = CBHigh01_S
End
ConditionState = DAMAGED SNOW
Model = CBHigh01_DS
End
ConditionState = REALLYDAMAGED SNOW
Model = CBHigh01_ES
End
ConditionState = RUBBLE SNOW
Model = CBHigh01_ES
End
ConditionState = POST_COLLAPSE SNOW
Model = CBHigh01_RS
End
; Patch104p @bugfix commy2 13/10/2021 Remove references to non-existing SNOW models. Game falls back to non-snow version.

; snow garrisoned
ConditionState = GARRISONED SNOW
Model = CBHigh01_SG
Animation = CBHigh01_SG.CBHigh01_SG
AnimationMode = LOOP
End
ConditionState = DAMAGED GARRISONED SNOW
Model = CBHigh01_DSG
Animation = CBHigh01_DSG.CBHigh01_DSG
AnimationMode = LOOP
End
;; Snow
;ConditionState = SNOW
; Model = CBHigh01_S
;End
;ConditionState = DAMAGED SNOW
; Model = CBHigh01_DS
;End
;ConditionState = REALLYDAMAGED SNOW
; Model = CBHigh01_ES
;End
;ConditionState = RUBBLE SNOW
; Model = CBHigh01_ES
;End
;ConditionState = POST_COLLAPSE SNOW
; Model = CBHigh01_RS
;End

; night snow
ConditionState = NIGHT SNOW
Model = CBHigh01_SN
End
ConditionState = DAMAGED NIGHT SNOW
Model = CBHigh01_DSN
End
ConditionState = REALLYDAMAGED NIGHT SNOW
Model = CBHigh01_ESN
End
ConditionState = RUBBLE NIGHT SNOW
Model = CBHigh01_ESN
End
ConditionState = POST_COLLAPSE SNOW NIGHT
Model = CBHigh01_RSN
End
;; snow garrisoned
;ConditionState = GARRISONED SNOW
; Model = CBHigh01_SG
; Animation = CBHigh01_SG.CBHigh01_SG
; AnimationMode = LOOP
;End
;ConditionState = DAMAGED GARRISONED SNOW
; Model = CBHigh01_DSG
; Animation = CBHigh01_DSG.CBHigh01_DSG
; AnimationMode = LOOP
;End

; night garrisoned snow
ConditionState = NIGHT GARRISONED SNOW
Model = CBHigh01_SNG
Animation = CBHigh01_SNG.CBHigh01_SNG
AnimationMode = LOOP
End
ConditionState = DAMAGED NIGHT GARRISONED SNOW
Model = CBHigh01_DSNG
Animation = CBHigh01_DSNG.CBHigh01_DSNG
AnimationMode = LOOP
End
;; night snow
;ConditionState = NIGHT SNOW
; Model = CBHigh01_SN
;End
;ConditionState = DAMAGED NIGHT SNOW
; Model = CBHigh01_DSN
;End
;ConditionState = REALLYDAMAGED NIGHT SNOW
; Model = CBHigh01_ESN
;End
;ConditionState = RUBBLE NIGHT SNOW
; Model = CBHigh01_ESN
;End
;ConditionState = POST_COLLAPSE SNOW NIGHT
; Model = CBHigh01_RSN
;End

;; night garrisoned snow
;ConditionState = NIGHT GARRISONED SNOW
; Model = CBHigh01_SNG
; Animation = CBHigh01_SNG.CBHigh01_SNG
; AnimationMode = LOOP
;End
;ConditionState = DAMAGED NIGHT GARRISONED SNOW
; Model = CBHigh01_DSNG
; Animation = CBHigh01_DSNG.CBHigh01_DSNG
; AnimationMode = LOOP
;End
End

; *** AUDIO Parameters ***
Expand Down Expand Up @@ -18827,63 +18829,65 @@ Object CivilianHighrise02
AnimationMode = LOOP
End

; Snow
ConditionState = SNOW
Model = CBHigh02_S
End
ConditionState = DAMAGED SNOW
Model = CBHigh02_DS
End
ConditionState = REALLYDAMAGED SNOW
Model = CBHigh02_ES
End
ConditionState = RUBBLE SNOW
Model = CBHigh02_ES
End
ConditionState = POST_COLLAPSE SNOW
Model = CBHigh02_RS
End
; Patch104p @bugfix commy2 13/10/2021 Remove references to non-existing SNOW models. Game falls back to non-snow version.

; snow garrisoned
ConditionState = GARRISONED SNOW
Model = CBHigh02_SG
Animation = CBHigh02_SG.CBHigh02_SG
AnimationMode = LOOP
End
ConditionState = DAMAGED GARRISONED SNOW
Model = CBHigh02_DSG
Animation = CBHigh02_DSG.CBHigh02_DSG
AnimationMode = LOOP
End
;; Snow
;ConditionState = SNOW
; Model = CBHigh02_S
;End
;ConditionState = DAMAGED SNOW
; Model = CBHigh02_DS
;End
;ConditionState = REALLYDAMAGED SNOW
; Model = CBHigh02_ES
;End
;ConditionState = RUBBLE SNOW
; Model = CBHigh02_ES
;End
;ConditionState = POST_COLLAPSE SNOW
; Model = CBHigh02_RS
;End

; night snow
ConditionState = NIGHT SNOW
Model = CBHigh02_SN
End
ConditionState = DAMAGED NIGHT SNOW
Model = CBHigh02_DSN
End
ConditionState = REALLYDAMAGED NIGHT SNOW
Model = CBHigh02_ESN
End
ConditionState = RUBBLE NIGHT SNOW
Model = CBHigh02_ESN
End
ConditionState = POST_COLLAPSE SNOW NIGHT
Model = CBHigh02_RSN
End
;; snow garrisoned
;ConditionState = GARRISONED SNOW
; Model = CBHigh02_SG
; Animation = CBHigh02_SG.CBHigh02_SG
; AnimationMode = LOOP
;End
;ConditionState = DAMAGED GARRISONED SNOW
; Model = CBHigh02_DSG
; Animation = CBHigh02_DSG.CBHigh02_DSG
; AnimationMode = LOOP
;End

; night garrisoned snow
ConditionState = NIGHT GARRISONED SNOW
Model = CBHigh02_SNG
Animation = CBHigh02_SNG.CBHigh02_SNG
AnimationMode = LOOP
End
ConditionState = DAMAGED NIGHT GARRISONED SNOW
Model = CBHigh02_DSNG
Animation = CBHigh02_DSNG.CBHigh02_DSNG
AnimationMode = LOOP
End
;; night snow
;ConditionState = NIGHT SNOW
; Model = CBHigh02_SN
;End
;ConditionState = DAMAGED NIGHT SNOW
; Model = CBHigh02_DSN
;End
;ConditionState = REALLYDAMAGED NIGHT SNOW
; Model = CBHigh02_ESN
;End
;ConditionState = RUBBLE NIGHT SNOW
; Model = CBHigh02_ESN
;End
;ConditionState = POST_COLLAPSE SNOW NIGHT
; Model = CBHigh02_RSN
;End

;; night garrisoned snow
;ConditionState = NIGHT GARRISONED SNOW
; Model = CBHigh02_SNG
; Animation = CBHigh02_SNG.CBHigh02_SNG
; AnimationMode = LOOP
;End
;ConditionState = DAMAGED NIGHT GARRISONED SNOW
; Model = CBHigh02_DSNG
; Animation = CBHigh02_DSNG.CBHigh02_DSNG
; AnimationMode = LOOP
;End
End

; *** AUDIO Parameters ***
Expand Down

0 comments on commit ec33690

Please sign in to comment.