Quite simply, a sound for pushable actors to play when pushed. Ideally, it should "loop" while the actor is continually moved, though it'd be up to the modder to make sure the sound plays well.
Ideally, pushable actors would have a special state for being pushed (if present), modders could handle the playing of sounds themselves, and perform various other functions whenever the actor is moved. But that seems like a lot more of a pain to work with.
[Decorate] PushedSound Property
Moderator: GZDoom Developers
-
-
- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
-
-
- Posts: 26540
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: [Decorate] PushedSound Property
For something like the scraping sound of a barrel being pushed across the floor presumably?
-
-
- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
Re: [Decorate] PushedSound Property
Exactly.
Although that raises the question: Should it only play on floors? I don't think that would be bad, as I can't really think of a reason for it to play sounds in air. (And it would be odd if it scraped while, say, being pushed through water.)
Although that raises the question: Should it only play on floors? I don't think that would be bad, as I can't really think of a reason for it to play sounds in air. (And it would be odd if it scraped while, say, being pushed through water.)
-
-
- Posts: 26540
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: [Decorate] PushedSound Property
the cases you identify certainly would be odd for a barrel (etc) to scrape but I'm sure, this community being as inventive as it is, someone sooner or later would want to do something where making a sound in those situations would be desirable. Perhaps some sort of additional customisability should be considered?
-
-
- Posts: 10773
- Joined: Sun Jul 20, 2003 12:15 pm
Re: [Decorate] PushedSound Property
Some more customization might be nice. I can see situations arising where people might not want the sound to loop, either (e.g. having an initial 'bump' sound followed by silent movement).
-
-
- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
Re: [Decorate] PushedSound Property
Okay okay, I get it.Enjay wrote:[...] this community being as inventive as it is, someone sooner or later would want to do something where making a sound in those situations would be desirable. Perhaps some sort of additional customisability should be considered?
-
- Lead GZDoom+Raze Developer
- Posts: 49146
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [Decorate] PushedSound Property
Having had a look at the code responsible, it is no problem to start a sound when a push occurs, but that's really as far as things can go here. The engine doesn't know any concept of 'continuous push'. So the question is, is it still useful like that?