The PokéCommunity Forums Fan Games Game Development Scripts & Tutorials
Essentials Script Friend Care System (Like Multiple Day Care)

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
  #1    
Old April 15th, 2018 (9:32 AM).
tutoriando's Avatar
tutoriando tutoriando is offline
Manoel Afonso
     
    Join Date: Aug 2017
    Location: Porto Alegre, Brasil
    Gender: Male
    Nature: Docile
    Posts: 16
    About
    This is a system developed by me, similar to Day Care but with some guidelines. This is like a Multiple Day Care System. The original Day Care of Pokémon Essentials is limited, meaning you can only have one Day Care in your game, and this Day Care can only receive two Pokémon. The Friend Care is designed to be an alternative to Day Care.

    With Friend Care you can leave your Pokémon and follow your journey, they will receive EXP exactly as if they were in a Day Care, and you can go back to pick them up any time you want.

    This plugin was developed and tested on version 17.2 of Pokémon Essentials, although it also worked on all versions of version 15 🙂

    Differences
    The main differences between Day Care and Friend Care:
    • Friend Care can receive as many Pokémon as you want;
    • Friend Care does not need payment to return the Pokémon;
    • Friend Care does not generate eggs;
    • You can have as many Friend Cares as you want;

    Why Friend Care?
    You must have watched the Pokémon TV anime where the protagonist, Ash Ketchum, always leaves his Pokémon with random people during the story so they “train” the Pokémon for him. My idea was to make a similar system in my game, where an NPC could have some Pokémon of yours to watch as you go on your journey, then you could go back and get that Pokémon back whenever you want.

    As Ash always leaves his Pokémon with friends, I thought the Friend Care name would be perfect.

    How to install
    A complete installation tutorial is on my site, you can click the link below to go to the tutorial.
    Tutorial Link: http://manoelafonso.pro.br/games/friendcare-system-to-essentials/

    ------------

    Please, if you will use my code, just give me the credits. I hope I have helped you, and if you have any questions you can leave it in the comments that I will answer.

    See you!
    __________________
    My game fanpage: http://fb.com/PKMDimensions

    Pokémon Dimensions is a fan game that proposes to bring several different dimensions in a single game. Explore Pokémon World, win the challenges of Digimon World, discover a wonderful story with Monster Rancher, and many other universes!
    Reply With Quote

    Relevant Advertising!

      #2    
    Old April 15th, 2018 (1:17 PM).
    Richard PT's Avatar
    Richard PT Richard PT is online now
       
      Join Date: Aug 2014
      Location: Portugal
      Gender: Male
      Nature: Calm
      Posts: 114
      It's a good idea for pokemon fan games that have many pokemon to catch / train. For example, if a game as 807 official pokemon, this system helps a lot the players.
      __________________
      Reply With Quote
        #3    
      Old April 15th, 2018 (3:36 PM).
      etique etique is online now
      etique
         
        Join Date: Nov 2017
        Posts: 50
        I thought of an event like this, but as in the anime I thought of it another way, I had to make npc choose a specific pokemon? when Squirtle stayed with Officer Jenny or when Charizard stayed in the Charicific Valley. How can npc only choose a specific pokemon?
        Reply With Quote
          #4    
        Old April 16th, 2018 (1:43 AM).
        Richard PT's Avatar
        Richard PT Richard PT is online now
           
          Join Date: Aug 2014
          Location: Portugal
          Gender: Male
          Nature: Calm
          Posts: 114
          Quote:
          Originally Posted by etique View Post
          I thought of an event like this, but as in the anime I thought of it another way, I had to make npc choose a specific pokemon? when Squirtle stayed with Officer Jenny or when Charizard stayed in the Charicific Valley. How can npc only choose a specific pokemon?
          Pokemon essentials maps has some events with that option, if you don't find it, i can give you the code.
          __________________
          Reply With Quote
            #5    
          Old April 16th, 2018 (4:04 AM). Edited April 16th, 2018 by tutoriando.
          tutoriando's Avatar
          tutoriando tutoriando is offline
          Manoel Afonso
             
            Join Date: Aug 2017
            Location: Porto Alegre, Brasil
            Gender: Male
            Nature: Docile
            Posts: 16
            Quote:
            Originally Posted by etique View Post
            I thought of an event like this, but as in the anime I thought of it another way, I had to make npc choose a specific pokemon? when Squirtle stayed with Officer Jenny or when Charizard stayed in the Charicific Valley. How can npc only choose a specific pokemon?
            You can do this, follow the tutorial on my website normally, in the print I show the NPC event you will see a script call like this:

            Code:
            muChoosePokemon(1,3,"BUG")
            Instead of making this call, you can do this here:

            Code:
            pbChoosePokemon(1,3,proc {|poke|
                 !poke.egg? && poke.species==25})
            In that case I am opening the selection of Pokémon only to those who are of the 25th species, that is, the Pikachu. If you change the number it will pick up just the kind you want, in case the Squirtle would be number 7. :smile:
            __________________
            My game fanpage: http://fb.com/PKMDimensions

            Pokémon Dimensions is a fan game that proposes to bring several different dimensions in a single game. Explore Pokémon World, win the challenges of Digimon World, discover a wonderful story with Monster Rancher, and many other universes!
            Reply With Quote
              #6    
            Old April 16th, 2018 (4:12 PM).
            etique etique is online now
            etique
               
              Join Date: Nov 2017
              Posts: 50
              Quote:
              Originally Posted by Richard PT View Post
              Pokemon essentials maps has some events with that option, if you don't find it, i can give you the code.
              what? to put a specific pokemon?
              Reply With Quote
                #7    
              Old April 17th, 2018 (2:46 AM). Edited April 17th, 2018 by Richard PT.
              Richard PT's Avatar
              Richard PT Richard PT is online now
                 
                Join Date: Aug 2014
                Location: Portugal
                Gender: Male
                Nature: Calm
                Posts: 114
                Quote:
                Originally Posted by etique View Post
                what? to put a specific pokemon?
                tutoriando already answers your question.

                I will repeat his answer this way, like a small tutorial:

                In an event, call script function and post there one of this solutions:

                PHP Code:
                muChoosePokemon(1,3,"BUG"
                The first method will search for a specific pokemon type in your party, in this example is BUG type.

                PHP Code:
                pbChoosePokemon(1,3,proc {|poke|
                     !
                poke.egg? && poke.species==25}) 
                The second method, probrably the way you want, it will search for a specific pokemon in your party, in this example the event will search for a pokemon that has the number 25 in the pokedex, which is pikachu = nº25.

                So, in your case, use the second one in a script event, copy paste this little code and paste there. Note to renumber the number for the specific pokemon you want.
                __________________
                Reply With Quote
                  #8    
                Old April 17th, 2018 (1:15 PM).
                etique etique is online now
                etique
                   
                  Join Date: Nov 2017
                  Posts: 50
                  I found that in the game, PKM Dimensions the scripts PScreen_Save and the others would already be modified, when I try to follow the turtorial always give error.
                  Reply With Quote
                    #9    
                  Old April 17th, 2018 (1:33 PM).
                  tutoriando's Avatar
                  tutoriando tutoriando is offline
                  Manoel Afonso
                     
                    Join Date: Aug 2017
                    Location: Porto Alegre, Brasil
                    Gender: Male
                    Nature: Docile
                    Posts: 16
                    Quote:
                    Originally Posted by etique View Post
                    I found that in the game, PKM Dimensions the scripts PScreen_Save and the others would already be modified, when I try to follow the turtorial always give error.
                    Can you send a print of the error so I can see?
                    __________________
                    My game fanpage: http://fb.com/PKMDimensions

                    Pokémon Dimensions is a fan game that proposes to bring several different dimensions in a single game. Explore Pokémon World, win the challenges of Digimon World, discover a wonderful story with Monster Rancher, and many other universes!
                    Reply With Quote
                      #10    
                    Old April 17th, 2018 (4:12 PM).
                    etique etique is online now
                    etique
                       
                      Join Date: Nov 2017
                      Posts: 50
                      so when I open the game give this errorClick image for larger version

Name:	Sem título.png
Views:	85
Size:	39.9 KB
ID:	85194, then thisClick image for larger version

Name:	Sem título2.png
Views:	85
Size:	56.1 KB
ID:	85195, and when I click on the event it happensClick image for larger version

Name:	Sem título3.png
Views:	86
Size:	98.9 KB
ID:	85196. I think I did something wrong. I'm Brazilian. I do not understand English.
                      Reply With Quote
                        #11    
                      Old April 24th, 2018 (3:53 PM).
                      tutoriando's Avatar
                      tutoriando tutoriando is offline
                      Manoel Afonso
                         
                        Join Date: Aug 2017
                        Location: Porto Alegre, Brasil
                        Gender: Male
                        Nature: Docile
                        Posts: 16
                        Quote:
                        Originally Posted by etique View Post
                        so when I open the game give this errorAttachment 85194, then thisAttachment 85195, and when I click on the event it happensAttachment 85196. I think I did something wrong. I'm Brazilian. I do not understand English.
                        Cara, eu falo português mano, vi pelo seu print que o teu PC ta todo em br kkk entra no nosso grupo do discord, lá eu te ensino certinho como instalar :)

                        Link do Discord: https://discord.gg/xJJxmK
                        __________________
                        My game fanpage: http://fb.com/PKMDimensions

                        Pokémon Dimensions is a fan game that proposes to bring several different dimensions in a single game. Explore Pokémon World, win the challenges of Digimon World, discover a wonderful story with Monster Rancher, and many other universes!
                        Reply With Quote
                          #12    
                        Old April 25th, 2018 (7:27 AM).
                        sonicfan7895's Avatar
                        sonicfan7895 sonicfan7895 is offline
                        Lead Programmer and Composer
                           
                          Join Date: Dec 2010
                          Location: Akala Island, Alola
                          Age: 20
                          Gender: Male
                          Nature: Serious
                          Posts: 96
                          Hello! I'm having just about the same problem as the user above, except that I can't seem to make it past the Load Screen. I can't even start a new game, oddly enough. I was wondering if you might be able to help me out. Thank you very much if you are! I'm not in any hurry, I've got no projects that need immediate attention. I was just using an Essentials folder as a testbench. I was testing out Version 16.2 to see if it works, and it doesn't seem to. :/
                          __________________
                          Check out my band: Sliver!
                          On Facebook
                          Reply With Quote
                            #13    
                          Old April 25th, 2018 (4:17 PM).
                          tutoriando's Avatar
                          tutoriando tutoriando is offline
                          Manoel Afonso
                             
                            Join Date: Aug 2017
                            Location: Porto Alegre, Brasil
                            Gender: Male
                            Nature: Docile
                            Posts: 16
                            Quote:
                            Originally Posted by sonicfan7895 View Post
                            I was just using an Essentials folder as a testbench. I was testing out Version 16.2 to see if it works, and it doesn't seem to. :/
                            Good evening! I have not tested this system on v16, it was developed and tested only on v17. On the weekend I'll test with v16 for you, probably will not work, I'll try to "upgrade" for you :)
                            __________________
                            My game fanpage: http://fb.com/PKMDimensions

                            Pokémon Dimensions is a fan game that proposes to bring several different dimensions in a single game. Explore Pokémon World, win the challenges of Digimon World, discover a wonderful story with Monster Rancher, and many other universes!
                            Reply With Quote
                              #14    
                            Old April 26th, 2018 (8:08 AM).
                            sonicfan7895's Avatar
                            sonicfan7895 sonicfan7895 is offline
                            Lead Programmer and Composer
                               
                              Join Date: Dec 2010
                              Location: Akala Island, Alola
                              Age: 20
                              Gender: Male
                              Nature: Serious
                              Posts: 96
                              Quote:
                              Originally Posted by tutoriando View Post
                              Good evening! I have not tested this system on v16, it was developed and tested only on v17. On the weekend I'll test with v16 for you, probably will not work, I'll try to "upgrade" for you :)
                              Thank you very much! I appreciate it more than you know.
                              __________________
                              Check out my band: Sliver!
                              On Facebook
                              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 3:03 PM.