adceccf402
Changed so that the picking pass get drawn once in the beginning so that the AO shatde could calculate AO from the depthbuffer generated during pthe pickingpass. In the ImGUI debugg window there is now sliders to change the behavior of the AO shader. Only the minimum ambient lightning is HardCoded in to the frowardPlus fragmentshaders with a define in the begining.
576 lines
22 KiB
XML
576 lines
22 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
|
<Entity name="Player" xmlns:c="components" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../Types/Entity.xsd">
|
|
|
|
<Components>
|
|
<c:AABB>
|
|
<Origin X="0" Y="0.772000015" Z="0"/>
|
|
<Size X="1" Y="1.60000002" Z="1"/>
|
|
</c:AABB>
|
|
<c:AssaultWeapon>
|
|
<RPM>600</RPM>
|
|
</c:AssaultWeapon>
|
|
<c:Collidable/>
|
|
<c:DashAbility/>
|
|
<c:Health/>
|
|
<c:Physics>
|
|
<Velocity X="2.30999646e-23" Y="0" Z="1.05272533e-23"/>
|
|
</c:Physics>
|
|
<c:Player>
|
|
<MovementSpeed>5</MovementSpeed>
|
|
</c:Player>
|
|
<c:Team>
|
|
<Team>
|
|
<Red/>
|
|
</Team>
|
|
</c:Team>
|
|
<c:Transform/>
|
|
</Components>
|
|
|
|
<Children>
|
|
<Entity name="Camera">
|
|
<Components>
|
|
<c:Camera/>
|
|
<c:Transform>
|
|
<Position X="0" Y="1.27700007" Z="0"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children>
|
|
<Entity name="CameraModel">
|
|
<Components>
|
|
<c:Model>
|
|
<Resource>Models/Widgets/Camera.mesh</Resource>
|
|
<Visible>false</Visible>
|
|
</c:Model>
|
|
<c:Transform>
|
|
<Position X="0" Y="0.0331346765" Z="-0.0792061687"/>
|
|
<Scale X="1.30000007" Y="1.50000012" Z="1"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children/>
|
|
</Entity>
|
|
<Entity name="HUD">
|
|
<Components>
|
|
<c:Transform>
|
|
<Position X="0" Y="0" Z="-0.5"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children>
|
|
<Entity name="Crosshair">
|
|
<Components>
|
|
<c:Sprite>
|
|
<DiffuseTexture>Textures/Weapons/Crosshair/SmallThickHoleDot.png</DiffuseTexture>
|
|
<DepthSort>false</DepthSort>
|
|
</c:Sprite>
|
|
<c:Transform>
|
|
<Position X="0" Y="0" Z="0.200000003"/>
|
|
<Scale X="0.0250000004" Y="0.0250000004" Z="0"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children/>
|
|
</Entity>
|
|
<Entity name="HitMarkerSpawner">
|
|
<Components>
|
|
<c:Spawner>
|
|
<EntityFile>Schema/Entities/HitMarker.xml</EntityFile>
|
|
</c:Spawner>
|
|
<c:Transform/>
|
|
</Components>
|
|
<Children/>
|
|
</Entity>
|
|
<Entity name="HealthHUD">
|
|
<Components>
|
|
<c:Transform/>
|
|
</Components>
|
|
<Children>
|
|
<Entity name="HealthText">
|
|
<Components>
|
|
<c:Fill>
|
|
<Percentage>1</Percentage>
|
|
<Color A="1" B="1" G="0" R="0"/>
|
|
</c:Fill>
|
|
<c:HealthHUD/>
|
|
<c:Text>
|
|
<Content>100/100</Content>
|
|
<Resource>Fonts/DroidSans.ttf,64</Resource>
|
|
<Color A="0.505882382" B="3.92156863" G="1.17647064" R="0"/>
|
|
</c:Text>
|
|
<c:Transform>
|
|
<Position X="-0.355000019" Y="-0.203000009" Z="0.0410000011"/>
|
|
<Scale X="0.0350000001" Y="0.0350000001" Z="0.0350000001"/>
|
|
<Orientation X="0" Y="0.410000026" Z="0"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children/>
|
|
</Entity>
|
|
<Entity name="HealthBar">
|
|
<Components>
|
|
<c:Fill>
|
|
<Percentage>1</Percentage>
|
|
<Color A="0.301960796" B="1" G="0" R="0"/>
|
|
</c:Fill>
|
|
<c:Sprite>
|
|
<DiffuseTexture>Textures/HealthHUD3.png</DiffuseTexture>
|
|
<Color A="0.588235319" B="0" G="0" R="0"/>
|
|
</c:Sprite>
|
|
<c:HealthHUD/>
|
|
<c:Transform>
|
|
<Position X="-0.263000011" Y="-0.185000002" Z="0"/>
|
|
<Scale X="0.106000006" Y="0.333000004" Z="0.150000006"/>
|
|
<Orientation X="5.87300014" Y="0" Z="4.71200037"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children/>
|
|
</Entity>
|
|
</Children>
|
|
</Entity>
|
|
<Entity name="CapturePointHUD">
|
|
<Components>
|
|
<c:Transform>
|
|
<Position X="0" Y="0.190541431" Z="0"/>
|
|
<Scale X="0.0599999987" Y="0.0599999987" Z="0.0599999987"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children>
|
|
<Entity name="BackgroundHexagon">
|
|
<Components>
|
|
<c:Sprite>
|
|
<DiffuseTexture>Textures/Core/UnitHexagon.png</DiffuseTexture>
|
|
<Color A="0.300000012" B="1" G="1" R="1"/>
|
|
</c:Sprite>
|
|
<c:Transform>
|
|
<Position X="0" Y="0.919596612" Z="0"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children>
|
|
<Entity name="ProgressionHexagon">
|
|
<Components>
|
|
<c:CapturePointHUD>
|
|
<CapturePointNumber>2</CapturePointNumber>
|
|
</c:CapturePointHUD>
|
|
<c:Fill>
|
|
<Color A="0.699999988" B="1" G="0.200000003" R="0"/>
|
|
</c:Fill>
|
|
<c:Sprite>
|
|
<DiffuseTexture>Textures/Core/UnitHexagon_Rotated.png</DiffuseTexture>
|
|
</c:Sprite>
|
|
<c:Transform>
|
|
<Position X="0" Y="0" Z="0.00999999978"/>
|
|
<Scale X="0.800000012" Y="0.800000012" Z="0.800000012"/>
|
|
<Orientation X="0" Y="0" Z="1.57079637"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children/>
|
|
</Entity>
|
|
</Children>
|
|
</Entity>
|
|
<Entity name="BackgroundHexagon">
|
|
<Components>
|
|
<c:Sprite>
|
|
<DiffuseTexture>Textures/Core/UnitHexagon.png</DiffuseTexture>
|
|
<Color A="0.300000012" B="1" G="1" R="1"/>
|
|
</c:Sprite>
|
|
<c:Transform>
|
|
<Position X="0.811270177" Y="0.440691769" Z="-0.100000001"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children>
|
|
<Entity name="ProgressionHexagon">
|
|
<Components>
|
|
<c:CapturePointHUD>
|
|
<CapturePointNumber>3</CapturePointNumber>
|
|
</c:CapturePointHUD>
|
|
<c:Fill>
|
|
<Percentage>0.80222018197612788</Percentage>
|
|
<Color A="0.699999988" B="1" G="0.200000003" R="0"/>
|
|
</c:Fill>
|
|
<c:Sprite>
|
|
<DiffuseTexture>Textures/Core/UnitHexagon_Rotated.png</DiffuseTexture>
|
|
</c:Sprite>
|
|
<c:Transform>
|
|
<Position X="0" Y="0" Z="0.00999999978"/>
|
|
<Scale X="0.800000012" Y="0.800000012" Z="0.800000012"/>
|
|
<Orientation X="0" Y="0" Z="1.57079637"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children/>
|
|
</Entity>
|
|
</Children>
|
|
</Entity>
|
|
<Entity name="BackgroundHexagon">
|
|
<Components>
|
|
<c:Sprite>
|
|
<DiffuseTexture>Textures/Core/UnitHexagon.png</DiffuseTexture>
|
|
<Color A="0.699999988" B="1" G="0.200000003" R="0"/>
|
|
</c:Sprite>
|
|
<c:Transform>
|
|
<Position X="1.62788737" Y="0.919596612" Z="0"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children>
|
|
<Entity name="ProgressionHexagon">
|
|
<Components>
|
|
<c:CapturePointHUD>
|
|
<CapturePointNumber>4</CapturePointNumber>
|
|
</c:CapturePointHUD>
|
|
<c:Fill>
|
|
<Color A="0.699999988" B="1" G="0.200000003" R="0"/>
|
|
</c:Fill>
|
|
<c:Sprite>
|
|
<DiffuseTexture>Textures/Core/UnitHexagon_Rotated.png</DiffuseTexture>
|
|
</c:Sprite>
|
|
<c:Transform>
|
|
<Position X="0" Y="0" Z="0.00999999978"/>
|
|
<Scale X="0.800000012" Y="0.800000012" Z="0.800000012"/>
|
|
<Orientation X="0" Y="0" Z="1.57079637"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children/>
|
|
</Entity>
|
|
</Children>
|
|
</Entity>
|
|
<Entity name="BackgroundHexagon">
|
|
<Components>
|
|
<c:Sprite>
|
|
<DiffuseTexture>Textures/Core/UnitHexagon.png</DiffuseTexture>
|
|
<Color A="0.300000012" B="1" G="1" R="1"/>
|
|
</c:Sprite>
|
|
<c:Transform>
|
|
<Position X="-0.820431828" Y="0.441878349" Z="-0.100000001"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children>
|
|
<Entity name="ProgressionHexagon">
|
|
<Components>
|
|
<c:CapturePointHUD>
|
|
<CapturePointNumber>1</CapturePointNumber>
|
|
</c:CapturePointHUD>
|
|
<c:Fill>
|
|
<Color A="0.699999988" B="1" G="0.200000003" R="0"/>
|
|
</c:Fill>
|
|
<c:Sprite>
|
|
<DiffuseTexture>Textures/Core/UnitHexagon_Rotated.png</DiffuseTexture>
|
|
</c:Sprite>
|
|
<c:Transform>
|
|
<Position X="0" Y="0" Z="0.00999999978"/>
|
|
<Scale X="0.800000012" Y="0.800000012" Z="0.800000012"/>
|
|
<Orientation X="0" Y="0" Z="1.57079637"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children/>
|
|
</Entity>
|
|
</Children>
|
|
</Entity>
|
|
<Entity name="BackgroundHexagon">
|
|
<Components>
|
|
<c:Sprite>
|
|
<DiffuseTexture>Textures/Core/UnitHexagon.png</DiffuseTexture>
|
|
<Color A="0.699999988" B="0" G="0.200000003" R="1"/>
|
|
</c:Sprite>
|
|
<c:Transform>
|
|
<Position X="-1.58304751" Y="0.919596612" Z="0"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children>
|
|
<Entity name="ProgressionHexagon">
|
|
<Components>
|
|
<c:CapturePointHUD/>
|
|
<c:Fill>
|
|
<Color A="0.699999988" B="1" G="0.200000003" R="0"/>
|
|
</c:Fill>
|
|
<c:Sprite>
|
|
<DiffuseTexture>Textures/Core/UnitHexagon_Rotated.png</DiffuseTexture>
|
|
</c:Sprite>
|
|
<c:Transform>
|
|
<Position X="0" Y="0" Z="0.00999999978"/>
|
|
<Scale X="0.800000012" Y="0.800000012" Z="0.800000012"/>
|
|
<Orientation X="0" Y="0" Z="1.57079637"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children/>
|
|
</Entity>
|
|
</Children>
|
|
</Entity>
|
|
</Children>
|
|
</Entity>
|
|
<Entity name="KillFeed">
|
|
<Components>
|
|
<c:KillFeed/>
|
|
<c:Transform>
|
|
<Position X="0.486000031" Y="0.26000002" Z="0"/>
|
|
<Scale X="0.0149999997" Y="0.0149999997" Z="0.0149999997"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children>
|
|
<Entity name="KillFeed1">
|
|
<Components>
|
|
<c:Text>
|
|
<Resource>Fonts/DroidSans.ttf,64</Resource>
|
|
<Alignment>
|
|
<Right/>
|
|
</Alignment>
|
|
</c:Text>
|
|
<c:Transform/>
|
|
</Components>
|
|
<Children/>
|
|
</Entity>
|
|
<Entity name="KillFeed2">
|
|
<Components>
|
|
<c:Text>
|
|
<Resource>Fonts/DroidSans.ttf,64</Resource>
|
|
<Alignment>
|
|
<Right/>
|
|
</Alignment>
|
|
</c:Text>
|
|
<c:Transform>
|
|
<Position X="0" Y="-1" Z="0"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children/>
|
|
</Entity>
|
|
<Entity name="KillFeed3">
|
|
<Components>
|
|
<c:Text>
|
|
<Resource>Fonts/DroidSans.ttf,64</Resource>
|
|
<Alignment>
|
|
<Right/>
|
|
</Alignment>
|
|
</c:Text>
|
|
<c:Transform>
|
|
<Position X="0" Y="-2" Z="0"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children/>
|
|
</Entity>
|
|
</Children>
|
|
</Entity>
|
|
</Children>
|
|
</Entity>
|
|
<Entity name="Hands">
|
|
<Components>
|
|
<c:Animation>
|
|
<AnimationName1>Idle</AnimationName1>
|
|
<Time1>0.018170670865885086</Time1>
|
|
<Speed1>1</Speed1>
|
|
</c:Animation>
|
|
<c:Model>
|
|
<Resource>Models/Characters/Assault/FirstPerson.mesh</Resource>
|
|
<Color A="1" B="0" G="0" R="1"/>
|
|
</c:Model>
|
|
<c:Transform/>
|
|
</Components>
|
|
<Children>
|
|
<Entity name="WeaponModel">
|
|
<Components>
|
|
<c:BoneAttachment>
|
|
<BoneName>R_Arm_Weapon_Joint</BoneName>
|
|
</c:BoneAttachment>
|
|
<c:Model>
|
|
<Resource>Models/Weapons/Red/AssaultWeaponRed.mesh</Resource>
|
|
</c:Model>
|
|
<c:Transform>
|
|
<Position X="0.120430693" Y="-0.2284486" Z="-0.181454509"/>
|
|
<Orientation X="0.0104046017" Y="-0.00268172775" Z="0.0428442247"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children>
|
|
<Entity name="WeaponMuzzle">
|
|
<Components>
|
|
<c:Spawner>
|
|
<EntityFile>Schema/Entities/RayRed.xml</EntityFile>
|
|
</c:Spawner>
|
|
<c:Transform>
|
|
<Position X="0.00325386273" Y="0.0970000029" Z="-0.843000054"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children/>
|
|
</Entity>
|
|
<Entity name="FirstPersonReloadSpawner">
|
|
<Components>
|
|
<c:Spawner>
|
|
<EntityFile>Schema/Entities/ReloadEffectViewRed.xml</EntityFile>
|
|
</c:Spawner>
|
|
<c:Transform/>
|
|
</Components>
|
|
<Children/>
|
|
</Entity>
|
|
<Entity name="AmmunitionHUD">
|
|
<Components>
|
|
<c:AmmunitionHUD/>
|
|
<c:Transform>
|
|
<Position X="-0.0430000015" Y="0.131501317" Z="-0.0670000017"/>
|
|
<Scale X="0.400000006" Y="0.400000006" Z="0.400000006"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children>
|
|
<Entity name="AmmunitionHUDBackground">
|
|
<Components>
|
|
<c:Sprite>
|
|
<DiffuseTexture>Textures/Core/UnitHexagon.png</DiffuseTexture>
|
|
<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="AmmunitionText">
|
|
<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:Transform>
|
|
<Scale X="0.0599999987" Y="0.0599999987" Z="0.0599999987"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children/>
|
|
</Entity>
|
|
<Entity name="Ammo">
|
|
<Components>
|
|
<c:Text>
|
|
<Content>360</Content>
|
|
<Resource>Fonts/DroidSans.ttf,64</Resource>
|
|
<Color A="1" B="3.92156863" G="1.17647064" R="0"/>
|
|
</c:Text>
|
|
<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>
|
|
</Children>
|
|
</Entity>
|
|
</Children>
|
|
</Entity>
|
|
<Entity name="ThirdPersonCamera">
|
|
<Components>
|
|
<c:Camera/>
|
|
<c:Model>
|
|
<Resource>Models/Widgets/Camera.mesh</Resource>
|
|
<Visible>false</Visible>
|
|
</c:Model>
|
|
<c:Transform>
|
|
<Position X="-0.284000009" Y="1.83800006" Z="1.18900001"/>
|
|
<Orientation X="5.95600033" Y="0" Z="0"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children/>
|
|
</Entity>
|
|
<Entity name="PlayerModel">
|
|
<Components>
|
|
<c:Animation>
|
|
<AnimationName1>Idle</AnimationName1>
|
|
<Time1>0.11675631578762591</Time1>
|
|
<Speed1>1</Speed1>
|
|
</c:Animation>
|
|
<c:AnimationOffset>
|
|
<AnimationName>AimRifle</AnimationName>
|
|
<Time>0.5</Time>
|
|
</c:AnimationOffset>
|
|
<c:HiddenForLocalPlayer/>
|
|
<c:Model>
|
|
<Resource>Models/Characters/Assault/AssaultAnimations.mesh</Resource>
|
|
<Color A="1" B="0" G="0" R="1"/>
|
|
</c:Model>
|
|
<c:Transform/>
|
|
</Components>
|
|
<Children>
|
|
<Entity name="ThirdPersonWeaponModel">
|
|
<Components>
|
|
<c:BoneAttachment>
|
|
<BoneName>R_Arm_Weapon_Joint</BoneName>
|
|
</c:BoneAttachment>
|
|
<c:Model>
|
|
<Resource>Models/Weapons/Red/AssaultWeaponRed.mesh</Resource>
|
|
</c:Model>
|
|
<c:Transform>
|
|
<Position X="0.157842755" Y="1.03184748" Z="-0.216178894"/>
|
|
<Orientation X="-0.0626459867" Y="-0.0335309952" Z="0.120309927"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children>
|
|
<Entity name="ThirdPersonWeaponMuzzle">
|
|
<Components>
|
|
<c:Spawner>
|
|
<EntityFile>Schema/Entities/RayRed.xml</EntityFile>
|
|
</c:Spawner>
|
|
<c:Transform>
|
|
<Position X="0.00644115033" Y="0.096679531" Z="-0.436609417"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children/>
|
|
</Entity>
|
|
<Entity name="ThirdPersonReloadSpawner">
|
|
<Components>
|
|
<c:Spawner>
|
|
<EntityFile>Schema/Entities/ReloadEffectWorldRed.xml</EntityFile>
|
|
</c:Spawner>
|
|
<c:Transform/>
|
|
</Components>
|
|
<Children/>
|
|
</Entity>
|
|
</Children>
|
|
</Entity>
|
|
</Children>
|
|
</Entity>
|
|
<Entity name="AABBStanding">
|
|
<Components>
|
|
<c:Model>
|
|
<Resource>Models/Core/UnitCube.mesh</Resource>
|
|
<Color A="0.427450985" B="1" G="1" R="1"/>
|
|
<Visible>false</Visible>
|
|
</c:Model>
|
|
<c:Transform>
|
|
<Position X="0" Y="0.772000015" Z="0"/>
|
|
<Scale X="1" Y="1.60000002" Z="1"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children/>
|
|
</Entity>
|
|
<Entity name="AABBCrouching">
|
|
<Components>
|
|
<c:Model>
|
|
<Resource>Models/Core/UnitCube.mesh</Resource>
|
|
<Color A="0.745098054" B="1" G="0" R="1"/>
|
|
<Visible>false</Visible>
|
|
</c:Model>
|
|
<c:Transform>
|
|
<Position X="0" Y="0.772000015" Z="0"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children/>
|
|
</Entity>
|
|
<Entity name="PlayerName">
|
|
<Components>
|
|
<c:Text>
|
|
<Content>Insert name here</Content>
|
|
<Resource>Fonts/DroidSans.ttf,100</Resource>
|
|
<Color A="1" B="0" G="1" R="0"/>
|
|
</c:Text>
|
|
<c:Transform>
|
|
<Position X="0.100000001" Y="1.50199997" Z="-0.248000011"/>
|
|
<Scale X="0.100000001" Y="0.113000005" Z="0.5"/>
|
|
<Orientation X="0" Y="3.14199996" Z="0"/>
|
|
</c:Transform>
|
|
</Components>
|
|
<Children/>
|
|
</Entity>
|
|
</Children>
|
|
|
|
</Entity>
|