| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601 |
- <?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:JBRefinery_SKN.w3x" />
- <Include
- type="all"
- source="ART:JBRefinery_BLD.w3x" />
- <Include
- type="all"
- source="ART:JBRefinery_BLD2.w3x" />
- <Include
- type="all"
- source="ART:JBRefinery_FX.w3x" />
- <Include
- type="all"
- source="ART:JBRefinery_ARM_SKN.w3x" />
- <Include
- type="all"
- source="ART:JBRefinery_ARM_IDLA.w3x" />
- <Include
- type="all"
- source="ART:JBRefinery_ARM_UNLOAD.w3x" />
- <Include
- type="all"
- source="ART:JBRefinery_ARM_EMPTY.w3x" />
- <Include
- type="all"
- source="ART:JBRefinery_ARM_BLD.w3x" />
- <Include
- type="all"
- source="ART:JBRefinery_ARM_BLD2.w3x" />
- <Include
- type="all"
- source="ART:JBRefinery_Platform_SKN.w3x" />
- <Include
- type="all"
- source="ART:JBRefinery_Platform_BLD.w3x" />
- <Include
- type="all"
- source="ART:Ore_Gold_SKN.w3x" />
- <Include
- type="all"
- source="ART:Ore_Gold_JBRU.w3x" />
- <Include
- type="all"
- source="ART:Ore_Gold_JBRE.w3x" />
-
- <!-- Base Object -->
- <Include
- type="instance"
- source="DATA:BaseObjects/BaseStructure.xml" />
- </Includes>
- <GameObject
- id="JapanRefinery"
- inheritFrom="BaseStructure"
- SelectPortrait="Portrait_JapanRefinery"
- ButtonImage="Button_JapanRefinery"
- Side="Japan"
- EditorSorting="STRUCTURE"
- BuildTime="15"
- CommandSet="JapanRefineryCommandSet"
- KindOf="+SUPPLY_GATHERING_CENTER +FS_MONEY_STORAGE +REFINERY +SKIRMISH_AI_CAN_BUILD_DURING_EMERGENCY_NO_INCOME +ACTIVATE_AFTER_UNPACK"
- RadarPriority="STRUCTURE"
- PlacementViewAngle="315d"
- EnergyProduction="-50"
- RefundValue="550"
- ProductionQueueType="MAIN_STRUCTURE"
- BuildPlacementTypeFlag="MAIN_STRUCTURE"
- IsTrainable="false"
- EditorName="JapanRefinery"
- Description="Desc:JapanRefinery"
- TypeDescription="Type:JapanRefinery">
- <DisplayName
- xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance">Name:JapanRefinery</DisplayName>
- <GameDependency>
- <ObjectFilter
- Rule="ANY">
- <IncludeThing>JapanConstructionYard</IncludeThing>
- <IncludeThing>JapanCrane</IncludeThing>
- </ObjectFilter>
- </GameDependency>
- <ObjectResourceInfo>
- <BuildCost Account="=$ACCOUNT_ORE" Amount="2500"/>
- </ObjectResourceInfo>
- <ArmorSet
- Armor="JapanRefineryArmor"
- DamageFX="FactionStructureDamageFX" />
- <SkirmishAIInformation
- BaseBuildingLocation="NEAR_RESOURCE_NODE"
- NearResourceNodeType="ORE" >
- <ResourceNodeBaseClosenessTestSelectionCriteria
- PreferredNotBaseTypes="CAPTURED"
- SortOrder="PREFER_CLOSEST" />
- </SkirmishAIInformation>
- <Draws>
- <ScriptedModelDraw
- id="ModuleTag_Draw"
- OkToChangeModelColor="true"
- ExtraPublicBone="DockStart DockAction DockEnd QUE01 QUE02 QUE03 QUE04 QUE05 QUE06 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">
- <ModelConditionState
- ParseCondStateType="PARSE_DEFAULT">
- <Model
- Name="JBRefinery_SKN" />
- <ParticleSysBone
- BoneName="FXBone01"
- FXParticleSystemTemplate="JapanPowerGlow"
- FollowBone="true" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="BUILD_PLACEMENT_CURSOR">
- <Model
- Name="JBRefinery_SKN" />
- <Material ShaderName="ObjectsGeneric.fx" TechniqueName="Default">
- <Constants>
- <Texture Name="DiffuseTexture">
- <Value>JBRefinery</Value>
- </Texture>
- <Texture Name="NormalMap">
- <Value>JBRefinery_NRM</Value>
- </Texture>
- <Texture Name="SpecMap">
- <Value>JBRefinery_SPM</Value>
- </Texture>
- <Float Name="BumpScale">
- <Value>1.000000</Value>
- </Float>
- <Float Name="AmbientColor">
- <Value>0.400000</Value>
- <Value>0.400000</Value>
- <Value>0.400000</Value>
- </Float>
- <Float Name="DiffuseColor">
- <Value>1.000000</Value>
- <Value>1.000000</Value>
- <Value>1.000000</Value>
- <Value>1.000000</Value>
- </Float>
- <Float Name="SpecularColor">
- <Value>0.800000</Value>
- <Value>0.800000</Value>
- <Value>0.800000</Value>
- </Float>
- <Float Name="SpecularExponent">
- <Value>50.000000</Value>
- </Float>
- <Float Name="EnvMult">
- <Value>1.000000</Value>
- </Float>
- <Bool Name="AlphaTestEnable">
- <Value>false</Value>
- </Bool>
- </Constants>
- </Material>
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="STRUCTURE_UNPACKING">
- <Model
- Name="JBRefinery_SKN" />
- <Material ShaderName="BasicW3DHolographic.fx" TechniqueName="Default">
- <Constants>
- <Float Name="ColorAmbient">
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- </Float>
- <Float Name="ColorDiffuse">
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- </Float>
- <Float Name="ColorSpecular">
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- </Float>
- <Float Name="Shininess">
- <Value>0.000000</Value>
- </Float>
- <Float Name="ColorEmissive">
- <Value>1.000000</Value>
- <Value>1.000000</Value>
- <Value>1.000000</Value>
- </Float>
- <Texture Name="Texture_0">
- <Value>FXJapanBuildMask</Value>
- </Texture>
- <Bool Name="DepthWriteEnable">
- <Value>false</Value>
- </Bool>
- <Bool Name="AlphaTestEnable">
- <Value>false</Value>
- </Bool>
- <Bool Name="CullingEnable">
- <Value>true</Value>
- </Bool>
- <Int Name="BlendMode">
- <Value>1</Value>
- </Int>
- </Constants>
- </Material>
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="SOLD">
- <Model
- Name="JBRefinery_SKN" />
- <Material ShaderName="BasicW3DHolographic.fx" TechniqueName="Default">
- <Constants>
- <Float Name="ColorAmbient">
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- </Float>
- <Float Name="ColorDiffuse">
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- </Float>
- <Float Name="ColorSpecular">
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- </Float>
- <Float Name="Shininess">
- <Value>0.000000</Value>
- </Float>
- <Float Name="ColorEmissive">
- <Value>1.000000</Value>
- <Value>1.000000</Value>
- <Value>1.000000</Value>
- </Float>
- <Texture Name="Texture_0">
- <Value>FXJapanBuildMask</Value>
- </Texture>
- <Bool Name="DepthWriteEnable">
- <Value>false</Value>
- </Bool>
- <Bool Name="AlphaTestEnable">
- <Value>false</Value>
- </Bool>
- <Bool Name="CullingEnable">
- <Value>true</Value>
- </Bool>
- <Int Name="BlendMode">
- <Value>1</Value>
- </Int>
- </Constants>
- </Material>
- </ModelConditionState>
- <AnimationState
- ParseCondStateType="PARSE_DEFAULT"
- StateName="STATE_Idle">
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="BUILD_PLACEMENT_CURSOR"
- Flags="START_FRAME_LAST">
- <Animation
- AnimationName="JBRefinery_BLD"
- AnimationMode="ONCE"
- AnimationBlendTime="0" />
- <Script>
- CurDrawableHideSubObjectPermanently("NewSkin_Fill")
- </Script>
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="STRUCTURE_UNPACKING">
- <Animation
- AnimationName="JBRefinery_BLD2"
- AnimationMode="MATCH_UNPACKING"
- AnimationBlendTime="0" />
- <Script>
- CurDrawableHideSubObjectPermanently("NewSkin_Fill")
- </Script>
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="SOLD"
- Flags="START_FRAME_LAST">
- <Animation
- AnimationName="JBRefinery_BLD2"
- AnimationMode="ONCE_BACKWARDS"
- AnimationAbsoluteTime="2s"/>
- <Script>
- CurDrawableHideSubObjectPermanently("NewSkin_Fill")
- </Script>
- </AnimationState>
- </ScriptedModelDraw>
- <!-- DRAW BUILD UP -->
- <ScriptedModelDraw
- id="ModuleTag_Draw_Buildup"
- 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"
- OkToChangeModelColor="true">
- <ModelConditionState
- ParseCondStateType="PARSE_DEFAULT">
- <!-- for some reason this structure needs to have a default model. I think it has something to do with the turn table or the que bones. -->
- <Model
- Name="JBRefinery_SKN" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="BUILD_PLACEMENT_HINT">
- <Model
- Name="" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="STRUCTURE_UNPACKING">
- <Model
- Name="JBRefinery_SKN" />
- <Material ShaderName="BuildingsJapanBuildup.fx" TechniqueName="Default">
- <Constants>
- <Texture Name="DiffuseTexture">
- <Value>JBRefinery</Value>
- </Texture>
- <Texture Name="NormalMap">
- <Value>JBRefinery_NRM</Value>
- </Texture>
- <Texture Name="SpecMap">
- <Value>JBRefinery_SPM</Value>
- </Texture>
- <Float Name="EnvMult">
- <Value>1.000000</Value>
- </Float>
- <Bool Name="AlphaTestEnable">
- <Value>true</Value>
- </Bool>
- </Constants>
- </Material>
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="SOLD">
- <Model
- Name="JBRefinery_SKN" />
- <Material ShaderName="BuildingsJapanBuildup.fx" TechniqueName="Default">
- <Constants>
- <Texture Name="DiffuseTexture">
- <Value>JBRefinery</Value>
- </Texture>
- <Texture Name="NormalMap">
- <Value>JBRefinery_NRM</Value>
- </Texture>
- <Texture Name="SpecMap">
- <Value>JBRefinery_SPM</Value>
- </Texture>
- <Float Name="EnvMult">
- <Value>1.000000</Value>
- </Float>
- <Bool Name="AlphaTestEnable">
- <Value>true</Value>
- </Bool>
- </Constants>
- </Material>
- </ModelConditionState>
- <AnimationState
- ParseCondStateType="PARSE_DEFAULT">
- <Script>
- CurDrawableHideSubObjectPermanently("NewSkin")
- CurDrawableHideSubObjectPermanently("NewSkin_Fill")
- </Script>
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="STRUCTURE_UNPACKING">
- <Animation
- AnimationName="JBRefinery_BLD"
- AnimationMode="MATCH_UNPACKING"
- AnimationBlendTime="0" />
- <Script>
- CurDrawableShowSubObjectPermanently("NewSkin")
- CurDrawableHideSubObjectPermanently("NewSkin_Fill")
- </Script>
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="SOLD"
- Flags="START_FRAME_LAST">
- <Animation
- AnimationName="JBRefinery_BLD"
- AnimationMode="ONCE_BACKWARDS"
- AnimationAbsoluteTime="2s"/>
- <Script>
- CurDrawableShowSubObjectPermanently("NewSkin")
- CurDrawableHideSubObjectPermanently("NewSkin_Fill")
- </Script>
- </AnimationState>
- </ScriptedModelDraw>
-
- <!-- Draw Arm -->
- <ScriptedModelDraw
- id="ModuleTag_Draw_ARM"
- OkToChangeModelColor="true"
- ExtraPublicBone="BONE_TABLE">
- <ModelConditionState
- ParseCondStateType="PARSE_DEFAULT">
- <Model
- Name="JBRefinery_ARM_SKN" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="BUILD_PLACEMENT_HINT">
- <Model
- Name="" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="BUILD_PLACEMENT_CURSOR">
- <Model
- Name="JBRefinery_ARM_SKN" />
- <Material ShaderName="ObjectsGeneric.fx" TechniqueName="Default">
- <Constants>
- <Texture Name="DiffuseTexture">
- <Value>JBRefinery</Value>
- </Texture>
- <Texture Name="NormalMap">
- <Value>JBRefinery_NRM</Value>
- </Texture>
- <Texture Name="SpecMap">
- <Value>JBRefinery_SPM</Value>
- </Texture>
- <Float Name="BumpScale">
- <Value>1.000000</Value>
- </Float>
- <Float Name="AmbientColor">
- <Value>0.400000</Value>
- <Value>0.400000</Value>
- <Value>0.400000</Value>
- </Float>
- <Float Name="DiffuseColor">
- <Value>1.000000</Value>
- <Value>1.000000</Value>
- <Value>1.000000</Value>
- <Value>1.000000</Value>
- </Float>
- <Float Name="SpecularColor">
- <Value>0.800000</Value>
- <Value>0.800000</Value>
- <Value>0.800000</Value>
- </Float>
- <Float Name="SpecularExponent">
- <Value>50.000000</Value>
- </Float>
- <Float Name="EnvMult">
- <Value>1.000000</Value>
- </Float>
- <Bool Name="AlphaTestEnable">
- <Value>false</Value>
- </Bool>
- </Constants>
- </Material>
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="STRUCTURE_UNPACKING">
- <Model
- Name="JBRefinery_ARM_SKN" />
- <Material ShaderName="BasicW3DHolographic.fx" TechniqueName="Default">
- <Constants>
- <Float Name="ColorAmbient">
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- </Float>
- <Float Name="ColorDiffuse">
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- </Float>
- <Float Name="ColorSpecular">
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- </Float>
- <Float Name="Shininess">
- <Value>0.000000</Value>
- </Float>
- <Float Name="ColorEmissive">
- <Value>1.000000</Value>
- <Value>1.000000</Value>
- <Value>1.000000</Value>
- </Float>
- <Texture Name="Texture_0">
- <Value>FXJapanBuildMask</Value>
- </Texture>
- <Bool Name="DepthWriteEnable">
- <Value>false</Value>
- </Bool>
- <Bool Name="AlphaTestEnable">
- <Value>false</Value>
- </Bool>
- <Bool Name="CullingEnable">
- <Value>true</Value>
- </Bool>
- <Int Name="BlendMode">
- <Value>1</Value>
- </Int>
- </Constants>
- </Material>
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="SOLD">
- <Model
- Name="JBRefinery_ARM_SKN" />
- <Material ShaderName="BasicW3DHolographic.fx" TechniqueName="Default">
- <Constants>
- <Float Name="ColorAmbient">
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- </Float>
- <Float Name="ColorDiffuse">
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- </Float>
- <Float Name="ColorSpecular">
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- </Float>
- <Float Name="Shininess">
- <Value>0.000000</Value>
- </Float>
- <Float Name="ColorEmissive">
- <Value>1.000000</Value>
- <Value>1.000000</Value>
- <Value>1.000000</Value>
- </Float>
- <Texture Name="Texture_0">
- <Value>FXJapanBuildMask</Value>
- </Texture>
- <Bool Name="DepthWriteEnable">
- <Value>false</Value>
- </Bool>
- <Bool Name="AlphaTestEnable">
- <Value>false</Value>
- </Bool>
- <Bool Name="CullingEnable">
- <Value>true</Value>
- </Bool>
- <Int Name="BlendMode">
- <Value>1</Value>
- </Int>
- </Constants>
- </Material>
- </ModelConditionState>
- <AnimationState
- ParseCondStateType="PARSE_DEFAULT"
- StateName="STATE_Idle">
- <Animation
- AnimationName="JBRefinery_ARM_IDLA"
- AnimationMode="LOOP"
- AnimationBlendTime="0" />
- <Script>
- Prev = CurDrawablePrevAnimationState();
- if Prev == "STATE_Unload" then
- CurDrawableSetTransitionAnimState("TRANS_Unload")
- end
- </Script>
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="BUILD_PLACEMENT_CURSOR"
- Flags="START_FRAME_LAST">
- <Animation
- AnimationName="JBRefinery_ARM_BLD"
- AnimationMode="ONCE"
- AnimationBlendTime="0" />
- <Script>
- CurDrawableHideSubObjectPermanently("NewSkin_Fill")
- </Script>
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="STRUCTURE_UNPACKING">
- <Animation
- AnimationName="JBRefinery_ARM_BLD2"
- AnimationMode="MATCH_UNPACKING"
- AnimationBlendTime="0" />
- <Script>
- CurDrawableHideSubObjectPermanently("NewSkin_Fill")
- </Script>
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="SOLD"
- Flags="START_FRAME_LAST">
- <Animation
- AnimationName="JBRefinery_ARM_BLD2"
- AnimationMode="ONCE_BACKWARDS"
- AnimationAbsoluteTime="2s"/>
- <Script>
- CurDrawableHideSubObjectPermanently("NewSkin_Fill")
- </Script>
- </AnimationState>
-
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- StateName="STATE_Unload"
- ConditionsYes="OVER_WATER DOCKING_ACTIVE">
- <Animation
- AnimationName="JBRefinery_ARM_UNLOAD"
- AnimationMode="ONCE"
- AnimationBlendTime="0" />
- <Script>
- CurDrawableShowSubObjectPermanently("Table_Water")
- CurDrawableHideSubObjectPermanently("Table")
- </Script>
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- StateName="STATE_Unload"
- ConditionsYes="DOCKING_ACTIVE">
- <Animation
- AnimationName="JBRefinery_ARM_UNLOAD"
- AnimationMode="ONCE"
- AnimationBlendTime="0" />
- <Script>
- CurDrawableHideSubObjectPermanently("Table_Water")
- CurDrawableShowSubObjectPermanently("Table")
- </Script>
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="OVER_WATER"
- StateName="STATE_Idle">
- <Animation
- AnimationName="JBRefinery_ARM_IDLA"
- AnimationMode="LOOP"
- AnimationBlendTime="0" />
- <Script>
- CurDrawableShowSubObjectPermanently("Table_Water")
- CurDrawableHideSubObjectPermanently("Table")
- Prev = CurDrawablePrevAnimationState();
- if Prev == "STATE_Unload" then
- CurDrawableSetTransitionAnimState("TRANS_Unload")
- end
- </Script>
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_TRANSITION"
- StateName="TRANS_Unload">
- <Animation
- AnimationName="JBRefinery_ARM_EMPTY"
- AnimationMode="ONCE"
- AnimationBlendTime="0" />
- </AnimationState>
- </ScriptedModelDraw>
- <!-- DRAW ARM BUILD UP -->
- <ScriptedModelDraw
- id="ModuleTag_Draw_Arm_Buildup"
- 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"
- OkToChangeModelColor="true">
- <ModelConditionState
- ParseCondStateType="PARSE_DEFAULT">
- <!-- for some reason this structure needs to have a default model. I think it has something to do with the turn table or the que bones. -->
- <Model
- Name="" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="BUILD_PLACEMENT_HINT">
- <Model
- Name="" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="STRUCTURE_UNPACKING">
- <Model
- Name="JBRefinery_ARM_SKN" />
- <Material ShaderName="BuildingsJapanBuildup.fx" TechniqueName="Default">
- <Constants>
- <Texture Name="DiffuseTexture">
- <Value>JBRefinery</Value>
- </Texture>
- <Texture Name="NormalMap">
- <Value>JBRefinery_NRM</Value>
- </Texture>
- <Texture Name="SpecMap">
- <Value>JBRefinery_SPM</Value>
- </Texture>
- <Float Name="EnvMult">
- <Value>1.000000</Value>
- </Float>
- <Bool Name="AlphaTestEnable">
- <Value>true</Value>
- </Bool>
- </Constants>
- </Material>
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="SOLD">
- <Model
- Name="JBRefinery_ARM_SKN" />
- <Material ShaderName="BuildingsJapanBuildup.fx" TechniqueName="Default">
- <Constants>
- <Texture Name="DiffuseTexture">
- <Value>JBRefinery</Value>
- </Texture>
- <Texture Name="NormalMap">
- <Value>JBRefinery_NRM</Value>
- </Texture>
- <Texture Name="SpecMap">
- <Value>JBRefinery_SPM</Value>
- </Texture>
- <Float Name="EnvMult">
- <Value>1.000000</Value>
- </Float>
- <Bool Name="AlphaTestEnable">
- <Value>true</Value>
- </Bool>
- </Constants>
- </Material>
- </ModelConditionState>
- <AnimationState
- ParseCondStateType="PARSE_DEFAULT">
- <Script>
- CurDrawableHideSubObjectPermanently("NewSkin")
- CurDrawableHideSubObjectPermanently("Table")
- CurDrawableHideSubObjectPermanently("Table_Water")
- </Script>
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="STRUCTURE_UNPACKING OVER_WATER">
- <Animation
- AnimationName="JBRefinery_ARM_BLD"
- AnimationMode="MATCH_UNPACKING"
- AnimationBlendTime="0" />
- <Script>
- CurDrawableShowSubObjectPermanently("NewSkin")
- CurDrawableHideSubObjectPermanently("Table")
- CurDrawableShowSubObjectPermanently("Table_Water")
- </Script>
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="STRUCTURE_UNPACKING">
- <Animation
- AnimationName="JBRefinery_ARM_BLD"
- AnimationMode="MATCH_UNPACKING"
- AnimationBlendTime="0" />
- <Script>
- CurDrawableShowSubObjectPermanently("NewSkin")
- CurDrawableShowSubObjectPermanently("Table")
- CurDrawableHideSubObjectPermanently("Table_Water")
- </Script>
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="SOLD OVER_WATER"
- Flags="START_FRAME_LAST">
- <Animation
- AnimationName="JBRefinery_ARM_BLD"
- AnimationMode="ONCE_BACKWARDS"
- AnimationAbsoluteTime="2s"/>
- <Script>
- CurDrawableShowSubObjectPermanently("NewSkin")
- CurDrawableHideSubObjectPermanently("Table")
- CurDrawableShowSubObjectPermanently("Table_Water")
- </Script>
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="SOLD"
- Flags="START_FRAME_LAST">
- <Animation
- AnimationName="JBRefinery_ARM_BLD"
- AnimationMode="ONCE_BACKWARDS"
- AnimationAbsoluteTime="2s"/>
- <Script>
- CurDrawableShowSubObjectPermanently("NewSkin")
- CurDrawableShowSubObjectPermanently("Table")
- CurDrawableHideSubObjectPermanently("Table_Water")
- </Script>
- </AnimationState>
- </ScriptedModelDraw>
- <!-- Draw Ore -->
-
- <ScriptedModelDraw
- id="ModuleTag_Draw_Ore"
- OkToChangeModelColor="true">
- <ModelConditionState
- ParseCondStateType="PARSE_DEFAULT">
- <Model
- Name="Ore_Gold_SKN" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="BUILD_PLACEMENT_HINT">
- <Model
- Name="" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="STRUCTURE_UNPACKING">
- <Model
- Name="" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="SOLD">
- <Model
- Name="" />
- </ModelConditionState>
- <AnimationState
- ParseCondStateType="PARSE_DEFAULT"
- Flags="START_FRAME_LAST">
- <Animation
- AnimationName="Ore_Gold_JBRE"
- AnimationMode="ONCE"
- AnimationBlendTime="0" />
- <Script>
- Prev = CurDrawablePrevAnimationState();
- if Prev == "STATE_Unload" then
- CurDrawableSetTransitionAnimState("TRANS_Unload")
- end
- </Script>
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- StateName="STATE_Unload"
- ConditionsYes="DOCKING_ACTIVE">
- <Animation
- AnimationName="Ore_Gold_JBRU"
- AnimationMode="ONCE"
- AnimationBlendTime="0" />
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_TRANSITION"
- StateName="TRANS_Unload">
- <Animation
- AnimationName="Ore_Gold_JBRE"
- AnimationMode="ONCE"
- AnimationBlendTime="0" />
- </AnimationState>
- </ScriptedModelDraw>
-
- <!-- DRAW PLATFORM -->
-
- <ScriptedModelDraw
- id="ModuleTag_Draw_Platform"
- OkToChangeModelColor="true">
- <ModelConditionState
- ParseCondStateType="PARSE_DEFAULT">
- <Model
- Name="JBRefinery_Platform_SKN" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="BUILD_PLACEMENT_HINT">
- <Model
- Name="" />
- </ModelConditionState>
-
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="STRUCTURE_UNPACKING">
- <!-- model not found
- <Model
- Name="JBRefinery_Platform_BLD"/>
- -->
- <!-- particle system template not found
- <ParticleSysBone
- BoneName="None"
- FXParticleSystemTemplate="ABPowerPlantWakeSplash"
- FollowBone="true" />
- -->
- <Material ShaderName="BasicW3DHolographic.fx" TechniqueName="Default">
- <Constants>
- <Float Name="ColorAmbient">
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- </Float>
- <Float Name="ColorDiffuse">
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- </Float>
- <Float Name="ColorSpecular">
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- </Float>
- <Float Name="Shininess">
- <Value>1.000000</Value>
- </Float>
- <Float Name="ColorEmissive">
- <Value>1.000000</Value>
- <Value>1.000000</Value>
- <Value>1.000000</Value>
- </Float>
- <Texture Name="Texture_0">
- <Value>FXJapanBuildMask</Value>
- </Texture>
- <Bool Name="DepthWriteEnable">
- <Value>true</Value>
- </Bool>
- <Bool Name="AlphaTestEnable">
- <Value>true</Value>
- </Bool>
- <Bool Name="CullingEnable">
- <Value>true</Value>
- </Bool>
- <Int Name="BlendMode">
- <Value>1</Value>
- </Int>
- </Constants>
- </Material>
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="SOLD">
- <!-- model not found
- <Model
- Name="JBRefinery_Platform_BLD"/>
- -->
- <!-- particle system template not found
- <ParticleSysBone
- BoneName="None"
- FXParticleSystemTemplate="ABPowerPlantWakeSplash"
- FollowBone="true" />
- -->
- <Material ShaderName="BasicW3DHolographic.fx" TechniqueName="Default">
- <Constants>
- <Float Name="ColorAmbient">
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- </Float>
- <Float Name="ColorDiffuse">
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- </Float>
- <Float Name="ColorSpecular">
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- <Value>0.000000</Value>
- </Float>
- <Float Name="Shininess">
- <Value>1.000000</Value>
- </Float>
- <Float Name="ColorEmissive">
- <Value>1.000000</Value>
- <Value>1.000000</Value>
- <Value>1.000000</Value>
- </Float>
- <Texture Name="Texture_0">
- <Value>FXJapanBuildMask</Value>
- </Texture>
- <Bool Name="DepthWriteEnable">
- <Value>true</Value>
- </Bool>
- <Bool Name="AlphaTestEnable">
- <Value>true</Value>
- </Bool>
- <Bool Name="CullingEnable">
- <Value>true</Value>
- </Bool>
- <Int Name="BlendMode">
- <Value>1</Value>
- </Int>
- </Constants>
- </Material>
- </ModelConditionState>
- <AnimationState
- ParseCondStateType="PARSE_DEFAULT">
- <Script>
- CurDrawableShowSubObjectPermanently("Bib")
- CurDrawableHideSubObjectPermanently("Platform")
- CurDrawableHideSubObjectPermanently("Platform_FX")
- </Script>
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="OVER_WATER STRUCTURE_UNPACKING ">
- <Animation
- AnimationName="JBRefinery_Platform_BLD"
- AnimationMode="MATCH_UNPACKING"
- AnimationBlendTime="0" />
- <Script>
- CurDrawableHideSubObjectPermanently("Table")
- CurDrawableShowSubObjectPermanently("Table_Water")
- CurDrawableHideSubObjectPermanently("Bib")
- CurDrawableShowSubObjectPermanently("Platform")
- CurDrawableShowSubObjectPermanently("Platform_FX")
- </Script>
- <ParticleSysBone
- BoneName="None"
- FXParticleSystemTemplate="AlliedPowerPlantWaterBuildupFroth"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="None"
- FXParticleSystemTemplate="AlliedPowerPlantWaterBuildupMist"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="None"
- FXParticleSystemTemplate="AlliedPowerPlantBuildupFlashes"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="None"
- FXParticleSystemTemplate="AlliedPowerPlantBuildupSparksSeed"
- FollowBone="true" />
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="OVER_WATER SOLD"
- Flags="START_FRAME_LAST">
- <Animation
- AnimationName="JBRefinery_Platform_BLD"
- AnimationMode="ONCE_BACKWARDS"
- AnimationAbsoluteTime="2s"/>
- <Script>
- CurDrawableHideSubObjectPermanently("Table")
- CurDrawableShowSubObjectPermanently("Table_Water")
- CurDrawableHideSubObjectPermanently("Bib")
- CurDrawableShowSubObjectPermanently("Platform")
- CurDrawableShowSubObjectPermanently("Platform_FX")
- </Script>
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="STRUCTURE_UNPACKING">
- <Animation
- AnimationName="JBRefinery_Platform_BLD"
- AnimationMode="MATCH_UNPACKING"
- AnimationBlendTime="0" />
- <Script>
- CurDrawableHideSubObjectPermanently("Table_Water")
- CurDrawableShowSubObjectPermanently("Table")
- CurDrawableShowSubObjectPermanently("Bib")
- CurDrawableHideSubObjectPermanently("Platform")
- CurDrawableHideSubObjectPermanently("Platform_FX")
- </Script>
- <ParticleSysBone
- BoneName="None"
- FXParticleSystemTemplate="AlliedPowerPlantBuildupFlashes"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="None"
- FXParticleSystemTemplate="AlliedPowerPlantBuildupSparksSeed"
- FollowBone="true" />
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="SOLD"
- Flags="START_FRAME_LAST">
- <Animation
- AnimationName="JBRefinery_Platform_BLD"
- AnimationMode="ONCE_BACKWARDS"
- AnimationAbsoluteTime="2s"/>
- <Script>
- CurDrawableHideSubObjectPermanently("Table_Water")
- CurDrawableShowSubObjectPermanently("Table")
- CurDrawableShowSubObjectPermanently("Bib")
- CurDrawableHideSubObjectPermanently("Platform")
- CurDrawableHideSubObjectPermanently("Platform_FX")
- </Script>
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="OVER_WATER">
- <Script>
- CurDrawableHideSubObjectPermanently("Bib")
- CurDrawableShowSubObjectPermanently("Platform")
- CurDrawableShowSubObjectPermanently("Platform_FX")
- </Script>
- </AnimationState>
- </ScriptedModelDraw>
- <!-- DRAW BUILD UP PLATFORM -->
- <ScriptedModelDraw
- id="ModuleTag_Draw_Platform_Buildup"
- OkToChangeModelColor="true">
- <ModelConditionState
- ParseCondStateType="PARSE_DEFAULT">
- <Model
- Name="" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="BUILD_PLACEMENT_HINT">
- <Model
- Name="" />
- </ModelConditionState>
-
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="OVER_WATER STRUCTURE_UNPACKING">
- <Model
- Name="JBRefinery_Platform_SKN" />
- <!-- particle system template not found
- <ParticleSysBone
- BoneName="None"
- FXParticleSystemTemplate="JBRefineryWakeSplash"
- FollowBone="true" />
- -->
- <Material ShaderName="BuildingsJapanBuildup.fx" TechniqueName="Default">
- <Constants>
- <Texture Name="DiffuseTexture">
- <Value>JBPlatform</Value>
- </Texture>
- <Texture Name="NormalMap">
- <Value>JBPlatform_NRM</Value>
- </Texture>
- <Texture Name="SpecMap">
- <Value>JBPlatform_SPM</Value>
- </Texture>
- <Float Name="EnvMult">
- <Value>1.000000</Value>
- </Float>
- <Bool Name="AlphaTestEnable">
- <Value>true</Value>
- </Bool>
- </Constants>
- </Material>
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="OVER_WATER SOLD">
- <Model
- Name="JBRefinery_Platform_SKN" />
- <!-- particle system template not found
- <ParticleSysBone
- BoneName="None"
- FXParticleSystemTemplate="JBRefineryWakeSplash"
- FollowBone="true" />
- -->
- <Material ShaderName="BuildingsJapanBuildup.fx" TechniqueName="Default">
- <Constants>
- <Texture Name="DiffuseTexture">
- <Value>JBPlatform</Value>
- </Texture>
- <Texture Name="NormalMap">
- <Value>JBPlatform_NRM</Value>
- </Texture>
- <Texture Name="SpecMap">
- <Value>JBPlatform_SPM</Value>
- </Texture>
- <Float Name="EnvMult">
- <Value>1.000000</Value>
- </Float>
- <Bool Name="AlphaTestEnable">
- <Value>true</Value>
- </Bool>
- </Constants>
- </Material>
- </ModelConditionState>
- <AnimationState
- ParseCondStateType="PARSE_DEFAULT">
- <Script>
- CurDrawableShowSubObjectPermanently("Bib")
- CurDrawableHideSubObjectPermanently("Platform")
- CurDrawableHideSubObjectPermanently("Platform_FX")
- </Script>
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="STRUCTURE_UNPACKING OVER_WATER">
- <Animation
- AnimationName="JBRefinery_Platform_BLD"
- AnimationMode="MATCH_UNPACKING"
- AnimationBlendTime="0" />
- <Script>
- CurDrawableHideSubObjectPermanently("Bib")
- CurDrawableShowSubObjectPermanently("Platform")
- CurDrawableShowSubObjectPermanently("Platform_FX")
- </Script>
- </AnimationState>
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="SOLD"
- Flags="START_FRAME_LAST">
- <Animation
- AnimationName="JBRefinery_Platform_BLD"
- AnimationMode="ONCE_BACKWARDS"
- AnimationAbsoluteTime="2s"/>
- <Script>
- CurDrawableHideSubObjectPermanently("Bib")
- CurDrawableShowSubObjectPermanently("Platform")
- CurDrawableShowSubObjectPermanently("Platform_FX")
- </Script>
- </AnimationState>
- </ScriptedModelDraw>
- <!-- DRAW PARTICLES -->
- <ScriptedModelDraw
- id="ModuleTag_Draw_FX"
- OkToChangeModelColor="true">
- <ModelConditionState
- ParseCondStateType="PARSE_DEFAULT">
- <Model
- Name="JBRefinery_FX" />
- <ParticleSysBone
- BoneName="FXBone03"
- FXParticleSystemTemplate="SovietFactorySmoke"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="FXBone04"
- FXParticleSystemTemplate="SovietFactorySmoke"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="FXBone05"
- FXParticleSystemTemplate="SovietFactorySmoke"
- FollowBone="true" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="STRUCTURE_UNPACKING">
- <Model
- Name="JBRefinery_FX" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="SOLD">
- <Model
- Name="JBRefinery_FX" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="DAMAGED">
- <Model
- Name="JBRefinery_FX" />
- <ParticleSysBone
- BoneName="FX_Smoke03"
- FXParticleSystemTemplate="SovietFactorySmoke"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="FX_Smoke04"
- FXParticleSystemTemplate="SovietFactorySmoke"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="FX_Smoke05"
- FXParticleSystemTemplate="SovietFactorySmoke"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="FX_BONE01"
- FXParticleSystemTemplate="JapanVehicleDamagedSmoke"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="FX_BONE01"
- FXParticleSystemTemplate="JapanVehicleDamagedSparks"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="FX_BONE01"
- FXParticleSystemTemplate="JapanVehicleDamagedFire"
- FollowBone="true" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="REALLYDAMAGED">
- <Model
- Name="JBRefinery_FX" />
- <ParticleSysBone
- BoneName="FX_Smoke03"
- FXParticleSystemTemplate="SovietFactorySmoke"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="FX_Smoke04"
- FXParticleSystemTemplate="SovietFactorySmoke"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="FX_Smoke05"
- FXParticleSystemTemplate="SovietFactorySmoke"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="FX_BONE01"
- FXParticleSystemTemplate="JapanVehicleDamagedSmoke"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="FX_BONE01"
- FXParticleSystemTemplate="JapanVehicleDamagedSparks"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="FX_BONE01"
- FXParticleSystemTemplate="JapanVehicleDamagedFire"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="FX_BONE02"
- FXParticleSystemTemplate="JapanVehicleDamagedSmoke"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="FX_BONE02"
- FXParticleSystemTemplate="JapanVehicleDamagedSparks"
- FollowBone="true" />
- <ParticleSysBone
- BoneName="FX_BONE02"
- FXParticleSystemTemplate="JapanVehicleDamagedFire"
- FollowBone="true" />
- </ModelConditionState>
- </ScriptedModelDraw>
-
-
- <!-- draw for Egg unpacking -->
- <ScriptedModelDraw
- id="ModuleTag_DrawEGG"
- OkToChangeModelColor="true"
- StaticModelLODMode="true">
- <ModelConditionState
- ParseCondStateType="PARSE_DEFAULT">
- <Model
- Name="" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="STRUCTURE_UNPACKING">
- <Model
- Name="JUEgg_Unpack" />
- </ModelConditionState>
- <ModelConditionState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="SOLD">
- <Model
- Name="" />
- </ModelConditionState>
- <AnimationState
- ParseCondStateType="PARSE_DEFAULT">
- </AnimationState>
-
- <AnimationState
- ParseCondStateType="PARSE_NORMAL"
- ConditionsYes="STRUCTURE_UNPACKING">
- <Animation
- AnimationName="JUEgg_Unpack"
- AnimationMode="ONCE" />
- </AnimationState>
- </ScriptedModelDraw>
- </Draws>
-
- <Behaviors>
-
- <QueueDockBehavior
- id="ModuleTag_QueueDockBehavior"
- DockStartBoneName="DockStart"
- DockActionBoneName="DockAction"
- DockEndBoneName="DockEnd"
- QueueBonePrefix="Que"
- DockingAnimation="DOCKING_ACTIVE"
- TurnTableBoneName="BONE_TABLE"/>
- <QueueProductionExitUpdate
- id="ModuleTag_Exit">
- <UnitCreatePoint
- x="37.5" />
- <NaturalRallyPoint
- x="75.0" />
- </QueueProductionExitUpdate>
- <SpawnBehavior
- id="ModuleTag_Spawn"
- SpawnNumberData="1"
- SpawnReplaceDelayData="9999s"
- IsOneShotData="true"
- FadeInTime="1.0s"
- SpawnOnUnpack="true"
- CanReclaimOrphans="false"
- SetPurchasePrice="true">
- <SpawnTemplate>JapanMiner</SpawnTemplate>
- </SpawnBehavior>
-
- <Physics
- id="ModuleTag_Physics"/>
- <BuildingDestructionBehavior
- id="ModuleTag_BuildingDestruction"
- FillerMesh="NEWSKIN_FILL">
- <DieMuxData
- DeathTypes="ALL" />
- <Item
- BonePrefix="BONE_CONTACT_POINT_"
- FX="JapanStructureHit"
- CreationObject="AlliedBarracks_Debris"
- FlingVelocity="100.0"/>
- </BuildingDestructionBehavior>
- <FXListBehavior
- xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance" id="ModuleTag_FXList">
- <DieMuxData
- DeathTypes="ALL"
- DeathTypesForbidden="SUICIDED" />
- <Event
- Index="onDeath"
- FX="FX_YU_Hotel02_Explode" />
- </FXListBehavior>
- <FXListBehavior xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance" id="ModuleTag_DieSound">
- <DieMuxData DeathTypes="ALL" DeathTypesForbidden="SUICIDED" />
- <Event Index="onDeath" FX="FX_MediumBuildingDieExplosion" />
- </FXListBehavior>
- <CreateObjectDie
- id="ModuleTag_CreateObjectDie"
- CreationList="JBRefinery_Die_OCL">
- <DieMuxData
- DeathTypes="ALL"
- DeathTypesForbidden="SUICIDED"
- ExemptStatus="OVER_WATER" />
- </CreateObjectDie>
- <CreateObjectDie
- id="ModuleTag_Platform_CreateObjectDie"
- CreationList="JBRefinery_Platform_Die_OCL">
- <DieMuxData
- DeathTypes="ALL"
- DeathTypesForbidden="SUICIDED"
- RequiredStatus="OVER_WATER" />
- </CreateObjectDie>
-
- <DestroyDie
- id="ModuleTag_Die">
- <DieMuxData
- DeathTypes="ALL"
- DeathTypesForbidden="SUICIDED" />
- </DestroyDie>
- <ProductionUpdate
- id="ModuleTag_ProductionUpdate"
- GiveNoXP="true"
- Type="VEHICLE"
- NumDoorAnimations="1"
- DoorOpeningTime="0.66s"
- DoorWaitOpenTime="3.00s"
- DoorCloseTime="0.66s"
- NewObjectFadeInTime="0.5s"/>
-
- <StructureUnpackUpdate
- id="ModuleTag_StructureUnpackUpdate"
- UnpackTime="20s"
- UnpackCompleteSound="JAP_OreCollector_VoiceCreateFromRefinery" />
- <xi:include
- href="DATA:Includes/GenericBuildingRepair.xml" />
- <xi:include
- href="DATA:Includes/GenericEngineerContain.xml" />
- <xi:include
- href="DATA:Includes/GenericJapanBuildingDestruction.xml" />
- <xi:include
- href="DATA:Includes/GenericJapanBuildingSuicide.xml" />
- <xi:include
- href="DATA:Includes/GenericRefineryPlacementHint.xml" />
- <xi:include
- href="DATA:Includes/InfiltratorContainEconomic.xml" />
- <xi:include
- href="DATA:Includes/GenericRefineryStructurePlacementBehavior.xml" />
- <LUAEventList
- id="ModuleTag_LUAEventList"
- EventListName="BuildingPowerFunctions"
- />
- </Behaviors>
- <AI>
- <AIUpdate
- id="ModuleTag_AIUpdate"
- AutoAcquireEnemiesWhenIdle="NO"
- StateMachine="StructureAIStateMachine">
- </AIUpdate>
- </AI>
- <Body>
- <ActiveBody
- id="ModuleTag_Body"
- MaxHealth="2000.0" />
- </Body>
- <ClientBehaviors>
- <AnimationSoundClientBehavior id="ModuleTag_AnimationSound">
- <Sound Sound="JAP_Refinery_LoadGrab" Animation="JBRefinery_ARM_UNLOAD" Frame="1" />
- <Sound Sound="JAP_Refinery_CraneMoveCCW" Animation="JBRefinery_ARM_UNLOAD" Frame="5" />
- <Sound Sound="JAP_Refinery_LoadDrop" Animation="JBRefinery_ARM_UNLOAD" Frame="59" />
- <Sound Sound="JAP_Refinery_CraneMoveCW" Animation="JBRefinery_ARM_EMPTY" Frame="5" />
- </AnimationSoundClientBehavior>
- <ModelConditionAudioLoopClientBehavior id="ModuleTag_Platform_Turn">
- <ModelConditionSound Sound="ALL_Refinery_Platform_Rotate" RequiredFlags="DOCKING_ACTIVE" ExcludedFlags="DYING" />
- </ModelConditionAudioLoopClientBehavior>
- </ClientBehaviors>
- <Geometry
- IsSmall="false">
- <Shape
- Type= "BOX"
- MajorRadius = "60.0"
- MinorRadius = "45.0"
- Height = "5.0"
- ContactPointGeneration = "STRUCTURE" >
- <Offset
- x = "0.0"
- y = "0.0"
- z = "0.0" />
- </Shape>
- <Shape
- Type= "BOX"
- MajorRadius = "6.0"
- MinorRadius = "45.0"
- Height = "53.0"
- ContactPointGeneration = "STRUCTURE" >
- <Offset
- x = "8.12596"
- y = "0.0"
- z = "0.0" />
- </Shape>
- <Shape
- Type= "BOX"
- MajorRadius = "6.0"
- MinorRadius = "5.4"
- Height = "53.0"
- ContactPointGeneration = "STRUCTURE" >
- <Offset
- x = "-19.7303"
- y = "33.7926"
- z = "0.0" />
- </Shape>
- <Shape
- Type= "BOX"
- MajorRadius = "6.0"
- MinorRadius = "5.4"
- Height = "53.0"
- ContactPointGeneration = "STRUCTURE" >
- <Offset
- x = "-19.7303"
- y = "-33.6328"
- z = "0.0" />
- </Shape>
- <Shape
- Type= "BOX"
- MajorRadius = "6.0"
- MinorRadius = "5.4"
- Height = "53.0"
- ContactPointGeneration = "STRUCTURE" >
- <Offset
- x = "-48.7845"
- y = "-0.00339508"
- z = "0.0" />
- </Shape>
- <Shape
- Type= "BOX"
- MajorRadius = "26.16"
- MinorRadius = "45.0"
- Height = "15.45"
- ContactPointGeneration = "STRUCTURE" >
- <Offset
- x = "-33.3016"
- y = "0.0"
- z = "0.0" />
- </Shape>
- </Geometry>
- <ClientBehaviors>
- <ModelConditionAudioLoopClientBehavior xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance" id="ModuleTag_StructureConstructionAudio">
- <ModelConditionSound
- Sound="JAP_Nanocore_DeployStructureLand"
- RequiredFlags="STRUCTURE_UNPACKING"
- ExcludedFlags="OVER_WATER"/>
- <ModelConditionSound
- Sound="JAP_Nanocore_DeployStructureWaterMS"
- RequiredFlags="STRUCTURE_UNPACKING OVER_WATER"/>
- </ModelConditionAudioLoopClientBehavior>
- </ClientBehaviors>
- <AudioArrayVoice>
- <AudioEntry
- Sound="AudioEvent:JAP_Refinery_Select"
- AudioType="voiceSelect" />
- </AudioArrayVoice>
- <AudioArraySound>
- <AudioEntry Sound="JAP_Nanocore_DeployLoop" AudioType="soundUnderConstruction" />
- <!--
- <AudioEntry Sound="HumanFaction_MediumBuilding_LightDamageMS" AudioType="soundOnDamaged" />
- <AudioEntry Sound="HumanFaction_MediumBuilding_HeavyDamageMS" AudioType="soundOnReallyDamaged" />
- -->
- </AudioArraySound>
- <VisionInfo
- VisionRange="150"
- ShroudClearingRange="500" />
- <ProjectedBuildabilityInfo
- Radius="180.0"
- RadiusY="75.0"
- BuildPlacementTypes="OTHER_STRUCTURE" />
- </GameObject>
- </AssetDeclaration>
|