How Do You Turn Off Sound Via Script

Zplayer

Active Member
Hi, I'm new to scripting so I'm finding this small script a great learning opportunity.

Problem: Playing 6 sessions on a single computer and sound is ON for all 6, sounds awful. I spend time turn off sound one by one for each char except my Tank. No biggey, but I do this same task over and over.

Proposed Solution: Create simple script that turns off sound for each character in the EQ2 UI.

Researched so far: I believe we can use the EQ2UIPage[XXXX,XXX].Child[XXXX].SetXXX command for each char. Just need to find the appropriate UI XML in the EQ2 UI Subdirectory for each char. Update the slider value, somehow.

Just confirming, am I headed in the right direction?

Thanks again for helping a scripting newbie.
 

appleuser

Well-Known Member
Haven't played for a while but using Ogrebot I had eq2ex MASTER_VOLUME 0 on all sessions under load apart from tank.
 
Last edited:

Amadeus

The Maestro
Staff member
As Appleuser indicated, in the script, simply do something like eq2execute MASTER_VOLUME 0 I'm not certain, but I would guess the possible values would be 0-100.
 

Zplayer

Active Member
Works like a charm. After learning how to implement volume, I was able to include custom window sizes and other things to make initial startup automated. Thank you!
 
Top Bottom