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

[Archive] Pokemon Essentials: Starter Kit for RPG Maker XP

Status
Not open for further replies.

thepsynergist

Vinemon: Sauce Edition Programmer and Composer
795
Posts
15
Years
  • I still need help with my battle animations problem. The annoying part is that if you select "flash target" the pokemon retains the color of the flash for the duration of the battle. Is there a way to fix this?
     

    KieronGames

    May be more active
    286
    Posts
    15
    Years
    • Seen Nov 24, 2012
    When you want to create a warp from an event, just use the transfer player button in the events page, then click when you want the transfer point to go.
    Yes I know that but I have to press spacebar just to go through there!
     

    KieronGames

    May be more active
    286
    Posts
    15
    Years
    • Seen Nov 24, 2012
    ok hopefully my last questions how do you make a giving pokemon event?
    and how do you make a trainer battle?
     
    Last edited:

    lx_theo

    Game Developer
    958
    Posts
    14
    Years
    • Seen Nov 2, 2013
    My question still stands, how do u give the player character a set name without using the name entry screen?
     
    102
    Posts
    15
    Years
    • Seen Jul 19, 2017
    My question still stands, how do u give the player character a set name without using the name entry screen?

    Go to PokemonUtilities and search for pbTrainer name. Change:
    Code:
    trname=pbEnterText("Your name?",0,7)
    to:
    Code:
    trname=pbEnterText("Your name?",0,7,"X")
    Where X is the default name for the trainer.

    Then in the Intro event remove:
    Code:
    pbTrainerName
    That will not allow you to enter a name and will use the default name.
     
    5
    Posts
    14
    Years
  • Having a little trouble with pokemon.txt...

    I tried to add a new Pokémon after Arceus, but the game says it doesn't exist. I put it into pokemon.txt and made some icons for it, but it doesn't work. Can anyone please tell me where I'm going wrong with this?

    Code:
    [494]
    Name=RAGUL
    InternalName=RAGUL
    Kind=Tiger Cub
    Pokedex=It is a POKéMON known for its fighting spirit and sharp fangs.
    Color=Red
    TYPE1=NORMAL
    Height=0.5
    Weight=9.5
    GenderRate=Female50Percent
    BaseStats=45,75,60,50,40,30
    Rareness=155
    BaseEXP=89
    Happiness=70
    GrowthRate=Fluctuating
    StepsToHatch=5120
    Compatibility=5,5
    EffortPoints=0,1,0,0,0,0
    Abilities=INTIMIDATE
    Moves=1,SCRATCH,1,LEER
    EggMoves=
    Evolutions=
     
    49
    Posts
    14
    Years
  • I tried to add a new Pokémon after Arceus, but the game says it doesn't exist. I put it into pokemon.txt and made some icons for it, but it doesn't work. Can anyone please tell me where I'm going wrong with this?

    Code:
    [494]
    Name=RAGUL
    InternalName=RAGUL
    Kind=Tiger Cub
    Pokedex=It is a POKéMON known for its fighting spirit and sharp fangs.
    Color=Red
    TYPE1=NORMAL
    Height=0.5
    Weight=9.5
    GenderRate=Female50Percent
    BaseStats=45,75,60,50,40,30
    Rareness=155
    BaseEXP=89
    Happiness=70
    GrowthRate=Fluctuating
    StepsToHatch=5120
    Compatibility=5,5
    EffortPoints=0,1,0,0,0,0
    Abilities=INTIMIDATE
    Moves=1,SCRATCH,1,LEER
    EggMoves=
    Evolutions=

    In your game are you trying to make it a Wild encounter like what it is like when you battle a legendary or just like wild in the grass? Or getting given it from somebody else? Do you get an error when you try one of them?

    Try this : Make a new event called whatever you want. Give it a graphic. Then insert a new script command (Bottom right on the 3rd page of commands). Type in there

    pbWildBattle(PBSpecies::RAGUL,X) replace the X with what level you want it to be. Then insert a Self switch A. Make a new event page and see where it says Conditions? Tick the Self Swith box and set it to A. This will make the event only happen once. Then go up to the event, activate it and get back to us with what happens. As in an error or what.
     
    Last edited:
    102
    Posts
    15
    Years
    • Seen Jul 19, 2017
    Then in the Intro event remove:
    Code:
    pbTrainerName
    That will not allow you to enter a name and will use the default name.

    Ignore that part. Keep it in. It takes you too the entry screen but will have the default name already entered.
     
    5
    Posts
    14
    Years
  • Let me rephrase

    I try to start a battle against my custom Pokémon, but the game cannot start the battle, because RAGUL apparently doesn't exist in the game at all. Do I need to do anything besides edit pokemon.txt and add graphics?

    To be exact, when I even try to start a battle or somehow obtain this Pokémon, this is the error message.

    Code:
    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: RuntimeError
    
    Message: Script error within event 25, map 25 (Test Map 2):
    
    (eval):1:in `pbExecuteScript'uninitialized constant PBSpecies::RAGUL
    
    ***Full script:
    
    pbWildBattle(PBSpecies::RAGUL,5)
    
    
    Interpreter:238:in `pbExecuteScript'
    
    Interpreter:1652:in `eval'
    
    Interpreter:238:in `pbExecuteScript'
    
    Interpreter:1652:in `command_355'
    
    Interpreter:496: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'
    
    
    
    Interpreter:279:in `pbExecuteScript'
    
    Interpreter:1652:in `command_355'
    
    Interpreter:496: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'
    
    Scene_Map:111:in `update'
    
    Scene_Map:67:in `main'
     
    102
    Posts
    15
    Years
    • Seen Jul 19, 2017
    I tried to add a new Pokémon after Arceus, but the game says it doesn't exist. I put it into pokemon.txt and made some icons for it, but it doesn't work. Can anyone please tell me where I'm going wrong with this?

    Code:
    [494]
    Name=RAGUL
    InternalName=RAGUL
    Kind=Tiger Cub
    Pokedex=It is a POKéMON known for its fighting spirit and sharp fangs.
    Color=Red
    TYPE1=NORMAL
    Height=0.5
    Weight=9.5
    GenderRate=Female50Percent
    BaseStats=45,75,60,50,40,30
    Rareness=155
    BaseEXP=89
    Happiness=70
    GrowthRate=Fluctuating
    StepsToHatch=5120
    Compatibility=5,5
    EffortPoints=0,1,0,0,0,0
    Abilities=INTIMIDATE
    Moves=1,SCRATCH,1,LEER
    EggMoves=
    Evolutions=

    It is possible that the "TYPE1" should be "Type1". Also, it is possible that you get the error because the parts that make up the Pokemon are not in the correct order. Try entering the Pokemon using the following template from the original .txt file.

    Code:
    [XXX]
    Name=
    InternalName=
    Kind=
    Pokedex=
    Type1=
    Type2=
    BaseStats=
    Rareness=
    BaseEXP=
    Happiness=
    GrowthRate=
    StepsToHatch=
    Color=
    Habitat=
    EffortPoints=
    Abilities=
    WildItemRare=
    Compatibility=
    Height=
    Weight=
    GenderRate=
    Moves=
    EggMoves=
    Evolutions=
    BattlerPlayerY=
    BattlerEnemyY=
    BattlerAltitude=
     
    5
    Posts
    14
    Years
    • Seen Oct 25, 2009
    Hey, I've been lurking around these fourms for awhile getting help, trying to learn how to script a little. But i have a few questions that i havn't found while i've been looking around.

    1.Where in the script can you change the encounter rate for shiny pokemon? I havn't been able to find it anywhere.

    2.Where in the script can i change the postion of the pokemon in battle? I havn't been able to find this either.

    That is all i need help with for right now. Answers would be much apperciated. :)
     
    Last edited:

    lx_theo

    Game Developer
    958
    Posts
    14
    Years
    • Seen Nov 2, 2013
    Go to PokemonUtilities and search for pbTrainer name. Change:
    Code:
    trname=pbEnterText("Your name?",0,7)
    to:
    Code:
    trname=pbEnterText("Your name?",0,7,"X")
    Where X is the default name for the trainer.

    Then in the Intro event remove:
    Code:
    pbTrainerName
    That will not allow you to enter a name and will use the default name.

    What if I wanted to give a choice? Like how the main games have New Name, Generic Name, Generic Name, Generic Name.
     
    5
    Posts
    14
    Years
    • Seen Oct 25, 2009
    Edit: i just tested That and when i kept the pbtrainername there, it showed X,Y,Z as the default name. you would need to make a choice branch, which i'm learning how to do. xD

    Edit2:Ok now i think i've almost got it, but whenever i call the pbTrainerName event i get a error, what did i do wrong?

    Edit3: I Think i'm starting to get a little closer, even without help, but now i'm getting i'm getting a different error with this script.

    Edit4: just had to put the "end"'s somewhere else, but now, when i call pbTrainerName, it just gives you the name, /PN.

    Code:
    def pbTrainerName
     
    def pbTrainerNameCommands
      commands=[
            _INTL("New name"),
            _INTL("X")
         ]
         command=pbShowCommands(
          _INTL("What do you want to do?"),commands)
        case command
         when 0
          trname=pbEnterText("Your name?",0,7)
         when 1 
          trname=pbEnterText("Your name?",0,7,"x")


    I'm pretty much lost now, as i've said before, i'm not a master at scripting or anything, but i'm pretty good at understanding it, just not writing it.
    Also, i don'y think i'm going to try to atempt to make this work, because i have no idea what the problem is right now, xD. But at least i tried.


    Btw, i have some questions above your post that i need answered. :/
     
    Last edited:
    81
    Posts
    15
    Years
  • Ok, so here is what the area of script that i changed (un-commented) looks like.
    Code:
    [B]1407[/B] if outdoor
    [B]1408[/B]  tone= $HourlyTones[Time.now.hour]
    [B]1409[/B]  @sprites["battlebg"].tone=tone
    [B]1410[/B]  @sprites["enemybase"].tone=tone
    [B]1411[/B]  @sprites["playerbase"].tone=tone
    [B]1412[/B] end

    And here is the error message

    Exception: NoMethodError
    Message: undefined method `nextBattleBack' for #<PokemonGlobalMetadata:0x597a760>
    PokeBattle_ActualScene:1381:in `pbBackdrop'
    PokeBattle_ActualScene:1483:in `pbStartBattle'
    PokeBattle_Battle:570:in `pbStartBattleCore'
    PokeBattle_Battle:542:in `pbStartBattle'
    PokemonField:413:in `pbWildBattle'
    PokemonField:412:in `pbSceneStandby'
    PokemonField:414:in `pbWildBattle'
    PokemonField:411:in `pbBattleAnimation'
    PokemonField:411:in `pbWildBattle'
    PokemonField:721:in `pbOnStepTaken'
     
    Status
    Not open for further replies.
    Back
    Top