Volume control

How do you get a volume system in coldstone?

------------------
Thanks
GrahamVH

It's easy, once you figure it out.
I made a PoG plug-in that adds volume control — I'll email you the source if you want.

------------------
The only sovereign we can allow to rule us is reason — Wizard's Sixth Rule, Faith of the Fallen.
— Cafall

Please send me the source so I can use it

------------------
Thanks
GrahamVH

Hey, neat. I would also like to see how you did this. Would it be too much of a head ache to post to this forum? Otherwise, I wouldn't mind being emailed one, too.

------------------
Grant me the Creativity to Code cool software, the peace to accept all that is not Open-Source, and the Wisdom to pay all applicable Shareware fees. (Oh! ....And gimmie a huge friggen bag of money...!)

(This message has been edited by chucky3000 (edited 05-08-2002).)

Here's what I did:

  1. Make a new global named something like "gb_volume".

  2. Make a new event. Make a new "Change Global" action and make it set gb_volume to & &MusicVolume;, which is a tag value.

  3. Make an End Event action in the Linked Events list. Make a Conditional which says "If gb_volume is greater than or equal to '100' , End Event; else Do Nothing."

  4. Make another "Change Global" action in the main list. Make the "Change Global" action add 10 to gb_volume. Make a "Set Music Volume" action. In the only field, type "&&gb;_volume". Save your event and name it "Add Volume".

  5. Copy your event, rename it to "Subtract Volume", and change two things in Subtract Volume:

A. Make the conditional say "If gb_volume is less than or equal to '0' , End Event; else Do Nothing."
B. Change the second Change Global action so that it subtracts instead of adding.

  1. Bind these two events to keys, and you're all set. Easy, eh?

------------------
The greatest of harm can result from the best of intentions — Wizard's Second Rule, Stone of Tears.
— Cafall

Thanks!

------------------
Grant me the Creativity to Code cool software, the peace to accept all that is not Open-Source, and the Wisdom to pay all applicable Shareware fees. (Oh! ....And gimmie a huge friggen bag of money...!)

~slurp~

<b>Cafall's Volume Control ™</b> recipe

can now be found at
(url="http://"http://coldroom.150m.com/CGE_Stuff/CGE_Tips.html")http://coldroom.150m...f/CGE_Tips.html(/url)

~mmm... Tastes Great and less scripting

Thanx to Cafall for permission

------------------
Straytoaster@mac.com
See CGE_Tips at:
http://coldroom.150m...f/CGE_Tips.html

No problem, Stray.
Could I have a karma point, Andiyar? 😄

------------------
The greatest of harm can result from the best of intentions — Wizard's Second Rule, Stone of Tears.
— Cafall