The PokéCommunity Forums Fan Games Game Development Pokémon Essentials
Badges on Trainer Card

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.

Reply
 
Thread Tools
  #1    
Old September 1st, 2012 (11:17 AM).
Prof Oakley's Avatar
Prof Oakley Prof Oakley is offline
JourneyofPossibilities Creator
     
    Join Date: May 2012
    Location: Imaginary Land
    Age: 23
    Gender: Female
    Nature: Quiet
    Posts: 75
    I've been searching and searching for how to have more than 8 badges shown on the trainer card but I can't find anything that doesn't include adding another region. I have one region in my game, but there are 40 "badges" so anything after the 8th badge doesn't show up on the trainer card since it's still the first region. How can I change the scripts to make it so all 40 badges show up on the trainer card while still having one region?
    __________________
    Check out my other sites/profiles below, I have more hobbies than just pokemon
    My official Website, my Etsy Shop (in progress), my Blog, my FB Page
    My Website has cosplay, etsy shop, youtube channel, writing, game information, and more.
    The blog is the place for where I update in more blog form about those topics and my personal life as well.
    ~~~
    Others
    Game Guides on Hubpages, DeviantART, Wattpad (Stories)
    Reply With Quote

    Relevant Advertising!

      #2    
    Old September 2nd, 2012 (9:27 AM).
    FL's Avatar
    FL FL is offline
    Pokémon Island Creator
       
      Join Date: Sep 2010
      Gender: Male
      Posts: 1,686
      Untested, in Trainer Card script change
      Code:
          region=pbGetCurrentRegion(0) # Get the current region
          imagePositions=[]
          for i in 0...8
            if $Trainer.badges[i+region*8]
              imagePositions.push(["Graphics/Pictures/badges",x,310,i*32,region*32,32,32])
            end
            x+=48
          end
      to
      Code:
          for region in 0...5 # Five rows
            imagePositions=[]
            for i in 0...8
              if $Trainer.badges[i+region*8]
                imagePositions.push( ["Graphics/Pictures/badges",x,310,i*32,region*32,32,32])
              end
              x+=48
            end
          end
      You needs to change the '310' to a lower number like '182'.
      __________________
      Reply With Quote
        #3    
      Old September 3rd, 2012 (1:23 PM).
      Prof Oakley's Avatar
      Prof Oakley Prof Oakley is offline
      JourneyofPossibilities Creator
         
        Join Date: May 2012
        Location: Imaginary Land
        Age: 23
        Gender: Female
        Nature: Quiet
        Posts: 75
        They are showing up but now they are all in one row:

        Spoiler:

        __________________
        Check out my other sites/profiles below, I have more hobbies than just pokemon
        My official Website, my Etsy Shop (in progress), my Blog, my FB Page
        My Website has cosplay, etsy shop, youtube channel, writing, game information, and more.
        The blog is the place for where I update in more blog form about those topics and my personal life as well.
        ~~~
        Others
        Game Guides on Hubpages, DeviantART, Wattpad (Stories)
        Reply With Quote
          #4    
        Old September 3rd, 2012 (1:30 PM). Edited September 3rd, 2012 by Maruno.
        Maruno's Avatar
        Maruno Maruno is offline
        Lead Dev of Pokémon Essentials
           
          Join Date: Jan 2008
          Location: England
          Posts: 5,173
          Code:
          y=198
          imagePositions=[]
          for region in 0...5 # Five rows
            x=72
            for i in 0...8
              if $Trainer.badges[i+region*8]
                imagePositions.push( ["Graphics/Pictures/badges",x,y,i*32,region*32,32,32])
              end
              x+=48
            end
            y+=32
          end
          Change/add the red parts.
          __________________
          Go to the Pokémon Essentials Wiki

          | Downloads | Tutorials | Fangames |
          | All Animations Project |

          Follow me on Twitter: @maruno42


          Reply With Quote
            #5    
          Old September 3rd, 2012 (1:45 PM). Edited September 3rd, 2012 by Prof Oakley.
          Prof Oakley's Avatar
          Prof Oakley Prof Oakley is offline
          JourneyofPossibilities Creator
             
            Join Date: May 2012
            Location: Imaginary Land
            Age: 23
            Gender: Female
            Nature: Quiet
            Posts: 75
            The badges aren't showing up at all now.

            EDIT: Nevermind I must've missed something the first few times I tried. It's working now. Thanks
            __________________
            Check out my other sites/profiles below, I have more hobbies than just pokemon
            My official Website, my Etsy Shop (in progress), my Blog, my FB Page
            My Website has cosplay, etsy shop, youtube channel, writing, game information, and more.
            The blog is the place for where I update in more blog form about those topics and my personal life as well.
            ~~~
            Others
            Game Guides on Hubpages, DeviantART, Wattpad (Stories)
            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 2:42 PM.