Thread: MAKI Cheats
View Single Post
Old 9th September 2002, 20:16   #19
frisbeemonkey
Major Dude
 
frisbeemonkey's Avatar
 
Join Date: Jun 2002
Posts: 851
Animated Volume

// USING THIS SCRIPT:
//*****************************************************************************
// 1. Define the following in your XML:
// <AnimatedLayer
// id="VolumeAnim"
// x="121" y="231"
// w="25" h="25"
// image="player.anim.volume"
// move="0"
// autoplay="0"
// autoreplay="0"
// />
//
// <slider id="HiddenVolume"
// ACTION="Volume" x="0" y="0" w="40" h="2"
// thumb="player.anim.volume"
// alpha="0"
// />
// Change the position(x,y) and size(w,h) of "VolumeAnim" to the specifics
// of your layer. (w and h refer to just one frame, not the whole image)
// "HiddenVolume" is a dummy layer to get volume updates, no
// changes are needed.
// 2. Define your gradient map with your other elements using:
// <bitmap id="player.map.vol" file="player/player-map-volume.png"/>
// If you need help creating a map file, check:
// http://www.stefanweb.com/wa3/tutorials.html#UsingMaps
// 3. Make sure your ticker is called "SongTicker" and is in the same group as
// "VolumeAnim" and "HiddenVolume" If you don't have a ticker, add one now.
// 4. Copy this script (and volume.maki) to your scripts folder.
// 5. If you don't have volume.maki, compile this script.
// 6. Add this line to the group that contains your animated layer
// <script id="animvolume" file="scripts/volume.maki"/>
// 7. Refresh your skin(F5) and try it out.
//*****************************************************************************
Attached Files
File Type: zip volume.zip (3.3 KB, 1613 views)
frisbeemonkey is offline   Reply With Quote