| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549 |
- <?xml version="1.0" encoding="utf-8"?>
- <AssetDeclaration xmlns="uri:ea.com:eala:asset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xi="http://www.w3.org/2001/XInclude">
- <Tags></Tags>
- <Includes>
- <Include type="all" source="DATA:GlobalData/GlobalDefines.xml" />
- <Include
- type="all"
- source="ART:SBTechStructure_SKN.w3x" />
- <Include
- type="all"
- source="ART:SBTechStructure_BLD.w3x" />
- <Include
- type="all"
- source="ART:SBPowerPlantAdvanced_Platform.w3x" />
- <Include
- type="all"
- source="ART:SBPowerPlantAdvanced_Platform_BLD.w3x" />
- <Include
- type="all"
- source="ART:SBTechStructure_FX.w3x" />
- <Include
- type="all"
- source="ART:SBTechStructure_Scaffold.w3x" />
- <!-- Base Object -->
- <Include
- type="instance"
- source="DATA:BaseObjects/BaseSovietStructure.xml" />
- </Includes>
- <Defines>
- <Define name="SOVIET_TECHSTRUCTURE_LOCAL_UNPACK_TIME" value="60s" />
- </Defines>
- <GameObject
- id="SovietTechStructure"
- inheritFrom="BaseSovietStructure"
- SelectPortrait="Portrait_SovietTechStructure_big"
- ButtonImage="Button_SovietTechStructure_small"
- Side="Soviet"
- EditorSorting="STRUCTURE"
- TransportSlotCount="1"
- BuildTime="0.0"
- EnergyProduction="-75"
- CommandSet="SovietTechStructureCommandSet"
- KindOf="+FS_TECHNOLOGY +POWERED +FS_TECH_CENTER"
- RadarPriority="STRUCTURE"
- PlacementViewAngle="315d"
- ProductionQueueType="MAIN_STRUCTURE"
- BuildPlacementTypeFlag="MAIN_STRUCTURE"
- EditorName="SovietTechStructure"
- Description="Desc:SovietTechStructure"
- TypeDescription="Type:SovietTechStructure">
- <DisplayName
- xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance">Name:SovietTechStructure</DisplayName>
- <GameDependency>
- <RequiredObject>SovietPowerPlantAdvanced</RequiredObject>
- </GameDependency>
- <ObjectResourceInfo>
- <BuildCost Account="=$ACCOUNT_ORE" Amount="3000"/>
- </ObjectResourceInfo>
- <ArmorSet
- Armor="SovietTechLabArmor"
- DamageFX="FactionStructureDamageFX" />
- <SkirmishAIInformation
- BaseBuildingLocation="SPREAD">
- <ConstructionBaseSelectionCriteria
- ExcludedBaseTypes="NO_BUILD_RADIUS CAPTURED"
- PreferredBaseTypes="MAIN_BASE"
- SortOrder="PREFER_OLDEST" />
- </SkirmishAIInformation>
- <Draws>
- <ScriptedModelDraw
- id="ModuleTag_Draw"
- OkToChangeModelColor="true"
- ExtraPublicBone="BONE_CONTACT_POINT_01 BONE_CONTACT_POINT_02 BONE_CONTACT_POINT_03 BONE_CONTACT_POINT_04 BONE_CONTACT_POINT_05 BONE_CONTACT_POINT_06 BONE_CONTACT_POINT_07 BONE_CONTACT_POINT_08 BONE_CONTACT_POINT_09 BONE_CONTACT_POINT_10">
- <ModelConditionState
- ParseCondStateType="PARSE_DEFAULT">
- <Model
- Name="SBTechStructure_SKN" />
- </ModelConditionState>
-
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="BUILD_PLACEMENT_CURSOR">
- <Model
- Name="SBTechStructure_SKN" />
- <Texture
- Original="SBBuilding_Holes"
- New="SBBuilding_FP" />
- <Texture
- Original="SBBuilding_Filler"
- New="SBBuilding_FP" />
- </ModelConditionState>
- <AnimationState
- ParseCondStateType="PARSE_DEFAULT">
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="SOLD"
- Flags="START_FRAME_LAST">
- <Animation
- AnimationName="SBTechStructure_BLD"
- AnimationMode="ONCE_BACKWARDS"
- AnimationBlendTime="0"
- AnimationAbsoluteTime="2s"/>
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="STRUCTURE_UNPACKING">
- <Animation
- AnimationName="SBTechStructure_BLD"
- AnimationMode="MATCH_UNPACKING"
- AnimationBlendTime="0" />
- <ParticleSysBone
- BoneName="NONE"
- FXParticleSystemTemplate="Con_Med"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="NONE"
- FXParticleSystemTemplate="Con_Lights"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="NONE"
- FXParticleSystemTemplate="Con_Flash"
- FollowBone="true" />
- </AnimationState>
- </ScriptedModelDraw>
- <!-- DRAW PLATFORM -->
- <ScriptedModelDraw
- id="ModuleTag_Draw_Platform"
- OkToChangeModelColor="true">
- <ModelConditionState
- ParseCondStateType="PARSE_DEFAULT">
- <Model
- Name="SBPowerPlantAdvanced_Platform" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="STRUCTURE_UNPACKING OVER_WATER">
- <Model
- Name="SBPowerPlantAdvanced_Platform_BLD" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="SOLD OVER_WATER">
- <Model
- Name="SBPowerPlantAdvanced_Platform_BLD" />
- </ModelConditionState>
- <AnimationState
- ParseCondStateType="PARSE_DEFAULT">
- <Script>
- CurDrawableHideSubObjectPermanently("Platform")
- CurDrawableShowSubObjectPermanently("Bib")
- CurDrawableHideSubObjectPermanently("Wall")
- </Script>
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="STRUCTURE_UNPACKING OVER_WATER"
- StateName="STATE_BuildingOnWater" >
- <Animation
- AnimationName="SBPowerPlantAdvanced_Platform_BLD"
- AnimationMode="ONCE"
- AnimationBlendTime="0" />
- <ParticleSysBone
- BoneName="None"
- FXParticleSystemTemplate="AlliedPowerPlantWaterBuildupFroth"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="None"
- FXParticleSystemTemplate="AlliedPowerPlantWaterBuildupMist"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="None"
- FXParticleSystemTemplate="ABAirBaseWakeSplash"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="None"
- FXParticleSystemTemplate="AlliedPowerPlantBuildupFlashes"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="None"
- FXParticleSystemTemplate="AlliedPowerPlantBuildupSparksSeed"
- FollowBone="true" />
- <Script>
- CurDrawableShowSubObjectPermanently("Platform")
- CurDrawableHideSubObjectPermanently("Bib")
- CurDrawableShowSubObjectPermanently("Wall")
- </Script>
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="STRUCTURE_UNPACKING"
- Flags="START_FRAME_FIRST"
- StateName="STATE_BuildingOnLand" >
- <Animation
- AnimationName="SBPowerPlantAdvanced_Platform_BLD"
- AnimationMode="ONCE"
- AnimationBlendTime="0" />
- <Script>
- CurDrawableHideSubObjectPermanently("Platform")
- CurDrawableShowSubObjectPermanently("Bib")
- CurDrawableHideSubObjectPermanently("Wall")
- </Script>
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="SOLD OVER_WATER"
- Flags="START_FRAME_LAST" >
- <Animation
- AnimationName="SBPowerPlantAdvanced_Platform_BLD"
- AnimationMode="ONCE_BACKWARDS"
- AnimationAbsoluteTime="2s"
- AnimationBlendTime="0" />
- <ParticleSysBone
- BoneName="None"
- FXParticleSystemTemplate="AlliedPowerPlantWaterBuildupFroth"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="None"
- FXParticleSystemTemplate="AlliedPowerPlantWaterBuildupMist"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="None"
- FXParticleSystemTemplate="ABAirBaseWakeSplash"
- FollowBone="true" />
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="SOLD"
- Flags="START_FRAME_LAST" >
- <Animation
- AnimationName="SBPowerPlantAdvanced_Platform_BLD"
- AnimationMode="ONCE_BACKWARDS"
- AnimationAbsoluteTime="2s"
- AnimationBlendTime="0" />
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="OVER_WATER">
- <Script>
- CurDrawableShowSubObjectPermanently("Platform")
- CurDrawableHideSubObjectPermanently("Bib")
- CurDrawableShowSubObjectPermanently("Wall")
- </Script>
- </AnimationState>
- </ScriptedModelDraw>
- <!-- DRAW SCAFFOLD -->
- <ScriptedModelDraw
- id="ModuleTag_Draw_Scaffold"
- OkToChangeModelColor="true"
- ExtraPublicBone="BONE_CONTACT_POINT_01 BONE_CONTACT_POINT_02 BONE_CONTACT_POINT_03 BONE_CONTACT_POINT_04 BONE_CONTACT_POINT_05 BONE_CONTACT_POINT_06 BONE_CONTACT_POINT_07">
- <ModelConditionState
- ParseCondStateType="PARSE_DEFAULT">
- <Model
- Name="" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="SOLD">
- <Model
- Name="SBTechStructure_Scaffold" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="STRUCTURE_UNPACKING JUST_BUILT">
- <Model
- Name="" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="STRUCTURE_UNPACKING">
- <Model
- Name="SBTechStructure_Scaffold" />
- </ModelConditionState>
- <AnimationState
- ParseCondStateType="PARSE_DEFAULT">
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="SOLD"
- Flags="START_FRAME_LAST">
- <Animation
- AnimationName="SBTechStructure_Scaffold"
- AnimationMode="ONCE_BACKWARDS"
- AnimationAbsoluteTime="2s"/>
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="STRUCTURE_UNPACKING">
- <Animation
- AnimationName="SBTechStructure_Scaffold"
- AnimationMode="MATCH_UNPACKING"
- AnimationBlendTime="0" />
- </AnimationState>
- </ScriptedModelDraw>
- <!-- DRAW PARTICLES -->
- <ScriptedModelDraw
- id="ModuleTag_Draw_FX"
- OkToChangeModelColor="true">
- <ModelConditionState
- ParseCondStateType="PARSE_DEFAULT">
- <Model
- Name="SBTechStructure_FX" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="DAMAGED">
- <Model
- Name="SBTechStructure_FX" />
- <ParticleSysBone
- BoneName="FX_BONE01"
- FXParticleSystemTemplate="GenericDStateSmoke"
- FollowBone="true"/>
- <ParticleSysBone
- BoneName="FX_BONE01"
- FXParticleSystemTemplate="GenericDStateFire"
- FollowBone="true"/>
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="REALLYDAMAGED">
- <Model
- Name="SBTechStructure_FX" />
- <ParticleSysBone
- BoneName="FX_BONE01"
- FXParticleSystemTemplate="GenericDStateSmoke"
- FollowBone="true"/>
- <ParticleSysBone
- BoneName="FX_BONE01"
- FXParticleSystemTemplate="GenericDStateFire"
- FollowBone="true"/>
- <ParticleSysBone
- BoneName="FX_BONE02"
- FXParticleSystemTemplate="GenericDStateSmoke"
- FollowBone="true"/>
- <ParticleSysBone
- BoneName="FX_BONE02"
- FXParticleSystemTemplate="GenericDStateFire"
- FollowBone="true"/>
- </ModelConditionState>
- </ScriptedModelDraw>
- </Draws>
- <Behaviors>
- <Physics
- id="ModuleTag_Physics"/>
- <BuildingDestructionBehavior
- id="ModuleTag_BuildingDestruction"
- FillerMesh="NEWSKIN_FILL">
- <DieMuxData
- DeathTypes="ALL"
- DeathTypesForbidden="SUICIDED"/>
- <Item
- BonePrefix="BONE_CONTACT_POINT_"
- FX="SovietRefineryHit"
- CreationObject="SovietPowerPlant_Debris"
- FlingVelocity="100.0"/>
- </BuildingDestructionBehavior>
-
- <BuildingDestructionBehavior
- id="ModuleTag_BuildingDestructionScaffold"
- AssociatedModule="ModuleTag_Draw_Scaffold">
- <DieMuxData
- DeathTypes="ALL"
- DeathTypesForbidden="SUICIDED"/>
- <Item
- BonePrefix="BONE_CONTACT_POINT_"
- FX="SovietRefineryHit"/>
- </BuildingDestructionBehavior>
- <FXListBehavior
- xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance"
- id="ModuleTag_FXList">
- <DieMuxData
- DeathTypes="ALL"/>
- <Event
- Index="onDeath"
- FX="FX_YU_Hotel02_Explode" />
- <Event
- Index="onDeath"
- FX="FX_SOV_TechCenter_Die" /> <!-- FX_YU_Hotel02_Explode-->
- </FXListBehavior>
- <CreateObjectDie
- id="ModuleTag_CreateObjectDieOnLand"
- CreationList="SBTechStructure_Die_OCL">
- <DieMuxData
- DeathTypes="ALL"
- DeathTypesForbidden="SUICIDED"
- ExemptStatus="OVER_WATER" />
- </CreateObjectDie>
-
- <CreateObjectDie
- id="ModuleTag_CreateObjectDieOnWater"
- CreationList="SBTechStructurePlatform_Die_OCL">
- <DieMuxData
- DeathTypes="ALL"
- DeathTypesForbidden="SUICIDED"
- RequiredStatus="OVER_WATER" />
- </CreateObjectDie>
- <DestroyDie
- id="ModuleTag_Die">
- <DieMuxData
- DeathTypes="ALL"
- DeathTypesForbidden="SUICIDED"/>
- </DestroyDie>
-
- <BuildingBehavior
- id="ModuleTag_BuildingBehavior"
- NightWindowObject="LIGHT_01" />
-
- <StructureUnpackUpdate
- id="ModuleTag_StructureUnpackUpdate"
- UnpackTime="=$SOVIET_TECHSTRUCTURE_LOCAL_UNPACK_TIME" />
- <ProductionUpdate
- id="ModuleTag_ProductionUpdate"
- Type="UPGRADE"
- GiveNoXP="true" />
- <xi:include
- href="../../Includes/GenericBuildingRepair.xml" />
- <xi:include
- href="../../Includes/GenericEngineerContain.xml" />
- <xi:include
- href="../../Includes/GenericSovietBuildingDestruction.xml" />
- <xi:include
- href="../../Includes/GenericSovietBuildingSuicide.xml" />
- <xi:include
- href="DATA:Includes/InfiltratorContainParalyze.xml" />
- </Behaviors>
-
- <Body>
- <ActiveBody
- id="ModuleTag_Body"
- MaxHealth="2000.0" />
- </Body>
- <Geometry
- IsSmall="false">
- <PlacementShape
- Type= "BOX"
- MajorRadius = "60.0"
- MinorRadius = "60.0"
- Height = "5.0" />
- <Shape
- Type= "BOX"
- MajorRadius = "21.924"
- MinorRadius = "47.52"
- Height = "35.5905"
- ContactPointGeneration = "STRUCTURE" >
- <Offset
- x = "0.0"
- y = "2.12505"
- z = "0.0" />
- </Shape>
- <Shape
- Type= "BOX"
- MajorRadius = "23.436"
- MinorRadius = "41.28"
- Height = "35.95"
- ContactPointGeneration = "STRUCTURE" >
- <Offset
- x = "26.8856"
- y = "-1.24683"
- z = "0.0" />
- </Shape>
- <Shape
- Type= "CYLINDER"
- MajorRadius = "11.0"
- Height = "95.2675"
- ContactPointGeneration = "INFANTRY" >
- <Offset
- x = "-41.997"
- y = "-23.8928"
- z = "0.0" />
- </Shape>
- <Shape
- Type= "BOX"
- MajorRadius = "19.9247"
- MinorRadius = "20.672"
- Height = "35.95"
- ContactPointGeneration = "STRUCTURE" >
- <Offset
- x = "-22.178"
- y = "-4.84964"
- z = "0.0" />
- </Shape>
- <Shape
- Type= "BOX"
- MajorRadius = "19.9247"
- MinorRadius = "20.672"
- Height = "35.95"
- ContactPointGeneration = "STRUCTURE" >
- <Offset
- x = "-14.2125"
- y = "11.9996"
- z = "0.0" />
- </Shape>
- <Shape
- Type= "BOX"
- MajorRadius = "6.57516"
- MinorRadius = "5.27135"
- Height = "82.9942"
- ContactPointGeneration = "STRUCTURE" >
- <Offset
- x = "43.0472"
- y = "-32.3975"
- z = "0.0" />
- </Shape>
- <Shape
- Type= "CYLINDER"
- MajorRadius = "11.0"
- Height = "118.228"
- ContactPointGeneration = "INFANTRY" >
- <Offset
- x = "-1.17792"
- y = "39.7014"
- z = "0.0" />
- </Shape>
- </Geometry>
- <AudioArrayVoice>
- <AudioEntry
- Sound="AudioEvent:SOV_TechCenter_Select"
- AudioType="voiceSelect" />
- </AudioArrayVoice>
- <AudioArraySound>
- <!--
- <AudioEntry Sound="HumanFaction_MediumBuilding_LightDamageMS" AudioType="soundOnDamaged" />
- <AudioEntry Sound="HumanFaction_MediumBuilding_HeavyDamageMS" AudioType="soundOnReallyDamaged" />
- -->
- </AudioArraySound>
- <VisionInfo
- VisionRange="150"
- ShroudClearingRange="500" />
- <ProjectedBuildabilityInfo
- Radius="210"
- BuildPlacementTypes="MAIN_STRUCTURE OTHER_STRUCTURE" />
- </GameObject>
- </AssetDeclaration>
|