12345678910111213141516171819202122 |
- <?xml version="1.0"?>
- <Component
- Name="EnergyCannonComponent"
- Namespace="MultiplayerSample"
- OverrideComponent="true"
- OverrideController="true"
- OverrideInclude="Source/Components/Multiplayer/EnergyCannonComponent.h"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <Include File="Source/Effects/GameEffect.h" />
- <ComponentRelation Constraint="Required" HasController="true" Name="NetworkTransformComponent" Namespace="Multiplayer" Include="Multiplayer/Components/NetworkTransformComponent.h" />
- <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." />
- <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." />
- <ArchetypeProperty Type="GameEffect" Name="FiringEffect" Init="" Container="Object" ExposeToEditor="true" Description="Specifies the effect to play upon firing." />
- <ArchetypeProperty Type="AZ::Vector3" Name="FireVector" Init="AZ::Vector3::CreateZero()" Container="Object" ExposeToEditor="true" Description="The direction of fire for projectiles." />
- <ArchetypeProperty Type="Multiplayer::NetworkSpawnable" Name="ProjectileSpawnable" ExposeToEditor="true" Description="The projectile asset to spawn." />
- <RemoteProcedure Name="RPC_TriggerBuildup" InvokeFrom="Authority" HandleOn="Client" IsPublic="true" IsReliable="true" GenerateEventBindings="true" Description="Triggered on clients to start the buildup event." />
- </Component>
|