The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

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.

Closed Thread
Click here to go to the first staff post in this thread.  
Thread Tools
  #326    
Old Posted October 4th, 2007 (01:06 PM).
New2Ya's Avatar
New2Ya
Beginning Trainer
 
Join Date: Oct 2005
Gender:
Quote:
Originally Posted by poccil View Post
The file metadata.txt supports a global setting named "Home" (in section [000]), that specifies the place where the player goes when he or she loses a battle and no Pokemon Center was entered. Details are below:


In addition, there is a function named Kernel.pbSetPokemonCenter that sets the starting-over point to wherever the player currently is. It is defined as follows:

Code:
def Kernel.pbSetPokemonCenter
 $PokemonGlobal.pokecenterMapId=$game_map.map_id
 $PokemonGlobal.pokecenterX=$game_player.x
 $PokemonGlobal.pokecenterY=$game_player.y
 $PokemonGlobal.pokecenterDirection=$game_player.direction
end
I hope this helps.
Oh tanks! So basically, when I put this

Code:
def Kernel.pbSetPokemonCenter
 $PokemonGlobal.pokecenterMapId=$game_map.map_id
 $PokemonGlobal.pokecenterX=$game_player.x
 $PokemonGlobal.pokecenterY=$game_player.y
 $PokemonGlobal.pokecenterDirection=$game_player.direction
end
as a Script Command in an event, it saves the place as the place you get to when you lose a battle? (using hero touch probably?)
__________________


CodeProject 001
  #327    
Old Posted October 4th, 2007 (01:24 PM).
poccil
Trainer
 
Join Date: Jan 2007
Gender:
Nature: Adamant
That's actually how the function is defined in the script section PokemonField; what you would do instead is use this simple line for the Script event command:
Code:
Kernel.pbSetPokemonCenter
Sorry if it wasn't clear enough.
__________________
Peter O, of The Ultimate Pokemon Center (Pokemon Essentials, Donate money to restore my page)
  #328    
Old Posted October 4th, 2007 (01:34 PM).
New2Ya's Avatar
New2Ya
Beginning Trainer
 
Join Date: Oct 2005
Gender:
Quote:
Originally Posted by poccil View Post
That's actually how the function is defined in the script section PokemonField; what you would do instead is use this simple line for the Script event command:
Code:
Kernel.pbSetPokemonCenter
Sorry if it wasn't clear enough.
Ah okay thanks very much! No biggie, you're in no position to apologise. Hell, you made a wish come true for most of us.
__________________


CodeProject 001
  #329    
Old Posted October 5th, 2007 (07:03 PM).
RMXPUser462's Avatar
RMXPUser462
Just call me Ryan
 
Join Date: Mar 2006
Age: 23
Nature: Adamant
Quote:
Originally Posted by Flameguru View Post
Not Possible atm I don't believe. If you wanted to try, it would require changing the Pokemon's Sprite in the Graphics Folder, renaming it in the scripts, and modifying all its moves, stats, and more....which would be a pain...sorry. Poccil may be able to assist you further than me
i, honestly, have a quick question regarding custom pokemon...

is there a script providing a database with the names/graphic name/etc., in which we can change the names and such to a name that we would like??
__________________

Pokemon Dark, come join us today!

Pokemon Dark is currently looking to hire...

Spriter(s)
Overworld Spriter(s)
Storyboard Editor(s)
Mapper(s)
Supporters!!

If you have any other talents, and would like to help out, just PM me!
  #330    
Old Posted October 5th, 2007 (08:03 PM).
poccil
Trainer
 
Join Date: Jan 2007
Gender:
Nature: Adamant
There is a text file called pokemon.txt in the PBS folder; that file contains data on each Pokemon in the game and contains details on creating new ones.
__________________
Peter O, of The Ultimate Pokemon Center (Pokemon Essentials, Donate money to restore my page)
  #331    
Old Posted October 5th, 2007 (11:52 PM). Edited October 6th, 2007 by lightou.
lightou's Avatar
lightou
Beginning Trainer
 
Join Date: Jul 2005
Location: Paris -- France
Age: 22
Gender:
Nature: Relaxed
Send a message via Windows Live Messenger to lightou
Hey Poccil, I've got one little question:
In my Pokémon Game, I don't want to use a PokéGear, but can I use the map, which is in the Key items Pocket? (like in D/P)

Thank you so much

EDIT : I don't know why I've got this error :

