Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.

Closed Thread
 
Thread Tools
  #2476    
Old July 4th, 2008 (10:47 PM). Edited July 4th, 2008 by blueguy.
blueguy's Avatar
blueguy blueguy is offline
No capitalization required. ;D
     
    Join Date: Feb 2005
    Age: 26
    Nature: Quirky
    Posts: 744
    I have a very silly cosmetic questions. How can I change the way gender is displayed? I want it to be a sprite rather than a font. Thanks to whoever knows.

    Also, I'm having a lot of trouble with custom items. For some reason, it will accept one name and not another. For example, the item was originally titled "EARING," and I later wanted to correct the spelling by adding an extra 'r,' but it will not accept "EARRING." I reverted it and it will still accept "EARING" so I'm really confused. Then, I tried to change the name to "LOCKET" and I've tried all kinds of numbers. I think I have everything right, so I'm totally confused.

    Here's the error:
    Message: Script error within event 65, map 28 (ROUTE C1):
    (eval):1:in `pbExecuteScript'uninitialized constant PBItems::LOCKET
    Interpreter:238:in `pbExecuteScript'
    Interpreter:1615:in `eval'
    Interpreter:238:in `pbExecuteScript'
    Interpreter:1615:in `command_355'
    Interpreter:467:in `execute_command'
    Interpreter:190:in `update'
    Interpreter:104:in `loop'
    Interpreter:195:in `update'
    Scene_Map:100:in `update'
    Scene_Map:98:in `loop'

    Sorry if that was stupid. I have no clue. XD

    Relevant Advertising!

      #2477    
    Old July 5th, 2008 (2:19 AM).
    PoKéMaKeR's Avatar
    PoKéMaKeR PoKéMaKeR is offline
    Pokemon Rancher creator!
       
      Join Date: Apr 2008
      Location: The Netherlands :)
      Gender:
      Nature: Relaxed
      Posts: 293
      Quote:
      Originally Posted by PoKéMaKeR View Post
      Can someone make me a script for a fast ball (the same as the fastball you obtain in G/S/C from kurt after you gave him a WHT Apricorn)
      Thanks in advance
      Does anyone know an answer for this one..?!
      I hope anyone does..!
      Tanks in advance

      PoKéMaKeR
      __________________
      (Click for the thread)



      Last update on the Rancher thread: February 26th 2009

        #2478    
      Old July 5th, 2008 (6:11 AM). Edited July 5th, 2008 by Hall Of Famer.
      Hall Of Famer's Avatar
      Hall Of Famer Hall Of Famer is offline
      Born as Hall of Famer
         
        Join Date: Mar 2008
        Location: In the World of Fame
        Posts: 742
        Quote:
        Originally Posted by LokiFerne View Post

        @>Hall of Famer

        poccil is concentrating on bringing the mechanics of the Pokemon games to us, which is no mean feat. Imagine yourself doing that... weaker people would probably be robbed of the magic of Pokémon, having to know how every little detail works. If he were to add all of the battle animations (which if he were to do properly he would have to add all of the D/P moves, look at all the animations in some form and then convert them from the pokemons 30 (???) FPS to RMXPs 20. There was a project to create the battle animations within the community but I haven't seen it's progress. If it were to be done it would require participation and organisation from a large group of people, as well as the acquisition of sprites that just aren't out there at the moment. This stuff doesn't realise itself, so be glad we have what we have. I'm sorry if that sounded like a rant but I think we should be immensely grateful for what has been created so far.
        1. I know Poccil is doing a lot of work on this starterkit and I appreciate his work, but the animation is not like some scripts we can do by learning RGSS. Therefore, it's fairly important to include this feature in the starterkit since it's far more difficult to become an artist than a scripter.

        2. I'd say it would be great if Poccil intends to add D/P moves, but it's not a must thing for most of us and the moves animation can still be made w/o Pokemon D/P moves. Btw, like I said before, it's much easier for we game makers to add D/P moves by ourselves than making animation.

        3. I understand how hard it is to carry out a project like this and I'm simply giving an advice or feedback as a pokemon essentials user. I don't quite mind if my suggestion fails to work so it's not necessary for you to write this many words trying to educate me, right?
        __________________
        Yes, I am the founder of Pokemon HOF



        My sites:
        Pokemon Mysidia: http://www.pokemonmysidia.com
        Poketube: http://www.pokemonmysidia.org
        Pokemon HOF Official site: http://pkmnhalloffame.pokemonmysidia.com
        Mysidian's board: www.pokemonmysidia.com/forum

        Quote:
        Women are beautiful for the simple fact they are women.


          #2479    
        Old July 5th, 2008 (7:41 AM).
        Dr. Manhattan's Avatar
        Dr. Manhattan Dr. Manhattan is offline
        His Plane Was Built To Crash
           
          Join Date: Jun 2008
          Location: Maine
          Gender:
          Nature: Quirky
          Posts: 8
          Quote:
          Originally Posted by PoKéMaKeR View Post
          Does anyone know an answer for this one..?!
          I hope anyone does..!
          Tanks in advance

          PoKéMaKeR
          Take a look at the PokeBattle_Battle script in the script editor. It contains all the functions for the Balls. I haven't got the game on this computer, but from what I saw, it shouldn't be too complicated to impliment if you know what function correspondes to the stat.
          __________________
            #2480    
          Old July 5th, 2008 (11:48 AM).
          PokemonPlatnum's Avatar
          PokemonPlatnum PokemonPlatnum is offline
          nomnomnom.
             
            Join Date: Apr 2008
            Location: Ireland
            Age: 23
            Gender: Male
            Nature: Sassy
            Posts: 259
            How can I change the font colour?
            __________________

            Official Forum for a Zelda Engine in RMXP, Sign up now!

            --------------------------------------------------------
            Update Patch 4 Coming Soon.

              #2481    
            Old July 5th, 2008 (6:04 PM).
            crzyone9584 crzyone9584 is offline
            Pokemon: The Beginning Founder
               
              Join Date: Jun 2008
              Location: Lakewood, Colorado
              Age: 29
              Gender:
              Nature: Lonely
              Posts: 167
              Quote:
              Originally Posted by PokemonPlatnum View Post
              How can I change the font colour?
              check notes.html under message system.

              now i was reading the notes on the map it says the map is mad in a 16 by 16 space. what in the world does that mean. (not a graphics guy) could soome one show me what it means or explain it to me?
              __________________
              Killing to Live, Living to Kill.

              Pokemon: The Beginning

              Click link above. It's the home of My Game!
                #2482    
              Old July 5th, 2008 (6:47 PM). Edited July 5th, 2008 by Scythe_Ironclaw.
              Scythe_Ironclaw's Avatar
              Scythe_Ironclaw Scythe_Ironclaw is offline
              Shrouded Heart - Zorua & Sylveon Trainer
                 
                Join Date: Oct 2007
                Location: Dyvania Provence
                Age: 26
                Gender: Male
                Nature: Quirky
                Posts: 55
                How do I add more Region Maps? I need to be able to Expand my Region Maps. I got it to Expand but I am unable to SAVE the locations and ultimately, unable to use the "Fly" HM. When ever I choose "FLY" it crashes and gives me this error:

                Interpreter:249:in `pbExecuteScript'
                Interpreter:1614:in `command_355'
                Interpreter:466:in `execute_command'
                Interpreter:190:in `update'
                Interpreter:104:in `loop'
                Interpreter:195:in `update'
                Scene_Map:98:in `update'
                Scene_Map:96:in `loop'
                Scene_Map:109:in `update'
                Scene_Map:65:in `main'
                Exception: ArgumentError
                Message: wrong number of arguments(0 for 1)
                PokemonRegionMap:271:in `pbStartScene'
                PokemonRegionMap:271:in `pbStartFlyScreen'
                PokemonScreen:1260:in `pbPokemonScreen'
                PokemonScreen:1230:in `each'
                PokemonScreen:1230:in `pbPokemonScreen'
                PokemonScreen:1182:in `loop'
                PokemonScreen:1416:in `pbPokemonScreen'
                PokemonMenu:150:in `pbStartPokemonMenu'
                PokemonMenu:149:in `pbFadeOutIn'
                PokemonMenu:149:in `pbStartPokemonMenu'

                I am working on a game called "Pokemon Adventure" I have Over 2 Regions so you can see why I need to be able to expand them.
                Current Region include: KANTO, JOHTO, HOENN, (Possibly SINNOH),OREE,VAGIN(My Own Reigion),SEVII ISLANDS(Both A,B,and,C),ORANGE ISLANDS,HARDROCK ISLAND(Another Original One), and ISLAND CHART(For the Odds and Ends Islands that I make) Even if I forget about adding the ISLAND CHART one we are still looking at, 8 Maps.

                *I also need to know how to make those "Over Under" Bridges. In Sinnoh, there is one Route where there are 3 Levels of Over Under Bridges. This will be a pain to do. The route I am talking about is the one with the dense fog where you have to use "Fog Clear" to get rid of.
                *I am going to do SINNOH last for that reason.

                Quote:
                Originally Posted by crzyone9584 View Post
                check notes.html under message system.

                now i was reading the notes on the map it says the map is mad in a 16 by 16 space. what in the world does that mean. (not a graphics guy) could soome one show me what it means or explain it to me?
                It must be reffering to the ammount of PIXLES per Tile.
                I.E. 1 Tile(Or Space/Square/etc.) 16 Pixles. So have a YELLOW,DARK BLUE,TOWN,CITY,CAVE,AREA, graphics set to 16 Pixles.

                I didn't know that!
                You Problem gave me an answer to one of MY Problems! LOL!
                  #2483    
                Old July 5th, 2008 (7:13 PM).
                JollyRoger25's Avatar
                JollyRoger25 JollyRoger25 is offline
                Dark Type Master
                   
                  Join Date: Jun 2008
                  Location: Springfield, Ohio, U.S.
                  Age: 28
                  Gender: Male
                  Nature: Jolly
                  Posts: 672
                  Hey, I have a problem, I am making maps on the starter kit, and one of the maps I created has the Rain effect active without my making it happen like though an event, how do I get rid of this effect, at least on this map?
                  __________________
                  Ultimate Monotype Challenge:
                  K-8/8 J-8/8 H-8/8 S-1/8 U-0/8 K-0/8
                  Dark Party:
                    #2484    
                  Old July 5th, 2008 (7:21 PM). Edited July 5th, 2008 by crzyone9584.
                  crzyone9584 crzyone9584 is offline
                  Pokemon: The Beginning Founder
                     
                    Join Date: Jun 2008
                    Location: Lakewood, Colorado
                    Age: 29
                    Gender:
                    Nature: Lonely
                    Posts: 167
                    to add new region maps look at the town maps.txt (the latest version) has an example of it. just look in there.

                    also that doesn't really help me. your explanation. thanks though

                    edit: could someone help me on this qestion.

                    does anyone know how and where to edit it where you can capture other trainers pokemon? and know how to make it so that the trainer your fighting can capture yours to.?
                    __________________
                    Killing to Live, Living to Kill.

                    Pokemon: The Beginning

                    Click link above. It's the home of My Game!
                      #2485    
                    Old July 5th, 2008 (8:20 PM).
                    partyghoul2000's Avatar
                    partyghoul2000 partyghoul2000 is offline
                    Intermediate Game Designer
                       
                      Join Date: Jan 2006
                      Location: USA
                      Age: 29
                      Gender: Male
                      Nature: Calm
                      Posts: 175
                      Quote:
                      Originally Posted by JolylRoger25 View Post
                      Hey, I have a problem, I am making maps on the starter kit, and one of the maps I created has the Rain effect active without my making it happen like though an event, how do I get rid of this effect, at least on this map?
                      if you erased some or all of the starter kit maps, it's probably data left over from those maps. to fix this, go to the metadata.txt in the PBS folder and erase all the map data below the entry [000].
                      __________________

                      Check out my Super Gothic Bros hack here.
                      My ripped pokemon music in MP3 format can be found here.
                      My custom battle animations and whatnot can be found here.
                      Credit is expected, if used.
                        #2486    
                      Old July 5th, 2008 (9:06 PM).
                      JollyRoger25's Avatar
                      JollyRoger25 JollyRoger25 is offline
                      Dark Type Master
                         
                        Join Date: Jun 2008
                        Location: Springfield, Ohio, U.S.
                        Age: 28
                        Gender: Male
                        Nature: Jolly
                        Posts: 672
                        Hey, thanks, thanks alot.
                        __________________
                        Ultimate Monotype Challenge:
                        K-8/8 J-8/8 H-8/8 S-1/8 U-0/8 K-0/8
                        Dark Party:
                          #2487    
                        Old July 6th, 2008 (1:29 AM).
                        Exiled~Shadow's Avatar
                        Exiled~Shadow Exiled~Shadow is offline
                        Once, JJMcay Now Exiled~Shadow
                           
                          Join Date: Oct 2007
                          Location: In a magical land full of ponies and faries!
                          Age: 22
                          Nature: Relaxed
                          Posts: 477
                          hey guys, i was just wondering where you can make 'i support' banners like the ones in my sig cause i wanna advertise for my game.

                          Thanks in advance!
                          __________________
                          ~~~~

                          An untold tale of the high seas...
                          A tale of the dawn of exploration...
                          A tale that spans time...
                          A tale, never told before...


                          Pokémon: Age of Exploration
                          Coming Soon...

                          ~~~~

                            #2488    
                          Old July 6th, 2008 (5:03 AM).
                          partyghoul2000's Avatar
                          partyghoul2000 partyghoul2000 is offline
                          Intermediate Game Designer
                             
                            Join Date: Jan 2006
                            Location: USA
                            Age: 29
                            Gender: Male
                            Nature: Calm
                            Posts: 175
                            Quote:
                            Originally Posted by JJMcay View Post
                            hey guys, i was just wondering where you can make 'i support' banners like the ones in my sig cause i wanna advertise for my game.

                            Thanks in advance!
                            you could google a userbar generator, im pretty sure that there's a website for one. the better userbars are usually done in photoshop or some other graphics program.

                            imo, do it in a graphics program. the last time i made a userbar with a generator, it came out kinda dull.
                            __________________

                            Check out my Super Gothic Bros hack here.
                            My ripped pokemon music in MP3 format can be found here.
                            My custom battle animations and whatnot can be found here.
                            Credit is expected, if used.
                              #2489    
                            Old July 6th, 2008 (6:11 AM).
                            Exiled~Shadow's Avatar
                            Exiled~Shadow Exiled~Shadow is offline
                            Once, JJMcay Now Exiled~Shadow
                               
                              Join Date: Oct 2007
                              Location: In a magical land full of ponies and faries!
                              Age: 22
                              Nature: Relaxed
                              Posts: 477
                              Quote:
                              Originally Posted by partyghoul2000 View Post
                              you could google a userbar generator, im pretty sure that there's a website for one. the better userbars are usually done in photoshop or some other graphics program.

                              imo, do it in a graphics program. the last time i made a userbar with a generator, it came out kinda dull.
                              thanks mate... found one and am creating one as i type. will post in my sig when done!
                              __________________
                              ~~~~

                              An untold tale of the high seas...
                              A tale of the dawn of exploration...
                              A tale that spans time...
                              A tale, never told before...


                              Pokémon: Age of Exploration
                              Coming Soon...

                              ~~~~

                                #2490    
                              Old July 6th, 2008 (6:35 AM).
                              PokemonPlatnum's Avatar
                              PokemonPlatnum PokemonPlatnum is offline
                              nomnomnom.
                                 
                                Join Date: Apr 2008
                                Location: Ireland
                                Age: 23
                                Gender: Male
                                Nature: Sassy
                                Posts: 259
                                How do I change the following(circled in red's)text color to white?
                                Spoiler:


                                Also how to I fix this error?
                                Code:
                                Exception: NoMethodError
                                Message: undefined method `new' for nil:NilClass
                                PokeBattle_Move:860:in `pbFromPBMove'
                                PokeBattle_Battle:336:in `initialize'
                                PokemonField:382:in `new'
                                PokemonField:382:in `pbWildBattle'
                                PokemonField:701:in `pbOnStepTaken'
                                Game_Player*:623:in `update_old'
                                Walk/Run:60:in `update'
                                Scene_Map:101:in `update'
                                Scene_Map:98:in `loop'
                                Scene_Map:111:in `update'
                                It happens when i walk in grass..
                                __________________

                                Official Forum for a Zelda Engine in RMXP, Sign up now!

                                --------------------------------------------------------
                                Update Patch 4 Coming Soon.

                                  #2491    
                                Old July 6th, 2008 (7:23 AM). Edited July 6th, 2008 by Exiled~Shadow.
                                Exiled~Shadow's Avatar
                                Exiled~Shadow Exiled~Shadow is offline
                                Once, JJMcay Now Exiled~Shadow
                                   
                                  Join Date: Oct 2007
                                  Location: In a magical land full of ponies and faries!
                                  Age: 22
                                  Nature: Relaxed
                                  Posts: 477
                                  ok... well i tried over and over again to make one and i even tried in jasc paint shop pro but because of certain things it makes it to hard....most of the online ones are good but it dosnt let you have the pokemon hanging of the user bar like the ones in my sig.....


                                  Edit: Nevermind PokemonPlatnum made one for me... thanks for all the help! here it is by the way....



                                  Edit... Again:

                                  Woot! i made my own! not bad if i do say so myself!



                                  ..... thats a bit of a problem... white background......... how do i fix that?
                                  __________________
                                  ~~~~

                                  An untold tale of the high seas...
                                  A tale of the dawn of exploration...
                                  A tale that spans time...
                                  A tale, never told before...


                                  Pokémon: Age of Exploration
                                  Coming Soon...

                                  ~~~~

                                    #2492    
                                  Old July 6th, 2008 (9:37 AM).
                                  DamianLeonhart's Avatar
                                  DamianLeonhart DamianLeonhart is offline
                                     
                                    Join Date: Jul 2007
                                    Location: Flat Rock, IL
                                    Gender: Male
                                    Nature: Naughty
                                    Posts: 166
                                    Quote:
                                    Originally Posted by JJMcay View Post


                                    ..... thats a bit of a problem... white background......... how do i fix that?
                                    you need to make the background transparent and I am fairly sure save it as a PNG file. to get the transparency effect to occur.
                                      #2493    
                                    Old July 6th, 2008 (12:05 PM).
                                    AJ™'s Avatar
                                    AJ™ AJ™ is offline
                                    ANGRY FAIC!!!
                                    • Gold Tier
                                     
                                    Join Date: Feb 2008
                                    Location: I'm on a boat!
                                    Age: 24
                                    Gender: Male
                                    Nature: Naughty
                                    Posts: 1,494
                                    Why does my Female Trainer Back end up invisible in battle.
                                    I set the picture to trback001...
                                    __________________

                                      #2494    
                                    Old July 6th, 2008 (12:37 PM).
                                    imtheomega's Avatar
                                    imtheomega imtheomega is offline
                                       
                                      Join Date: Apr 2007
                                      Location: Belgium
                                      Nature: Adamant
                                      Posts: 145
                                      Quote:
                                      Originally Posted by poccil View Post
                                      I have finished making a command line program for generating RPGXP compatible animations from sprites. It is to be run from the command line. See this address:

                                      http://upokecenter.com/projects/animmaker.exe
                                      Can u explain how it works? I've created a xml file in wich I put the names of two images of the same pokemon but in two different positions and I used the command prompt to use animmaker. But it has juste created two empty images animation.png and animation2.png....
                                      __________________
                                      Creator of the french game Pokemon True Story

                                      Website : here
                                      Some tips to customize Pokemon Essentials : here
                                        #2495    
                                      Old July 6th, 2008 (12:55 PM).
                                      PokemonPlatnum's Avatar
                                      PokemonPlatnum PokemonPlatnum is offline
                                      nomnomnom.
                                         
                                        Join Date: Apr 2008
                                        Location: Ireland
                                        Age: 23
                                        Gender: Male
                                        Nature: Sassy
                                        Posts: 259
                                        Quote:
                                        Originally Posted by AJ™ View Post
                                        Why does my Female Trainer Back end up invisible in battle.
                                        I set the picture to trback001...
                                        AJ Set it to trback002 for the girl...
                                        __________________

                                        Official Forum for a Zelda Engine in RMXP, Sign up now!

                                        --------------------------------------------------------
                                        Update Patch 4 Coming Soon.

                                          #2496    
                                        Old July 6th, 2008 (3:00 PM).
                                        PoKéMaKeR's Avatar
                                        PoKéMaKeR PoKéMaKeR is offline
                                        Pokemon Rancher creator!
                                           
                                          Join Date: Apr 2008
                                          Location: The Netherlands :)
                                          Gender:
                                          Nature: Relaxed
                                          Posts: 293
                                          Quote:
                                          Originally Posted by PokemonPlatnum View Post
                                          AJ Set it to trback002 for the girl...
                                          Nope the trback001 is for the girl trainer..
                                          But what did you do with it, cause it's really odd it doesn't show up
                                          PoKéMaKeR
                                          __________________
                                          (Click for the thread)



                                          Last update on the Rancher thread: February 26th 2009

                                            #2497    
                                          Old July 6th, 2008 (3:04 PM). Edited July 6th, 2008 by partyghoul2000.
                                          partyghoul2000's Avatar
                                          partyghoul2000 partyghoul2000 is offline
                                          Intermediate Game Designer
                                             
                                            Join Date: Jan 2006
                                            Location: USA
                                            Age: 29
                                            Gender: Male
                                            Nature: Calm
                                            Posts: 175
                                            i have some somewhat advanced questions about the scripts.

                                            as somebody mentioned before, they wanted to add more player metadata than what was available. i've looked through the scripts and seen meta data player used in a few other scripts. if one were to add more meta data players, would it still work with the other scripts? and how would one go about putting more players in? below is the metadata script from PokemonMap lines 415 to 437.
                                            Quote:
                                            MetadataHome=1
                                            MetadataPlayerA=2
                                            MetadataPlayerB=3
                                            MetadataPlayerC=4
                                            MetadataPlayerD=5
                                            MetadataStorageCreator=6
                                            MetadataWildBattleBGM=7
                                            MetadataTrainerBattleBGM=8
                                            MetadataWildVictoryME=9
                                            MetadataTrainerVictoryME=10
                                            MetadataTextSkin=11

                                            MetadataOutdoor=1
                                            MetadataEscapePoint=2
                                            MetadataShowArea=3
                                            MetadataBicycle=4
                                            MetadataBicycleAlways=5
                                            MetadataHealingSpot=6
                                            MetadataWeather=7
                                            MetadataMapPosition=8
                                            MetadataDiveMap=9
                                            MetadataDarkMap=10
                                            MetadataSafariMap=11
                                            would for example, MetadataPlayerE go under =12? and so forth for other players?

                                            also, how would one input another pocket or two on the bag?
                                            Quote:
                                            class PokemonBag
                                            attr_reader :registeredItem
                                            attr_accessor :lastpocket
                                            attr_reader :pockets
                                            MAXPERSLOT=99
                                            MAXPOCKETSIZE=[0,256,-1,-1,-1,-1]
                                            def initialize
                                            @lastpocket=1
                                            @pockets=[]
                                            @pockets[0]=[]
                                            @pockets[1]=[]
                                            @pockets[2]=[]
                                            @pockets[3]=[]
                                            @pockets[4]=[]
                                            @pockets[5]=[]
                                            @choices=[0,0,0,0,0,0]
                                            @registeredItem=0
                                            end
                                            would i just add another -1 in maxpocketsize, another 0 to choices and @pockets[6]=[]to this? i believe i already grasp what else needs to be done for this.

                                            i was also wondering where the piece of script is for the exclamation mark that appears above the trainer before battle. i moved the animation down on the list of animations and now it doesn't appear before trainer battles. i need to find this piece of script to change it accordly.

                                            also, would there be a way to force a pokemon within the player's party to evolve? i've played around with scripts and conditional branches with no avail.

                                            i was also wondering how pbDebugBattle is supposed to be called. i tried script and conditional branch and neither worked. getting this to work would help alot with the battle animations.

                                            i was also curious as to when different pokemon forms will be implemented. this would be a big plus in the next release. :D


                                            thanks for your answers in advance.

                                            *EDIT*
                                            i just noticed that the animation editor in the editor/debug menu doesn't save any animations. is anybody else having this problem?

                                            *EDIT2*
                                            ummm...i also need to know where the script for the grass & dust animation are, so i can change them accordly. >_<
                                            __________________

                                            Check out my Super Gothic Bros hack here.
                                            My ripped pokemon music in MP3 format can be found here.
                                            My custom battle animations and whatnot can be found here.
                                            Credit is expected, if used.
                                              #2498    
                                            Old July 6th, 2008 (3:47 PM).
                                            imtheomega's Avatar
                                            imtheomega imtheomega is offline
                                               
                                              Join Date: Apr 2007
                                              Location: Belgium
                                              Nature: Adamant
                                              Posts: 145
                                              Quote:
                                              Originally Posted by partyghoul2000 View Post
                                              i have some somewhat advanced questions about the scripts.

                                              as somebody mentioned before, they wanted to add more player metadata than what was available. i've looked through the scripts and seen meta data player used in a few other scripts. if one were to add more meta data players, would it still work with the other scripts? and how would one go about putting more players in? below is the metadata script from PokemonMap lines 415 to 437.

                                              would for example, MetadataPlayerE go under =12? and so forth for other players?

                                              also, how would one input another pocket or two on the bag?

                                              would i just add another -1 in maxpocketsize, another 0 to choices and @pockets[6]=[]to this? i believe i already grasp what else needs to be done for this.

                                              i was also wondering where the piece of script is for the exclamation mark that appears above the trainer before battle. i moved the animation down on the list of animations and now it doesn't appear before trainer battles. i need to find this piece of script to change it accordly.

                                              also, would there be a way to force a pokemon within the player's party to evolve? i've played around with scripts and conditional branches with no avail.

                                              i was also wondering how pbDebugBattle is supposed to be called. i tried script and conditional branch and neither worked. getting this to work would help alot with the battle animations.

                                              i was also curious as to when different pokemon forms will be implemented. this would be a big plus in the next release. :D


                                              thanks for your answers in advance.

                                              *EDIT*
                                              i just noticed that the animation editor in the editor/debug menu doesn't save any animations. is anybody else having this problem?

                                              For the exclamation animation, look at the line 13 in PokemonField, there is EXCLAMATION_ANIMATION_ID. That's what u are looking for.

                                              For the players, I think it should work if u put MetadataPlayerE=12 and so on.

                                              For the bag, it should e like u said, but pay attention because the last value is used in some of the functions below.
                                              For example :
                                              Spoiler:
                                              def setChoice(pocket,value)
                                              raise ArgumentError.new(_INTL("Invalid pocket: {1}",pocket.inspect)) if pocket<=0 || pocket>5
                                              @choices[pocket]=value if value<@pockets[pocket].length
                                              end

                                              U muste replace the pocket>5 by a pocket>6

                                              For the forced evolution, add
                                              Spoiler:
                                              def pbForcedEvolution(species)
                                              return -1 if species<=0
                                              ret=-1
                                              pbRgssOpen("Data/evolutions.dat","rb"){|f|
                                              f.pos=(species-1)*8
                                              offset=f.fgetdw
                                              length=f.fgetdw
                                              if length>0
                                              f.pos=offset
                                              i=0; loop do break unless i<length
                                              evo=f.fgetb
                                              evonib=evo&EVOTYPEMASK
                                              level=f.fgetw
                                              poke=f.fgetw
                                              if (evo&EVODATAMASK)==EVONEXTFORM
                                              return poke
                                              end
                                              i+=5
                                              end
                                              end
                                              }
                                              return ret
                                              end

                                              def pbForceEvolve(pokemon)
                                              newspecies=pbForcedEvolution(pokemon.species)
                                              if newspecies<=0
                                              Kernel.pbMessage(_INTL("This Pokemon can't evolve."))
                                              return false
                                              else
                                              $game_system.bgm_memorize
                                              $game_system.bgm_fade(1.0)
                                              pbFadeOutIn(99999){
                                              evo=PokemonEvolutionScene.new
                                              evo.pbStartScreen(pokemon,newspecies)
                                              evo.pbEvolution(false)
                                              evo.pbEndScreen
                                              }
                                              $game_system.bgm_restore
                                              return true
                                              end
                                              end

                                              in PokemonField.
                                              To use it, put the script :
                                              Spoiler:
                                              for i in 0...$Trainer.party.length
                                              pokemon=$Trainer.party[i]
                                              pbForceEvolve(pokemon) if pokemon.species==yourpokemonid
                                              end

                                              where yourpokemonid is the id of the pokemon wich must evolve.

                                              Quote:
                                              *EDIT2*
                                              ummm...i also need to know where the script for the grass & dust animation are, so i can change them accordly. >_<
                                              Are u speaking about the animation? Because u can find it in the same place as the exclamation animation...
                                              __________________
                                              Creator of the french game Pokemon True Story

                                              Website : here
                                              Some tips to customize Pokemon Essentials : here
                                                #2499    
                                              Old July 6th, 2008 (3:56 PM). Edited July 6th, 2008 by partyghoul2000.
                                              partyghoul2000's Avatar
                                              partyghoul2000 partyghoul2000 is offline
                                              Intermediate Game Designer
                                                 
                                                Join Date: Jan 2006
                                                Location: USA
                                                Age: 29
                                                Gender: Male
                                                Nature: Calm
                                                Posts: 175
                                                yea, i found the animations a few mins before this post. i feel kinda stupid considering it was at the top of the script. >.<

                                                thanks for answering my questions. you've been a ton of help. :D thank you. thank you.

                                                *EDIT*
                                                i editted the PokemonBag script so it would have another pocket, but it didn't work. i didn't have any errors what so ever. but when i tried to go to that certain area of the bag, it would close without cause back to the map. i don't believe i missed anything unless the bag script has pieces in other scripts. any answers?
                                                __________________

                                                Check out my Super Gothic Bros hack here.
                                                My ripped pokemon music in MP3 format can be found here.
                                                My custom battle animations and whatnot can be found here.
                                                Credit is expected, if used.
                                                  #2500    
                                                Old July 6th, 2008 (5:22 PM).
                                                crzyone9584 crzyone9584 is offline
                                                Pokemon: The Beginning Founder
                                                   
                                                  Join Date: Jun 2008
                                                  Location: Lakewood, Colorado
                                                  Age: 29
                                                  Gender:
                                                  Nature: Lonely
                                                  Posts: 167
                                                  is there a way to make the weather randomly generated instead of having it preset in the meta txt file.

                                                  Also could some one explain in depth on how to make a reagion map. I know how to make one its the fact it doesnt work with the townmap generator.

                                                  also is it possible to edit one of the script so you can catch your opponets pokemon and vice versa.
                                                  __________________
                                                  Killing to Live, Living to Kill.

                                                  Pokemon: The Beginning

                                                  Click link above. It's the home of My Game!
                                                  Closed Thread
                                                  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 11:15 PM.