The PokéCommunity Forums Fan Games Game Development Scripts & Tutorials
Essentials Script [Essentials v17] Following Pokemon v 1.4.1

Scripts & Tutorials 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
  #51    
Old February 14th, 2016 (2:52 PM).
Anova's Avatar
Anova Anova is offline
     
    Join Date: Jan 2016
    Location: Las Vegas
    Gender: Female
    Nature: Impish
    Posts: 31
    I know it works like that mine is
    #Don't change
    FOLLOWER_FILE_PATH = "Graphics/Characters/"
    #The subfolder where your follower sprites are located
    #Has to be within Graphics/Characters
    FOLLOWER_FILE_DIR = "FollowerSprites/"

    So all my images are in Graphics/Characters/FollowerSprites/
    the last "/" is needed.
    __________________
    I believe in Jesus Christ my Savior.
    God the Son, Yeshua Hamashiach
    {<3}
    Reply With Quote

    Relevant Advertising!

      #52    
    Old February 14th, 2016 (3:19 PM).
    Mutant Yoshi Mutant Yoshi is online now
       
      Join Date: May 2014
      Gender: Male
      Nature: Timid
      Posts: 150
      Hey, I tried to toggle the regular walking to be on considering the sprites I have of certain Pokemon consist of full animations like NPC's, but it's still on the two-frame walking. How do I fix that?
      Reply With Quote
        #53    
      Old February 14th, 2016 (4:37 PM).
      Anova's Avatar
      Anova Anova is offline
         
        Join Date: Jan 2016
        Location: Las Vegas
        Gender: Female
        Nature: Impish
        Posts: 31
        well all I know is that they use the 4 frame animations and the first row is the standing still pose.
        example: http://i80.photobucket.com/albums/j161/DotCimages/025.png
        I know it is possible for more frames, but I don't know how to do it yet.
        __________________
        I believe in Jesus Christ my Savior.
        God the Son, Yeshua Hamashiach
        {<3}
        Reply With Quote
          #54    
        Old February 14th, 2016 (5:23 PM).
        Mutant Yoshi Mutant Yoshi is online now
           
          Join Date: May 2014
          Gender: Male
          Nature: Timid
          Posts: 150
          Unfortunately, the last row goes completely unused currently. It's only using two of the frames while walking. Three if you count the standing still frame. What I'm trying to get is for all four frames to be used, just like the player character/normal NPC's.
          Reply With Quote
            #55    
          Old February 14th, 2016 (8:20 PM).
          NinjaSlayer461 NinjaSlayer461 is offline
             
            Join Date: Jul 2015
            Gender: Male
            Posts: 10
            okay does this work with elite battle system for version v16.1
            Reply With Quote
              #56    
            Old February 14th, 2016 (9:57 PM).
            Anova's Avatar
            Anova Anova is offline
               
              Join Date: Jan 2016
              Location: Las Vegas
              Gender: Female
              Nature: Impish
              Posts: 31
              Yes it does work with the Elite Battle System for v16.1
              __________________
              I believe in Jesus Christ my Savior.
              God the Son, Yeshua Hamashiach
              {<3}
              Reply With Quote
                #57    
              Old February 15th, 2016 (11:45 AM). Edited February 15th, 2016 by Joltik.
              Joltik's Avatar
              Joltik Joltik is offline
                 
                Join Date: Jan 2010
                Gender: Male
                Nature: Modest
                Posts: 123
                Hi!
                I noticed two bugs.

                1) If your pokémon evolves by the use of a rare candy, the sprite doesn't update, you still see the pre-evolution following you.
                2) If you have an egg in front of your party, the pokémon who is not yet born already follows you.

                Cheers,

                J
                __________________

                Check out my DeviantArt account! My game project is called Pokemon Subrosia.
                My DeviantArt | Old DeviantArt
                Reply With Quote
                  #58    
                Old February 15th, 2016 (2:42 PM). Edited February 15th, 2016 by Anova.
                Anova's Avatar
                Anova Anova is offline
                   
                  Join Date: Jan 2016
                  Location: Las Vegas
                  Gender: Female
                  Nature: Impish
                  Posts: 31
                  You can set up an Event to handle things like this:


                  My code idea didn't work... But I am trying to help
                  But I know you can add
                  pbWait(1)
                  $PokemonTemp.dependentEvents.refresh_sprite
                  to the ItemHandlers::UseOnPokemon.add(:RARECANDY,proc{|item,pokemon,scene| in PItem_ItemEffects
                  __________________
                  I believe in Jesus Christ my Savior.
                  God the Son, Yeshua Hamashiach
                  {<3}
                  Reply With Quote
                    #59    
                  Old February 16th, 2016 (10:57 AM).
                  Joltik's Avatar
                  Joltik Joltik is offline
                     
                    Join Date: Jan 2010
                    Gender: Male
                    Nature: Modest
                    Posts: 123
                    Hi! Thank you very much for the help!
                    However, there is a little problem that remains in the npc solution. Even if he doesn't allow you to toggle the following if the first pokémon is an egg, you can do it with another pokémon and then switch the egg to the first position and it will follow you anyways, before birth!

                    Nice solution for the rarecandy! It just comes with a little anoyance of having the "release pokemon" animation displayed everytime you use a rarecandy, even if no evolution occurs.

                    Little by little I'm sure we can sort this out.
                    Thank you!
                    __________________

                    Check out my DeviantArt account! My game project is called Pokemon Subrosia.
                    My DeviantArt | Old DeviantArt
                    Reply With Quote
                      #60    
                    Old February 16th, 2016 (2:45 PM).
                    Mutant Yoshi Mutant Yoshi is online now
                       
                      Join Date: May 2014
                      Gender: Male
                      Nature: Timid
                      Posts: 150
                      Just to clarify the problem I'm having right now using Dialga here as an example. Basically, I'm trying to get the animation to look like this.
                      Spoiler:

                      But instead, it looks like this:
                      Spoiler:

                      I've tried to modify the code to where it's on a walking basis instead of a stepping basis, but nothing I do seems to help, and it's frustrating me.
                      Reply With Quote
                        #61    
                      Old March 25th, 2016 (11:56 PM). Edited March 27th, 2016 by Maruno.
                      mej71's Avatar
                      mej71 mej71 is offline
                         
                        Join Date: Mar 2014
                        Location: Omnipresence
                        Gender: Male
                        Posts: 1,226
                        Updated with some fixes:
                        • You can now talk to your pokemon while surfing (if enabled)
                        • Not only is there a setting for surfing pokemon to follow you, there's also now a setting that lets flying/levitating/user defined pokemon also follow you over the water
                        • Follower should refresh after evolving
                        • Switching from your party screen no longer can make non-applicable pokemon appear while surfing
                        • Having an egg first in your party hides the follower sprite
                        • Having an egg first or a fainted pokemon first no longer shows step animations in grass
                        • Switching between pokemon on the water no longer sometimes displays the incorrect animation
                        • Someone mentioned a problem with bridges. There is no problem, if you have your bridge tile set correctly and use pbBridgeOn it works perfectly

                        Quote:
                        Originally Posted by Mutant Yoshi View Post
                        Just to clarify the problem I'm having right now using Dialga here as an example. Basically, I'm trying to get the animation to look like this.
                        Spoiler:

                        But instead, it looks like this:
                        Spoiler:

                        I've tried to modify the code to where it's on a walking basis instead of a stepping basis, but nothing I do seems to help, and it's frustrating me.
                        Update: The follower now uses the proper walk cycle, and issuing move routes to the follower now works, recopy script.
                        Reply With Quote
                          #62    
                        Old March 28th, 2016 (1:22 PM).
                        Mutant Yoshi Mutant Yoshi is online now
                           
                          Join Date: May 2014
                          Gender: Male
                          Nature: Timid
                          Posts: 150
                          Found two bugs with this.

                          1. When entering a map that always has you on a bicycle, ie Cycling Road, the "recall" sound effect constantly plays until the game eventually crashes. Even recalling the Pokemon ahead of time causes the game to crash.
                          2. When using Dive, the game treats the underwater map like any other map, making you walk on the floor of the river/ocean/lake/etc. and not be able to get back up.
                          Reply With Quote
                            #63    
                          Old March 28th, 2016 (5:10 PM).
                          mej71's Avatar
                          mej71 mej71 is offline
                             
                            Join Date: Mar 2014
                            Location: Omnipresence
                            Gender: Male
                            Posts: 1,226
                            Quote:
                            Originally Posted by Mutant Yoshi View Post
                            Found two bugs with this.

                            1. When entering a map that always has you on a bicycle, ie Cycling Road, the "recall" sound effect constantly plays until the game eventually crashes. Even recalling the Pokemon ahead of time causes the game to crash.
                            2. When using Dive, the game treats the underwater map like any other map, making you walk on the floor of the river/ocean/lake/etc. and not be able to get back up.
                            Update: Fixed transferring to cycle-only maps crashing, and diving underwater now works properly. There's a setting that allows or disallows water type followers to follow you when underwater.
                            Reply With Quote
                              #64    
                            Old April 2nd, 2016 (4:58 PM).
                            richtofen richtofen is offline
                               
                              Join Date: May 2015
                              Posts: 14
                              so i installed everything, and my pokemon dont follow me...
                              Reply With Quote
                                #65    
                              Old April 2nd, 2016 (7:01 PM).
                              mej71's Avatar
                              mej71 mej71 is offline
                                 
                                Join Date: Mar 2014
                                Location: Omnipresence
                                Gender: Male
                                Posts: 1,226
                                Quote:
                                Originally Posted by richtofen View Post
                                so i installed everything, and my pokemon dont follow me...
                                If only there were some sort of instructions that explicitly tell you how to set up the events that start the following.
                                Reply With Quote
                                  #66    
                                Old April 3rd, 2016 (4:45 AM).
                                pauloalex4091 pauloalex4091 is offline
                                   
                                  Join Date: Mar 2016
                                  Gender: Male
                                  Posts: 87
                                  Quote:
                                  Originally Posted by mej71 View Post
                                  If only there were some sort of instructions that explicitly tell you how to set up the events that start the following.
                                  Man nice script indeed but I have a problem. When I heal my pokemon I want to make the pokemon behind me come back to the pokeball so I can give pokeballs to the nurse.. I tried everything when I heal my pokemon just keep behind me, How can I setup a script to make it work?
                                  Ty anyways and sorry for my horrible english ;)
                                  Reply With Quote
                                    #67    
                                  Old April 3rd, 2016 (6:33 AM).
                                  desbrina's Avatar
                                  desbrina desbrina is offline
                                  Lightning Yellow Creator
                                     
                                    Join Date: Feb 2011
                                    Location: UK
                                    Gender: Female
                                    Nature: Quiet
                                    Posts: 697
                                    i keep getting an error on line 746
                                    tform = ($Trainer.party[0].form && $Trainer.party[0].form>0) ? "_"+$Trainer.party[0].form : ""

                                    error is
                                    Message: Section196:746:in `+'cannot convert Fixnum into String

                                    changing +$Trainer.party[0].form to +$Trainer.party[0].form.to_s resolves the issue

                                    The same with line 326, needs to be
                                    +form.to_s
                                    __________________
                                    Creator of


                                    A Pokemon Yellow remake, using HGSS Tiles, and the ability to obtain all Kanto Pokemon as well as their previous/later evolutions.

                                    Reply With Quote
                                      #68    
                                    Old April 3rd, 2016 (8:49 AM).
                                    richtofen richtofen is offline
                                       
                                      Join Date: May 2015
                                      Posts: 14
                                      Quote:
                                      Originally Posted by mej71 View Post
                                      If only there were some sort of instructions that explicitly tell you how to set up the events that start the following.
                                      sorry about that! I found a bug, if you spam ctrl then you can breach through non passable tiles.
                                      Reply With Quote
                                        #69    
                                      Old April 3rd, 2016 (10:10 AM).
                                      desbrina's Avatar
                                      desbrina desbrina is offline
                                      Lightning Yellow Creator
                                         
                                        Join Date: Feb 2011
                                        Location: UK
                                        Gender: Female
                                        Nature: Quiet
                                        Posts: 697
                                        Quote:
                                        Originally Posted by richtofen View Post
                                        sorry about that! I found a bug, if you spam ctrl then you can breach through non passable tiles.
                                        If your playing in debug mode then thats normal
                                        __________________
                                        Creator of


                                        A Pokemon Yellow remake, using HGSS Tiles, and the ability to obtain all Kanto Pokemon as well as their previous/later evolutions.

                                        Reply With Quote
                                          #70    
                                        Old April 3rd, 2016 (1:26 PM).
                                        mej71's Avatar
                                        mej71 mej71 is offline
                                           
                                          Join Date: Mar 2014
                                          Location: Omnipresence
                                          Gender: Male
                                          Posts: 1,226
                                          Quote:
                                          Originally Posted by desbrina View Post
                                          i keep getting an error on line 746
                                          tform = ($Trainer.party[0].form && $Trainer.party[0].form>0) ? "_"+$Trainer.party[0].form : ""

                                          error is
                                          Message: Section196:746:in `+'cannot convert Fixnum into String

                                          changing +$Trainer.party[0].form to +$Trainer.party[0].form.to_s resolves the issue

                                          The same with line 326, needs to be
                                          +form.to_s
                                          I could have sworn I fixed that a while ago, must not have saved. Anyway, fixed in the post now.
                                          Reply With Quote
                                            #71    
                                          Old April 23rd, 2016 (8:24 AM).
                                          TheRainbowGames's Avatar
                                          TheRainbowGames TheRainbowGames is offline
                                             
                                            Join Date: Mar 2016
                                            Location: RD
                                            Gender: Male
                                            Nature: Timid
                                            Posts: 9
                                            mej help plz
                                            when i talk to my pokemon
                                            it appears a roleplay error and the game closes :(
                                            help plz!!!! how do i fix it???
                                            Reply With Quote
                                              #72    
                                            Old April 23rd, 2016 (8:47 AM).
                                            mej71's Avatar
                                            mej71 mej71 is offline
                                               
                                              Join Date: Mar 2014
                                              Location: Omnipresence
                                              Gender: Male
                                              Posts: 1,226
                                              Quote:
                                              Originally Posted by TheRainbowGames View Post
                                              mej help plz
                                              when i talk to my pokemon
                                              it appears a roleplay error and the game closes :(
                                              help plz!!!! how do i fix it???
                                              You could start by actually posting the error, otherwise I have no idea what's wrong. My initial guess is you didn't follow my instructions exactly.
                                              Reply With Quote
                                                #73    
                                              Old April 26th, 2016 (1:15 AM).
                                              mej71's Avatar
                                              mej71 mej71 is offline
                                                 
                                                Join Date: Mar 2014
                                                Location: Omnipresence
                                                Gender: Male
                                                Posts: 1,226
                                                Made a minor update to fix Blacking Out from removing your follower, please update your script.
                                                Reply With Quote
                                                  #74    
                                                Old April 27th, 2016 (5:09 AM).
                                                pauloalex4091 pauloalex4091 is offline
                                                   
                                                  Join Date: Mar 2016
                                                  Gender: Male
                                                  Posts: 87
                                                  Quote:
                                                  Originally Posted by mej71 View Post
                                                  Made a minor update to fix Blacking Out from removing your follower, please update your script.
                                                  Everytime I use transfer Player the animation of the pokemon coming out of the pokeball will play again, is that normal or something I should fix? Because its kinda annoying. Ty very much
                                                  Reply With Quote
                                                    #75    
                                                  Old April 29th, 2016 (9:04 PM).
                                                  mej71's Avatar
                                                  mej71 mej71 is offline
                                                     
                                                    Join Date: Mar 2014
                                                    Location: Omnipresence
                                                    Gender: Male
                                                    Posts: 1,226
                                                    Quote:
                                                    Originally Posted by pauloalex4091 View Post
                                                    Everytime I use transfer Player the animation of the pokemon coming out of the pokeball will play again, is that normal or something I should fix? Because its kinda annoying. Ty very much
                                                    That's normal. If you want to stop that, find where the transferring occurs, and add the red part to this line
                                                    Code:
                                                    $PokemonTemp.dependentEvents.refresh_sprite(false)
                                                    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

                                                    Sponsored Links
                                                    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 12:55 AM.