Merge pull request #11097 from Mailaender/group-sound-traits
Grouped the sound traits together
This commit is contained in:
@@ -302,7 +302,6 @@
|
|||||||
<Compile Include="Traits\PowerTooltip.cs" />
|
<Compile Include="Traits\PowerTooltip.cs" />
|
||||||
<Compile Include="Traits\VeteranProductionIconOverlay.cs" />
|
<Compile Include="Traits\VeteranProductionIconOverlay.cs" />
|
||||||
<Compile Include="Traits\Capturable.cs" />
|
<Compile Include="Traits\Capturable.cs" />
|
||||||
<Compile Include="Traits\CaptureNotification.cs" />
|
|
||||||
<Compile Include="Traits\Captures.cs" />
|
<Compile Include="Traits\Captures.cs" />
|
||||||
<Compile Include="Traits\Cargo.cs" />
|
<Compile Include="Traits\Cargo.cs" />
|
||||||
<Compile Include="Traits\CashTrickler.cs" />
|
<Compile Include="Traits\CashTrickler.cs" />
|
||||||
@@ -473,6 +472,7 @@
|
|||||||
<Compile Include="Traits\Sound\AnnounceOnBuild.cs" />
|
<Compile Include="Traits\Sound\AnnounceOnBuild.cs" />
|
||||||
<Compile Include="Traits\Sound\AnnounceOnKill.cs" />
|
<Compile Include="Traits\Sound\AnnounceOnKill.cs" />
|
||||||
<Compile Include="Traits\Sound\AnnounceOnSeen.cs" />
|
<Compile Include="Traits\Sound\AnnounceOnSeen.cs" />
|
||||||
|
<Compile Include="Traits\Sound\CaptureNotification.cs" />
|
||||||
<Compile Include="Traits\Sound\DeathSounds.cs" />
|
<Compile Include="Traits\Sound\DeathSounds.cs" />
|
||||||
<Compile Include="Traits\Sound\SoundOnDamageTransition.cs" />
|
<Compile Include="Traits\Sound\SoundOnDamageTransition.cs" />
|
||||||
<Compile Include="Traits\SupplyTruck.cs" />
|
<Compile Include="Traits\SupplyTruck.cs" />
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using OpenRA.Mods.Common.Traits.Sound;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.Common.Traits
|
namespace OpenRA.Mods.Common.Traits
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.Common.Traits
|
namespace OpenRA.Mods.Common.Traits.Sound
|
||||||
{
|
{
|
||||||
class ActorLostNotificationInfo : ITraitInfo
|
class ActorLostNotificationInfo : ITraitInfo
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.Common.Traits
|
namespace OpenRA.Mods.Common.Traits.Sound
|
||||||
{
|
{
|
||||||
[Desc("Plays a looping audio file at the actor position. Attach this to the `World` actor to cover the whole map.")]
|
[Desc("Plays a looping audio file at the actor position. Attach this to the `World` actor to cover the whole map.")]
|
||||||
class AmbientSoundInfo : UpgradableTraitInfo
|
class AmbientSoundInfo : UpgradableTraitInfo
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.Common.Traits
|
namespace OpenRA.Mods.Common.Traits.Sound
|
||||||
{
|
{
|
||||||
[Desc("Play the Build voice of this actor when trained.")]
|
[Desc("Play the Build voice of this actor when trained.")]
|
||||||
public class AnnounceOnBuildInfo : ITraitInfo
|
public class AnnounceOnBuildInfo : ITraitInfo
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.Common.Traits
|
namespace OpenRA.Mods.Common.Traits.Sound
|
||||||
{
|
{
|
||||||
[Desc("Play the Kill voice of this actor when eliminating enemies.")]
|
[Desc("Play the Kill voice of this actor when eliminating enemies.")]
|
||||||
public class AnnounceOnKillInfo : ITraitInfo
|
public class AnnounceOnKillInfo : ITraitInfo
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ using System;
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.Common.Traits
|
namespace OpenRA.Mods.Common.Traits.Sound
|
||||||
{
|
{
|
||||||
[Desc("Players will be notified when this actor becomes visible to them.")]
|
[Desc("Players will be notified when this actor becomes visible to them.")]
|
||||||
public class AnnounceOnSeenInfo : ITraitInfo
|
public class AnnounceOnSeenInfo : ITraitInfo
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.Common.Traits
|
namespace OpenRA.Mods.Common.Traits.Sound
|
||||||
{
|
{
|
||||||
public class CaptureNotificationInfo : ITraitInfo
|
public class CaptureNotificationInfo : ITraitInfo
|
||||||
{
|
{
|
||||||
@@ -13,7 +13,7 @@ using System.Collections.Generic;
|
|||||||
using OpenRA.Mods.Common.Warheads;
|
using OpenRA.Mods.Common.Warheads;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.Common.Traits
|
namespace OpenRA.Mods.Common.Traits.Sound
|
||||||
{
|
{
|
||||||
[Desc("Sounds to play when killed.")]
|
[Desc("Sounds to play when killed.")]
|
||||||
public class DeathSoundsInfo : ITraitInfo
|
public class DeathSoundsInfo : ITraitInfo
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.Common.Traits
|
namespace OpenRA.Mods.Common.Traits.Sound
|
||||||
{
|
{
|
||||||
public class SoundOnDamageTransitionInfo : ITraitInfo
|
public class SoundOnDamageTransitionInfo : ITraitInfo
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user