Idle Weapon Sounds

Ask about editing graphics, sounds, models, music, etc here!
Shaders (GLSL) and SNDINFO questions also go here!

Moderators: GZDoom Developers, Raze Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Idle Weapon Sounds

Postby goldenmob72 » Fri Oct 22, 2021 5:10 pm

Is there a way to add sounds to a Idle Weapon Pickup ?

No, I'm not talking about When Pickup sounds.
User avatar
goldenmob72
GOLDƎN MOBSTƎЯ72
 
Joined: 14 Sep 2017
Discord: GOLDƎN MOBSTƎЯ#2196

Re: Idle Weapon Sounds

Postby Blue Shadow » Fri Oct 22, 2021 11:52 pm

If you mean like the chainsaw, then there is Weapon.ReadySound property. If what you mean, however, a sound the weapon's pickup makes, then you can do this:

Code: Select allExpand view
Spawn:
    CSAW A -1 NoDelay A_StartSound("weapons/sawidle", CHAN_BODY, CHANF_LOOPING);
    Stop;
User avatar
Blue Shadow
 
Joined: 14 Nov 2010
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: Idle Weapon Sounds

Postby goldenmob72 » Sat Oct 23, 2021 3:55 pm

Ty
User avatar
goldenmob72
GOLDƎN MOBSTƎЯ72
 
Joined: 14 Sep 2017
Discord: GOLDƎN MOBSTƎЯ#2196


Return to Assets (and other stuff)

Who is online

Users browsing this forum: No registered users and 1 guest