Hello,
I have 2 questions.
1. I have already done this a few times but I've gone wrong somewhere.
I combined a civilian building with a power plant to make a GLA power plant, everything works perfect apart from when I want to start building it.
When I place the scaffold down the building is already being shown, not like the normal way, where the building only comes up out of the ground. (See pic 1). I have made buildings before and managed to get rid of this problem but not sure where I am going wrong here.
2. Once I get the building to come out of the ground only, is it possible to have both buildings come up together, rather than the civilian one being built first then the power plant just appearing on to it? (See pic 2 for the end result.)
My coding for the building is as follows , I know I am missing something somewhere.
Show Spoiler
;**************************************************************************************************************************
;This block handles every possible case with construction process, selling process, awaiting construction, and sold states
;for this draw module
ConditionState = PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
Model = CBTOutpost_G
Flags = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
End
ConditionState = PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED DAMAGED
Model = CBTOutpost_DG
Flags = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
End
ConditionState = PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED REALLYDAMAGED
Model = CBTOutpost_DG
Flags = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
End
ConditionState = PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT
Model = CBTOutpost_NG
Flags = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
End
ConditionState = PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT DAMAGED
Model = CBTOutpost_DNG
Flags = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
End
ConditionState = PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT REALLYDAMAGED
Model = CBTOutpost_DNG
Flags = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
End
ConditionState = PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED SNOW
Model = CBTOutpost_SG
Flags = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
End
ConditionState = PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED SNOW DAMAGED
Model = CBTOutpost_DSG
Flags = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
End
ConditionState = PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED SNOW REALLYDAMAGED
Model = CBTOutpost_DSG
Flags = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
End
ConditionState = PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT SNOW
Model = CBTOutpost_SNG
Flags = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
End
ConditionState = PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT SNOW DAMAGED
Model = CBTOutpost_DSNG
Flags = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
End
ConditionState = PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED NIGHT SNOW REALLYDAMAGED
Model = CBTOutpost_DSNG
Flags = ADJUST_HEIGHT_BY_CONSTRUCTION_PERCENT
End
ConditionState = AWAITING_CONSTRUCTION
Model = NONE
End
AliasConditionState = AWAITING_CONSTRUCTION DAMAGED
AliasConditionState = AWAITING_CONSTRUCTION REALLYDAMAGED
AliasConditionState = AWAITING_CONSTRUCTION NIGHT
AliasConditionState = AWAITING_CONSTRUCTION NIGHT DAMAGED
AliasConditionState = AWAITING_CONSTRUCTION NIGHT REALLYDAMAGED
AliasConditionState = AWAITING_CONSTRUCTION SNOW
AliasConditionState = AWAITING_CONSTRUCTION SNOW DAMAGED
AliasConditionState = AWAITING_CONSTRUCTION SNOW REALLYDAMAGED
AliasConditionState = AWAITING_CONSTRUCTION NIGHT SNOW
AliasConditionState = AWAITING_CONSTRUCTION NIGHT SNOW DAMAGED
AliasConditionState = AWAITING_CONSTRUCTION NIGHT SNOW REALLYDAMAGED
AliasConditionState = SOLD
AliasConditionState = SOLD DAMAGED
AliasConditionState = SOLD REALLYDAMAGED
AliasConditionState = SOLD NIGHT
AliasConditionState = SOLD NIGHT DAMAGED
AliasConditionState = SOLD NIGHT REALLYDAMAGED
AliasConditionState = SOLD SNOW
AliasConditionState = SOLD SNOW DAMAGED
AliasConditionState = SOLD SNOW REALLYDAMAGED
AliasConditionState = SOLD NIGHT SNOW
AliasConditionState = SOLD NIGHT SNOW DAMAGED
AliasConditionState = SOLD NIGHT SNOW REALLYDAMAGED
AliasConditionState = GARRISONED SOLD
AliasConditionState = GARRISONED SOLD DAMAGED
AliasConditionState = GARRISONED SOLD REALLYDAMAGED
AliasConditionState = GARRISONED SOLD NIGHT
AliasConditionState = GARRISONED SOLD NIGHT DAMAGED
AliasConditionState = GARRISONED SOLD NIGHT REALLYDAMAGED
AliasConditionState = GARRISONED SOLD SNOW
AliasConditionState = GARRISONED SOLD SNOW DAMAGED
AliasConditionState = GARRISONED SOLD SNOW REALLYDAMAGED
AliasConditionState = GARRISONED SOLD NIGHT SNOW
AliasConditionState = GARRISONED SOLD NIGHT SNOW DAMAGED
AliasConditionState = GARRISONED SOLD NIGHT SNOW REALLYDAMAGED
;**************************************************************************************************************************
End
; ------------ construction-zone fence -----------------
Draw = W3DModelDraw ModuleTag_02Fence
AnimationsRequirePower = No
DefaultConditionState
Model = None
TransitionKey = DOWN_DEFAULT
End
ConditionState = NIGHT
Model = None
TransitionKey = DOWN_DEFAULT
End
ConditionState = SNOW
Model = None
TransitionKey = DOWN_DEFAULT
End
ConditionState = SNOW NIGHT
Model = None
TransitionKey = DOWN_DEFAULT
End
ConditionState = AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
Model = UBBlackMkt_A4
Animation = UBBlackMkt_A4.UBBlackMkt_A4
AnimationMode = MANUAL
Flags = START_FRAME_LAST
TransitionKey = UP_DAY
End
ConditionState = NIGHT AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
Model = UBBlackMkt_A4N
Animation = UBBlackMkt_A4N.UBBlackMkt_A4N
AnimationMode = MANUAL
Flags = START_FRAME_LAST
TransitionKey = UP_NIGHT
End
ConditionState = SNOW AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
Model = UBBlackMkt_A4S
Animation = UBBlackMkt_A4S.UBBlackMkt_A4S
AnimationMode = MANUAL
Flags = START_FRAME_LAST
TransitionKey = UP_SNOW
End
ConditionState = SNOW NIGHT AWAITING_CONSTRUCTION PARTIALLY_CONSTRUCTED ACTIVELY_BEING_CONSTRUCTED
Model = UBBlackMkt_A4SN
Animation = UBBlackMkt_A4SN.UBBlackMkt_A4SN
AnimationMode = MANUAL
Flags = START_FRAME_LAST
TransitionKey = UP_SNOWNIGHT
End
TransitionState = DOWN_DEFAULT UP_DAY
Model = UBBlackMkt_A4
Animation = UBBlackMkt_A4.UBBlackMkt_A4
AnimationMode = ONCE
AnimationSpeedFactorRange = 1.0 1.0
Flags = START_FRAME_FIRST
End
TransitionState = DOWN_DEFAULT UP_NIGHT
Model = UBBlackMkt_A4N
Animation = UBBlackMkt_A4N.UBBlackMkt_A4N
AnimationMode = ONCE
AnimationSpeedFactorRange = 1.0 1.0
Flags = START_FRAME_FIRST
End
TransitionState = DOWN_DEFAULT UP_SNOW
Model = UBBlackMkt_A4S
Animation = UBBlackMkt_A4S.UBBlackMkt_A4S
AnimationMode = ONCE
AnimationSpeedFactorRange = 1.0 1.0
Flags = START_FRAME_FIRST
End
TransitionState = DOWN_DEFAULT UP_SNOWNIGHT
Model = UBBlackMkt_A4SN
Animation = UBBlackMkt_A4SN.UBBlackMkt_A4SN
AnimationMode = ONCE
AnimationSpeedFactorRange = 1.0 1.0
Flags = START_FRAME_FIRST
End
TransitionState = UP_DAY DOWN_DEFAULT
Model = UBBlackMkt_A4
Animation = UBBlackMkt_A4.UBBlackMkt_A4
AnimationMode = ONCE_BACKWARDS
AnimationSpeedFactorRange = 2.0 2.0 ; play teardown animations more quickly
Flags = START_FRAME_LAST
End
TransitionState = UP_NIGHT DOWN_DEFAULT
Model = UBBlackMkt_A4N
Animation = UBBlackMkt_A4N.UBBlackMkt_A4N
AnimationMode = ONCE_BACKWARDS
AnimationSpeedFactorRange = 2.0 2.0 ; play teardown animations more quickly
Flags = START_FRAME_LAST
End
TransitionState = UP_SNOW DOWN_DEFAULT
Model = UBBlackMkt_A4S
Animation = UBBlackMkt_A4S.UBBlackMkt_A4S
AnimationMode = ONCE_BACKWARDS
AnimationSpeedFactorRange = 2.0 2.0 ; play teardown animations more quickly
Flags = START_FRAME_LAST
End
TransitionState = UP_SNOWNIGHT DOWN_DEFAULT
Model = UBBlackMkt_A4SN
Animation = UBBlackMkt_A4SN.UBBlackMkt_A4SN
AnimationMode = ONCE_BACKWARDS
AnimationSpeedFactorRange = 2.0 2.0 ; play teardown animations more quickly
Flags = START_FRAME_LAST
End
GLA POWER.png
(551kb) downloaded 14 time(s).
GLAPowerPlant.png
(632kb) downloaded 17 time(s). Edited by user
8 years ago |
Reason: Not specified