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 January 19th, 2013 (1:45 PM). Edited January 22nd, 2013 by carmaniac.
carmaniac's Avatar
carmaniac carmaniac is offline
Where the pickle surprise at?
     
    Join Date: Apr 2009
    Location: England
    Age: 22
    Nature: Relaxed
    Posts: 682
    If you've not ignored this thread post thinking, can't be that's a hoax, then you've over come your senses to check this out. Yes, this is basically a public release, which, hoping Maruno will add it into essentials as a default feature once everything is running smoothly. This is aimed to make your game feel that closer to the originals game freak loves teasing us with. Even though it's not styled like the original games ones, this gives a more direct look into showing events talking. As by default, the messages will only appear on the bottom, not got intention right now to add in arrows for that as it's too generalized for all the scripts. Anyway, enough of my rambling, time for the actual thread.

    Conditions of use:
    You can modify the script, I don't mind that.
    You must give credits to me, otherwise I will hunt and bug you. (Note, link will be removed if I see people breaking conditions)
    Cannot claim as your own, or redistribute anywhere else without my permission.

    How to use:
    To use the script, before each show text command, you will need to do a script call, depending on the type of message you would like to display you need to do pbCallBub(type, eventid) An example of how to use this script, would be pbCallBub(1,13) The first value is set to either 1 or 2. When it is 1, it shows up the floating bubble message, when it is 2, it will show up the arrow message. The second value, is the event ID that you want to show as talking. My eventID is 013, so we put 13. If you don't put this script call before the show text method, it will simply assume you want a normal message window, and will not show the arrow.

    Examples:



    Downloads:
    http://pokemonessentials.wikia.com/wiki/Tutorialpeech_bubbles V0.6
    __________________

    Pokémon: Lost Souls.







    Developed by Carmaniac.


    Quote:
    Originally Posted by Luka S.J. View Post
    My balls seem to be fine.
    Reply With Quote

    Relevant Advertising!

      #2    
    Old January 19th, 2013 (1:56 PM). Edited January 19th, 2013 by Arma.
    Arma's Avatar
    Arma Arma is offline
    The Hyena
    • Silver Tier
     
    Join Date: Dec 2009
    Location: The Hague
    Age: 24
    Gender: Male
    Nature: Jolly
    Posts: 1,256
    Wow, never imagined you'd make this public.. I was thinking about asking you if you could let me use this for my game. XD Thanks a lot man! I'll give you some feedback once I fiddled with it for a bit. Maybe you can get Maruno to implement this in the next version of essentials. Oops, should've read the rest of the post before saying things like this. ;
    __________________
    Reply With Quote
      #3    
    Old January 19th, 2013 (1:59 PM).
    Lord Varion's Avatar
    Lord Varion Lord Varion is offline
    Guess who's back?
       
      Join Date: Feb 2009
      Age: 22
      Gender: Other
      Nature: Naughty
      Posts: 2,644
      Well, it's good thing I'm still using v11 then.
      mainly because your other scripts are on there too
      __________________
      gone.
      Reply With Quote
        #4    
      Old January 19th, 2013 (2:28 PM).
      ppooookkkkkkk ppooookkkkkkk is offline
      Banned
         
        Join Date: May 2012
        Location: Newbud town (Pokemon Morning/Night)
        Age: 16
        Gender: Male
        Nature: Gentle
        Posts: 229
        I tought you wrre going to keep it private.
        Reply With Quote
          #5    
        Old January 19th, 2013 (2:35 PM).
        Lord Varion's Avatar
        Lord Varion Lord Varion is offline
        Guess who's back?
           
          Join Date: Feb 2009
          Age: 22
          Gender: Other
          Nature: Naughty
          Posts: 2,644
          Quote:
          Originally Posted by ppooookkkkkkk View Post
          I tought you wrre going to keep it private.
          http://lostsoulsdev.deviantart.com/journal/I-ve-been-thinking-349070365

          He wrote this yesterday saying how he was considering giving it to public use.
          __________________
          gone.
          Reply With Quote
            #6    
          Old January 19th, 2013 (2:48 PM). Edited January 20th, 2013 by seeker.
          ppooookkkkkkk ppooookkkkkkk is offline
          Banned
             
            Join Date: May 2012
            Location: Newbud town (Pokemon Morning/Night)
            Age: 16
            Gender: Male
            Nature: Gentle
            Posts: 229
            Quote:
            Originally Posted by carmaniac View Post
            If you've not ignored this thread post thinking, can't be that's a hoax, then you've over come your senses to check this out. Yes, this is basically a public release, which, hoping Maruno will add it into essentials as a default feature once everything is running smoothly. This is aimed to make your game feel that closer to the originals game freak loves teasing us with. Even though it's not styled like the original games ones, this gives a more direct look into showing events talking. As by default, the messages will only appear on the bottom, not got intention right now to add in arrows for that as it's too generalized for all the scripts. Anyway, enough of my rambling, time for the actual thread.

            Conditions of use:
            You can modify the script, I don't mind that.
            You must give credits to me, otherwise I will hunt and bug you. (Note, link will be removed if I see people breaking conditions)
            Cannot claim as your own, or redistribute anywhere else without my permission.

            How to use:
            Simply do a script call before each message you would like to appear as a bubble like this; pbCallBub(true, eventid)
            The eventid is the value listed at the top of the event page, example would be, the event ID is 001, so you would do pbCallBub(true, 1) this will direct the bubble to the screen position of event 1. The bubble will correct itself if it is going off screen. If you do not do the call, the script will assume you want the normal message window, and will display the message at the bottom of the screen.

            Examples:
            If video doesn't work use this: http://www.youtube.com/watch?v=3zC6n3QkWlM

            It given an error at the start: ---------------------------
            Pokemon Essentials
            ---------------------------
            Exception: NoMethodError
            Message: undefined method `events' for nil:NilClass
            Interpreter:542:in `get_character'
            PokemonMessages*:1211:in `pbRepositionMessageWindow'
            PokemonMessages*:1499:in `pbMessageDisplay'
            PokemonMessages*:1019:in `pbMessage'
            PokemonLoad:156:in `install'
            PokemonLoad:289:in `pbStartLoadScreen'
            DebugIntro:6:in `main'
            Main:37:in `mainFunctionDebug'
            Mainin `mainFunction'
            Mainin `pbCriticalCode'

            This exception was logged in
            C:\Users\M.ahmad\Saved Games/Pokemon Essentials/errorlog.txt.
            Press Ctrl+C to copy this message to the clipboard.
            ---------------------------
            OK
            ---------------------------
            Reply With Quote
              #7    
            Old January 19th, 2013 (2:51 PM).
            Lord Varion's Avatar
            Lord Varion Lord Varion is offline
            Guess who's back?
               
              Join Date: Feb 2009
              Age: 22
              Gender: Other
              Nature: Naughty
              Posts: 2,644
              Quote:
              Originally Posted by ppooookkkkkkk View Post
              It given an error at the start: ---------------------------
              Pokemon Essentials
              ---------------------------
              Exception: NoMethodError
              Message: undefined method `events' for nil:NilClass
              Interpreter:542:in `get_character'
              PokemonMessages*:1211:in `pbRepositionMessageWindow'
              PokemonMessages*:1499:in `pbMessageDisplay'
              PokemonMessages*:1019:in `pbMessage'
              PokemonLoad:156:in `install'
              PokemonLoad:289:in `pbStartLoadScreen'
              DebugIntro:6:in `main'
              Main:37:in `mainFunctionDebug'
              Mainin `mainFunction'
              Mainin `pbCriticalCode'

              This exception was logged in
              C:\Users\M.ahmad\Saved Games/Pokemon Essentials/errorlog.txt.
              Press Ctrl+C to copy this message to the clipboard.
              ---------------------------
              OK
              ---------------------------
              Huh, I don't get this message.


              ---------------------
              It would be nice if there was a install tutorial
              __________________
              gone.
              Reply With Quote
                #8    
              Old January 19th, 2013 (3:00 PM).
              ppooookkkkkkk ppooookkkkkkk is offline
              Banned
                 
                Join Date: May 2012
                Location: Newbud town (Pokemon Morning/Night)
                Age: 16
                Gender: Male
                Nature: Gentle
                Posts: 229
                I'll try redownloading :\
                Reply With Quote
                  #9    
                Old January 19th, 2013 (3:03 PM).
                ~JV~'s Avatar
                ~JV~ ~JV~ is offline
                Dev of Pokémon Uranium
                   
                  Join Date: Aug 2007
                  Location: Rio de Janeiro
                  Age: 23
                  Nature: Relaxed
                  Posts: 715
                  Really nice job man, glad to see you decided to release this to the public :).
                  __________________
                  Reply With Quote
                    #10    
                  Old January 19th, 2013 (3:04 PM).
                  Arma's Avatar
                  Arma Arma is offline
                  The Hyena
                  • Silver Tier
                   
                  Join Date: Dec 2009
                  Location: The Hague
                  Age: 24
                  Gender: Male
                  Nature: Jolly
                  Posts: 1,256
                  Quote:
                  Originally Posted by ppooookkkkkkk View Post
                  I'll try redownloading :\
                  I don't think that's the issue, have you tried starting a new game instead?
                  __________________
                  Reply With Quote
                    #11    
                  Old January 19th, 2013 (3:07 PM).
                  carmaniac's Avatar
                  carmaniac carmaniac is offline
                  Where the pickle surprise at?
                     
                    Join Date: Apr 2009
                    Location: England
                    Age: 22
                    Nature: Relaxed
                    Posts: 682
                    Quote:
                    Originally Posted by Nintendork15 View Post
                    Huh, I don't get this message.


                    ---------------------
                    It would be nice if there was a install tutorial
                    I will provide an install tutorial tomorrow, it was mostly released like this as it's not that user friendly to get correct. Also anyone getting an error to the 'events' method, remove your game save.
                    __________________

                    Pokémon: Lost Souls.







                    Developed by Carmaniac.


                    Quote:
                    Originally Posted by Luka S.J. View Post
                    My balls seem to be fine.
                    Reply With Quote
                      #12    
                    Old January 19th, 2013 (3:13 PM).
                    ppooookkkkkkk ppooookkkkkkk is offline
                    Banned
                       
                      Join Date: May 2012
                      Location: Newbud town (Pokemon Morning/Night)
                      Age: 16
                      Gender: Male
                      Nature: Gentle
                      Posts: 229
                      i did it still gives error.
                      Reply With Quote
                        #13    
                      Old January 19th, 2013 (3:17 PM).
                      Cilerba Cilerba is offline
                      the hearts of lonely people
                      • Silver Tier
                       
                      Join Date: Feb 2010
                      Location: Massachusetts
                      Age: 20
                      Gender: Male
                      Nature: Quiet
                      Posts: 1,171
                      Fixed your YouTube video for ya.

                      Script looks good. I might just use this in Auburn hmm..
                      __________________
                      Reply With Quote
                        #14    
                      Old January 19th, 2013 (3:22 PM). Edited January 20th, 2013 by carmaniac.
                      carmaniac's Avatar
                      carmaniac carmaniac is offline
                      Where the pickle surprise at?
                         
                        Join Date: Apr 2009
                        Location: England
                        Age: 22
                        Nature: Relaxed
                        Posts: 682
                        For those getting an error on the 'events' update the PokemonMessages script with this version:
                        Not available.

                        Also will be updating the download link for the entire kit:
                        Not available.

                        Thank you Cilerba.
                        __________________

                        Pokémon: Lost Souls.







                        Developed by Carmaniac.


                        Quote:
                        Originally Posted by Luka S.J. View Post
                        My balls seem to be fine.
                        Reply With Quote
                          #15    
                        Old January 19th, 2013 (3:38 PM). Edited January 20th, 2013 by seeker.
                        ppooookkkkkkk ppooookkkkkkk is offline
                        Banned
                           
                          Join Date: May 2012
                          Location: Newbud town (Pokemon Morning/Night)
                          Age: 16
                          Gender: Male
                          Nature: Gentle
                          Posts: 229
                          Quote:
                          Originally Posted by carmaniac View Post
                          For those getting an error on the 'events' update the PokemonMessages script with this version:


                          Thank you Cilerba.
                          Thanks sir i'll surely use your work.
                          Reply With Quote
                            #16    
                          Old January 19th, 2013 (4:29 PM). Edited January 20th, 2013 by carmaniac.
                          carmaniac's Avatar
                          carmaniac carmaniac is offline
                          Where the pickle surprise at?
                             
                            Join Date: Apr 2009
                            Location: England
                            Age: 22
                            Nature: Relaxed
                            Posts: 682
                            Just created an install guide for those who want to use the script outside of the compiled kit.
                            Not available.
                            __________________

                            Pokémon: Lost Souls.







                            Developed by Carmaniac.


                            Quote:
                            Originally Posted by Luka S.J. View Post
                            My balls seem to be fine.
                            Reply With Quote
                              #17    
                            Old January 19th, 2013 (10:19 PM).
                            zingzags's Avatar
                            zingzags zingzags is offline
                            PokemonGDX creator
                               
                              Join Date: Jan 2009
                              Location: Boston
                              Age: 23
                              Nature: Adamant
                              Posts: 562
                              Well well now Ryan, It seems to look good. I haven't used or seen the script though; So what did you do? Make a method to define which event it should look for? Then depending on the position of the screen it will either be above, or under the event?
                              __________________
                              Check out the Pokemon Game Engine I am working on:
                              https://github.com/sjosegarcia/Pokemon
                              Reply With Quote
                                #18    
                              Old January 20th, 2013 (12:21 AM). Edited January 20th, 2013 by Luka S.J..
                              Luka S.J.'s Avatar
                              Luka S.J. Luka S.J. is offline
                              Jealous Croatian
                                 
                                Join Date: Dec 2008
                                Location: Croatia
                                Age: 24
                                Gender: Male
                                Nature: Adamant
                                Posts: 1,093
                                EDIT: My bad, never mind.
                                __________________

                                Reply With Quote
                                  #19    
                                Old January 20th, 2013 (7:47 AM).
                                carmaniac's Avatar
                                carmaniac carmaniac is offline
                                Where the pickle surprise at?
                                   
                                  Join Date: Apr 2009
                                  Location: England
                                  Age: 22
                                  Nature: Relaxed
                                  Posts: 682
                                  Quote:
                                  Originally Posted by Luka S.J. View Post
                                  No. It gets the event and player map positions, and calculates the distance between them. Then it converts them to pixels instead of coordinates and repositions the value from the center of the screen. Having free roaming bubbles anywhere on the screen, no matter where the event is. (courtesy of moi)
                                  It doesn't use that code anymore XD, pretty sure I notified you of this a while back. It just gets the screen position of the event instead of the map position, meaning no more dodgy bubble positions on screen when the map has been scrolled via an event.
                                  __________________

                                  Pokémon: Lost Souls.







                                  Developed by Carmaniac.


                                  Quote:
                                  Originally Posted by Luka S.J. View Post
                                  My balls seem to be fine.
                                  Reply With Quote
                                    #20    
                                  Old January 20th, 2013 (8:46 AM).
                                  Luka S.J.'s Avatar
                                  Luka S.J. Luka S.J. is offline
                                  Jealous Croatian
                                     
                                    Join Date: Dec 2008
                                    Location: Croatia
                                    Age: 24
                                    Gender: Male
                                    Nature: Adamant
                                    Posts: 1,093
                                    Quote:
                                    Originally Posted by carmaniac View Post
                                    It doesn't use that code anymore XD, pretty sure I notified you of this a while back. It just gets the screen position of the event instead of the map position, meaning no more dodgy bubble positions on screen when the map has been scrolled via an event.
                                    Lol, I looked through our chat history. You did mention something like that. Hahaha, I feel stupid.
                                    __________________

                                    Reply With Quote
                                      #21    
                                    Old January 22nd, 2013 (2:51 PM).
                                    carmaniac's Avatar
                                    carmaniac carmaniac is offline
                                    Where the pickle surprise at?
                                       
                                      Join Date: Apr 2009
                                      Location: England
                                      Age: 22
                                      Nature: Relaxed
                                      Posts: 682
                                      Can everyone please update to the latest version as there were some slight issues with the previous one, thank you.
                                      __________________

                                      Pokémon: Lost Souls.







                                      Developed by Carmaniac.


                                      Quote:
                                      Originally Posted by Luka S.J. View Post
                                      My balls seem to be fine.
                                      Reply With Quote
                                        #22    
                                      Old January 22nd, 2013 (3:37 PM).
                                      ppooookkkkkkk ppooookkkkkkk is offline
                                      Banned
                                         
                                        Join Date: May 2012
                                        Location: Newbud town (Pokemon Morning/Night)
                                        Age: 16
                                        Gender: Male
                                        Nature: Gentle
                                        Posts: 229
                                        I give you a suggestion. In the next update add the Anger speech bubble!
                                        Reply With Quote
                                          #23    
                                        Old January 22nd, 2013 (7:49 PM). Edited January 22nd, 2013 by Mortalis.
                                        Mortalis's Avatar
                                        Mortalis Mortalis is offline
                                        dreadnaught
                                        • Crystal Tier
                                         
                                        Join Date: May 2010
                                        Location: Canada
                                        Age: 20
                                        Gender: Male
                                        Nature: Naughty
                                        Posts: 345
                                        carmaniac, you are a beautiful person. Thanks for this!

                                        Quick question: Is it possible to force the message box to the bottom of the screen? During my game's opening event, the player is facing NPCs who are at the top of the screen while the player is at the bottom, yet the message box is covering them when they talk. When I use value 1 for the first input [ pbCallBub (1, eventid) ], it goes off the screen and can't be read.
                                        Reply With Quote
                                          #24    
                                        Old January 22nd, 2013 (10:43 PM).
                                        carmaniac's Avatar
                                        carmaniac carmaniac is offline
                                        Where the pickle surprise at?
                                           
                                          Join Date: Apr 2009
                                          Location: England
                                          Age: 22
                                          Nature: Relaxed
                                          Posts: 682
                                          My bad, forgot about when events are at the top of the screen with the player being at the bottom facing up XD. I'll have that fixed once I'm home.
                                          __________________

                                          Pokémon: Lost Souls.







                                          Developed by Carmaniac.


                                          Quote:
                                          Originally Posted by Luka S.J. View Post
                                          My balls seem to be fine.
                                          Reply With Quote
                                            #25    
                                          Old January 23rd, 2013 (10:00 AM).
                                          oldsnake90's Avatar
                                          oldsnake90 oldsnake90 is offline
                                          Creator Pokemon Glacial Freeze
                                             
                                            Join Date: Feb 2010
                                            Location: Wisconsin USA
                                            Gender: Male
                                            Posts: 81
                                            i put it in the game but its not working. It works if i have the old Pokemonmessages script from your last update. but it wont now. :\ idk if i did something wrong
                                            __________________
                                            V.K. Productions on Facebook

                                            Pokemon Glacial Freeze Project on Facebook
                                            Reply With Quote
                                            Reply
                                            Quick Reply

                                            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 4:27 AM.