Announcement

Collapse
No announcement yet.

MAKI Cheats

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #91
    drawer.maki

    i just downloaded the drawer script and i realized that the drawer slides when is clicked anywhere. How can i modify it so the drawer slides when i hit a button inside the drawer group. thanx already for the good scripts here.

    Comment


    • #92
      Roberto Cuellar

      firstly, add the button to the xml-
      code:-----------------------------------------------------------

      <button
      id="mybutton"
      action="----leave this field blank----"
      x="?" y="?"
      image="?"
      downImage="?"
      />
      ---------------------------------------------------------------

      then add this to the script
      code:----------------------------------------------------------

      Global Button mybutton;

      //then in the System.onScriptLoaded()

      mybutton = DrawerGrp.findObject("mybutton");

      //finally change
      Drawer.onLeftButtonUp(int x, int y) {

      to

      mybutton.onLeftButtonUp(int x, int y) {

      Comment


      • #93
        it doesn't work for me, it still moves when i click in the drawer layer and nothhing in the button. i did all as you said and it's not workin'.Any ideas

        Comment


        • #94
          Roberto Cuellar
          I take it that u have recompiled it & put it in the correct directory!
          (seems a silly question but ive done it myself )

          Comment


          • #95
            my mistake, i thought the mc.exe compiled de maki in the specified directory.Thanx

            Comment


            • #96
              Eq-on-layer script

              Eq-on-layer Script

              This scripts allows you to create overlay style eq sliders bars like those found in skins like Zygote and D-K9.

              Usage:
              code:
              if (isEQ == 1) {
              x = x - EQOnLayer.getLeft();
              y = y - EQOnLayer.getTop();
              if ((x <= 80) && (x >= 0)) {
              if (y <= 0) y = 0;
              if (y >= 34) y = 34;

              bandnumb = x / 7;
              eqvnumb = y * 255 / 34;

              80 = the width of all the slider bar background layer (from preamp to last slider on other end)

              34 = the hight of an individual slider

              - Create a map with a gradient of black to white from top to bottom
              Attached Files

              Website: Template vbulletin skins by exaltic.com
              Skins/Coding: D-Shock, Nebular, Triton

              Comment


              • #97
                Layer`s fx_functions ...

                I saw the DMove demo and it`s very cool.. How do i use these functions ?

                What is the meaning of PixelR, PixelD, PixelX, PixelY, PixelA ?


                Double fx_onGetPixelR(double r, double d, double x, double y)
                Double fx_onGetPixelD(double r, double d, double x, double y)
                Double fx_onGetPixelX(double r, double d, double x, double y)
                Double fx_onGetPixelY(double r, double d, double x, double y)
                Double fx_onGetPixelA(double r, double d, double x, double y)

                Do u have any example or tutorial ?


                THX

                Comment


                • #98
                  Hey Muniz,
                  I haven't done any tinkering with the layer_fx yet, but there are a few threads you might find helpful.
                  thread1
                  thread2
                  and
                  thread3
                  If you still need more help, let me know and maybe I'll use this an excuse to learn how to use layer_fx.
                  ~FrisbeeMonkey
                  My Skins
                  Skinning References: MAKI Scripts - GUIDs & Button Actions - Skinner's FAQ
                  Skin Help: MAKI Cheats - Component Skinning - Skinning Tutorial

                  Comment


                  • #99
                    hey fm, can you please make a bass/treble knob script using the same animation method as your volume knob script (using PI to rotate a layer), PLEASE

                    Comment


                    • If you're looking for new scripts to make, I'd love a draggable drawer. I'm hoping to make an extensible seek slider so if you want to hop around in a movie file you can open it up nice and wide, but if you're after simple positional information you can shrink it to save space.

                      Comment


                      • Sure guys, I'll add those to my list of scripts to make, all 3 sound handy. Funny it's been weeks since I've posted new scripts, now I have a bunch to put up there. Unfortunately, I'm gonna be out of town for a few days, so it might be awhile until they make it up here, hopefully Mon or Tues at the latest.
                        Until then,
                        ~FrisbeeMonkey
                        My Skins
                        Skinning References: MAKI Scripts - GUIDs & Button Actions - Skinner's FAQ
                        Skin Help: MAKI Cheats - Component Skinning - Skinning Tutorial

                        Comment


                        • Drawer Addition

                          I made some changes to the drawer script I thought people might be interested in.

                          1: Made a drawer only open using a DrawerHandle layer, if it exists

                          2: Made the drawer close straight away if it is clicked while opening

                          3: Made it slightly faster by default

                          I'm thinking of updating it again to allow the use of xml tags to decide the speed and click while opening functionality.

                          There is one bug in it though - using multiple drawers that either do or don't have handles may link both drawers. I'm looking in to why this is, and may make a bugzilla post.
                          Attached Files

                          Comment


                          • Compiled version of above
                            Attached Files

                            Comment


                            • Alrighty, I'm back and have started the scripts. The Bass Knob is done and will be posted immediately following this. The Treble should follow very soon after. I may get started on the draggable drawer tonight, but chances it won't be ready until Mon evening sometime.
                              As always, if anyone else has any script requests, let me know and I'll add it to my queue.
                              ~FrisbeeMonkey
                              My Skins
                              Skinning References: MAKI Scripts - GUIDs & Button Actions - Skinner's FAQ
                              Skin Help: MAKI Cheats - Component Skinning - Skinning Tutorial

                              Comment


                              • Bass Knob Script using Rotation

                                //-----------------------------------------------------------------------------
                                // bassknob.m
                                //
                                // Example of a Bass Knob using rotation
                                // Has Simple and Advanced Modes controlled by a right-click menu
                                //
                                // created by FrisbeeMonkey
                                //-----------------------------------------------------------------------------

                                // USING THIS SCRIPT:
                                //*****************************************************************************
                                // 1. Define the following in your XML:
                                // <layer id="BassKnob" image="player.BassKnob" x="409" y="7" move="0"/>
                                //
                                // Change the position(x,y) of "BassKnob" to the specifics
                                // of your layer. Make sure the image is facing where you want 0 to be.
                                // 2. Define your gradient map with your other elements using:
                                // <bitmap id="player.map.Bassknob" file="player/BassKnobMap.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
                                // "BassKnob" If you don't have a ticker, add one now.
                                // 4. Copy this script (and bassknob.maki) to your scripts folder.
                                // 5. If you don't have Bassknob.maki, compile this script.
                                // 6. Add this line to the group that contains your knob layer
                                // <script id="Bassknob" file="scripts/Bassknob.maki"/>
                                // 7. Refresh your skin(F5) and try it out.
                                //*****************************************************************************
                                //fixed typo, should init knob position now
                                Attached Files
                                Last edited by frisbeemonkey; 4 November 2002, 05:08.
                                My Skins
                                Skinning References: MAKI Scripts - GUIDs & Button Actions - Skinner's FAQ
                                Skin Help: MAKI Cheats - Component Skinning - Skinning Tutorial

                                Comment

                                Working...
                                X