Sound when successfully copy/pasting an entity

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Post Reply
Kirk
Fast Inserter
Fast Inserter
Posts: 108
Joined: Tue Oct 07, 2014 7:53 pm
Contact:

Sound when successfully copy/pasting an entity

Post by Kirk »

When you shift click entities to copy over attributes from another entity, I always feel like I should double check if I didn't misclick or whatever, since that happens sometimes (especially with lots of small entities). Some kind of feedback could be nice here, like a sound :)

User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2528
Joined: Fri Nov 06, 2015 7:41 pm

Re: Sound when successfully copy/pasting an entity

Post by Deadlock989 »

Could be added by a mod, the way some mods have added a "rotate building" sound. Some tricky choices to make about when exactly a sound should be played - whenever you paste? Or only if you paste new settings, which would be my preference - but would be difficult to script for any arbitrary entity, e.g. modded entities that have their own custom on_entity_settings_pasted logic.
Image

Sopel
Long Handed Inserter
Long Handed Inserter
Posts: 61
Joined: Mon Sep 24, 2018 8:30 pm
Contact:

Re: Sound when successfully copy/pasting an entity

Post by Sopel »

I think it would make more sense for undo, since with copy/paste you always see the result.

User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2528
Joined: Fri Nov 06, 2015 7:41 pm

Re: Sound when successfully copy/pasting an entity

Post by Deadlock989 »

Sopel wrote:
Wed Mar 18, 2020 12:33 am
I think it would make more sense for undo, since with copy/paste you always see the result.
I don't think Kirk meant C&Ping for construction - they meant copy-pasting settings from entity to entity. Recipes from assembler to assembler, combinator settings etc.
Image

User avatar
5thHorseman
Smart Inserter
Smart Inserter
Posts: 1193
Joined: Fri Jun 10, 2016 11:21 pm
Contact:

Re: Sound when successfully copy/pasting an entity

Post by 5thHorseman »

The only time I feel these doubts is when I click-drag down inserters or something like that and I doubt a little noise would help in that case.

Instead of thinking, "Did I miss one by accident? There's no sound to tell me" I'll be thinking "did I hear 6 dings or only 5? In all the confusion I lost count. Do I feel lucky?"

User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2528
Joined: Fri Nov 06, 2015 7:41 pm

Re: Sound when successfully copy/pasting an entity

Post by Deadlock989 »

I had a go at modding this and as 5thHorseman suggests, it quickly becomes noise.

Also, while it's trivial to add a ping or a boing or a whoosh to settings being pasted, it's remarkably difficult to determine whether any settings actually changed because of the paste, because of all the different kinds of entity that can have settings copied and pasted. You could laboriously customise the check for every kind of entity there is, but I fall asleep just thinking about it. Then you have things like SimpleEntityWithOwner which is typically used as a dummy entity by modders and could be functioning as almost anything, with any kind of settings simulated by any mod, that your copy-paste-ping mod wouldn't have a clue about.

The best you could probably do is not repeat a noise if a player copies twice in a row to the same entity. But that wouldn't stop the "xylophone of doom" effect you get from running down a line of inserters for example.
Image

Squelch
Filter Inserter
Filter Inserter
Posts: 346
Joined: Sat Apr 23, 2016 5:31 pm
Contact:

Re: Sound when successfully copy/pasting an entity

Post by Squelch »

As the author of SoundOnRotate I can see both sides of this argument. I specifically added a sound to the rotate action because the action can very often be performed unintentionally, so the unobtrusive sound is there to alert, but not annoy or add further noise.

Pasting attributes is one area that could use some kind of feedback I agree. I'm not convinced a sound is the best solution however. There's a balance to be struck between confirmation and additional noise as @5thhorseman says. Perhaps floating text, or a brief colour change to the affected entities would be enough? That said, I do agree with @Deadlock989's observations on how to filter which and how many entities the feedback affects. I can see it becoming quite unwieldy very quickly.

As a brief aside, and with reference to the mentioned undo action, attribute pasting or changing is not added to the undo stack which can be rather annoying sometimes. Perhaps an action log would be of most help all told? This might consist of a history of the last x number of user actions performed, and could serve as confirmation and or reminder of what has been done. Especially when returning to a game after a couple of days. It would certainly aide my busy mind getting up to speed with what was happening the last time I played.

User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2528
Joined: Fri Nov 06, 2015 7:41 pm

Re: Sound when successfully copy/pasting an entity

Post by Deadlock989 »

Flying text works out alright actually

Image

YMMV
Image

Squelch
Filter Inserter
Filter Inserter
Posts: 346
Joined: Sat Apr 23, 2016 5:31 pm
Contact:

Re: Sound when successfully copy/pasting an entity

Post by Squelch »

Deadlock989 wrote:
Thu Mar 19, 2020 10:32 pm
Flying text works out alright actually

Image

YMMV
Heh, that is pretty neat, I like the use of a symbol a lot :)

Squelch
Filter Inserter
Filter Inserter
Posts: 346
Joined: Sat Apr 23, 2016 5:31 pm
Contact:

Re: Sound when successfully copy/pasting an entity

Post by Squelch »

We now have vanilla sounds for cut and paste so this suggestion has been satisfied. I'm a little disappointed that entity rotation has been overlooked however.

User avatar
Deadlock989
Smart Inserter
Smart Inserter
Posts: 2528
Joined: Fri Nov 06, 2015 7:41 pm

Re: Sound when successfully copy/pasting an entity

Post by Deadlock989 »

Squelch wrote:
Wed Nov 25, 2020 8:57 pm
We now have vanilla sounds for cut and paste so this suggestion has been satisfied. I'm a little disappointed that entity rotation has been overlooked however.
Vanilla does have them now. The sound depends on the entity being rotated. I took it out of my mod because vanilla provides it. See core/sounds/rotate-{small/medium/big}.ogg.
Image

Squelch
Filter Inserter
Filter Inserter
Posts: 346
Joined: Sat Apr 23, 2016 5:31 pm
Contact:

Re: Sound when successfully copy/pasting an entity

Post by Squelch »

Deadlock989 wrote:
Wed Nov 25, 2020 8:59 pm
Squelch wrote:
Wed Nov 25, 2020 8:57 pm
We now have vanilla sounds for cut and paste so this suggestion has been satisfied. I'm a little disappointed that entity rotation has been overlooked however.
Vanilla does have them now. The sound depends on the entity being rotated. I took it out of my mod because vanilla provides it. See core/sounds/rotate-{small/medium/big}.ogg.
Good call. I thought I did read something, but lost it again while on a mobile device and could only find the rotate sound related to turret rotation again in the api docs. Possible I crossed over with an edit at the time.

Thanks for the heads up.

Post Reply

Return to “Ideas and Suggestions”