Commit graph

7 commits

Author SHA1 Message Date
Stanislav
b22d38f9c0
Yaml audio params are often ignored (#36259)
* Replace WithVolume() with AddVolume(),
Remove AudioHelpers.WithVariation(),
Use specifier options for audio params

* Undo switching to AudioParams.AddVariation()

* Replace AudioHelpers.WithVariation with AudioParams.AddVariation()

* Test AudioParams.AddVariation() and change input parameters to sound like previous AudioHelpers.WithVariation()

* Fix build error

* Fix build error v2

* Remove DoAfter

* fixes

---------

Co-authored-by: AJCM-git <ajcm_mail@disroot.org>
2026-07-25 16:16:23 +00:00
KeTuFaisPiKiNut
63ce4c9be1
Travel Camera (#43322)
* Travel camera

* Adds TravelCamera as rare maintenance loot

* Prevent Travel Camera from converting people to Revolution

* Removed AoE for travel_camera

* Adds Travel Camera to Uplink

* Camera sprites

* camera working on modern code

* camera melee only

* every error fixed + camera sfx

* PoC photography

* textures

* charges, description order, fixed typo

* support for colors

* typos plus different photograph colors

* more typos

* final typos?

* oh god i dont know how to write so many typos

* fix lint warnings

* Update Resources/Audio/Misc/attributions.yml

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* Update Resources/Textures/Objects/Misc/photograph.rsi/meta.json

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* Update Content.Server/Photography/PhotographComponent.cs

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* Update Content.Server/Photography/PhotographComponent.cs

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* Update Content.Server/Photography/PhotographComponent.cs

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* follow convention: bases shouldn't have any sprites

* uses identity.entity system

* Picture taker component comments.

* Update Resources/Prototypes/Entities/Objects/Devices/travel_camera.yml

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* Update Resources/Prototypes/Entities/Objects/Devices/travel_camera.yml

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>

* spaces inserted

* 4-spaced indentation

* 4-space indent

* uses SharedChargesSystem

* canconvert component instead of convertitem tag

* removed mention of tags from head rev component

* component no longer has a constructor

* use tables + do the things on shared

* fix abstract-ness warning

* formatting + comments

* cleanup and improvements

* oops

* fix warnings

* 1 tc / disruption + recursion (also i'm pretty sure it can spawn in maints now)

* proper recursion checking (i think!)

* Added a dot for coherence.

* minor cleanup

* brought back the melee

* fixed description

* More accurate, albeit less funny camera description.

* deduplicate code with flash system

---------

Co-authored-by: SlamBamActionman <slambamactionman@gmail.com>
Co-authored-by: nomdéraisonnablementlong <you@example.com>
Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
2026-04-07 20:18:04 +00:00
slarticodefast
b83d00b792
Predict Flashes (#37640)
Co-authored-by: ScarKy0 <scarky0@onet.eu>
2025-06-23 13:32:56 +02:00
slarticodefast
1283989346
Flash overlay rework and bugfixes (#27369) 2024-06-02 00:17:53 -04:00
Nemanja
3af744e4a9
Flash buff (#25730)
* flash buff

* oops!

* bool

* 3 -> 1.5 seconds

* okay fix

* sluth
2024-04-18 16:30:01 +10:00
Ed
5659edd207
Chances of triggering effects (#27056)
* electrocution

* slippery

* flashibg

* Update SlipperyComponent.cs

* Update SlipperySystem.cs
2024-04-18 10:08:42 +10:00
Aexxie
467e983ba9
Move grenade components to shared (#22691)
* Moves FlashComponent.cs, FlashOnTriggerComponent.cs, and SmokeOnTriggerComponent.cs to Shared

* Moves ExplodeOnTriggerComponent.cs, OnUseTimerTriggerComponent.cs, ActiveTimerTriggerComponent.cs, and SmokeOnTriggerComponent.cs to Shared

* Delete .run/Content Server+Client.run.xml

HOW DID THIS GET IN HERE ITS NOT AHHHH

* Update Content.Client/Explosion/SmokeOnTriggerSystem.cs

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Update Content.Shared/Explosion/Components/ActiveTimerTriggerComponent.cs

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Update Content.Shared/Explosion/Components/OnUseTimerTriggerComponent.cs

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Update Content.Shared/Explosion/Components/OnUseTimerTriggerComponent.cs

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Update Content.Shared/Explosion/EntitySystems/SharedTriggerSystem.cs

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Update Content.Shared/Explosion/EntitySystems/SharedSmokeOnTriggerSystem.cs

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>

* Update ExplodeOnTriggerComponent.cs

* Revert "Delete .run/Content Server+Client.run.xml"

This reverts commit 29ee05f57de60eab5c92158d8eba5e3acba483c2.

* Fix?

* cannot figure out how to get this to go back please forgive

* Fixes a network issue

* leftovers

* Fixes

---------

Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2024-02-02 00:29:01 +11:00
Renamed from Content.Server/Flash/Components/FlashComponent.cs (Browse further)