Advertisement
tk0wnz

Method A - Animations file

Jun 22nd, 2020
822
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.92 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ClipDictionary>
  3.  <Clips>
  4.   <Item>
  5.    <Hash>indilefton</Hash> <!-- indilefton = animation sequence that starts playing when the left indicator has been turned on -->
  6.    <Name>pack:/indilefton.clip</Name>
  7.    <Type value="Animation" />
  8.    <Unknown30 value="1" />
  9.    <Tags />
  10.    <Properties />
  11.    <AnimationHash>indilefton</AnimationHash>
  12.    <StartTime value="0" />
  13.    <EndTime value="0.6" /> <!-- Duration does not matter for Method A -->
  14.    <Rate value="1" />
  15.   </Item>
  16.   <!-- indileftoff goes here -->
  17.   <!-- indirighton goes here -->
  18.   <!-- indirightoff goes here -->
  19.   <!-- indihazon goes here -->
  20.   <!-- indihazoff goes here -->
  21.   <!-- indiltor goes here -->
  22.   <!-- indirtol goes here -->
  23.  </Clips>
  24.  <Animations>
  25.   <Item>
  26.    <Hash>indilefton</Hash>
  27.    <Unknown10 value="1" />
  28.    <FrameCount value="50" /> <!-- Method A does not use multiple frames, all frames are the same. We just leave this on 50 -->
  29.    <SequenceFrameLimit value="55" /> <!-- This number is usually a few higher then FrameCount. Leave it on 55 -->
  30.    <Duration value="0.6" /> <!-- Duration does not matter for Method A -->
  31.    <Unknown1C>hash_265FE812</Unknown1C> <!-- Randomize hashes, not sure if required -->
  32.    
  33.    <BoneIds>
  34.    <!-- Every misc_X object has to be defined here twice -->
  35.    <!-- Every misc_X object here must be in order of BoneId number (!!!!) -->
  36.    <!-- First all misc_X objects with Track value="0" and Unk0 value="0", then all of them again with "1" -->
  37.    
  38.    <!-- misc_a till misc_n with track 0 go here -->
  39.     <Item>
  40.      <BoneId value="58628" /> <!-- 58628 = misc_o | Each misc_X part has two entries here -->
  41.      <Track value="0" />
  42.      <Unk0 value="0" />
  43.     </Item>
  44.     <!-- misc_p and above with track 0 go here -->
  45.     <!-- misc_a till misc_n with track 1 go here -->
  46.     <Item>
  47.      <BoneId value="58628" /> <!-- 58628 = misc_o -->
  48.      <Track value="1" />
  49.      <Unk0 value="1" />
  50.     </Item>
  51.     <!-- misc_p and above with track 1 go here -->
  52.    </BoneIds>
  53.    
  54.    <Sequences>
  55.     <Item>
  56.      <Hash>hash_9659E9EB</Hash> <!-- Randomize hashes, not sure if required -->
  57.      <FrameCount value="50" /> <!-- Method A does not use multiple frames, all frames are the same. We just leave this on 50 -->
  58.      <SequenceData>
  59.      <!-- misc_a till misc_n with track 0 go here -->
  60.      <Item> <!-- 58628 misc_o | Track value = 0 -->
  61.        <Channels>
  62.         <Item> <!-- Only one of the 3 below will probably have a number, the other two will have 0 (no movement)-->
  63.          <Type value="StaticFloat" />
  64.          <Value value="0" /> <!-- X AXIS - Value found in step 13, but inverted because now we want it to move outwards (-0.03 >> 0.03) -->
  65.         </Item>
  66.         <Item>
  67.          <Type value="StaticFloat" />
  68.          <Value value="0.1559885" /> <!-- Y AXIS - Value found in step 13, but inverted because now we want it to move outwards (-0.03 >> 0.03)  -->
  69. <!-- If this were the indileftoff section, all axis (X, Y and Z) would have 0 (their origin)-->
  70.         </Item>
  71.         <Item>
  72.          <Type value="StaticFloat" />
  73.          <Value value="0" /> <!-- Z AXIS - Value found in step 13, but inverted because now we want it to move outwards (-0.03 >> 0.03) -->
  74.         </Item>
  75.        </Channels>
  76.       </Item>
  77.     <!-- misc_p and above with track 0 go here -->
  78.     <!-- misc_a till misc_n with track 1 go here -->
  79.       <Item> <!-- 58628 misc_o | Track value = 1 - no need to change this one (except when you want to rotate stuff instead of moving stuff)-->
  80.        <Channels>
  81.         <Item>
  82.          <Type value="StaticQuaternion" />
  83.          <Value x="0" y="0" z="0" w="1" />
  84.         </Item>
  85.        </Channels>
  86.       </Item>
  87.     <!-- misc_p and above with track 1 go here -->
  88.      </SequenceData>
  89.     </Item>
  90.    </Sequences>
  91.    
  92.   </Item>
  93.   <!-- indileftoff goes here -->
  94.   <!-- indirighton goes here -->
  95.   <!-- indirightoff goes here -->
  96.   <!-- indihazon goes here -->
  97.   <!-- indihazoff goes here -->
  98.   <!-- indiltor goes here -->
  99.   <!-- indirtol goes here -->
  100.   </Animations>
  101. </ClipDictionary>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement