The PokéCommunity Forums Fan Games Game Development Scripts & Tutorials
Essentials Script Elite Battle 2015: Gen 5 battle skin

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 March 27th, 2015 (3:12 PM). Edited March 27th, 2015 by oldsnake90.
oldsnake90's Avatar
oldsnake90 oldsnake90 is offline
Creator Pokemon Glacial Freeze
     
    Join Date: Feb 2010
    Location: Wisconsin USA
    Gender: Male
    Posts: 81
    I have a problem is it supposed to look like this?
    Spoiler:

    PBEffects
    PBWeather
    PBTargets
    PokeBattle_DynamicBattle*
    PokeBattle_DynamicScene*
    PokeBattle_UI*
    PokeBattle_Sprites*
    PokeBattle_BitmapWrapper*
    PokeBattle_ActiveSideField
    PokeBattle_DamageState
    and so on.

    Do i have them in the right spots?
    I keep getting this message
    Spoiler:
    Script 'PokeBattle_DynamicBattle*' line 30: NameError occurred undefined method 'pbStartBattleCore' for class 'PokeBattle_Battle'
    __________________
    V.K. Productions on Facebook

    Pokemon Glacial Freeze Project on Facebook
    Reply With Quote

    Relevant Advertising!

      #52    
    Old March 27th, 2015 (3:22 PM). Edited March 27th, 2015 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: 25
      Gender: Male
      Nature: Adamant
      Posts: 1,118
      Quote:
      Originally Posted by oldsnake90 View Post
      I have a problem is it supposed to look like this?
      Do i have them in the right spots?
      There are 6 script sections, not 5. Don't replace any of the existing scripts with mine - plug them in.
      Quote:
      Originally Posted by Luka S.J. View Post
      Copy and paste the scripts into your game, above Main, but make sure that the following script sections stay above your newly copied scripts:
      • PokeBattle_AnimationPlayer
      • PokeBattle_ActualScene
      • PokeBattle_Battle
      • PSystem_Utilities
      Pretty self explanatory...
      Reply With Quote
        #53    
      Old March 27th, 2015 (3:24 PM).
      oldsnake90's Avatar
      oldsnake90 oldsnake90 is offline
      Creator Pokemon Glacial Freeze
         
        Join Date: Feb 2010
        Location: Wisconsin USA
        Gender: Male
        Posts: 81
        ok but now i get this
        Spoiler:
        Script 'PokeBattle_DynamicBattle*' line 30: NameError occurred undefined method 'pbStartBattleCore' for class 'PokeBattle_Battle'
        __________________
        V.K. Productions on Facebook

        Pokemon Glacial Freeze Project on Facebook
        Reply With Quote
          #54    
        Old March 27th, 2015 (3:27 PM). Edited March 28th, 2015 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: 25
          Gender: Male
          Nature: Adamant
          Posts: 1,118
          Quote:
          Originally Posted by oldsnake90 View Post
          ok but now i get this
          Spoiler:
          Script 'PokeBattle_DynamicBattle*' line 30: NameError occurred undefined method 'pbStartBattleCore' for class 'PokeBattle_Battle'
          Your PokeBattle_DynamicBattle is obvously not below PokeBattle_Battle.

          Also, I fixed a potential visual mishap when using an item during the "idle animations". Battle and Scene is what you want.
          Reply With Quote
            #55    
          Old March 27th, 2015 (3:59 PM).
          oldsnake90's Avatar
          oldsnake90 oldsnake90 is offline
          Creator Pokemon Glacial Freeze
             
            Join Date: Feb 2010
            Location: Wisconsin USA
            Gender: Male
            Posts: 81
            i got it working i misread i thought it was supposed to be on top of those you listed.
            __________________
            V.K. Productions on Facebook

            Pokemon Glacial Freeze Project on Facebook
            Reply With Quote
              #56    
            Old March 27th, 2015 (11:56 PM).
            Dylanrockin's Avatar
            Dylanrockin Dylanrockin is offline
            That guy
               
              Join Date: May 2011
              Age: 22
              Gender: Male
              Nature: Timid
              Posts: 277
              Upon updating my game with the recent script update, I was greeted with this argument error: This error appears, whenever I am running around in grass, and try to encounter a Pokemon.

              Spoiler:
              ---------------------------
              Pokemon Essentials
              ---------------------------
              Exception: ArgumentError

              Message: wrong number of arguments(7 for 5)

              PField_Field:968:in `initialize'

              PField_Field:968:in `new'

              PField_Field:968:in `pbWildBattle'

              PField_Field:1468:in `pbBattleOnStepTaken'

              PField_Field:1492:in `pbOnStepTaken'

              Game_Player:484:in `update_old'

              Walk_Run:79:in `update'

              Scene_Map:104:in `update'

              Scene_Map:101:in `loop'

              Scene_Map:116:in `update'



              This exception was logged in

              C:\Users\Dylan\Saved Games/Pokemon Essentials/errorlog.txt.

              Press Ctrl+C to copy this message to the clipboard.
              ---------------------------
              OK
              ---------------------------
              Reply With Quote
                #57    
              Old March 28th, 2015 (3:03 AM). Edited March 28th, 2015 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: 25
                Gender: Male
                Nature: Adamant
                Posts: 1,118
                You have custom scripts that are interfering with the battle system, and I'm assuming those are the gen 6 beta files. But because I'm such a swell guy, and magically know how the universe works, I've reworked some things in the Battle script to allow for your changes.

                EDIT:
                I have just taken a peek at the gen 6 project, and I think that I have included a compatibility fix for the Ability Messages. Get the Scene script.
                Reply With Quote
                  #58    
                Old March 28th, 2015 (5:36 AM). Edited March 28th, 2015 by Dylanrockin.
                Dylanrockin's Avatar
                Dylanrockin Dylanrockin is offline
                That guy
                   
                  Join Date: May 2011
                  Age: 22
                  Gender: Male
                  Nature: Timid
                  Posts: 277
                  Quote:
                  Originally Posted by Luka S.J. View Post
                  You have custom scripts that are interfering with the battle system, and I'm assuming those are the gen 6 beta files. But because I'm such a swell guy, and magically know how the universe works, I've reworked some things in the Battle script to allow for your changes.

                  EDIT:
                  I have just taken a peek at the gen 6 project, and I think that I have included a compatibility fix for the Ability Messages. Get the Scene script.
                  It worked as expected. I am not very familiar with how the Weather Message appears in the normal Gen 6 Project (if the changes you made affected it like this at all), but there is some start up lag upon the message appearing, again not that it really mattered. But, that is not really a big deal, as it all worked as it was intended. For all I know that was probably just the weather effect causing the start up lag.
                  Reply With Quote
                    #59    
                  Old March 31st, 2015 (9:35 AM).
                  Erassus's Avatar
                  Erassus Erassus is offline
                  Hunter
                     
                    Join Date: Jan 2015
                    Location: Chile
                    Age: 27
                    Gender: Male
                    Nature: Relaxed
                    Posts: 51
                    Fantastic! awesome work Luka S.J.

                    I tested with other engine called "RMX-OS" and no errors or crash.

                    The Pokédex is the only thing is messed, the pokemon sprite show all the framerates instead of one. Any suggestions?

                    Pokédex problem.

                    Click image for larger version

Name:	Snap_2.png
Views:	37
Size:	12.5 KB
ID:	74679

                    Click image for larger version

Name:	Snap_3.png
Views:	24
Size:	13.4 KB
ID:	74680

                    Test:

                    TEST.avi
                    Reply With Quote
                      #60    
                    Old March 31st, 2015 (9:53 AM).
                    kcgcrazy kcgcrazy is offline
                       
                      Join Date: Nov 2013
                      Location: Canada
                      Gender: Male
                      Posts: 119
                      Quote:
                      Originally Posted by Erassus View Post
                      Fantastic! awesome work Luka S.J.

                      I tested with other engine called "RMX-OS" and no errors or crash.

                      The Pokédex is the only thing is messed, the pokemon sprite show all the framerates instead of one. Any suggestions?

                      Pokédex problem.

                      Attachment 74679

                      Attachment 74680

                      Test:

                      Attachment 74681
                      At The top of the Original Post it tells you how to fix the pokedex issue
                      Quote:
                      Read this post to change up your Pokedex
                      Reply With Quote
                        #61    
                      Old March 31st, 2015 (11:46 AM). Edited March 31st, 2015 by Erassus.
                      Erassus's Avatar
                      Erassus Erassus is offline
                      Hunter
                         
                        Join Date: Jan 2015
                        Location: Chile
                        Age: 27
                        Gender: Male
                        Nature: Relaxed
                        Posts: 51
                        Quote:
                        Originally Posted by kcgcrazy View Post
                        At The top of the Original Post it tells you how to fix the pokedex issue
                        Fixed the "Forms" page, but the "Info" page still the issue.

                        Click image for larger version

