mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
* pcmasterrace * RMC screech port + i guess it works more * i made a magic commit that mostly duplicates the flash system but different TM * it just works nya * final touchups * Revert "pcmasterrace" This reverts commit b75e9265610924c3a1a30761e5e050cb6ee63bc8. * there, support for more :godo: * Update Content.Shared/Screech/SharedScreechSystem.cs Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> * all feedback except the big one * i lied * mfw code * fix * le shader temp * vfx * Revert "le shader temp" This reverts commit 0180a8c1a6ffe82f0ae8d151c07d0794c3eb4984. * Update Content.Client/Effects/ScreechShockWaveSystem.cs Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com> * Update Content.Client/Overlays/ScreechShockWaveOverlay.cs Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com> * Update Content.Client/Overlays/ScreechShockWaveOverlay.cs Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com> * Update Content.Client/Overlays/ScreechShockWaveOverlay.cs Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com> * Update Content.Shared/Screech/ScreechShockWaveComponent.cs Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com> * Update Content.Client/Effects/ScreechShockWaveSystem.cs Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com> * Update Content.Client/Overlays/ScreechShockWaveOverlay.cs Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com> * Update Content.Client/Overlays/ScreechShockWaveOverlay.cs Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com> * rwrw * Update Content.Client/Overlays/ScreechShockWaveOverlay.cs Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com> * Update Content.Client/Overlays/ScreechShockWaveOverlay.cs Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com> * Update Content.Client/Overlays/ScreechShockWaveOverlay.cs Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com> * Update Content.Shared/Screech/ScreechSystem.cs Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com> * Update Content.Client/Overlays/ScreechShockWaveOverlay.cs Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com> * Update Content.Client/Overlays/ScreechShockWaveOverlay.cs Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com> * Update Content.Client/Overlays/ScreechShockWaveOverlay.cs Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com> * :godo: * Update Content.Client/Overlays/ScreechShockWaveOverlay.cs Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com> * Update Content.Client/Effects/ScreechShockWaveSystem.cs Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com> * Effects * sexy * lang * scub * nya * e * fixed shader * entity effects * FNAF IS THIS WHERE U WANNA BE??????? * Update Resources/Locale/en-US/screech/screech.ftl Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com> * Update Content.Shared/Screech/NoiseProtection.cs Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com> * weeeee * scar whyyyyy * Update Content.Shared/Screech/ScreechSystem.cs Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com> * Update Content.Shared/Screech/ScreechSystem.cs Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com> * Update Content.Shared/Screech/ScreechSystem.cs Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com> * e * they've got allen wrenches gerbil feeders toilet seat electric heaters * cleanup * datafield ig * Revert "datafield ig" This reverts commit dd0d9421452f156b0b1ebc527ac9b142d657ae50. * comments --------- Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Co-authored-by: nomdéraisonnablementlong <you@example.com> Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> Co-authored-by: Pok <113675512+Pok27@users.noreply.github.com> Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com> Co-authored-by: ScarKy0 <scarky0@onet.eu>
38 lines
1.2 KiB
C#
38 lines
1.2 KiB
C#
using Content.Shared.EntityEffects;
|
|
using Robust.Shared.Audio;
|
|
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Shared.Trigger.Components.Effects;
|
|
|
|
/// <summary>
|
|
/// Will cause a screech to happen at a location, similiar to <see cref="ScreechActionComponent"/>
|
|
/// If TargetUser is true then their location will be used.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
public sealed partial class ScreechOnTriggerComponent : BaseXOnTriggerComponent
|
|
{
|
|
/// <summary>
|
|
/// The range of the screech's effects.
|
|
/// </summary>
|
|
[DataField]
|
|
public float Range = 6f;
|
|
|
|
/// <summary>
|
|
/// Entity that will be spawned attached to the the screecher to display effects.
|
|
/// </summary>
|
|
[DataField]
|
|
public EntProtoId? Vfx = "EffectScreech";
|
|
|
|
/// <summary>
|
|
/// Sound that will be played by the screech.
|
|
/// </summary>
|
|
[DataField]
|
|
public SoundSpecifier? ScreechSound = new SoundPathSpecifier("/Audio/Effects/Screech/changeling_screech_strong.ogg", AudioParams.Default.WithVolume(1f));
|
|
|
|
/// <summary>
|
|
/// Entity effects applied to entities that heard the screech.
|
|
/// </summary>
|
|
[DataField]
|
|
public List<EntityEffect> Effects = [];
|
|
}
|