The PokéCommunity Forums Fan Games Game Development Scripts, Tutorials & Tools
Essentials Script Turbo

Scripts, Tutorials & Tools This forum is for scripts and code, as well as all kinds of tutorials, software, tools and so forth. Remember to give credit!
The thread revival limit does not apply here.

Reply
 
Thread Tools
  #1    
Old August 3rd, 2013 (7:38 AM). Edited May 18th, 2015 by Wootius.
Wootius's Avatar
Wootius Wootius is offline
Glah
     
    Join Date: Mar 2013
    Gender: Male
    Posts: 300
    Code:
    ##inside module Input which is inside PokemonSystem
    
     def self.update
        update_KGC_ScreenCapture
        if trigger?(Input::F8)
          pbScreenCapture
        end
        if trigger?(Input::F7)
          pbDebugF7
        end
        if trigger?(Input::ALT)
          pbTurbo()
        end
        end
    end
    
    ##above pbDeBugf7 ,BUT OUTSIDE module Input, inside  PokemonSystem
    def pbTurbo()  
    		if Graphics.frame_rate==40
    			Graphics.frame_rate=100
    		else
    			Graphics.frame_rate=40
    		end	
    	end
    Working, copy paste easy turbo. Works on all screens, but does not keep day/night lighting while in use however.
    Reply With Quote
      #2    
    Old August 3rd, 2013 (7:44 AM).
    Pia Carrot's Avatar
    Pia Carrot Pia Carrot is offline
    Let's play a game...
     
    Join Date: Aug 2010
    Age: 23
    Gender: Male
    Nature: Adamant
    Posts: 797
    Cool, looks a ton better than the buggy one I posted ages ago. Especially the fact yours runs on input triggers and not a switch.
    __________________


    Reply With Quote
      #3    
    Old August 3rd, 2013 (7:49 AM).
    Wootius's Avatar
    Wootius Wootius is offline
    Glah
       
      Join Date: Mar 2013
      Gender: Male
      Posts: 300
      Yeah, fighting with yours made me make this. I got lucky with the printscreen function however.
      Reply With Quote
        #4    
      Old August 3rd, 2013 (7:51 AM).
      Pia Carrot's Avatar
      Pia Carrot Pia Carrot is offline
      Let's play a game...
       
      Join Date: Aug 2010
      Age: 23
      Gender: Male
      Nature: Adamant
      Posts: 797
      I always meant to update the damn thing lol, never got around to it. Sorry it caused issues ^~^'

      Anyway, this will come in handy for testing. Thank you.
      __________________


      Reply With Quote
        #5    
      Old October 3rd, 2013 (10:18 AM).
      Peaverin's Avatar
      Peaverin Peaverin is offline
         
        Join Date: Sep 2013
        Gender: Male
        Posts: 50
        Hey, can you help me? I'm trying to add this script but just make it work while in a battle and while pressing control. I don't know how to add this to make work just while battling.
        Code:
        if input.trigger?(Input::CTRL)
                Graphics.frame_rate = 160
            else
                Graphics.frame_rate = 40
        end
        __________________
        Click Here to enter my project's Webpage!
        Hey guys, Im a Spanish boy. It's hard for me to speak completely good in english, but I'll do my best. Please, don't be too bad with me:(
        Reply With Quote
          #6    
        Old October 3rd, 2013 (10:37 AM).
        Luka S.J.'s Avatar
        Luka S.J. Luka S.J. is offline
        Jealous Croatian
           
          Join Date: Dec 2008
          Location: Croatia
          Age: 25
          Gender: Male
          Nature: Adamant
          Posts: 1,116
          Use Input.press?(key) instead of Input.trigger?(key). The .press? method is what detects whether you're holding the key. The .trigger? method returns true only when the key is pushed down, and only at the beginning.
          __________________

          Reply With Quote
            #7    
          Old October 3rd, 2013 (10:46 AM).
          Peaverin's Avatar
          Peaverin Peaverin is offline
             
            Join Date: Sep 2013
            Gender: Male
            Posts: 50
            Quote:
            Originally Posted by Luka S.J. View Post
            Use Input.press?(key) instead of Input.trigger?(key). The .press? method is what detects whether you're holding the key. The .trigger? method returns true only when the key is pushed down, and only at the beginning.
            Thanks, but anyway I don't know how to paste the code to work only in battles. Can you help me with that?
            __________________
            Click Here to enter my project's Webpage!
            Hey guys, Im a Spanish boy. It's hard for me to speak completely good in english, but I'll do my best. Please, don't be too bad with me:(
            Reply With Quote
              #8    
            Old November 21st, 2013 (5:30 AM).
            Wootius's Avatar
            Wootius Wootius is offline
            Glah
               
              Join Date: Mar 2013
              Gender: Male
              Posts: 300
              Thanks to Luka this is a single button turbo. Thanks for the tip.
              __________________
              Pokemon Rebalanced: Red
              Where every Pokemon is useful.
              Reply With Quote
                #9    
              Old May 15th, 2015 (2:34 PM).
              Sharazel's Avatar
              Sharazel Sharazel is offline
                 
                Join Date: May 2015
                Gender: Male
                Posts: 65
                How can I use this a with the following pokemon script? because if i add both only one of them works. -.-
                Reply With Quote
                  #10    
                Old May 17th, 2015 (12:20 PM). Edited May 17th, 2015 by Wootius.
                Wootius's Avatar
                Wootius Wootius is offline
                Glah
                   
                  Join Date: Mar 2013
                  Gender: Male
                  Posts: 300
                  It works fine with Help 14's script for me. This still works in PE 15 too.

                  I'm a code monkey at best though, so I doubt I can help you too much. Does it crash or just not work?
                  __________________
                  Pokemon Rebalanced: Red
                  Where every Pokemon is useful.
                  Reply With Quote
                    #11    
                  Old May 18th, 2015 (3:19 AM).
                  Wootius's Avatar
                  Wootius Wootius is offline
                  Glah
                     
                    Join Date: Mar 2013
                    Gender: Male
                    Posts: 300
                    I'm on Pokemon Essentials 15.1 now. I have the Gen 6 Addon, Elite Battle, Helper 14's updated follower script, and a several other scripts installed.

                    I confirm that this still works.
                    __________________
                    Pokemon Rebalanced: Red
                    Where every Pokemon is useful.
                    Reply With Quote
                      #12    
                    Old May 18th, 2015 (9:03 AM).
                    Erassus's Avatar
                    Erassus Erassus is offline
                    Hunter
                       
                      Join Date: Jan 2015
                      Location: Chile
                      Age: 27
                      Gender: Male
                      Nature: Relaxed
                      Posts: 50
                      Changing to 40 to 60 makes the game really smooth, fun to play with other parameters, anyways, what's the perfect framerate to play like pokemon gen V games?
                      Reply With Quote
                        #13    
                      Old May 18th, 2015 (9:30 AM).
                      Wootius's Avatar
                      Wootius Wootius is offline
                      Glah
                         
                        Join Date: Mar 2013
                        Gender: Male
                        Posts: 300
                        I like 60 FPS myself. I double it to 120 for my turbo.
                        Reply With Quote
                          #14    
                        Old May 18th, 2015 (1:46 PM).
                        KillerMapper's Avatar
                        KillerMapper KillerMapper is offline
                        Helix Follower
                           
                          Join Date: Sep 2014
                          Location: Paris
                          Gender: Male
                          Posts: 200
                          This is really nice and works perfectly! I didn't know it was possible to reach 60FPS on Essentials.

                          Did someone got to run the game at ~60FPS without accelerating it?

                          I think gen 5 games ran at 60FPS. Usually Nintendo tends to make their games run at 60FPS when they can.
                          __________________
                          Praise Helix.
                          Reply With Quote
                            #15    
                          Old May 18th, 2015 (1:55 PM).
                          Erassus's Avatar
                          Erassus Erassus is offline
                          Hunter
                             
                            Join Date: Jan 2015
                            Location: Chile
                            Age: 27
                            Gender: Male
                            Nature: Relaxed
                            Posts: 50
                            Quote:
                            Originally Posted by KillerMapper View Post
                            This is really nice and works perfectly! I didn't know it was possible to reach 60FPS on Essentials.

                            Did someone got to run the game at ~60FPS without accelerating it?

                            I think gen 5 games ran at 60FPS. Usually Nintendo tends to make their games run at 60FPS when they can.
                            In RGSS2Compatibility

                            Line #72 change

                            Code:
                            Graphics.frame_rate=40
                            to 60

                            Enjoy Essentials like PC master race (?)
                            Reply With Quote
                              #16    
                            Old May 18th, 2015 (2:31 PM).
                            KillerMapper's Avatar
                            KillerMapper KillerMapper is offline
                            Helix Follower
                               
                              Join Date: Sep 2014
                              Location: Paris
                              Gender: Male
                              Posts: 200
                              Quote:
                              Originally Posted by Erassus View Post
                              In RGSS2Compatibility

                              Line #72 change

                              Code:
                              Graphics.frame_rate=40
                              to 60

                              Enjoy Essentials like PC master race (?)
                              Thanks, it's really nice! PC has OP FPS OpieOP /
                              __________________
                              Praise Helix.
                              Reply With Quote
                                #17    
                              Old March 1st, 2016 (9:21 AM).
                              KingZinhoBr's Avatar
                              KingZinhoBr KingZinhoBr is offline
                                 
                                Join Date: Feb 2016
                                Gender: Male
                                Posts: 8
                                Please help me ta giving this error:
                                Quote:
                                Script 'Turbo' line 15: SyntaxError ocurred
                                Reply With Quote
                                  #18    
                                Old February 28th, 2018 (1:18 AM). Edited February 28th, 2018 by GG Saturn NL.
                                GG Saturn NL GG Saturn NL is offline
                                GG Saturn NL
                                   
                                  Join Date: Feb 2018
                                  Gender: Female
                                  Posts: 2
                                  does anyone know how to implement this in pokemon essentials 17.2 cause it doesn't seem to be working for me
                                  Reply With Quote
                                    #19    
                                  Old February 28th, 2018 (5:08 AM).
                                  Damien.aspiring.fandev's Avatar
                                  Damien.aspiring.fandev Damien.aspiring.fandev is offline
                                  🎺🎺🎺🎺🎺🎺 📯📯📯📯
                                     
                                    Join Date: Apr 2017
                                    Location: Here : http://i.imgur.com/icQr63J.png
                                    Age: 19
                                    Gender: Male
                                    Nature: Jolly
                                    Posts: 954
                                    Quote:
                                    Originally Posted by GG Saturn NL View Post
                                    does anyone know how to implement this in pokemon essentials 17.2 cause it doesn't seem to be working for me
                                    Greetings, fan-dev in the making!
                                    I'm pretty much still a novice to fan-development, so I know as much as you,
                                    plus I don't know which issue you ran into nor where the script ought be pasted,
                                    not to mention that the script might not function on the most recent 17,2 version.
                                    I thus cannot help with the script BUT, if it's the frames per second increase you
                                    seek for, being myself interested I started digging and... *miniremo noises*
                                    I have a few tips!
                                    Spoiler:
                                    First off, while playing the game (started either through playtest or directly through
                                    executable) try pressing F1 (if you're in a laptop you might need to hold the Fn key
                                    as well). This will bring up the game properties where you'll immediately see
                                    the smooth mode and reduce flickering options. You might wish to toy with those
                                    two settings and see what the outcome is. I tested personally and whereas the smooth
                                    mode ought be mandatory the flickering doesn't offer any visible changes.
                                    If you're on a Windows system, you could also open the task manager (ctrl+alt+delete),
                                    click on details, right-click Game.exe, go to set priority and change said priority.
                                    On my laptop I tried all of these and the game does, seem more fluent, even on
                                    the power conservation mode.

                                    With that out of the way, an other thing you might wish to do if you're trying to increase
                                    the game's standard frame rate is, as an other user already suggested, pressing the
                                    script editor button within R.M.X.P., clicking onto the RGSS2Compatibility section, then
                                    pressing ctrl+F and searching for "Graphics.frame_rate=" (without the quote marks).
                                    The previous user claimed it was on the 72nd line, however I found it on the 67th,
                                    this probably due to the recent updates. Now you oughta be reading
                                    "Graphics.frame_rate=40".
                                    As you may already have assumed, you can change that number to something else.
                                    I tried going for a 60 framerate, however I personally find it too fast and would
                                    suggest rates between 41 and 50... if it wasn't for the fact I get black-screened each
                                    time I trigger a wild encounter at those rates...

                                    Other methods to increase the F.P.S., albeit externally, would be an application called
                                    Cheat Engine or the RM FPS Control.
                                    I tested RM FPS Control as well, and sadly the same black screen issue perpetuates if
                                    when a wild encounter is triggered the framerate is set between 41 and 59.

                                    Hope any of this comes in handy. Cheers!
                                    __________________

                                    I am but a tearful clown. Though I smile, I cry inside.
                                    -Clown Lee. Jubilife TV station(Diamond&Pearl)/various pokémon centers through Sinnoh(Platinum)
                                    Want some gen5 apricorn balls?
                                    Reply With Quote
                                      #20    
                                    Old September 26th, 2018 (8:47 AM).
                                    WolfPP's Avatar
                                    WolfPP WolfPP is offline
                                       
                                      Join Date: Aug 2018
                                      Location: Brazil
                                      Gender: Male
                                      Nature: Jolly
                                      Posts: 154
                                      Hey! I want to put that only in battle scene for the players uses. How can i do it?

                                      (and 'other' to me, the dev, to everything lol)

                                      ty ty!
                                      Reply With Quote
                                      Reply

                                      Quick Reply

                                      Join the conversation!

                                      Create an account to post a reply in this thread, participate in other discussions, and more!

                                      Create a PokéCommunity Account
                                      Thread Tools

                                      Posting Rules
                                      You may not post new threads
                                      You may not post replies
                                      You may not post attachments
                                      You may not edit your posts

                                      BB code is On
                                      Smilies are On
                                      [IMG] code is On
                                      HTML code is Off

                                      Forum Jump


                                      All times are GMT -8. The time now is 10:53 PM.