undefined method `pbOnMapChange' for Kernel:Module
PokemonMap:226:in `setMapChanged'
PokemonMap:207:in `setup'
PokemonLoad:191:in `pbStartLoadScreen'
PokemonLoad:173:in `open'
PokemonLoad:173:in `pbStartLoadScreen'
PokemonLoad:142:in `loop'
PokemonLoad:210:in `pbStartLoadScreen'
Scene_Intro:121:in `to_title_update'
Scene_Intro:55:in `main'
Main:41

I just change the windowsskin picture...?
  #332    
Old Posted October 6th, 2007 (12:34 AM).
Aqua Mudkip's Avatar
Aqua Mudkip
LOL I'm okay!
 
Join Date: Apr 2007
Location: In Hoenn, Rustboro City
Gender:
Nature: Jolly
It still dosen't worl poccil... Did you try to download your Starter Kit yourself?
__________________
Aqua Mudkip prospers us with delightful toaster!
Pokemon Tourmaline Under Construction. Since 2006.

JOIN OPERATION HEAD PIGEONS...
TO BRING BACK INVADER ZIM!
  #333    
Old Posted October 6th, 2007 (08:56 AM). Edited October 6th, 2007 by RMXPUser462.
RMXPUser462's Avatar
RMXPUser462
Just call me Ryan
 
Join Date: Mar 2006
Age: 23
Nature: Adamant
much thanks poccil for the help, you're brilliant


EDIT
How do you make it so an opposing trainer can have a shiny pokemon? I've tried using things like SHINYCHARIZARD, or SHINY_CHARIZARD, or even CHARIZARD_SHINY but got nothing from it

thanks for your help
__________________

Pokemon Dark, come join us today!

Pokemon Dark is currently looking to hire...

Spriter(s)
Overworld Spriter(s)
Storyboard Editor(s)
Mapper(s)
Supporters!!

If you have any other talents, and would like to help out, just PM me!
  #334    
Old Posted October 6th, 2007 (03:22 PM). Edited October 6th, 2007 by poccil.
poccil
Trainer
 
Join Date: Jan 2007
Gender:
Nature: Adamant
A new version of Pokemon Essentials is now available.

Changes:

Stabler Tilemap class -- Tile displacement problem was eliminated
Trainer battles can be skipped in playtests by holding CTRL
Internationalization support -- Texts can be extracted and compiled
for localization
Battle start transition included
Finer day/night tinting
WildBattleBGM and TrainerBattleBGM metadata classes
Move speed problem fixed
Title background music is set to that in the System tab of the database
The Bag is no longer filled automatically in playtesting; instead
use the "Fill Bag" option in the Debug menu.

Modified scripts:

Added: PBIntl
Changed: PokemonMap
Changed: PokeBattle_Pokemon
Changed: PokemonOption
Changed: PokemonDayCare
Changed: PokemonPokedex
Changed: PokeBattle_BattleArena
Changed: PokeBattle_Effects
Changed: PBTypes
Changed: PokemonMenu
Changed: PokeBattle_MoveEffects
Changed: PokeBattle_Move
Changed: AnimationSprite
Changed: RPGCache
Changed: Resolution*
Changed: PokemonSave
Changed: PokemonField
Changed: Walk/Run
Changed: PokemonMart
Changed: PokeBattle_ActualScene
Changed: PokemonTrainers
Changed: PokemonTilesetEditor
Changed: PokeBattle_Trainer
Changed: SpriteResizer
Changed: PokemonLoad
Changed: PBFile
Changed: PBMoves
Changed: Interpreter 7 *
Changed: Main
Changed: PokemonEntry
Changed: PokeBattle_AI
Changed: BitmapCache
Changed: WindowAndTilemap
Changed: Game_Event*
Changed: Compiler
Changed: PokemonTrainerCard
Changed: PBSpecies
Changed: PBItems
Changed: PokemonEvolution
Changed: PokeBattle_BattlePalace
Changed: PBTrainers
Changed: PokemonMessages
Changed: PBAbilities
Changed: PBDebug
Changed: PokemonSummary
Changed: SpriteWindow
Changed: PokemonUtilities
Changed: PokeBattle_Battle
Changed: PokemonRegionMap
Changed: PokemonEncounters
Changed: PokemonItems
Changed: PokemonBag
Changed: PokemonScreen
Changed: PokeBattle_Battler
Changed: PokemonStorage
Changed: Scene_Intro

Edit: A previous upload still filled the bag at game start and made Pokemon shiny by accident. The current upload no longer has these problems.
__________________
Peter O, of The Ultimate Pokemon Center (Pokemon Essentials, Donate money to restore my page)
  #335    
