• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

General game making help

Status
Not open for further replies.

me2hack

Graphics Artist
286
Posts
14
Years
    • Seen Mar 12, 2011
    my question got buried:

    I have a new font for my essentials, but since I precompiled the other fonts in the kit, I don't know how to change it. can anyone help me?
    I believe you can specify the fonts in SpriteWindow.
     

    PiaCRT

    Orange Dev
    939
    Posts
    13
    Years
  • thank you, I will check that and tell you how it goes.

    EDIT: I believe I can only specify colors? It confuses me a bit, due to the fact im not familiar with script editing in RMXP...
     
    Last edited:

    Cilerba

    the hearts of lonely people
    1,162
    Posts
    14
    Years
  • thank you, I will check that and tell you how it goes.

    EDIT: I believe I can only specify colors? It confuses me a bit, due to the fact im not familiar with script editing in RMXP...

    In lines 21-27, you can change the fonts.

    Code:
      FontSubstitutes={
       "Power Clear"=>"Pokemon DP",
       "Power Red and Blue"=>"Pokemon RS",
       "Power Red and Green"=>"Pokemon FireLeaf",
       "Power Green"=>"Pokemon Emerald",
       "Power Green Narrow"=>"Pokemon Emerald Narrow",
       "Power Green Small"=>"Pokemon Emerald Small"

    And in line 5, you can change the default font.

    Code:
      FontName="Power Green"
     
    6
    Posts
    13
    Years
    • Seen Sep 2, 2011
    Greetings Poke ppl :P

    How can i make a legendary Pokemon encounter. Like have the Pokemon appear as a person on the map, you talk to the person/pokemon and it will turn into an encounter to where the user can battle the pokemon and eventually catch it.

    Help please :P
     

    Cilerba

    the hearts of lonely people
    1,162
    Posts
    14
    Years
  • Well, are you using Pokémon Essentials, or not?

    If you are, create an event on the map, and change the charset to the overworld of the legendary Pokémon. Then, add this script command to the event:

    pbWildBattle(PBSpecies::PKMN,LVL,VAR)

    Replace PKMN with your Legendary. (Make sure it's spelled correctly and in ALL CAPS)
    Replace LVL with the level of your Legendary.
    And replace VAR with the number of the variable that the result of the battle will be stored in.

    Hope that helps you.
     
    6
    Posts
    13
    Years
    • Seen Sep 2, 2011
    Well, are you using Pokémon Essentials, or not?

    If you are, create an event on the map, and change the charset to the overworld of the legendary Pokémon. Then, add this script command to the event:

    pbWildBattle(PBSpecies::PKMN,LVL,VAR)

    Replace PKMN with your Legendary. (Make sure it's spelled correctly and in ALL CAPS)
    Replace LVL with the level of your Legendary.
    And replace VAR with the number of the variable that the result of the battle will be stored in.

    Hope that helps you.

    Yup pokemon essentials edited with RPG XP

    Kudos.
    Excuse these nooby questions, charset is the character graphic correct?
    Just making sure :P
    Also you kind of lost me with the variable part, is it a random number? Where do i make the variable? You have been a great help! Just need this last thing answered
     

    Cilerba

    the hearts of lonely people
    1,162
    Posts
    14
    Years
  • Yes, charset is short for Character Set which is basically the characters that you have in the game.
    And yes, the variable can just be a random number. And, not being harsh or anything, but I suggest learning more about RMXP before you go ahead and make a Pokémon game.
     
    6
    Posts
    13
    Years
    • Seen Sep 2, 2011
    Yes, charset is short for Character Set which is basically the characters that you have in the game.
    And yes, the variable can just be a random number. And, not being harsh or anything, but I suggest learning more about RMXP before you go ahead and make a Pokémon game.

    Yea i got it working with a random number, also thanks for all your help! I'll be sure to mention you in the credits you have been really helpful!

    Btw it's not going to be a game, it's going to presented to the user in quite a controlled environment if you know what i mean ;)
     

    chriskid198

    Happy New Year!
    159
    Posts
    13
    Years


  • In lines 21-27, you can change the fonts.

    Code:
      FontSubstitutes={
       "Power Clear"=>"Pokemon DP",
       "Power Red and Blue"=>"Pokemon RS",
       "Power Red and Green"=>"Pokemon FireLeaf",
       "Power Green"=>"Pokemon Emerald",
       "Power Green Narrow"=>"Pokemon Emerald Narrow",
       "Power Green Small"=>"Pokemon Emerald Small"

    And in line 5, you can change the default font.

    Code:
      FontName="Power Green"
    Oh thank you, that helped me too :)

    I don't know if my previous post was ignored or no one saw it, so, I'll post it again anyway. Where do I go to change the size of the text box? I only want to change the "frlgtextskin" at the moment. Thank you.
     

    chriskid198

    Happy New Year!
    159
    Posts
    13
    Years
  • In PokemonMessage, I believe.
    Okay, thanks. I'll have another look through there.

    EDIT: I think I found the correct code.

    Code:
    def pbRepositionMessageWindow(msgwindow, linecount=2)
      msgwindow.height=32*linecount+msgwindow.borderY
      msgwindow.y=($Graphics_height)-(msgwindow.height)
      if $game_temp && $game_temp.in_battle &&

    I changed the 32 to 18, which didn't exactly work. It changed the height of the window, which looked something that is in the Attachment. The whiteness around it is from when I tried to resize the text box, hoping that would work.
     

    Attachments

    • screen thing 1.PNG
      screen thing 1.PNG
      13.6 KB · Views: 15
    Last edited:

    carmaniac

    Where the pickle surprise at?
    671
    Posts
    15
    Years
  • Okay, thanks. I'll have another look through there.

    EDIT: I think I found the correct code.

    Code:
    def pbRepositionMessageWindow(msgwindow, linecount=2)
      msgwindow.height=32*linecount+msgwindow.borderY
      msgwindow.y=($Graphics_height)-(msgwindow.height)
      if $game_temp && $game_temp.in_battle &&

    I changed the 32 to 18, which didn't exactly work. It changed the height of the window, which looked something that is in the Attachment. The whiteness around it is from when I tried to resize the text box, hoping that would work.

    Try doing this as I've noticed you haven't fixed the sprite resize factor:

    In main replace the existing def mainFunction method with this one.

    Code:
    def mainFunction
     if $DEBUG
        pbSetResizeFactor(0.5)
       pbCriticalCode { mainFunctionDebug }
     else
        pbSetResizeFactor(0.5)
       mainFunctionDebug
     end
     return 1
    end
     

    pkmntrainerpaul

    New account: P-Sign
    440
    Posts
    15
    Years
  • I made an event in RMXP with Pokémon Essentials, but every time I press [C] while standing in front of the event, I get this Error Message:
    Spoiler:

    These are the event commands:
    Spoiler:


    Can someone help me?
    I'm just learning the basics :)
     

    Cilerba

    the hearts of lonely people
    1,162
    Posts
    14
    Years
  • Instead of using pbAddPokemon ("EEVEE", 25) you should use this pbAddPokemon(PBSpecies::EEVEE,25)
     

    chriskid198

    Happy New Year!
    159
    Posts
    13
    Years
  • Try doing this as I've noticed you haven't fixed the sprite resize factor:

    In main replace the existing def mainFunction method with this one.

    Code:
    def mainFunction
     if $DEBUG
        pbSetResizeFactor(0.5)
       pbCriticalCode { mainFunctionDebug }
     else
        pbSetResizeFactor(0.5)
       mainFunctionDebug
     end
     return 1
    end
    Thanks... But the text boxes only show one line.
     
    Status
    Not open for further replies.
    Back
    Top