Name:	Snap_3.png
Views:	39
Size:	8.0 KB
ID:	74682

                        Click image for larger version

Name:	Snap_2.png
Views:	41
Size:	10.7 KB
ID:	74683

                        Only this page is...

                        EDIT:

                        I fixed it, sorry and THANKS!
                        Reply With Quote
                          #62    
                        Old April 2nd, 2015 (3:32 PM). Edited April 2nd, 2015 by rigbycwts.
                        rigbycwts's Avatar
                        rigbycwts rigbycwts is offline
                        Hmm, hmm.
                           
                          Join Date: Mar 2013
                          Gender: Male
                          Nature: Timid
                          Posts: 98
                          Encountering a wild Pokemon in the Safari Zone results in this error:
                          Spoiler:

                          Exception: NoMethodError
                          Message: undefined method `length' for nil:NilClass
                          PokeBattle_UI:325:in `text='
                          PokeBattle_UI:323:in `each'
                          PokeBattle_UI:323:in `text='
                          PokeBattle_UI:411:in `pbCommandMenuEx'
                          PokeBattle_Scene:2330:in `pbSafariCommandMenu'
                          PokeBattle_SafariZone:118:in `pbStartBattle'
                          PBattle_Safari:114:in `pbSafariBattle'
                          PBattle_Safari:113:in `pbSceneStandby'
                          PBattle_Safari:115:in `pbSafariBattle'
                          PBattle_Safari:112:in `pbBattleAnimation'


                          Also, it will be more complete if there is something like this everytime an Ability is activated:
                          Spoiler:



                          __________________
                          Coming soon: Pokemon Collective and Mercantile Versions.

                          My college-life-advice blog.
                          Reply With Quote
                            #63    
                          Old April 2nd, 2015 (4:47 PM).
                          Sakuya Izumi Sakuya Izumi is offline
                             
                            Join Date: Apr 2015
                            Posts: 3
                            I have a question regarding the gif to png program.
                            I used the X and Y animated sprites on it but after I placed them in game, The Legendary sprites especially, but most of the sprites are so big they expand over the screen.
                            Do I need to do anything else after I convert the gifs?
                            Reply With Quote
                              #64    
                            Old April 2nd, 2015 (5:04 PM).
                            Erassus's Avatar
                            Erassus Erassus is offline
                            Hunter
                               
                              Join Date: Jan 2015
                              Location: Chile
                              Age: 27
                              Gender: Male
                              Nature: Relaxed
                              Posts: 51
                              I have a problem with the fonts, i'm using the default fonts of Essentials (Power Green, etc) but in the battle still showing "?" and not the correct gender symbol. What font i need to set?
                              Reply With Quote
                                #65    
                              Old April 3rd, 2015 (3:30 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,118
                                Quote:
                                Originally Posted by rigbycwts View Post
                                Encountering a wild Pokemon in the Safari Zone results in this error:
                                I've mentioned several times already that I'm still working on the Safari Zone compatibility. Yes, SZ is not currently supported, but will be some time in the near future.
                                Quote:
                                Originally Posted by Sakuya Izumi View Post
                                I have a question regarding the gif to png program.
                                I used the X and Y animated sprites on it but after I placed them in game, The Legendary sprites especially, but most of the sprites are so big they expand over the screen.
                                Do I need to do anything else after I convert the gifs?
                                The converter works as intended, and there are no additional steps required to make it work. I designed the system for the gen 5 sprites. It's not my problem that the sprites you are trying to use are too large for the screen. Use smaller sprites.
                                Quote:
                                Originally Posted by Erassus View Post
                                I have a problem with the fonts, i'm using the default fonts of Essentials (Power Green, etc) but in the battle still showing "?" and not the correct gender symbol. What font i need to set?
                                I'm using the default fonts of Essentials as well. Along with the dozen other people who are using this system, and no one has had that issue.
                                Reply With Quote
                                  #66    
                                Old April 3rd, 2015 (3:40 AM).
                                rigbycwts's Avatar
                                rigbycwts rigbycwts is offline
                                Hmm, hmm.
                                   
                                  Join Date: Mar 2013
                                  Gender: Male
                                  Nature: Timid
                                  Posts: 98
                                  Quote:
                                  Originally Posted by Luka S.J. View Post
                                  I've mentioned several times already that I'm still working on the Safari Zone compatibility. Yes, SZ is not currently supported, but will be some time in the near future.
                                  Sorry, my bad. Didn't notice it. That aside, I think that this add-on is great, and keep it up! :D

                                  Hope to see the "animation" when an Ability is activated. (Something like "Gyarados's Intimidate!" appearing upon its activation)
                                  Reply With Quote
                                    #67    
                                  Old April 3rd, 2015 (8:32 AM).
                                  crispybacon1234's Avatar
                                  crispybacon1234 crispybacon1234 is offline
                                  Pokémon Infernal Red / Natural Green Developer
                                     
                                    Join Date: Nov 2014
                                    Location: United Kingdom
                                    Gender: Male
                                    Nature: Hasty
                                    Posts: 99
                                    Just a small question on the script.

                                    Would it be possible to change the sprite being used during an attack, like in Gen 6 Pokémon games when the Pokémon has a separate attack animation. (e.g. Greninja going from standing still to throwing water shurikens).
                                    I'm guessing this would be called through a form change, but I have little scripting knowledge and am not sure how you would do this.

                                    Also, loving the script. Best thing on Essentials I've seen in months, keep up the good work!
                                    Reply With Quote
                                      #68    
                                    Old April 3rd, 2015 (9:54 AM).
                                    Erassus's Avatar
                                    Erassus Erassus is offline
                                    Hunter
                                       
                                      Join Date: Jan 2015
                                      Location: Chile
                                      Age: 27
                                      Gender: Male
                                      Nature: Relaxed
                                      Posts: 51
                                      Quote:
                                      Originally Posted by Luka S.J. View Post
                                      I'm using the default fonts of Essentials as well. Along with the dozen other people who are using this system, and no one has had that issue.
                                      I found the solution, it's happens when the browser is not enabled the unicode, so to copy and paste the script, means "?" instead of the gender unicode symbol.

                                      Click image for larger version

Name:	Snap_2.png
Views:	57
Size:	46.6 KB
ID:	74706

                                      If anyone having this problem, in the line 144, 146, 180, 182, of the PokeBattle_UI you need to check

                                      Spoiler:
                                      textpos.push([_INTL("?")

                                      Click image for larger version

Name:	Captura.PNG
Views:	34
Size:	66.6 KB
ID:	74705



                                      for

                                      and change the "?" for the correct unicode symbol.

                                      Click image for larger version

Name:	Snap_3.png
Views:	38
Size:	45.1 KB
ID:	74707
                                      Reply With Quote
                                        #69    
                                      Old April 6th, 2015 (2:56 AM).
                                      Rayquaza.'s Avatar
                                      Rayquaza. Rayquaza. is offline
                                      Lead Dev in Pokémon Order and Chaos
                                         
                                        Join Date: Sep 2011
                                        Location: United Kingdom
                                        Age: 21
                                        Gender: Male
                                        Nature: Adamant
                                        Posts: 690
                                        ---------------------------
                                        Script 'Pokebattle_AnimationPlayer' line 121: NameError occurred.

                                        undefined method `pbAnimationCore' for class `PokeBattle_Scene'
                                        ---------------------------

                                        I'm sure I followed all the instructions but still...
                                        __________________
                                        Reply With Quote
                                          #70    
                                        Old April 6th, 2015 (4: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,118
                                          Quote:
                                          Originally Posted by Rayquaza. View Post
                                          I'm sure I followed all the instructions but still...
                                          I'm sure you haven't...
                                          Reply With Quote
                                            #71    
                                          Old April 6th, 2015 (5:21 AM).
                                          Rayquaza.'s Avatar
                                          Rayquaza. Rayquaza. is offline
                                          Lead Dev in Pokémon Order and Chaos
                                             
                                            Join Date: Sep 2011
                                            Location: United Kingdom
                                            Age: 21
                                            Gender: Male
                                            Nature: Adamant
                                            Posts: 690
                                            Quote:
                                            Originally Posted by Luka S.J. View Post
                                            I'm sure you haven't...
                                            Could you explain what's gone wrong?
                                            __________________
                                            Reply With Quote
                                              #72    
                                            Old April 6th, 2015 (6:10 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,118
                                              Quote:
                                              Originally Posted by Luka S.J. View Post
                                              Copy and paste the scripts into your game, above Main, but make sure that the following script sections stay above your newly copied scripts:
                                              • PokeBattle_AnimationPlayer
                                              • PokeBattle_ActualScene
                                              • PokeBattle_Battle
                                              • PSystem_Utilities
                                              Quote:
                                              Originally Posted by Luka S.J. View Post
                                              Your PokeBattle_DynamicBattle is obvously not below PokeBattle_Battle.
                                              Quote:
                                              Originally Posted by Luka S.J. View Post
                                              Quote:
                                              Originally Posted by Luka S.J. View Post
                                              Copy and paste the scripts into your game, above Main, but make sure that the following script sections stay above your newly copied scripts:
                                              • PokeBattle_AnimationPlayer
                                              • PokeBattle_ActualScene
                                              • PokeBattle_Battle
                                              • PSystem_Utilities
                                              Pretty self explanatory...
                                              Quote:
                                              Originally Posted by Luka S.J. View Post
                                              That's your assessment of it, which might not be true. Anyway, my assessment is that you're getting the error because you didn't paste the scripts in the correct positions.
                                              Quote:
                                              Originally Posted by Luka S.J. View Post
                                              Copy and paste the scripts into your game, above Main, but make sure that the following script sections stay above your newly copied scripts:
                                              • PokeBattle_AnimationPlayer
                                              • PokeBattle_ActualScene
                                              • PokeBattle_Battle
                                              • PSystem_Utilities
                                              Just let me know when I can stop quoting myself.
                                              Reply With Quote
                                                #73    
                                              Old April 6th, 2015 (8:00 AM). Edited April 6th, 2015 by KillerMapper.
                                              KillerMapper's Avatar
                                              KillerMapper KillerMapper is offline
                                              Helix Follower
                                                 
                                                Join Date: Sep 2014
                                                Location: Paris
                                                Gender: Male
                                                Posts: 200
                                                I finally put my hands on your scripts and it's really awesome. Thanks a lot for this effort.

                                                I just have a question, is there a way to keep the default Essential battlebox and menus?

                                                Edit: I also noticed something, when a flying pokémon is sent you don't ear the landing sound (which is ok) but the screen still shakes . It should't expect in double battle when the other pokémon actually lands.
                                                __________________
                                                Praise Helix.
                                                Reply With Quote
                                                  #74    
                                                Old April 6th, 2015 (9:49 AM).
                                                crispybacon1234's Avatar
                                                crispybacon1234 crispybacon1234 is offline
                                                Pokémon Infernal Red / Natural Green Developer
                                                   
                                                  Join Date: Nov 2014
                                                  Location: United Kingdom
                                                  Gender: Male
                                                  Nature: Hasty
                                                  Posts: 99
                                                  Bump

                                                  Quote:
                                                  Originally Posted by crispybacon1234 View Post

                                                  Would it be possible to change the sprite being used during an attack, like in Gen 6 Pokémon games when the Pokémon has a separate attack animation. (e.g. Greninja going from standing still to throwing water shurikens).
                                                  I'm guessing this would be called through a form change, but I have little scripting knowledge and am not sure how you would do this.
                                                  Sorry for bumping, just really curious about this.
                                                  Reply With Quote
                                                    #75    
                                                  Old April 6th, 2015 (10:24 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,118
                                                    Quote:
                                                    Originally Posted by KillerMapper View Post
                                                    I just have a question, is there a way to keep the default Essential battlebox and menus?
                                                    I don't know why you'd want that. You weren't the first one to ask about it though, and I've already implemented this a while ago, but didn't re-upload the scripts. Update all of your 6 scripts, and in DynamicScene there is a USENEWUI constant. Set this value to false. I'm expecting it not to work with the old UI as well as the new one, and I don't care for any reports of visual glitches for the old UI. I designed the system with the new UI in mind, and I spent a lot of time making that. So I'm not really interested in what's going on with the old UI visuals. Use if you want. I'd recommend not to.
                                                    Quote:
                                                    Originally Posted by crispybacon1234 View Post
                                                    Sorry for bumping, just really curious about this.
                                                    Yeah, but I'm not.
                                                    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 2:36 PM.