ZScript sound volume function

Moderator: GZDoom Developers

Post Reply
User avatar
Nash
 
 
Posts: 17439
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

ZScript sound volume function

Post by Nash »

[wiki]SoundVolume[/wiki] currently only exists in ACS... I need a ZScript version of this please, thanks. :D
User avatar
Gutawer
Posts: 469
Joined: Sat Apr 16, 2016 6:01 am
Preferred Pronouns: She/Her

Re: ZScript sound volume function

Post by Gutawer »

Bump of agreement, this'd be useful for something I've had on the backburner for a while because I wasn't happy with how it sounded because of the lack of this.
User avatar
Major Cooke
Posts: 8175
Joined: Sun Jan 28, 2007 3:55 pm
Preferred Pronouns: He/Him
Location: QZDoom Maintenance Team

Re: ZScript sound volume function

Post by Major Cooke »

Yes. This would allow the removal of some hackery that I use for the static rifle in D4D which is currently an actor that approaches or stays distant based on charge.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: ZScript sound volume function

Post by _mental_ »

Do you want something like this? If so, let's wait for Graf's approval.
User avatar
Nash
 
 
Posts: 17439
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: ZScript sound volume function

Post by Nash »

_mental_ wrote:Do you want something like this? If so, let's wait for Graf's approval.
That's good enough for me, since that other suggestion about the sound function refactoring is something I don't see happening anytime soon, so... =D
User avatar
Nash
 
 
Posts: 17439
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: ZScript sound volume function

Post by Nash »

Graf, what do you think about _mental_'s implementation? Seems straightforward and harmless enough to me. :D I could use this immediately, it's literally the last bit of ACS left in my project.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: ZScript sound volume function

Post by Graf Zahl »

Sure, why not.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: ZScript sound volume function

Post by _mental_ »

Added in ca55d89.
User avatar
Nash
 
 
Posts: 17439
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: ZScript sound volume function

Post by Nash »

Many thanks! ;D
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”