<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<Entity name="Hands" xmlns:c="components" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../Types/Entity.xsd">

  <Components>
    <c:BlendAdditive>
      <Adder>MovementBlend</Adder>
      <Receiver>FinalBlend</Receiver>
    </c:BlendAdditive>
    <c:Model>
      <Resource>Models/Characters/Assault/FirstPersonAssaultBlue.mesh</Resource>
    </c:Model>
    <c:Transform/>
  </Components>

  <Children>
    <Entity name="FinalBlend">
      <Components>
        <c:Blend>
          <Pose1>BlendTreeAssaultWeapon</Pose1>
          <Pose2>BlendTreeSecondaryWeapon</Pose2>
          <Weight>0</Weight>
          <SubTreeRoot>true</SubTreeRoot>
        </c:Blend>
        <c:Transform/>
      </Components>
      <Children>
        <Entity name="BlendTreeAssaultWeapon">
          <Components>
            <c:Blend>
              <Pose1>Fire</Pose1>
              <Pose2>Reload</Pose2>
              <Weight>0</Weight>
              <SubTreeRoot>true</SubTreeRoot>
            </c:Blend>
            <c:Transform/>
          </Components>
          <Children>
            <Entity name="Reload">
              <Components>
                <c:Animation>
                  <AnimationName>ReloadSwitchF</AnimationName>
                  <Speed>0.5</Speed>
                  <Loop>false</Loop>
                </c:Animation>
                <c:Transform/>
              </Components>
              <Children/>
            </Entity>
            <Entity name="Fire">
              <Components>
                <c:Animation>
                  <AnimationName>ShootRifleF</AnimationName>
                  <Speed>1</Speed>
                  <Loop>false</Loop>
                </c:Animation>
                <c:Transform/>
              </Components>
              <Children/>
            </Entity>
          </Children>
        </Entity>
        <Entity name="BlendTreeSecondaryWeapon">
          <Components>
            <c:Transform/>
          </Components>
          <Children/>
        </Entity>
      </Children>
    </Entity>
    <Entity name="MovementBlend">
      <Components>
        <c:Blend>
          <Pose1>Idle</Pose1>
          <Pose2>Run</Pose2>
          <Weight>0</Weight>
          <SubTreeRoot>true</SubTreeRoot>
        </c:Blend>
        <c:Transform/>
      </Components>
      <Children>
        <Entity name="Run">
          <Components>
            <c:Animation>
              <AnimationName>RunF</AnimationName>
              <Speed>1</Speed>
              <Play>true</Play>
              <Additive>true</Additive>
            </c:Animation>
            <c:Transform/>
          </Components>
          <Children/>
        </Entity>
        <Entity name="Idle">
          <Components>
            <c:Animation>
              <AnimationName>IdleF</AnimationName>
              <Speed>1</Speed>
              <Play>true</Play>
              <Additive>true</Additive>
            </c:Animation>
            <c:Transform/>
          </Components>
          <Children/>
        </Entity>
      </Children>
    </Entity>
    <Entity name="ViewModel">
      <Components>
        <c:BoneAttachment>
          <BoneName>R_Arm_Weapon_Joint</BoneName>
        </c:BoneAttachment>
        <c:Model>
          <Resource>Models/Weapons/Blue/AssaultWeaponBlue.mesh</Resource>
        </c:Model>
        <c:Transform>
          <Position X="0.120748274" Y="-0.228437141" Z="-0.181454718"/>
          <Orientation X="0.0104048206" Y="-0.00268219248" Z="0.0428443849"/>
        </c:Transform>
      </Components>
      <Children>
        <Entity name="WeaponMuzzle">
          <Components>
            <c:Spawner>
              <EntityFile>Schema/Entities/RayBlue.xml</EntityFile>
            </c:Spawner>
            <c:Transform>
              <Position X="0.00800000038" Y="0.0920000076" Z="-0.416000009"/>
              <Orientation X="6.2760005" Y="0.00500000035" Z="0.00600000005"/>
            </c:Transform>
          </Components>
          <Children/>
        </Entity>
        <Entity name="ReloadSpawner">
          <Components>
            <c:Spawner>
              <EntityFile>Schema/Entities/WeaponAssaultReloadEffectView.xml</EntityFile>
            </c:Spawner>
            <c:Transform/>
          </Components>
          <Children/>
        </Entity>
      </Children>
    </Entity>
    <Entity name="AmmoHUD">
      <Components>
        <c:BoneAttachment>
          <BoneName>R_Ammo_Joint</BoneName>
          <ScaleOffset X="0.5" Y="0.5" Z="1"/>
          <InheritScale>true</InheritScale>
        </c:BoneAttachment>
        <c:Transform>
          <Position X="0.0540266186" Y="-0.0954354703" Z="-0.255526125"/>
          <Orientation X="0.000684258412" Y="0.077423811" Z="0.00118651299"/>
          <Scale X="0.50000006" Y="0.500000477" Z="1.00000083"/>
        </c:Transform>
      </Components>
      <Children>
        <Entity name="Background">
          <Components>
            <c:Sprite>
              <DiffuseTexture>Textures/Core/UnitHexagon.png</DiffuseTexture>
              <GlowMap></GlowMap>
              <Color A="0.588235319" B="0" G="0" R="0"/>
            </c:Sprite>
            <c:Transform>
              <Position X="0" Y="0" Z="-0.00200000009"/>
              <Scale X="0.119999997" Y="0.119999997" Z="0.119999997"/>
            </c:Transform>
          </Components>
          <Children/>
        </Entity>
        <Entity name="Text">
          <Components>
            <c:Transform/>
          </Components>
          <Children>
            <Entity name="MagazineAmmo">
              <Components>
                <c:Text>
                  <Content>32</Content>
                  <Resource>Fonts/DroidSans.ttf,64</Resource>
                  <Color A="1" B="3.92156863" G="1.17647064" R="0"/>
                </c:Text>
                <c:TextFieldReader>
                  <ParentEntityName>PlayerAssault</ParentEntityName>
                  <ComponentType>AssaultWeapon</ComponentType>
                  <Field>MagazineAmmo</Field>
                </c:TextFieldReader>
                <c:Transform>
                  <Scale X="0.0599999987" Y="0.0599999987" Z="0.0599999987"/>
                </c:Transform>
              </Components>
              <Children/>
            </Entity>
            <Entity name="Ammo">
              <Components>
                <c:Text>
                  <Content>320</Content>
                  <Resource>Fonts/DroidSans.ttf,64</Resource>
                  <Color A="1" B="3.92156863" G="1.17647064" R="0"/>
                </c:Text>
                <c:TextFieldReader>
                  <ParentEntityName>PlayerAssault</ParentEntityName>
                  <ComponentType>AssaultWeapon</ComponentType>
                  <Field>Ammo</Field>
                </c:TextFieldReader>
                <c:Transform>
                  <Position X="5.2833886e-05" Y="-0.0407950208" Z="0"/>
                  <Scale X="0.0399999991" Y="0.0399999991" Z="0.0399999991"/>
                </c:Transform>
              </Components>
              <Children/>
            </Entity>
          </Children>
        </Entity>
      </Children>
    </Entity>
  </Children>

</Entity>
