• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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.
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.
 
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:
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"
 
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
 
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.
 
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
 
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.
 
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 ;)
 


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.
 
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

  • [PokeCommunity.com] General game making help
    screen thing 1.PNG
    13.6 KB · Views: 15
Last edited:
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
 
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 :)
 
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.
 
Thanks... But the text boxes only show one line.

Figure out the rest, I had to, and found it was really easy. Just figure out the sizes of the scripts. :P
 
Figure out the rest, I had to, and found it was really easy. Just figure out the sizes of the scripts. :P
I'll try. I think I know how to do it now, since you said scripts.

EDIT: Yeah, I got it. :D
 
Last edited:
Status
Not open for further replies.
Back
Top