How to change DifficultyColor()?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Goldenwind
    FFR Simfile Author
    FFR Simfile Author
    • Jan 2006
    • 762

    #1

    How to change DifficultyColor()?

    DifficultyColor(...) takes an integer as a parameter.
    There also seem to be set constants, where DIFFICULTY_BEGINNER is 0, DIFFICULTY_EASY is 1, and so on... up to 5, which is EDIT, and everything beyond is just white.

    Is there any way to modify these colours? I don't see anywhere that sets them in metrics.ini

    Thanks
    They say there's a sun in the sky...
  • funmonkey54
    The Chill Keeper
    • Oct 2007
    • 4127

    #2
    Re: How to change DifficultyColor()?

    This is not a downloadable program like stepmania. You play it on the site as it is. Sorry.

    Comment

    • Goldenwind
      FFR Simfile Author
      FFR Simfile Author
      • Jan 2006
      • 762

      #3
      Re: How to change DifficultyColor()?

      Figured it out.

      Now, another question.
      How can I delete my posts/threads? lol
      They say there's a sun in the sky...

      Comment

      • Goldenwind
        FFR Simfile Author
        FFR Simfile Author
        • Jan 2006
        • 762

        #4
        Re: How to change DifficultyColor()?

        Originally posted by funmonkey54
        This is not a downloadable program like stepmania. You play it on the site as it is. Sorry.
        I'm modifying Stepmania. DifficultyColor() is the name of a function or method that the program uses.

        Turns out that this function and constants are specific to my theme, which I wasn't aware of.
        They say there's a sun in the sky...

        Comment

        • megamon88
          FFR Simfile Author
          FFR Simfile Author
          FFR Music Producer
          • Feb 2006
          • 2567

          #5
          Re: How to change DifficultyColor()?

          Originally posted by funmonkey54
          This is not a downloadable program like stepmania. You play it on the site as it is. Sorry.
          He's talking about stepmania.

          Anyways, on topic, no I don't know how to change it. I'm really bad at coding, so I wouldn't know. Still, it would be cool to be able to change the colours. The ITG theme has different colours, but I wouldn't know how that would happen. :/

          EDIT: Oh, hehe, unnecessary post. >.<

          Comment

          • ZC_Wolfy
            FFR Veteran
            • Dec 2008
            • 384

            #6
            Re: How to change DifficultyColor()?

            Originally posted by Goldenwind
            Now, another question.
            How can I delete my posts/threads? lol
            Posts: Edit > Delete
            Threads: Can't, only mods/admins can, if I recall correctly

            For changing colors, you probably need to change the actual graphic file for said difficulty


            "BURN IN HELL, MOTHER ****ER!!! I am not retarded, okay. Oh, and one more thing. Even if we do plant twice as many trees as we cut down, which we don't, let me remind you, that TREES TAKE YEARS TO GROW, NOT DAY
            S!!!" -
            SaguchiTheCat

            "*Twinklesky* makes me want to skip through a forest while playing a pan flute. And then all the little forest creatures will start dancing behind me." - Quigly

            "I would link you to these great video demonstrations of good vibrating but I think I would get banned for it. D=" - Quigly

            ZC's Birthday tournament - Signups are open and donations are greatly needed D:

            Comment

            • Goldenwind
              FFR Simfile Author
              FFR Simfile Author
              • Jan 2006
              • 762

              #7
              Re: How to change DifficultyColor()?

              For anyone wondering, go into Themes\[THEMENAME]\Scripts\Colors.lua
              The colours are all there (Turns out the default theme has them too), and can be changed using hexidecimal.
              They say there's a sun in the sky...

              Comment

              • ZC_Wolfy
                FFR Veteran
                • Dec 2008
                • 384

                #8
                Re: How to change DifficultyColor()?

                Oh, well, you said that in the metrics, it said something similar to DIFFICLUTY_BEGINNER=0, rite
                Try changing the number to something like DIFFICULTY_BEGINNER=2, and see if that does anything


                "BURN IN HELL, MOTHER ****ER!!! I am not retarded, okay. Oh, and one more thing. Even if we do plant twice as many trees as we cut down, which we don't, let me remind you, that TREES TAKE YEARS TO GROW, NOT DAY
                S!!!" -
                SaguchiTheCat

                "*Twinklesky* makes me want to skip through a forest while playing a pan flute. And then all the little forest creatures will start dancing behind me." - Quigly

                "I would link you to these great video demonstrations of good vibrating but I think I would get banned for it. D=" - Quigly

                ZC's Birthday tournament - Signups are open and donations are greatly needed D:

                Comment

                Working...