| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245 |
- <?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:SBRadarDish.w3x" />
- <Include
- type="all"
- source="ART:Soviet_Place_Holder.xml" />
- <!-- Base Object -->
- <Include
- type="instance"
- source="DATA:BaseObjects/BaseStructure.xml" />
- </Includes>
- <GameObject
- id="SovietRadarDish"
- inheritFrom="BaseStructure"
- SelectPortrait="Portrait_GDICrane"
- ButtonImage="Portrait_GDICrane"
- Side="Soviet"
- EditorSorting="STRUCTURE"
- TransportSlotCount="1"
-
- BuildTime="0.0"
- CommandSet="SovietRadarDishCommandSet"
- KindOf="STRUCTURE SELECTABLE IMMOBILE CAN_CAST_REFLECTIONS FS_FACTORY NOT_AUTOACQUIRABLE AUTO_ACQUIRABLE_BY_AI COVER CAN_BUILD_ON_WATER CAN_BUILD_ON_DEEP_WATER SCORE"
- RadarPriority="STRUCTURE"
- ProductionQueueType="MAIN_STRUCTURE"
- BuildPlacementTypeFlag="MAIN_STRUCTURE"
- EditorName="SovietRadarDish"
- EnergyProduction="-10"
- Description="Desc:SovietRadarDish"
- TypeDescription="Type:SovietRadarDish">
- <DisplayName
- xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance">Name:SovietRadarDish</DisplayName>
- <GameDependency>
- <RequiredObject>SovietConstructionYard</RequiredObject>
- </GameDependency>
- <ObjectResourceInfo>
- <BuildCost Account="=$ACCOUNT_ORE" Amount="1500"/>
- </ObjectResourceInfo>
- <ArmorSet
- Armor="BaseFactionStructureArmor"
- DamageFX="FactionStructureDamageFX" />
- <SkirmishAIInformation
- BaseBuildingLocation="CENTER" />
- <Draws>
- <ScriptedModelDraw
- id="ModuleTag_Draw"
- OkToChangeModelColor="true">
- <ModelConditionState
- ParseCondStateType="PARSE_DEFAULT">
- <Model
- Name="SBRadarDish" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="FROZEN">
- <Model
- Name="SBRadarDish" />
- <ParticleSysBone
- BoneName="None"
- FXParticleSystemTemplate="AlliedCryoFrozenMistBuildingSmall"
- FollowBone="true"/>
- <Material
- ShaderName="ObjectsFrozen.fx"
- TechniqueName="Default">
- <Constants>
- <Texture Name="DiffuseTexture">
- <Value>SBRadarDish</Value>
- </Texture>
- <Texture Name="NormalMap">
- <Value>SBRadarDish_NRM</Value>
- </Texture>
- <Texture Name="SpecMap">
- <Value>SBRadarDish_SPM</Value>
- </Texture>
- <Float Name="EnvMult">
- <Value>1.000000</Value>
- </Float>
- <Bool Name="AlphaTestEnable">
- <Value>false</Value>
- </Bool>
- </Constants>
- </Material>
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="DAMAGED">
- <Model
- Name="SBRadarDish" />
- <ParticleSysBone
- BoneName="NONE"
- FXParticleSystemTemplate="SovietRefinerySmoke"
- FollowBone="true"/>
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="REALLYDAMAGED">
- <Model
- Name="SBRadarDish" />
- <ParticleSysBone
- BoneName="NONE"
- FXParticleSystemTemplate="SovietBuildingFire01"
- FollowBone="true"/>
- <ParticleSysBone
- BoneName="NONE"
- FXParticleSystemTemplate="SovietRefinerySmoke"
- FollowBone="true"/>
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="STRUCTURE_UNPACKING">
- <Model
- Name="SBRadarDish" />
- </ModelConditionState>
- <AnimationState
- ParseCondStateType="PARSE_DEFAULT"
- Flags="RESTART_ANIM_WHEN_COMPLETE DO_NOT_PLAY_WHEN_UNPOWERED"
- StateName="STATE_bored">
- <Animation
- AnimationName="SBRadarDish"
- AnimationMode="LOOP" />
- </AnimationState>
- </ScriptedModelDraw>
- </Draws>
- <Behaviors>
- <RadarBehavior
- id="ModuleTag_RadarBehavior" />
- <SlowDeath
- id="ModuleTag_Death"
- SinkDelay="3.0s"
- SinkRate="4.0"
- DestructionDelay="8.0s">
- <!-- <Sound Type="INITIAL" List="HumanFaction_SmallBuilding_DieMS" /> -->
- <DieMuxData
- DeathTypes="ALL" />
- </SlowDeath>
- <FXListBehavior
- id="ModuleTag_FXList">
- <DieMuxData
- DeathTypes="ALL" />
- <Event
- Index="onTransitionToRubble"
- FX="FX_BuildRubble_Medium" />
- </FXListBehavior>
- <StructureUnpackUpdate
- id="ModuleTag_StructureUnpack"
- UnpackTime="1.5s" />
- <xi:include
- href="../../Includes/GenericBuildingRepair.xml" />
- <xi:include
- href="../../Includes/GenericEngineerContain.xml" />
- <SubStructureBehavior
- id="ModuleTag_SubStructureBehavior" />
- </Behaviors>
- <Body>
- <ActiveBody
- id="ModuleTag_Body"
- MaxHealth="500.0" />
- </Body>
- <Geometry
- IsSmall="false">
- <Shape
- Type="BOX"
- MajorRadius="20.0"
- MinorRadius="15.0"
- Height="25.0">
- <Offset
- x="0"
- y="0"
- z="0" />
- </Shape>
- <ContactPoint>
- <Pos
- x="-13.0"
- y="13.0"
- z="20" />
- </ContactPoint>
- <ContactPoint>
- <Pos
- x="13.0"
- y="13.0"
- z="0" />
- </ContactPoint>
- <ContactPoint>
- <Pos
- x="13.0"
- y="-13.0"
- z="20" />
- </ContactPoint>
- <ContactPoint>
- <Pos
- x="13.0"
- y="13.0"
- z="0" />
- </ContactPoint>
- <ContactPoint>
- <Pos
- x="-13.0"
- y="-13.0"
- z="20" />
- </ContactPoint>
- <ContactPoint>
- <Pos
- x="13.0"
- y="13.0"
- z="0" />
- </ContactPoint>
- <ContactPoint>
- <Pos
- x="-13.0"
- y="-13.0"
- z="20" />
- </ContactPoint>
- <ContactPoint>
- <Pos
- x="-13.0"
- y="13.0"
- z="0" />
- </ContactPoint>
- </Geometry>
- <AudioArrayVoice>
- <AudioEntry
- Sound="GDI_CraneSelect"
- AudioType="voiceSelect" />
- </AudioArrayVoice>
- <!--
- <AudioArraySound>
- <AudioEntry Sound="HumanFaction_SmallBuilding_LightDamageMS" AudioType="soundOnDamaged" />
- <AudioEntry Sound="HumanFaction_SmallBuilding_HeavyDamageMS" AudioType="soundOnReallyDamaged" />
- </AudioArraySound>
- -->
- <VisionInfo
- VisionRange="100"
- ShroudClearingRange="400" />
- <ProjectedBuildabilityInfo
- Radius="0"
- BuildPlacementTypes="MAIN_STRUCTURE OTHER_STRUCTURE" />
- </GameObject>
- </AssetDeclaration>
|