Old Posted October 6th, 2007 (05:33 PM). Edited October 6th, 2007 by Aqua Mudkip.
Aqua Mudkip's Avatar
Aqua Mudkip
LOL I'm okay!
 
Join Date: Apr 2007
Location: In Hoenn, Rustboro City
Gender:
Nature: Jolly
So did I help by testing the upload Poccil?

P.S. It still didnt work! I DownLoaded the update and I still get the annoying error! Someone please help!
__________________
Aqua Mudkip prospers us with delightful toaster!
Pokemon Tourmaline Under Construction. Since 2006.

JOIN OPERATION HEAD PIGEONS...
TO BRING BACK INVADER ZIM!
  #336    
Old Posted October 6th, 2007 (09:46 PM).
Demonic Budha's Avatar
Demonic Budha
semi-good RMXPer (not script)
 
Join Date: Jun 2005
Location: Taupo, NZ
Age: 28
Gender:
Nature: Naughty
Quote:
Originally Posted by Aqua Mudkip View Post
So did I help by testing the upload Poccil?

P.S. It still didnt work! I DownLoaded the update and I still get the annoying error! Someone please help!
You cant run the game file from inside RMXP, you can only run the game from the Icon, thats in the project folder.
__________________
}-DEMONIC BUDHA-{

(for those of you who dont know im not the best speller in the world. )
(also i find it funny that im like 10 years older than some of you and im asking you for help. )
  #337    
Old Posted October 7th, 2007 (09:04 AM).
Lorem Ipsum's Avatar
Lorem Ipsum
 
Join Date: Oct 2007
Gender:
Please can somebody tell me how to get this onto Postality Knights version? It would really, really help with my project.
  #338    
Old Posted October 7th, 2007 (09:09 AM).
Icechamp11200
Beginning Trainer
 
Join Date: Oct 2007
Gender:
is sdk compatible with the code? i need it for my pokemon game Pokemon Virtua
  #339    
Old Posted October 7th, 2007 (09:14 AM).
poccil
Trainer
 
Join Date: Jan 2007
Gender:
Nature: Adamant
Lorem Ipsum:

For that, please see the section in notes.txt entitled "Problems when opening project":
Quote:
If you are using RPG Tsukuuru XP in Japanese and you cannot open the project, then
open Game.rxproj in Notepad and change "RPGXP 1.02" to "RPGXP 1.01" or, if necessary
"RPGXP 1.00", then save the file.
__________________
Peter O, of The Ultimate Pokemon Center (Pokemon Essentials, Donate money to restore my page)
  #340    
Old Posted October 7th, 2007 (09:19 AM).
Lorem Ipsum's Avatar
Lorem Ipsum
 
Join Date: Oct 2007
Gender:
What version would Postality Knights be?

Sorry for being so stupid...
  #341    
Old Posted October 7th, 2007 (09:27 AM).
NytewolfAU2k7's Avatar
NytewolfAU2k7
Game Modder & Creator
 
Join Date: Jul 2006
Location: Perth, Australia
Gender:
Nature: Relaxed
Quote:
Originally Posted by Lorem Ipsum View Post
What version would Postality Knights be?

Sorry for being so stupid...
click the 'Help' menu then click 'About...'

You should see something that says;

Code:
RPGXP Version X.XX
(where X.XX is a version number, the most common being 1.00)
__________________
Shinies: 3 (Cubone, Ratatta and Bidoof)
Creator of NW's Pokémon Program Suite, An Open-Source Offline Pokémon Information tool or "Pokedex". (No longer cancelled! BETA 6 on it's way)
Administrator of Nytewolf's Game Development Site, A site devoted to showcasing my games.
  #342    
Old Posted October 7th, 2007 (09:34 AM).
Lorem Ipsum's Avatar
Lorem Ipsum
 
Join Date: Oct 2007
Gender:
OK, done that, but when I try to open it up, it says that it is not a valid Win32 application.
  #343    
Old Posted October 7th, 2007 (01:49 PM).
RMXPUser462's Avatar
RMXPUser462
Just call me Ryan
 
Join Date: Mar 2006
Age: 23
Nature: Adamant
Quote:
Originally Posted by RMXPUser462 View Post
How do you make it so an opposing trainer can have a shiny pokemon? I've tried using things like SHINYCHARIZARD, or SHINY_CHARIZARD, or even CHARIZARD_SHINY but got nothing from it

thanks for your help
thought i would bring my question back up, i don't mind if anyone helps with this
__________________

Pokemon Dark, come join us today!

Pokemon Dark is currently looking to hire...

Spriter(s)
Overworld Spriter(s)
Storyboard Editor(s)
Mapper(s)
Supporters!!

