The PokéCommunity Forums Fan Games Game Development Scripts, Tutorials & Tools
Essentials Script Gender Selection Screen (Sun/Moon)

Scripts, Tutorials & Tools 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 June 21st, 2018 (12:30 AM). Edited September 2nd, 2018 by bo4p5687.
bo4p5687 bo4p5687 is offline
     
    Join Date: May 2018
    Location: Việt Nam (Vietnam)
    Gender: Male
    Nature: Relaxed
    Posts: 75
    Hello everyone!

    This script allows you to have 8 choices.
    Look like Gender selection of Pokemon Sun/Moon.

    First, you must add the players: A,B,C,D,E,F,G,H then you use this script.
    If you don't know how to add the charaters, you can search this:
    Player

    How to use:
    To use, remove event "Show choices: Boy, Girl" and add script:
    pbCallGenderSelect

    Graphic:

    You should use images 512x384 for background and background for selecting, 90x106 for Avatar
    Put the images in folder: Graphics\Pictures\GenderSelection
    For 'background for selecting', if you redraw, you should draw exactly position of the avatars.

    You can use my graphic if you want:
    Background
    Background for selecting

    The avatar:
    The position of the characters:
    + Above: Player A, Player C, Player E, Player G
    + Below: Player B, Player D, Player F, Player H

    Credit: bo4p5687 based on Nickalooose's script

    Code:
    #===============================================================================
    # * Gender Selection Screen like Sun/Moon (8 characters) by bo4p5687
    # * based on Nickalooose's script
    #===============================================================================
    #
    # How to use:
    #  To use, remove event "Show choices: Boy, Girl" and add script:
    #        pbCallGenderSelect
    #
    # Graphic:
    #  You should use images 512x384 for background and background for selecting, 90x106 for Avatar
    #  Put the images in folder: Graphics\Pictures\GenderSelection  
    #
    #===============================================================================
    #
    # To this script works, put it above main.
    #
    #===============================================================================
    class GenderPickScene
      
      AVATAR_A = "AvatarA" # Name of first Avatar: Player A
      AVATAR_B = "AvatarB" # Name of second Avatar: Player B
      AVATAR_C = "AvatarC" # Name of third Avatar: Player C
      AVATAR_D = "AvatarD" # Name of fourth Avatar: Player D
      AVATAR_E = "AvatarE" # Name of fifth Avatar: Player E
      AVATAR_F = "AvatarF" # Name of sixth Avatar: Player F
      AVATAR_G = "AvatarG" # Name of seventh Avatar: Player G
      AVATAR_H = "AvatarH" # Name of eighth Avatar: Player H
      
      BACKGROUND = "Background" # Name of background
      BACKGROUND_SELECTION = "BackgroundSelect" # Name of background for selecting 
      
      def update
        pbUpdateSpriteHash(@sprites)
      end
    
      def pbStartScene
        
        @sprites={}
        @viewport=Viewport.new(0,0,Graphics.width,Graphics.height)
        @viewport.z=99999
        @select=0
        
        pbSprite("bg",BACKGROUND,0,0)
        pbSprite("bgslt",BACKGROUND_SELECTION,0,0)
        
        pbSprite("boya",AVATAR_A,68,65,155)
        pbSprite("boyb",AVATAR_B,182,65,155)
        pbSprite("boyc",AVATAR_C,296,65,155)
        pbSprite("boyd",AVATAR_D,410,65,155)
        
        pbSprite("girla",AVATAR_E,68,230,155)
        pbSprite("girlb",AVATAR_F,182,230,155)
        pbSprite("girlc",AVATAR_G,296,230,155)
        pbSprite("girld",AVATAR_H,410,230,155)
    	
      end
      
      def pbEndScene
        pbDisposeSpriteHash(@sprites)
        @viewport.dispose
      end
      
      def pbSprite(name,bitmap,x,y,opacity=255)
        @sprites["#{name}"]=Sprite.new(@viewport)
        @sprites["#{name}"].bitmap=BitmapCache.load_bitmap("Graphics/Pictures/GenderSelection/#{bitmap}")
        @sprites["#{name}"].x=x
        @sprites["#{name}"].y=y
        @sprites["#{name}"].opacity = opacity
      end
          
      def pbGenderSelect
      
      loop do
          Graphics.update
          Input.update
          self.update 
          if @select == 0 
            @sprites["boya"].opacity = 255
            @sprites["boyb"].opacity = 155
            @sprites["boyc"].opacity = 155
            @sprites["boyd"].opacity = 155
            @sprites["girla"].opacity = 155
            @sprites["girlb"].opacity = 155
            @sprites["girlc"].opacity = 155
            @sprites["girld"].opacity = 155
          end
          if Input.trigger?(Input::LEFT)
            pbSEPlay("Choose")
            pbSEPlay("Anim/Choose") # if you use v17, this will check SE
            if @select == 0
              @select = 7
              @sprites["boya"].opacity = 155
              @sprites["boyb"].opacity = 155
              @sprites["boyc"].opacity = 155
              @sprites["boyd"].opacity = 155
              @sprites["girla"].opacity = 155
              @sprites["girlb"].opacity = 155
              @sprites["girlc"].opacity = 155
              @sprites["girld"].opacity = 255
            elsif @select == 7
              @select = 6
              @sprites["boya"].opacity = 155
              @sprites["boyb"].opacity = 155
              @sprites["boyc"].opacity = 155
              @sprites["boyd"].opacity = 155
              @sprites["girla"].opacity = 155
              @sprites["girlb"].opacity = 155
              @sprites["girlc"].opacity = 255
              @sprites["girld"].opacity = 155
            elsif @select == 6
              @select = 5
              @sprites["boya"].opacity = 155
              @sprites["boyb"].opacity = 155
              @sprites["boyc"].opacity = 155
              @sprites["boyd"].opacity = 155
              @sprites["girla"].opacity = 155
              @sprites["girlb"].opacity = 255
              @sprites["girlc"].opacity = 155
              @sprites["girld"].opacity = 155
            elsif @select == 5
              @select = 4
              @sprites["boya"].opacity = 155
              @sprites["boyb"].opacity = 155
              @sprites["boyc"].opacity = 155
              @sprites["boyd"].opacity = 155
              @sprites["girla"].opacity = 255
              @sprites["girlb"].opacity = 155
              @sprites["girlc"].opacity = 155
              @sprites["girld"].opacity = 155
            elsif @select == 4
              @select = 3
              @sprites["boya"].opacity = 155
              @sprites["boyb"].opacity = 155
              @sprites["boyc"].opacity = 155
              @sprites["boyd"].opacity = 255
              @sprites["girla"].opacity = 155
              @sprites["girlb"].opacity = 155
              @sprites["girlc"].opacity = 155
              @sprites["girld"].opacity = 155
            elsif @select == 3
              @select = 2
              @sprites["boya"].opacity = 155
              @sprites["boyb"].opacity = 155
              @sprites["boyc"].opacity = 255
              @sprites["boyd"].opacity = 155
              @sprites["girla"].opacity = 155
              @sprites["girlb"].opacity = 155
              @sprites["girlc"].opacity = 155
              @sprites["girld"].opacity = 155
            elsif @select == 2
              @select = 1
              @sprites["boya"].opacity = 155
              @sprites["boyb"].opacity = 255
              @sprites["boyc"].opacity = 155
              @sprites["boyd"].opacity = 155
              @sprites["girla"].opacity = 155
              @sprites["girlb"].opacity = 155
              @sprites["girlc"].opacity = 155
              @sprites["girld"].opacity = 155
            elsif @select == 1
              @select = 0
              @sprites["boya"].opacity = 255
              @sprites["boyb"].opacity = 155
              @sprites["boyc"].opacity = 155
              @sprites["boyd"].opacity = 155
              @sprites["girla"].opacity = 155
              @sprites["girlb"].opacity = 155
              @sprites["girlc"].opacity = 155
              @sprites["girld"].opacity = 155
            end
          elsif Input.trigger?(Input::RIGHT)
            pbSEPlay("Choose")
            pbSEPlay("Anim/Choose") # if you use v17, this will check SE
            if @select == 0
              @select = 1
              @sprites["boya"].opacity = 155
              @sprites["boyb"].opacity = 255
              @sprites["boyc"].opacity = 155
              @sprites["boyd"].opacity = 155
              @sprites["girla"].opacity = 155
              @sprites["girlb"].opacity = 155
              @sprites["girlc"].opacity = 155
              @sprites["girld"].opacity = 155
            elsif @select == 1
              @select = 2
              @sprites["boya"].opacity = 155
              @sprites["boyb"].opacity = 155
              @sprites["boyc"].opacity = 255
              @sprites["boyd"].opacity = 155
              @sprites["girla"].opacity = 155
              @sprites["girlb"].opacity = 155
              @sprites["girlc"].opacity = 155
              @sprites["girld"].opacity = 155
            elsif @select == 2
              @select = 3
              @sprites["boya"].opacity = 155
              @sprites["boyb"].opacity = 155
              @sprites["boyc"].opacity = 155
              @sprites["boyd"].opacity = 255
              @sprites["girla"].opacity = 155
              @sprites["girlb"].opacity = 155
              @sprites["girlc"].opacity = 155
              @sprites["girld"].opacity = 155
            elsif @select == 3
              @select = 4
              @sprites["boya"].opacity = 155
              @sprites["boyb"].opacity = 155
              @sprites["boyc"].opacity = 155
              @sprites["boyd"].opacity = 155
              @sprites["girla"].opacity = 255
              @sprites["girlb"].opacity = 155
              @sprites["girlc"].opacity = 155
              @sprites["girld"].opacity = 155
            elsif @select == 4
              @select = 5
              @sprites["boya"].opacity = 155
              @sprites["boyb"].opacity = 155
              @sprites["boyc"].opacity = 155
              @sprites["boyd"].opacity = 155
              @sprites["girla"].opacity = 155
              @sprites["girlb"].opacity = 255
              @sprites["girlc"].opacity = 155
              @sprites["girld"].opacity = 155
            elsif @select == 5
              @select = 6
              @sprites["boya"].opacity = 155
              @sprites["boyb"].opacity = 155
              @sprites["boyc"].opacity = 155
              @sprites["boyd"].opacity = 155
              @sprites["girla"].opacity = 155
              @sprites["girlb"].opacity = 155
              @sprites["girlc"].opacity = 255
              @sprites["girld"].opacity = 155
            elsif @select == 6
              @select = 7
              @sprites["boya"].opacity = 155
              @sprites["boyb"].opacity = 155
              @sprites["boyc"].opacity = 155
              @sprites["boyd"].opacity = 155
              @sprites["girla"].opacity = 155
              @sprites["girlb"].opacity = 155
              @sprites["girlc"].opacity = 155
              @sprites["girld"].opacity = 255
            elsif @select == 7
              @select = 0
              @sprites["boya"].opacity = 255
              @sprites["boyb"].opacity = 155
              @sprites["boyc"].opacity = 155
              @sprites["boyd"].opacity = 155
              @sprites["girla"].opacity = 155
              @sprites["girlb"].opacity = 155
              @sprites["girlc"].opacity = 155
              @sprites["girld"].opacity = 155
            end
          elsif Input.trigger?(Input::DOWN) || Input.trigger?(Input::UP)
            pbSEPlay("Choose")
            pbSEPlay("Anim/Choose") # if you use v17, this will check SE
            if @select == 0
              @select = 4
              @sprites["boya"].opacity = 155
              @sprites["boyb"].opacity = 155
              @sprites["boyc"].opacity = 155
              @sprites["boyd"].opacity = 155
              @sprites["girla"].opacity = 255
              @sprites["girlb"].opacity = 155
              @sprites["girlc"].opacity = 155
              @sprites["girld"].opacity = 155
            elsif @select == 4
              @select = 0
              @sprites["boya"].opacity = 255
              @sprites["boyb"].opacity = 155
              @sprites["boyc"].opacity = 155
              @sprites["boyd"].opacity = 155
              @sprites["girla"].opacity = 155
              @sprites["girlb"].opacity = 155
              @sprites["girlc"].opacity = 155
              @sprites["girld"].opacity = 155
            elsif @select == 1
              @select = 5
              @sprites["boya"].opacity = 155
              @sprites["boyb"].opacity = 155
              @sprites["boyc"].opacity = 155
              @sprites["boyd"].opacity = 155
              @sprites["girla"].opacity = 155
              @sprites["girlb"].opacity = 255
              @sprites["girlc"].opacity = 155
              @sprites["girld"].opacity = 155
            elsif @select == 5
              @select = 1
              @sprites["boya"].opacity = 155
              @sprites["boyb"].opacity = 255
              @sprites["boyc"].opacity = 155
              @sprites["boyd"].opacity = 155
              @sprites["girla"].opacity = 155
              @sprites["girlb"].opacity = 155
              @sprites["girlc"].opacity = 155
              @sprites["girld"].opacity = 155
            elsif @select == 2
              @select = 6
              @sprites["boya"].opacity = 155
              @sprites["boyb"].opacity = 155
              @sprites["boyc"].opacity = 155
              @sprites["boyd"].opacity = 155
              @sprites["girla"].opacity = 155
              @sprites["girlb"].opacity = 155
              @sprites["girlc"].opacity = 255
              @sprites["girld"].opacity = 155
            elsif @select == 6
              @select = 2
              @sprites["boya"].opacity = 155
              @sprites["boyb"].opacity = 155
              @sprites["boyc"].opacity = 255
              @sprites["boyd"].opacity = 155
              @sprites["girla"].opacity = 155
              @sprites["girlb"].opacity = 155
              @sprites["girlc"].opacity = 155
              @sprites["girld"].opacity = 155
            elsif @select == 3
              @select = 7
              @sprites["boya"].opacity = 155
              @sprites["boyb"].opacity = 155
              @sprites["boyc"].opacity = 155
              @sprites["boyd"].opacity = 155
              @sprites["girla"].opacity = 155
              @sprites["girlb"].opacity = 155
              @sprites["girlc"].opacity = 155
              @sprites["girld"].opacity = 255
            elsif @select == 7
              @select = 3
              @sprites["boya"].opacity = 155
              @sprites["boyb"].opacity = 155
              @sprites["boyc"].opacity = 155
              @sprites["boyd"].opacity = 255
              @sprites["girla"].opacity = 155
              @sprites["girlb"].opacity = 155
              @sprites["girlc"].opacity = 155
              @sprites["girld"].opacity = 155
            end
          end
    #===============================================================================
    # After selecting
    #===============================================================================
          if Input.trigger?(Input::C)
            pbSEPlay("Choose")
            pbSEPlay("Anim/Choose") # if you use v17, this will check SE
            if @select == 0
              @sprites["bgslt"].opacity = 0
              @sprites["boyb"].opacity = 0
              @sprites["boyc"].opacity = 0
              @sprites["boyd"].opacity = 0
              @sprites["girla"].opacity = 0
              @sprites["girlb"].opacity = 0
              @sprites["girlc"].opacity = 0
              @sprites["girld"].opacity = 0
              @sprites["boya"].x = 211
              @sprites["boya"].y = 100
              Graphics.update
              Input.update
              self.update
              if Kernel.pbConfirmMessage("You OK with the one you chose,yeah?")
                pbChangePlayer(0)  # Player A
                pbEndScene
                return true
              else
                @sprites["bgslt"].opacity = 255
                @sprites["boyb"].opacity = 155
                @sprites["boyc"].opacity = 155
                @sprites["boyd"].opacity = 155
                @sprites["girla"].opacity = 155
                @sprites["girlb"].opacity = 155
                @sprites["girlc"].opacity = 155
                @sprites["girld"].opacity = 155
                @sprites["boya"].x = 68
                @sprites["boya"].y = 65
              end
            elsif @select == 1
              @sprites["bgslt"].opacity = 0
              @sprites["boya"].opacity = 0
              @sprites["boyc"].opacity = 0
              @sprites["boyd"].opacity = 0
              @sprites["girla"].opacity = 0
              @sprites["girlb"].opacity = 0
              @sprites["girlc"].opacity = 0
              @sprites["girld"].opacity = 0		  
              @sprites["boyb"].x = 211
              @sprites["boyb"].y = 100
              Graphics.update
              Input.update
              self.update
              if Kernel.pbConfirmMessage("You OK with the one you chose,yeah?")
                pbChangePlayer(2) # Player C
                pbEndScene
                return true
              else
                @sprites["bgslt"].opacity = 255
                @sprites["boya"].opacity = 155
                @sprites["boyc"].opacity = 155
                @sprites["boyd"].opacity = 155
                @sprites["girla"].opacity = 155
                @sprites["girlb"].opacity = 155
                @sprites["girlc"].opacity = 155
                @sprites["girld"].opacity = 155
                @sprites["boyb"].x = 182
                @sprites["boyb"].y = 65
              end
            elsif @select == 2
              @sprites["bgslt"].opacity = 0
              @sprites["boya"].opacity = 0
              @sprites["boyb"].opacity = 0
              @sprites["boyd"].opacity = 0
              @sprites["girla"].opacity = 0
              @sprites["girlb"].opacity = 0
              @sprites["girlc"].opacity = 0
              @sprites["girld"].opacity = 0
              @sprites["boyc"].x = 211
              @sprites["boyc"].y = 100
              Graphics.update
              Input.update
              self.update
              if Kernel.pbConfirmMessage("You OK with the one you chose,yeah?")
                pbChangePlayer(4) # Player E
                pbEndScene
                return true
              else
                @sprites["bgslt"].opacity = 255
                @sprites["boya"].opacity = 155
                @sprites["boyb"].opacity = 155
                @sprites["boyd"].opacity = 155
                @sprites["girla"].opacity = 155
                @sprites["girlb"].opacity = 155
                @sprites["girlc"].opacity = 155
                @sprites["girld"].opacity = 155
                @sprites["boyc"].x = 296
                @sprites["boyc"].y = 65
              end
            elsif @select == 3
              @sprites["bgslt"].opacity = 0
              @sprites["boya"].opacity = 0
              @sprites["boyc"].opacity = 0
              @sprites["boyb"].opacity = 0
              @sprites["girla"].opacity = 0
              @sprites["girlb"].opacity = 0
              @sprites["girlc"].opacity = 0
              @sprites["girld"].opacity = 0
              @sprites["boyd"].x = 211
              @sprites["boyd"].y = 100
              Graphics.update
              Input.update
              self.update
              if Kernel.pbConfirmMessage("You OK with the one you chose,yeah?")
                pbChangePlayer(6) # Player G
                pbEndScene
                return true
              else
                @sprites["bgslt"].opacity = 255
                @sprites["boya"].opacity = 155
                @sprites["boyc"].opacity = 155
                @sprites["boyb"].opacity = 155
                @sprites["girla"].opacity = 155
                @sprites["girlb"].opacity = 155
                @sprites["girlc"].opacity = 155
                @sprites["girld"].opacity = 155
                @sprites["boyd"].x = 410
                @sprites["boyd"].y = 65
              end
            elsif @select == 4
              @sprites["bgslt"].opacity = 0
              @sprites["boya"].opacity = 0
              @sprites["boyb"].opacity = 0
              @sprites["boyc"].opacity = 0
              @sprites["boyd"].opacity = 0
              @sprites["girlb"].opacity = 0
              @sprites["girlc"].opacity = 0
              @sprites["girld"].opacity = 0
              @sprites["girla"].x = 211
              @sprites["girla"].y = 100
              Graphics.update
              Input.update
              self.update
              if Kernel.pbConfirmMessage("You OK with the one you chose,yeah?")
                pbChangePlayer(1) # Player B
                pbEndScene
                return true
              else
                @sprites["bgslt"].opacity = 255
                @sprites["boya"].opacity = 155
                @sprites["boyb"].opacity = 155
                @sprites["boyc"].opacity = 155
                @sprites["boyd"].opacity = 155
                @sprites["girlb"].opacity = 155
                @sprites["girlc"].opacity = 155
                @sprites["girld"].opacity = 155
                @sprites["girla"].x = 68
                @sprites["girla"].y = 230
              end
            elsif @select == 5
              @sprites["bgslt"].opacity = 0
              @sprites["boya"].opacity = 0
              @sprites["boyb"].opacity = 0
              @sprites["boyc"].opacity = 0
              @sprites["boyd"].opacity = 0
              @sprites["girla"].opacity = 0
              @sprites["girlc"].opacity = 0
              @sprites["girld"].opacity = 0
              @sprites["girlb"].x = 211
              @sprites["girlb"].y = 100
              Graphics.update
              Input.update
              self.update
              if Kernel.pbConfirmMessage("You OK with the one you chose,yeah?")
                pbChangePlayer(3) # Player D
                pbEndScene
                return true
              else
                @sprites["bgslt"].opacity = 255
                @sprites["boya"].opacity = 155
                @sprites["boyb"].opacity = 155
                @sprites["boyc"].opacity = 155
                @sprites["boyd"].opacity = 155
                @sprites["girla"].opacity = 155
                @sprites["girlc"].opacity = 155
                @sprites["girld"].opacity = 155
                @sprites["girlb"].x = 182
                @sprites["girlb"].y = 230
              end
            elsif @select == 6
              @sprites["bgslt"].opacity = 0
              @sprites["boya"].opacity = 0
              @sprites["boyb"].opacity = 0
              @sprites["boyc"].opacity = 0
              @sprites["boyd"].opacity = 0
              @sprites["girlb"].opacity = 0
              @sprites["girla"].opacity = 0
              @sprites["girld"].opacity = 0
              @sprites["girlc"].x = 211
              @sprites["girlc"].y = 100
              Graphics.update
              Input.update
              self.update
              if Kernel.pbConfirmMessage("You OK with the one you chose,yeah?")
                pbChangePlayer(5) # Player F
                pbEndScene
                return true
              else
                @sprites["bgslt"].opacity = 255
                @sprites["boya"].opacity = 155
                @sprites["boyb"].opacity = 155
                @sprites["boyc"].opacity = 155
                @sprites["boyd"].opacity = 155
                @sprites["girlb"].opacity = 155
                @sprites["girla"].opacity = 155
                @sprites["girld"].opacity = 155
                @sprites["girlc"].x = 296
                @sprites["girlc"].y = 230
              end
            elsif @select == 7
              @sprites["bgslt"].opacity = 0
              @sprites["boya"].opacity = 0
              @sprites["boyb"].opacity = 0
              @sprites["boyc"].opacity = 0
              @sprites["boyd"].opacity = 0
              @sprites["girlb"].opacity = 0
              @sprites["girlc"].opacity = 0
              @sprites["girla"].opacity = 0
              @sprites["girld"].x = 211
              @sprites["girld"].y = 100
              Graphics.update
              Input.update
              self.update
              if Kernel.pbConfirmMessage("You OK with the one you chose,yeah?")
                pbChangePlayer(7) # Player H
                pbEndScene
                return true
              else
                @sprites["bgslt"].opacity = 255
                @sprites["boya"].opacity = 155
                @sprites["boyb"].opacity = 155
                @sprites["boyc"].opacity = 155
                @sprites["boyd"].opacity = 155
                @sprites["girlb"].opacity = 155
                @sprites["girlc"].opacity = 155
                @sprites["girla"].opacity = 155
                @sprites["girld"].x = 410
                @sprites["girld"].y = 230
              end
            end
          end	  	
        end
      end    
    end
    
    
    class GenderPick
    
      def initialize(scene)
        @scene=scene
      end
      
      def pbStartScreen
        @scene.pbStartScene
        @scene.pbGenderSelect
        @scene.pbEndScene
      end
    
    end
    
    def pbCallGenderSelect
      scene=GenderPickScene.new
      screen=GenderPick.new(scene)
      screen.pbStartScreen
    end
    Reply With Quote
      #2    
    Old June 22nd, 2018 (10:44 PM).
    Pikamander24 Pikamander24 is offline
       
      Join Date: Mar 2018
      Posts: 5
      This looks nice !
      Is there a way to modify the script to add a switch in to know if the player selected a boy or a girl ?

      You know, for later events in the game that depend on the player's gender.
      Reply With Quote
        #3    
      Old June 23rd, 2018 (8:49 AM). Edited July 3rd, 2018 by bo4p5687.
      bo4p5687 bo4p5687 is offline
         
        Join Date: May 2018
        Location: Việt Nam (Vietnam)
        Gender: Male
        Nature: Relaxed
        Posts: 75
        Quote:
        Originally Posted by Pikamander24 View Post
        This looks nice !
        Is there a way to modify the script to add a switch in to know if the player selected a boy or a girl ?

        You know, for later events in the game that depend on the player's gender.
        Oh No! It isn't necessary.

        You can change the player's gender without switch.

        In folder "PBS", search "trainertypes" and "metadata".

        In metadata, each player have a name like: "PlayerA=POKEMONTRAINER_Red", this name will decide the player who is male or female. Why? Because in "trainertypes", you can see line "0,POKEMONTRAINER_Red,Pokémon Trainer,60,,,,Male,,", this line decided 'POKEMONTRAINER_Red' who is a male. So, you can set up each character who is male or female with this method.

        If you want more informations, search this determine gender
        Reply With Quote
          #4    
        Old August 26th, 2018 (6:24 AM).
        Onism's Avatar
        Onism Onism is offline
        Compendia Synaisthima
           
          Join Date: Aug 2018
          Location: Glasgow
          Gender: Other
          Nature: Timid
          Posts: 17
          This might be a silly question, sorry, but what does this section refer to?

          Do I need to change it to the names in metadata.txt, the names in trainertypes.txt, or something else? Thanks in advance
          __________________
          Compendia Synaisthima
          Kudoclasm | Lachesis | Morii | Onism | Paro | Sonder | Vellichor
          Used to be Jynx Middata, but that account disappeared for some reason
          Reply With Quote
            #5    
          Old August 27th, 2018 (4:47 AM).
          bo4p5687 bo4p5687 is offline
             
            Join Date: May 2018
            Location: Việt Nam (Vietnam)
            Gender: Male
            Nature: Relaxed
            Posts: 75
            Quote:
            Originally Posted by Onism View Post
            This might be a silly question, sorry, but what does this section refer to?
            Do I need to change it to the names in metadata.txt, the names in trainertypes.txt, or something else? Thanks in advance
            This is the name of the pictures in folder: "GenderSelection". In this script, you can change
            Avatar_A = "AvatarA"
            into
            Avatar_A = "Somename"
            but in the folder "GenderSelection", your picture must change the name "AvatarA" into "Somename".
            Reply With Quote
              #6    
            Old August 27th, 2018 (4:51 AM). Edited August 27th, 2018 by Onism.
            Onism's Avatar
            Onism Onism is offline
            Compendia Synaisthima
               
              Join Date: Aug 2018
              Location: Glasgow
              Gender: Other
              Nature: Timid
              Posts: 17
              Ah, thank you for explaining!
              __________________
              Compendia Synaisthima
              Kudoclasm | Lachesis | Morii | Onism | Paro | Sonder | Vellichor
              Used to be Jynx Middata, but that account disappeared for some reason
              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
              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 7:05 AM.