EnergyCannonComponent.AutoComponent.xml 1.7 KB

12345678910111213141516171819202122
  1. <?xml version="1.0"?>
  2. <Component
  3. Name="EnergyCannonComponent"
  4. Namespace="MultiplayerSample"
  5. OverrideComponent="true"
  6. OverrideController="true"
  7. OverrideInclude="Source/Components/Multiplayer/EnergyCannonComponent.h"
  8. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  9. <Include File="Source/Effects/GameEffect.h" />
  10. <ComponentRelation Constraint="Required" HasController="true" Name="NetworkTransformComponent" Namespace="Multiplayer" Include="Multiplayer/Components/NetworkTransformComponent.h" />
  11. <ArchetypeProperty Type="AZ::TimeMs" Name="RateOfFireMs" Init="AZ::TimeMs{ 0 }" Container="Object" ExposeToEditor="true" Description="Specifies the rate in milliseconds at which to fire projectiles." />
  12. <ArchetypeProperty Type="AZ::TimeMs" Name="BuildUpTimeMs" Init="AZ::TimeMs{ 0 }" Container="Object" ExposeToEditor="true" Description="Specifies the number of milliseconds to start the build-up effect before shooting the next energy ball." />
  13. <ArchetypeProperty Type="GameEffect" Name="FiringEffect" Init="" Container="Object" ExposeToEditor="true" Description="Specifies the effect to play upon firing." />
  14. <ArchetypeProperty Type="AZ::Vector3" Name="FireVector" Init="AZ::Vector3::CreateZero()" Container="Object" ExposeToEditor="true" Description="The direction of fire for projectiles." />
  15. <ArchetypeProperty Type="Multiplayer::NetworkSpawnable" Name="ProjectileSpawnable" ExposeToEditor="true" Description="The projectile asset to spawn." />
  16. <RemoteProcedure Name="RPC_TriggerBuildup" InvokeFrom="Authority" HandleOn="Client" IsPublic="true" IsReliable="true" GenerateEventBindings="true" Description="Triggered on clients to start the buildup event." />
  17. </Component>