JapanTechStructure.xml 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <AssetDeclaration xmlns="uri:ea.com:eala:asset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xi="http://www.w3.org/2001/XInclude">
  3. <Tags></Tags>
  4. <Includes>
  5. <Include type="all" source="DATA:GlobalData/GlobalDefines.xml" />
  6. <Include
  7. type="all"
  8. source="ART:JBTechStructure_SKN.w3x" />
  9. <Include
  10. type="all"
  11. source="ART:JBTechStructure_FX.w3x" />
  12. <Include
  13. type="all"
  14. source="ART:JBTechStructure_BLD.w3x" />
  15. <Include
  16. type="all"
  17. source="ART:JBTechStructure_BLD2.w3x" />
  18. <Include
  19. type="all"
  20. source="ART:JBTechStructure_Platform_SKN.w3x" />
  21. <Include
  22. type="all"
  23. source="ART:JBTechStructure_Platform_BLD.w3x" />
  24. <!-- Base Object -->
  25. <Include
  26. type="instance"
  27. source="DATA:BaseObjects/BaseStructure.xml" />
  28. </Includes>
  29. <GameObject
  30. id="JapanTechStructure"
  31. inheritFrom="BaseStructure"
  32. SelectPortrait="Portrait_JapanTechStructure"
  33. ButtonImage="Button_JapanTechStructure"
  34. Side="Japan"
  35. EditorSorting="STRUCTURE"
  36. BuildTime="20"
  37. CommandSet="JapanTechStructureCommandSet"
  38. KindOf="+FS_TECHNOLOGY +ACTIVATE_AFTER_UNPACK"
  39. RadarPriority="STRUCTURE"
  40. PlacementViewAngle="315d"
  41. EnergyProduction="-75"
  42. ProductionQueueType="MAIN_STRUCTURE"
  43. BuildPlacementTypeFlag="MAIN_STRUCTURE"
  44. IsTrainable="false"
  45. EditorName="JapanTechStructure"
  46. Description="Desc:JapanTechStructure"
  47. TypeDescription="Type:JapanTechStructure">
  48. <DisplayName
  49. xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance">Name:JapanTechStructure</DisplayName>
  50. <ObjectResourceInfo>
  51. <BuildCost Account="=$ACCOUNT_ORE" Amount="2000"/>
  52. </ObjectResourceInfo>
  53. <ArmorSet
  54. Armor="BaseFactionStructureArmor"
  55. DamageFX="FactionStructureDamageFX" />
  56. <SkirmishAIInformation
  57. BaseBuildingLocation="BACK">
  58. <ConstructionBaseSelectionCriteria
  59. ExcludedBaseTypes="NO_BUILD_RADIUS CAPTURED"
  60. PreferredBaseTypes="MAIN_BASE"
  61. SortOrder="PREFER_OLDEST" />
  62. </SkirmishAIInformation>
  63. <Draws>
  64. <ScriptedModelDraw
  65. id="ModuleTag_Draw"
  66. OkToChangeModelColor="true"
  67. 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">
  68. <ModelConditionState
  69. ParseCondStateType="PARSE_DEFAULT">
  70. <Model
  71. Name="JBTechStructure_SKN" />
  72. </ModelConditionState>
  73. <ModelConditionState
  74. ParseCondStateType="PARSE_NORMAL"
  75. ConditionsYes="BUILD_PLACEMENT_CURSOR">
  76. <Model
  77. Name="JBTechStructure_SKN" />
  78. <Material ShaderName="ObjectsGeneric.fx" TechniqueName="Default">
  79. <Constants>
  80. <Texture Name="DiffuseTexture">
  81. <Value>JBTechStructure</Value>
  82. </Texture>
  83. <Texture Name="NormalMap">
  84. <Value>JBTechStructure_NRM</Value>
  85. </Texture>
  86. <Texture Name="SpecMap">
  87. <Value>JBTechStructure_SPM</Value>
  88. </Texture>
  89. <Float Name="BumpScale">
  90. <Value>1.000000</Value>
  91. </Float>
  92. <Float Name="AmbientColor">
  93. <Value>0.400000</Value>
  94. <Value>0.400000</Value>
  95. <Value>0.400000</Value>
  96. </Float>
  97. <Float Name="DiffuseColor">
  98. <Value>1.000000</Value>
  99. <Value>1.000000</Value>
  100. <Value>1.000000</Value>
  101. <Value>1.000000</Value>
  102. </Float>
  103. <Float Name="SpecularColor">
  104. <Value>0.800000</Value>
  105. <Value>0.800000</Value>
  106. <Value>0.800000</Value>
  107. </Float>
  108. <Float Name="SpecularExponent">
  109. <Value>50.000000</Value>
  110. </Float>
  111. <Float Name="EnvMult">
  112. <Value>1.000000</Value>
  113. </Float>
  114. <Bool Name="AlphaTestEnable">
  115. <Value>false</Value>
  116. </Bool>
  117. </Constants>
  118. </Material>
  119. </ModelConditionState>
  120. <ModelConditionState
  121. ParseCondStateType="PARSE_NORMAL"
  122. ConditionsYes="STRUCTURE_UNPACKING">
  123. <Model
  124. Name="JBTechStructure_SKN" />
  125. <Material ShaderName="BasicW3DHolographic.fx" TechniqueName="Default">
  126. <Constants>
  127. <Float Name="ColorAmbient">
  128. <Value>0.000000</Value>
  129. <Value>0.000000</Value>
  130. <Value>0.000000</Value>
  131. </Float>
  132. <Float Name="ColorDiffuse">
  133. <Value>0.000000</Value>
  134. <Value>0.000000</Value>
  135. <Value>0.000000</Value>
  136. </Float>
  137. <Float Name="ColorSpecular">
  138. <Value>0.000000</Value>
  139. <Value>0.000000</Value>
  140. <Value>0.000000</Value>
  141. </Float>
  142. <Float Name="Shininess">
  143. <Value>0.000000</Value>
  144. </Float>
  145. <Float Name="ColorEmissive">
  146. <Value>1.000000</Value>
  147. <Value>1.000000</Value>
  148. <Value>1.000000</Value>
  149. </Float>
  150. <Texture Name="Texture_0">
  151. <Value>FXJapanBuildMask</Value>
  152. </Texture>
  153. <Bool Name="DepthWriteEnable">
  154. <Value>false</Value>
  155. </Bool>
  156. <Bool Name="AlphaTestEnable">
  157. <Value>false</Value>
  158. </Bool>
  159. <Bool Name="CullingEnable">
  160. <Value>true</Value>
  161. </Bool>
  162. <Int Name="BlendMode">
  163. <Value>1</Value>
  164. </Int>
  165. </Constants>
  166. </Material>
  167. </ModelConditionState>
  168. <ModelConditionState
  169. ParseCondStateType="PARSE_NORMAL"
  170. ConditionsYes="SOLD">
  171. <Model
  172. Name="JBTechStructure_SKN" />
  173. <Material ShaderName="BasicW3DHolographic.fx" TechniqueName="Default">
  174. <Constants>
  175. <Float Name="ColorAmbient">
  176. <Value>0.000000</Value>
  177. <Value>0.000000</Value>
  178. <Value>0.000000</Value>
  179. </Float>
  180. <Float Name="ColorDiffuse">
  181. <Value>0.000000</Value>
  182. <Value>0.000000</Value>
  183. <Value>0.000000</Value>
  184. </Float>
  185. <Float Name="ColorSpecular">
  186. <Value>0.000000</Value>
  187. <Value>0.000000</Value>
  188. <Value>0.000000</Value>
  189. </Float>
  190. <Float Name="Shininess">
  191. <Value>0.000000</Value>
  192. </Float>
  193. <Float Name="ColorEmissive">
  194. <Value>1.000000</Value>
  195. <Value>1.000000</Value>
  196. <Value>1.000000</Value>
  197. </Float>
  198. <Texture Name="Texture_0">
  199. <Value>FXJapanBuildMask</Value>
  200. </Texture>
  201. <Bool Name="DepthWriteEnable">
  202. <Value>false</Value>
  203. </Bool>
  204. <Bool Name="AlphaTestEnable">
  205. <Value>false</Value>
  206. </Bool>
  207. <Bool Name="CullingEnable">
  208. <Value>true</Value>
  209. </Bool>
  210. <Int Name="BlendMode">
  211. <Value>1</Value>
  212. </Int>
  213. </Constants>
  214. </Material>
  215. </ModelConditionState>
  216. <AnimationState
  217. ParseCondStateType="PARSE_DEFAULT">
  218. </AnimationState>
  219. <AnimationState
  220. ParseCondStateType="PARSE_NORMAL"
  221. ConditionsYes="STRUCTURE_UNPACKING">
  222. <Animation
  223. AnimationName="JBTechStructure_BLD2"
  224. AnimationMode="MATCH_UNPACKING"
  225. AnimationBlendTime="0" />
  226. <Script>
  227. CurDrawableHideSubObjectPermanently("NewSkin_Fill")
  228. </Script>
  229. </AnimationState>
  230. <AnimationState
  231. ParseCondStateType="PARSE_NORMAL"
  232. ConditionsYes="SOLD"
  233. Flags="START_FRAME_LAST">
  234. <Animation
  235. AnimationName="JBTechStructure_BLD2"
  236. AnimationMode="ONCE_BACKWARDS"
  237. AnimationAbsoluteTime="2s"/>
  238. <Script>
  239. CurDrawableHideSubObjectPermanently("NewSkin_Fill")
  240. </Script>
  241. </AnimationState>
  242. </ScriptedModelDraw>
  243. <!-- DRAW BUILD UP -->
  244. <ScriptedModelDraw
  245. id="ModuleTag_Draw_Buildup"
  246. 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"
  247. OkToChangeModelColor="true">
  248. <ModelConditionState
  249. ParseCondStateType="PARSE_DEFAULT">
  250. <Model
  251. Name="" />
  252. </ModelConditionState>
  253. <ModelConditionState
  254. ParseCondStateType="PARSE_NORMAL"
  255. ConditionsYes="STRUCTURE_UNPACKING">
  256. <Model
  257. Name="JBTechStructure_SKN" />
  258. <Material ShaderName="BuildingsJapanBuildup.fx" TechniqueName="Default">
  259. <Constants>
  260. <Texture Name="DiffuseTexture">
  261. <Value>JBTechStructure</Value>
  262. </Texture>
  263. <Texture Name="NormalMap">
  264. <Value>JBTechStructure_NRM</Value>
  265. </Texture>
  266. <Texture Name="SpecMap">
  267. <Value>JBTechStructure_SPM</Value>
  268. </Texture>
  269. <Float Name="EnvMult">
  270. <Value>1.000000</Value>
  271. </Float>
  272. <Bool Name="AlphaTestEnable">
  273. <Value>true</Value>
  274. </Bool>
  275. </Constants>
  276. </Material>
  277. </ModelConditionState>
  278. <ModelConditionState
  279. ParseCondStateType="PARSE_NORMAL"
  280. ConditionsYes="SOLD">
  281. <Model
  282. Name="JBTechStructure_SKN" />
  283. <Material ShaderName="BuildingsJapanBuildup.fx" TechniqueName="Default">
  284. <Constants>
  285. <Texture Name="DiffuseTexture">
  286. <Value>JBTechStructure</Value>
  287. </Texture>
  288. <Texture Name="NormalMap">
  289. <Value>JBTechStructure_NRM</Value>
  290. </Texture>
  291. <Texture Name="SpecMap">
  292. <Value>JBTechStructure_SPM</Value>
  293. </Texture>
  294. <Float Name="EnvMult">
  295. <Value>1.000000</Value>
  296. </Float>
  297. <Bool Name="AlphaTestEnable">
  298. <Value>true</Value>
  299. </Bool>
  300. </Constants>
  301. </Material>
  302. </ModelConditionState>
  303. <AnimationState
  304. ParseCondStateType="PARSE_DEFAULT">
  305. </AnimationState>
  306. <AnimationState
  307. ParseCondStateType="PARSE_NORMAL"
  308. ConditionsYes="STRUCTURE_UNPACKING">
  309. <Animation
  310. AnimationName="JBTechStructure_BLD"
  311. AnimationMode="MATCH_UNPACKING"
  312. AnimationBlendTime="0" />
  313. <Script>
  314. CurDrawableHideSubObjectPermanently("NewSkin_Fill")
  315. </Script>
  316. </AnimationState>
  317. <AnimationState
  318. ParseCondStateType="PARSE_NORMAL"
  319. ConditionsYes="SOLD"
  320. Flags="START_FRAME_LAST">
  321. <Animation
  322. AnimationName="JBTechStructure_BLD"
  323. AnimationMode="ONCE_BACKWARDS"
  324. AnimationAbsoluteTime="2s"/>
  325. <Script>
  326. CurDrawableHideSubObjectPermanently("NewSkin_Fill")
  327. </Script>
  328. </AnimationState>
  329. </ScriptedModelDraw>
  330. <!-- DRAW PLATFORM -->
  331. <ScriptedModelDraw
  332. id="ModuleTag_Draw_Platform"
  333. OkToChangeModelColor="true">
  334. <ModelConditionState
  335. ParseCondStateType="PARSE_DEFAULT">
  336. <Model
  337. Name="JBTechStructure_Platform_SKN" />
  338. </ModelConditionState>
  339. <ModelConditionState
  340. ParseCondStateType="PARSE_NORMAL"
  341. ConditionsYes="OVER_WATER STRUCTURE_UNPACKING">
  342. <Model
  343. Name="JBTechStructure_Platform_SKN" />
  344. <!-- particle system template not found
  345. <ParticleSysBone
  346. BoneName="None"
  347. FXParticleSystemTemplate="ABPowerPlantWakeSplash"
  348. FollowBone="true" />
  349. -->
  350. <Material ShaderName="BasicW3DHolographic.fx" TechniqueName="Default">
  351. <Constants>
  352. <Float Name="ColorAmbient">
  353. <Value>0.000000</Value>
  354. <Value>0.000000</Value>
  355. <Value>0.000000</Value>
  356. </Float>
  357. <Float Name="ColorDiffuse">
  358. <Value>0.000000</Value>
  359. <Value>0.000000</Value>
  360. <Value>0.000000</Value>
  361. </Float>
  362. <Float Name="ColorSpecular">
  363. <Value>0.000000</Value>
  364. <Value>0.000000</Value>
  365. <Value>0.000000</Value>
  366. </Float>
  367. <Float Name="Shininess">
  368. <Value>1.000000</Value>
  369. </Float>
  370. <Float Name="ColorEmissive">
  371. <Value>1.000000</Value>
  372. <Value>1.000000</Value>
  373. <Value>1.000000</Value>
  374. </Float>
  375. <Texture Name="Texture_0">
  376. <Value>FXJapanBuildMask</Value>
  377. </Texture>
  378. <Bool Name="DepthWriteEnable">
  379. <Value>true</Value>
  380. </Bool>
  381. <Bool Name="AlphaTestEnable">
  382. <Value>true</Value>
  383. </Bool>
  384. <Bool Name="CullingEnable">
  385. <Value>true</Value>
  386. </Bool>
  387. <Int Name="BlendMode">
  388. <Value>1</Value>
  389. </Int>
  390. </Constants>
  391. </Material>
  392. </ModelConditionState>
  393. <ModelConditionState
  394. ParseCondStateType="PARSE_NORMAL"
  395. ConditionsYes="OVER_WATER SOLD">
  396. <Model
  397. Name="JBTechStructure_Platform_SKN" />
  398. <!-- particle system template not found
  399. <ParticleSysBone
  400. BoneName="None"
  401. FXParticleSystemTemplate="ABPowerPlantWakeSplash"
  402. FollowBone="true" />
  403. -->
  404. <Material ShaderName="BasicW3DHolographic.fx" TechniqueName="Default">
  405. <Constants>
  406. <Float Name="ColorAmbient">
  407. <Value>0.000000</Value>
  408. <Value>0.000000</Value>
  409. <Value>0.000000</Value>
  410. </Float>
  411. <Float Name="ColorDiffuse">
  412. <Value>0.000000</Value>
  413. <Value>0.000000</Value>
  414. <Value>0.000000</Value>
  415. </Float>
  416. <Float Name="ColorSpecular">
  417. <Value>0.000000</Value>
  418. <Value>0.000000</Value>
  419. <Value>0.000000</Value>
  420. </Float>
  421. <Float Name="Shininess">
  422. <Value>1.000000</Value>
  423. </Float>
  424. <Float Name="ColorEmissive">
  425. <Value>1.000000</Value>
  426. <Value>1.000000</Value>
  427. <Value>1.000000</Value>
  428. </Float>
  429. <Texture Name="Texture_0">
  430. <Value>FXJapanBuildMask</Value>
  431. </Texture>
  432. <Bool Name="DepthWriteEnable">
  433. <Value>true</Value>
  434. </Bool>
  435. <Bool Name="AlphaTestEnable">
  436. <Value>true</Value>
  437. </Bool>
  438. <Bool Name="CullingEnable">
  439. <Value>true</Value>
  440. </Bool>
  441. <Int Name="BlendMode">
  442. <Value>1</Value>
  443. </Int>
  444. </Constants>
  445. </Material>
  446. </ModelConditionState>
  447. <AnimationState
  448. ParseCondStateType="PARSE_DEFAULT">
  449. <Script>
  450. CurDrawableShowSubObjectPermanently("Bib")
  451. CurDrawableHideSubObjectPermanently("Platform")
  452. CurDrawableHideSubObjectPermanently("Platform_FX")
  453. </Script>
  454. </AnimationState>
  455. <AnimationState
  456. ParseCondStateType="PARSE_NORMAL"
  457. ConditionsYes="STRUCTURE_UNPACKING OVER_WATER">
  458. <Animation
  459. AnimationName="JBTechStructure_Platform_BLD"
  460. AnimationMode="MATCH_UNPACKING" />
  461. <Script>
  462. CurDrawableHideSubObjectPermanently("Bib")
  463. CurDrawableShowSubObjectPermanently("Platform")
  464. CurDrawableShowSubObjectPermanently("Platform_FX")
  465. </Script>
  466. <ParticleSysBone
  467. BoneName="None"
  468. FXParticleSystemTemplate="AlliedPowerPlantWaterBuildupFroth"
  469. FollowBone="true" />
  470. <ParticleSysBone
  471. BoneName="None"
  472. FXParticleSystemTemplate="AlliedPowerPlantWaterBuildupMist"
  473. FollowBone="true" />
  474. </AnimationState>
  475. <AnimationState
  476. ParseCondStateType="PARSE_NORMAL"
  477. ConditionsYes="OVER_WATER SOLD"
  478. Flags="START_FRAME_LAST">
  479. <Animation
  480. AnimationName="JBTechStructure_Platform_BLD"
  481. AnimationMode="ONCE_BACKWARDS"
  482. AnimationAbsoluteTime="2s"/>
  483. <Script>
  484. CurDrawableHideSubObjectPermanently("Bib")
  485. CurDrawableShowSubObjectPermanently("Platform")
  486. CurDrawableShowSubObjectPermanently("Platform_FX")
  487. </Script>
  488. </AnimationState>
  489. <AnimationState
  490. ParseCondStateType="PARSE_NORMAL"
  491. ConditionsYes="OVER_WATER">
  492. <Script>
  493. CurDrawableShowSubObjectPermanently("Platform")
  494. CurDrawableShowSubObjectPermanently("Platform_FX")
  495. CurDrawableHideSubObjectPermanently("Bib")
  496. </Script>
  497. </AnimationState>
  498. </ScriptedModelDraw>
  499. <!-- DRAW BUILD UP PLATFORM -->
  500. <ScriptedModelDraw
  501. id="ModuleTag_Draw_Platform_Buildup"
  502. OkToChangeModelColor="true">
  503. <ModelConditionState
  504. ParseCondStateType="PARSE_DEFAULT">
  505. <Model
  506. Name="" />
  507. </ModelConditionState>
  508. <ModelConditionState
  509. ParseCondStateType="PARSE_NORMAL"
  510. ConditionsYes="OVER_WATER STRUCTURE_UNPACKING">
  511. <Model
  512. Name="JBTechStructure_Platform_SKN" />
  513. <!-- particle system template not found
  514. <ParticleSysBone
  515. BoneName="None"
  516. FXParticleSystemTemplate="JBTechStructureWakeSplash"
  517. FollowBone="true" />
  518. -->
  519. <Material ShaderName="BuildingsJapanBuildup.fx" TechniqueName="Default">
  520. <Constants>
  521. <Texture Name="DiffuseTexture">
  522. <Value>JBPlatform</Value>
  523. </Texture>
  524. <Texture Name="NormalMap">
  525. <Value>JBPlatform_NRM</Value>
  526. </Texture>
  527. <Texture Name="SpecMap">
  528. <Value>JBPlatform_SPM</Value>
  529. </Texture>
  530. <Float Name="EnvMult">
  531. <Value>1.000000</Value>
  532. </Float>
  533. <Bool Name="AlphaTestEnable">
  534. <Value>true</Value>
  535. </Bool>
  536. </Constants>
  537. </Material>
  538. </ModelConditionState>
  539. <ModelConditionState
  540. ParseCondStateType="PARSE_NORMAL"
  541. ConditionsYes="OVER_WATER SOLD">
  542. <Model
  543. Name="JBTechStructure_Platform_SKN" />
  544. <!-- particle system template not found
  545. <ParticleSysBone
  546. BoneName="None"
  547. FXParticleSystemTemplate="JBTechStructureWakeSplash"
  548. FollowBone="true" />
  549. -->
  550. <Material ShaderName="BuildingsJapanBuildup.fx" TechniqueName="Default">
  551. <Constants>
  552. <Texture Name="DiffuseTexture">
  553. <Value>JBPlatform</Value>
  554. </Texture>
  555. <Texture Name="NormalMap">
  556. <Value>JBPlatform_NRM</Value>
  557. </Texture>
  558. <Texture Name="SpecMap">
  559. <Value>JBPlatform_SPM</Value>
  560. </Texture>
  561. <Float Name="EnvMult">
  562. <Value>1.000000</Value>
  563. </Float>
  564. <Bool Name="AlphaTestEnable">
  565. <Value>true</Value>
  566. </Bool>
  567. </Constants>
  568. </Material>
  569. </ModelConditionState>
  570. <AnimationState
  571. ParseCondStateType="PARSE_DEFAULT">
  572. <Script>
  573. CurDrawableShowSubObjectPermanently("Bib")
  574. CurDrawableHideSubObjectPermanently("Platform")
  575. CurDrawableHideSubObjectPermanently("Platform_FX")
  576. </Script>
  577. </AnimationState>
  578. <AnimationState
  579. ParseCondStateType="PARSE_NORMAL"
  580. ConditionsYes="STRUCTURE_UNPACKING OVER_WATER">
  581. <Animation
  582. AnimationName="JBTechStructure_Platform_BLD"
  583. AnimationMode="MATCH_UNPACKING" />
  584. <Script>
  585. CurDrawableHideSubObjectPermanently("Bib")
  586. CurDrawableShowSubObjectPermanently("Platform")
  587. CurDrawableShowSubObjectPermanently("Platform_FX")
  588. </Script>
  589. </AnimationState>
  590. <AnimationState
  591. ParseCondStateType="PARSE_NORMAL"
  592. ConditionsYes="OVER_WATER SOLD"
  593. Flags="START_FRAME_LAST">
  594. <Animation
  595. AnimationName="JBTechStructure_Platform_BLD"
  596. AnimationMode="ONCE_BACKWARDS"
  597. AnimationAbsoluteTime="2s"/>
  598. <Script>
  599. CurDrawableHideSubObjectPermanently("Bib")
  600. CurDrawableShowSubObjectPermanently("Platform")
  601. CurDrawableShowSubObjectPermanently("Platform_FX")
  602. </Script>
  603. </AnimationState>
  604. </ScriptedModelDraw>
  605. <!-- DRAW PARTICLES -->
  606. <ScriptedModelDraw
  607. id="ModuleTag_Draw_FX"
  608. OkToChangeModelColor="true">
  609. <ModelConditionState
  610. ParseCondStateType="PARSE_DEFAULT">
  611. <Model
  612. Name="JBTechStructure_FX" />
  613. </ModelConditionState>
  614. <ModelConditionState
  615. ParseCondStateType="PARSE_NORMAL"
  616. ConditionsYes="DAMAGED">
  617. <Model
  618. Name="JBTechStructure_FX" />
  619. <ParticleSysBone
  620. BoneName="FX_BONE01"
  621. FXParticleSystemTemplate="JapanVehicleDamagedSmoke"
  622. FollowBone="true" />
  623. <ParticleSysBone
  624. BoneName="FX_BONE01"
  625. FXParticleSystemTemplate="JapanVehicleDamagedSparks"
  626. FollowBone="true" />
  627. <ParticleSysBone
  628. BoneName="FX_BONE01"
  629. FXParticleSystemTemplate="JapanVehicleDamagedFire"
  630. FollowBone="true" />
  631. </ModelConditionState>
  632. <ModelConditionState
  633. ParseCondStateType="PARSE_NORMAL"
  634. ConditionsYes="REALLYDAMAGED">
  635. <Model
  636. Name="JBTechStructure_FX" />
  637. <ParticleSysBone
  638. BoneName="FX_BONE01"
  639. FXParticleSystemTemplate="JapanVehicleDamagedSmoke"
  640. FollowBone="true" />
  641. <ParticleSysBone
  642. BoneName="FX_BONE01"
  643. FXParticleSystemTemplate="JapanVehicleDamagedSparks"
  644. FollowBone="true" />
  645. <ParticleSysBone
  646. BoneName="FX_BONE01"
  647. FXParticleSystemTemplate="JapanVehicleDamagedFire"
  648. FollowBone="true" />
  649. <ParticleSysBone
  650. BoneName="FX_BONE02"
  651. FXParticleSystemTemplate="JapanVehicleDamagedSmoke"
  652. FollowBone="true" />
  653. <ParticleSysBone
  654. BoneName="FX_BONE02"
  655. FXParticleSystemTemplate="JapanVehicleDamagedSparks"
  656. FollowBone="true" />
  657. <ParticleSysBone
  658. BoneName="FX_BONE02"
  659. FXParticleSystemTemplate="JapanVehicleDamagedFire"
  660. FollowBone="true" />
  661. <ParticleSysBone
  662. BoneName="FX_BONE03"
  663. FXParticleSystemTemplate="JapanVehicleDamagedSmoke"
  664. FollowBone="true" />
  665. <ParticleSysBone
  666. BoneName="FX_BONE03"
  667. FXParticleSystemTemplate="JapanVehicleDamagedSparks"
  668. FollowBone="true" />
  669. <ParticleSysBone
  670. BoneName="FX_BONE03"
  671. FXParticleSystemTemplate="JapanVehicleDamagedFire"
  672. FollowBone="true" />
  673. </ModelConditionState>
  674. </ScriptedModelDraw>
  675. <!-- draw for Egg unpacking -->
  676. <ScriptedModelDraw
  677. id="ModuleTag_DrawEGG"
  678. OkToChangeModelColor="true"
  679. StaticModelLODMode="true">
  680. <ModelConditionState
  681. ParseCondStateType="PARSE_DEFAULT">
  682. <Model
  683. Name="" />
  684. </ModelConditionState>
  685. <ModelConditionState
  686. ParseCondStateType="PARSE_NORMAL"
  687. ConditionsYes="STRUCTURE_UNPACKING">
  688. <Model
  689. Name="JUEgg_Unpack" />
  690. </ModelConditionState>
  691. <ModelConditionState
  692. ParseCondStateType="PARSE_NORMAL"
  693. ConditionsYes="SOLD">
  694. <Model
  695. Name="" />
  696. </ModelConditionState>
  697. <AnimationState
  698. ParseCondStateType="PARSE_DEFAULT">
  699. </AnimationState>
  700. <AnimationState
  701. ParseCondStateType="PARSE_NORMAL"
  702. ConditionsYes="STRUCTURE_UNPACKING">
  703. <Animation
  704. AnimationName="JUEgg_Unpack"
  705. AnimationMode="ONCE" />
  706. </AnimationState>
  707. </ScriptedModelDraw>
  708. </Draws>
  709. <Behaviors>
  710. <Physics
  711. id="ModuleTag_Physics"/>
  712. <BuildingDestructionBehavior
  713. id="ModuleTag_BuildingDestruction"
  714. FillerMesh="NEWSKIN_FILL">
  715. <DieMuxData
  716. DeathTypes="ALL"
  717. DeathTypesForbidden="SUICIDED"/>
  718. <Item
  719. BonePrefix="BONE_CONTACT_POINT_"
  720. FX="JapanStructureHit"
  721. CreationObject="AlliedBarracks_Debris"
  722. FlingVelocity="100.0"/>
  723. </BuildingDestructionBehavior>
  724. <FXListBehavior
  725. xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance" id="ModuleTag_FXList">
  726. <DieMuxData
  727. DeathTypes="ALL"
  728. DeathTypesForbidden="SUICIDED" />
  729. <Event
  730. Index="onDeath"
  731. FX="FX_YU_Hotel02_Explode" />
  732. </FXListBehavior>
  733. <FXListBehavior xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance" id="ModuleTag_DieSound">
  734. <DieMuxData DeathTypes="ALL" DeathTypesForbidden="SUICIDED" />
  735. <Event Index="onDeath" FX="FX_LargeBuildingDieExplosion" />
  736. </FXListBehavior>
  737. <CreateObjectDie
  738. id="ModuleTag_CreateObjectDie"
  739. CreationList="JBTechStructure_Die_OCL">
  740. <DieMuxData
  741. DeathTypes="ALL"
  742. DeathTypesForbidden="SUICIDED"
  743. ExemptStatus="OVER_WATER" />
  744. </CreateObjectDie>
  745. <CreateObjectDie
  746. id="ModuleTag_Platform_CreateObjectDie"
  747. CreationList="JBTechStructure_Platform_Die_OCL">
  748. <DieMuxData
  749. DeathTypes="ALL"
  750. DeathTypesForbidden="SUICIDED"
  751. RequiredStatus="OVER_WATER" />
  752. </CreateObjectDie>
  753. <DestroyDie
  754. id="ModuleTag_Die">
  755. <DieMuxData
  756. DeathTypes="ALL"
  757. DeathTypesForbidden="SUICIDED" />
  758. </DestroyDie>
  759. <StructureUnpackUpdate
  760. id="ModuleTag_StructureUnpackUpdate"
  761. UnpackTime="30s" />
  762. <xi:include
  763. href="../../Includes/GenericBuildingRepair.xml" />
  764. <xi:include
  765. href="../../Includes/GenericEngineerContain.xml" />
  766. <xi:include
  767. href="../../Includes/GenericJapanBuildingDestruction.xml" />
  768. <xi:include
  769. href="../../Includes/GenericJapanBuildingSuicide.xml" />
  770. <xi:include
  771. href="DATA:Includes/InfiltratorContainParalyze.xml" />
  772. <LUAEventList
  773. id="ModuleTag_LUAEventList"
  774. EventListName="BuildingPowerFunctions"/>
  775. </Behaviors>
  776. <AI>
  777. <AIUpdate
  778. id="ModuleTag_AIUpdate"
  779. AutoAcquireEnemiesWhenIdle="NO"
  780. StateMachine="StructureAIStateMachine">
  781. </AIUpdate>
  782. </AI>
  783. <Body>
  784. <ActiveBody
  785. id="ModuleTag_Body"
  786. MaxHealth="2000.0" />
  787. </Body>
  788. <Geometry>
  789. <Shape
  790. Type= "BOX"
  791. MajorRadius = "60.0"
  792. MinorRadius = "45.0"
  793. Height = "5.0" >
  794. <Offset
  795. x = "0.0"
  796. y = "0.0"
  797. z = "0.0" />
  798. </Shape>
  799. <Shape
  800. Type= "BOX"
  801. MajorRadius = "28.1816"
  802. MinorRadius = "15.6535"
  803. Height = "16.3646"
  804. ContactPointGeneration = "STRUCTURE" >
  805. <Offset
  806. x = "31.5561"
  807. y = "-13.9533"
  808. z = "0.0" />
  809. </Shape>
  810. <Shape
  811. Type= "BOX"
  812. MajorRadius = "30.1792"
  813. MinorRadius = "29.9114"
  814. Height = "50.1655"
  815. ContactPointGeneration = "STRUCTURE" >
  816. <Offset
  817. x = "-15.262"
  818. y = "0.0"
  819. z = "0.0" />
  820. </Shape>
  821. <Shape
  822. Type= "BOX"
  823. MajorRadius = "20.0"
  824. MinorRadius = "20.0"
  825. Height = "100.0"
  826. ContactPointGeneration = "STRUCTURE" >
  827. <Offset
  828. x = "-15.262"
  829. y = "0.0"
  830. z = "0.0" />
  831. </Shape>
  832. <Shape
  833. Type= "BOX"
  834. MajorRadius = "10.0"
  835. MinorRadius = "10.0"
  836. Height = "130.0"
  837. ContactPointGeneration = "STRUCTURE" >
  838. <Offset
  839. x = "-15.262"
  840. y = "0.0"
  841. z = "0.0" />
  842. </Shape>
  843. </Geometry>
  844. <ClientBehaviors>
  845. <ModelConditionAudioLoopClientBehavior xai:joinAction="Replace" xmlns:xai="uri:ea.com:eala:asset:instance" id="ModuleTag_StructureConstructionAudio">
  846. <ModelConditionSound
  847. Sound="JAP_Nanocore_DeployStructureLand"
  848. RequiredFlags="STRUCTURE_UNPACKING"
  849. ExcludedFlags="OVER_WATER"/>
  850. <ModelConditionSound
  851. Sound="JAP_Nanocore_DeployStructureWaterMS"
  852. RequiredFlags="STRUCTURE_UNPACKING OVER_WATER"/>
  853. </ModelConditionAudioLoopClientBehavior>
  854. </ClientBehaviors>
  855. <AudioArrayVoice>
  856. <AudioEntry Sound="JAP_TechCenter_SelectMS" AudioType="voiceSelect" />
  857. </AudioArrayVoice>
  858. <AudioArraySound>
  859. <AudioEntry Sound="JAP_Nanocore_DeployLoop" AudioType="soundUnderConstruction" />
  860. <!--
  861. <AudioEntry Sound="HumanFaction_MediumBuilding_LightDamageMS" AudioType="soundOnDamaged" />
  862. <AudioEntry Sound="HumanFaction_MediumBuilding_HeavyDamageMS" AudioType="soundOnReallyDamaged" />
  863. -->
  864. </AudioArraySound>
  865. <VisionInfo
  866. VisionRange="150"
  867. ShroudClearingRange="500" />
  868. <ProjectedBuildabilityInfo
  869. Radius="120"
  870. RadiusY="105"
  871. BuildPlacementTypes="OTHER_STRUCTURE" />
  872. </GameObject>
  873. </AssetDeclaration>