If you have any other talents, and would like to help out, just PM me!
  #344    
Old Posted October 7th, 2007 (04:18 PM).
Nastara
Beginning Trainer
 
Join Date: Mar 2007
Gender:
Nature: Adamant
Quote:
Originally Posted by Lorem Ipsum View Post
What version would Postality Knights be?

Sorry for being so stupid...
The pirated version of RMXP.
  #345    
Old Posted October 8th, 2007 (07:40 AM).
Lorem Ipsum's Avatar
Lorem Ipsum
 
Join Date: Oct 2007
Gender:
No, I meant in reference to typing in the version number in Notepad.

Also, my Win32 error is still popping up.
  #346    
Old Posted October 8th, 2007 (08:52 AM).
Wichu's Avatar
Wichu
Project Amethyst
 
Join Date: Sep 2007
Location: North Herts, England
Age: 21
Gender: Male
Nature: Naive
Is it possible to add new moves and abilities?
  #347    
Old Posted October 8th, 2007 (03:38 PM).
Minorthreat0987
Pokemon Tellurium
 
Join Date: Oct 2005
Nature: Adamant
im really happy with the latest release, Im glad you fixed the tile problem.

I have one thing to say though, and its really small so no rush at fixing it but if you could would you please have the HP bar update, when you level up in battle, it doesnt really affect game play, it just would be a nice added touch, and i dont think it would be too hard to do. thanks so much for this, this is a really awsome systems kit.
__________________

Check out my DeviantArt account for info on my new project! Pokemon Tellurium.
My DeviantArt
  #348    
Old Posted October 9th, 2007 (01:20 AM).
New2Ya's Avatar
New2Ya
Beginning Trainer
 
Join Date: Oct 2005
Gender:
Yeah, and I was hoping maybe Gym leaders could have their own personal battle music too?

That was a great update. I'm finally understanding this whole starterkit. I managed to get Dash animations now too...
__________________


CodeProject 001
  #349    
Old Posted October 9th, 2007 (07:33 AM). Edited October 9th, 2007 by poccil.
poccil
Trainer
 
Join Date: Jan 2007
Gender:
Nature: Adamant
Quote:
Yeah, and I was hoping maybe Gym leaders could have their own personal battle music too?
That's also possible with this version. The background music for specific types
of Trainers can be set in trainernames.txt. You may, for example, want to use
one kind of music for Elite Four members and Gym Leaders. You can make this
possible by editing the appropriate lines in the file:

Code:
72,LEADER_Brawly,LEADER,80,GymLeaderTheme.mid
...
80,ELITEFOUR_Phoebe,ELITE FOUR,100,EliteFourTheme.mid
(Please note that the lines above are just examples.)

As of the current version, the background music is set within the two functions
pbTrainerBattle in the script section PokemonTrainers (near line 175),
and pbWildBattle in the script section PokemonField (near line 120).

RMXPUer462:

I don't intend to support Trainers with shiny Pokemon in the game system; however,
you can edit the scripts to support such functionality. Go to the script section
PokemonTrainers and replace line 37 with the following:
Code:
    pokemon=PokeBattle_Pokemon.new(species,level)
    if trainerid==PBTrainers::LEADER_Brawly
     pokemon.makeShiny
    end
The makeShiny method is defined in the script section PokeBattle_Pokemon, as of
the latest version. Edit the line "if trainerid==PBTrainers::LEADER_Brawly" to
specify the Trainer types who will have shiny Pokemon. For example, the following
specifies that Campers and Picnickers will have shiny Pokemon:

Code:
    if trainerid==PBTrainers::CAMPER || trainerid==PBTrainers::PICNICKER
See the script section PBTrainers for other Trainer types.
__________________
Peter O, of The Ultimate Pokemon Center (Pokemon Essentials, Donate money to restore my page)
  #350    
Old Posted October 9th, 2007 (10:50 AM).
New2Ya's Avatar
New2Ya
Beginning Trainer
 
Join Date: Oct 2005
Gender:
Hey man, Im experiencing some bugs now.

1. If you played my tiny demo, you know the scene where Oak walks down the staircase towards Ash. (doesnt matter if you didnt play it, Oak is just an event, thats all.)
After updating my project with this update, (I did everything correctly like Flameguru explained, so that cant be the problem) he's not moving...

2. A similar problem is the player's graphics. I cant change the player's appearance for a time until I give it back its original sprite. Instead, he changes back to the original sprite until the Move Event -> Wait Time is over...
__________________


CodeProject 001
Closed Thread
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 10:34 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.