NPS counter for 3.95???

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • _Juli_
    FFR Player
    • Jan 2015
    • 43

    #1

    NPS counter for 3.95???

    is there any theme for 3.95 with an nps counter?
  • _Juli_
    FFR Player
    • Jan 2015
    • 43

    #2
    Re: NPS counter for 3.95???

    nvm, switched to sm5

    Comment

    • Jousway
      FFR Player
      • Jun 2009
      • 867

      #3
      Re: NPS counter for 3.95???

      even tought you switched to sm5, for people that are wondering about having a NPS counter on 3.95, good fucking luck, you only got shitty xml files to work with so scripting is nonexisting, enjoy your limitedmanias
      Last edited by Jousway; 01-29-2015, 11:28 PM.
      Its not a bug its a FEATURE!



      Comment

      • EtienneSM
        FFR Player
        • Jan 2013
        • 1724

        #4
        Re: NPS counter for 3.95???

        We will.
        Quality quotes:

        Originally posted by KgZ
        enjoy having every guy ask if they can get some love on their weiner
        Originally posted by Izzy
        I also like the nps scale. The standard ITG scale for harder files is blown out of proportion and no longer makes sense.
        Originally posted by kommisar
        nps is still a better idea for ratings
        Originally posted by klimtkiller
        there is 1 tip for people going to college. When you're in college, you'll be 16, which is the age where (where i live) you can get laid lawfully. basically, get laid asap when they look the best.
        Originally posted by Rapta
        My logic is that the brain processes in 60 FPS so I play 60 FPS.

        Comment

        • _Juli_
          FFR Player
          • Jan 2015
          • 43

          #5
          Re: NPS counter for 3.95???

          Originally posted by Jousway
          even tought you switched to sm5, for people that are wondering about having a NPS counter on 3.95, good fucking luck, you only got shitty xml files to work with so scripting is nonexisting, enjoy your limitedmanias
          If theres a theme that looks exactly like stians 3.95 theme for sm5 i might consider changing. Theres not a single sm5 theme that doesent distract my eyes in some way.

          Comment

          • Kyzentun
            FFR Player
            • Dec 2014
            • 125

            #6
            Re: NPS counter for 3.95???

            Originally posted by _Juli_
            doesn't distract my eyes in some way.
            Default theme with redirs thrown in to turn off everything on gameplay. Set the Blind (hide judgement) mod, and you're set.
            Stepmania Development in action:

            Comment

            • Jousway
              FFR Player
              • Jun 2009
              • 867

              #7
              Re: NPS counter for 3.95???

              Originally posted by _Juli_
              If theres a theme that looks exactly like stians 3.95 theme for sm5 i might consider changing. Theres not a single sm5 theme that doesent distract my eyes in some way.
              I guess my 140kb theme is too flashy lol
              Its not a bug its a FEATURE!



              Comment

              • _Juli_
                FFR Player
                • Jan 2015
                • 43

                #8
                Re: NPS counter for 3.95???

                Add the sm3.95 screencut, the little MA counter at the side and the +/- thing next to the combo counter thats on stians sm5 theme and the barebone theme is basically the best theme there is.
                Last edited by _Juli_; 01-30-2015, 04:27 PM.

                Comment

                • Kyzentun
                  FFR Player
                  • Dec 2014
                  • 125

                  #9
                  Re: NPS counter for 3.95???

                  I'm gonna post this here since it's half relevant
                  Code:
                  -- Inside Graphics/nps_disp.lua
                  local positions= { [PLAYER_1]= {_screen.w * .25, 60}, [PLAYER_2]= {_screen.w * .75, 60}}
                  local actors= {}
                  for i, v in ipairs(GAMESTATE:GetEnabledPlayers) do
                  	actors[#actors+1]= Def.BitmapText{
                  		Font= THEME:GetPathF("Common", "Normal"), InitCommand= function(self)
                  			self:diffuse(Color.White)
                  			self:xy(positions[v][1], positions[v][2]+24)
                  		end,
                  		["CurrentSteps"..ToEnumShortString(v).."ChangedMessageCommand"]=
                  			function(self)
                  				local steps= GAMESTATE:GetCurrentSteps(v)
                  				local song= GAMESTATE:GetCurrentSong()
                  				if not steps or not song then self:settext("NPS: N/A") return end
                  				local song_len= song:GetLastSecond() - song:GetFirstSecond()
                  				local radar= steps:GetRadarValues(v)
                  				local notes= radar:GetValue("RadarCategory_TapsAndHolds") +
                  					radar:GetValue("RadarCategory_Jumps") +
                  					radar:GetValue("RadarCategory_Hands")
                  				self:settext(("NPS: %.2f"):format(notes / song_len))
                  			end
                  	}
                  end
                  return Def.ActorFrame(actors)
                  
                  -- Add this to some ActorFrame in ScreenGameplay decorations.lua
                  LoadActor(THEME:GetPathG("", "nps_disp.lua"))
                  Stepmania Development in action:

                  Comment

                  • Jousway
                    FFR Player
                    • Jun 2009
                    • 867

                    #10
                    Re: NPS counter for 3.95???

                    its a 3.95 player kyz, they dont know how to even copy simple code, you have to do it for them
                    Its not a bug its a FEATURE!



                    Comment

                    • Sidek
                      FFR Player
                      • Nov 2010
                      • 777

                      #11
                      Re: NPS counter for 3.95???

                      im totally agree whit jousway.

                      Bye.

                      Comment

                      • Izzy
                        Snek
                        FFR Simfile Author
                        • Jan 2003
                        • 9195

                        #12
                        Re: NPS counter for 3.95???

                        Couldn't you jut analyze the .sm file according to the bpm?

                        Comment

                        • kmay
                          Don't forget me
                          • Jan 2007
                          • 6523

                          #13
                          Re: NPS counter for 3.95???

                          lol so what are the perks of a playing on sm5?

                          Comment

                          • Kyzentun
                            FFR Player
                            • Dec 2014
                            • 125

                            #14
                            Re: NPS counter for 3.95???

                            Originally posted by Jousway
                            its a 3.95 player kyz, they dont know how to even copy simple code, you have to do it for them
                            I don't want to go to the extra trouble of checking out Alpha 1 and finding a good place to stick it in default. (Sidek said he was on Alpha 1, I didn't want to ask why)
                            If ScreenGameplay decorations/default.lua looks the way it does now, all you have to do is stick the first piece of code in "Graphics/nps_disp.lua", and add "t[#t+1]= LoadActor(THEME:GetPathG("", "nps_disp.lua"))" before the return statement at the end.


                            As for perks of playing on SM5, almost everything that comes to mind for me is something special I did in my theme, many of which weren't possible at all a year ago. So for me, the perk is that if I think of something I want stepmania to do, I can make it do it.
                            The only things I can think of for common players are the superior speed mod selection (no more modifying metrics to add to a list), and C/M mods adjusting for music rate. Those are both trivial changes.
                            Plus, I never even used 3.95. I started out on SM4 CVS and upgraded every year or so.
                            Stepmania Development in action:

                            Comment

                            • _Juli_
                              FFR Player
                              • Jan 2015
                              • 43

                              #15
                              Re: NPS counter for 3.95???

                              every sm5 theme just looks so wack.

                              Comment

                              Working...