The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Register New Account FAQ/Rules Chat 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
Thread Tools
  #1126  
Unread January 2nd, 2008, 01:17 PM
Youji's Avatar
Youji
Viridian City Gym Leader
 
Join Date: Jun 2007
Location: Germany
Age: 21
Gender: Male
Nature: Quiet
Sorry that doesn't work. It stops the Encounter music but it doesn't play the battle music.
__________________
  #1127  
Unread January 2nd, 2008, 01:30 PM
Wichu's Avatar
Wichu
Project Amethyst
 
Join Date: Sep 2007
Location: North Herts, England
Age: 20
Gender: Male
Nature: Naive
Poccil, next time you release a new update, would it be too much trouble for you to comment the lines you edited in the scripts in the newest update?
Because at the moment, when I update my scripts, I have to find all my modifications from the older version, and copy them to the newer version.
If you commented all the changed lines, with for example "# Change", it might make updating a little easier for the people who have edited the scripts, since instead of searching for and copying many of our custom modifications, we'd just have to copy a few lines over from the new version. For example, I showed you my edited PokemonMenu script - it would be a lot easier to just copy the few changed lines in the newest release over than to copy all my modifications.

Edit: Devil_Silver, you can use the latest version immediately, as long as you move all your map data and stuff over.
  #1128  
Unread January 2nd, 2008, 01:33 PM
poccil
Trainer
 
Join Date: Jan 2007
Gender:
Nature: Adamant
I had to find out the hard way that stopping an ME merely means setting the ME's volume to 0. Here -- Change the pbPlayTrainerIntroME function on PokemonUtilities (starting at line 254):

Code:
def pbPlayTrainerIntroME(trainertype)
 pbRgssOpen("Data/trainernames.dat","rb"){|f|
  trainernames=Marshal.load(f)
  if trainernames[trainertype]
   bgm=trainernames[trainertype][6]
   if bgm && bgm!=""
    bgm=pbStringToAudioFile(bgm)
    Audio.bgm_play("Audio/ME/#{bgm.name}",bgm.volume,bgm.pitch)
   end
  end
 }
end
__________________
Peter O, of The Ultimate Pokemon Center (Pokemon Essentials, Donate money to restore my page)
  #1129  
Unread January 2nd, 2008, 01:37 PM
Youji's Avatar
Youji
Viridian City Gym Leader
 
Join Date: Jun 2007
Location: Germany
Age: 21
Gender: Male
Nature: Quiet
Thanks dude. It works perfect.
__________________
  #1130  
Unread January 2nd, 2008, 01:56 PM
Devil_Silver's Avatar
Devil_Silver
Eevee Breeder
 
Join Date: Dec 2007
Location: Belgium
Age: 18
Gender:
Nature: Brave
I hate to moan, but I had some questions.
So sorry for moaning :D
Here are my questions again:
Spoiler:

Hi everyone,
First of all, thanks Poccil for the new version!

I've got a couple of questions.

1. I'm normally using the first release for my game. Can I update to the latest version immediatly? I mean without downloading the ones after the first release?

2. How can you make certain events only appear when it's a certain weather, like someone who's outside when it's raining?
SOLVED

3. How do you add new key items, like a book?

4. How can you add new music to the PokéGear?

5. Can someone PM me on how exactly to update?

Thanks alot in advance.
Grtz

Oh, and I'm also looking for team magma and aqua charasets, but I don't think this is the right place for asking resources.
__________________

|Theme by: Chikara³|
|Big sister: Fabledawn|
|Little sister: Aelitaluver3.0|
|Bro: Mismaguis|
[Searching for:]

|Friend Code
|0688 3782 4380|
|Name:JOHN|








Last edited by Devil_Silver; January 2nd, 2008 at 02:05 PM.
  #1131  
Unread January 2nd, 2008, 01:57 PM
poccil
Trainer
 
Join Date: Jan 2007
Gender:
Nature: Adamant
Devil_Silver:

Example of an event page that appears only during a certain weather.

Trigger: Action Button
Condition: Switch s:$game_screen.weather_type==1 is ON
Code:
Text:  It is raining.

The "1" after "s:$game_screen.weather_type" refers to the "Rain" weather condition.
__________________
Peter O, of The Ultimate Pokemon Center (Pokemon Essentials, Donate money to restore my page)
  #1132  
Unread January 2nd, 2008, 01:58 PM
Wichu's Avatar
Wichu
Project Amethyst
 
Join Date: Sep 2007
Location: North Herts, England
Age: 20
Gender: Male
Nature: Naive
Poccil, I've just noticed you forgot to add these lines to PokemonTrainers:
Code:
    elsif $game_screen.weather_type==5 # Edit
     battle.weather=PBWeather::SUNNYDAY
     battle.weatherduration=-1
at line 292.
  #1133  
Unread January 2nd, 2008, 02:08 PM
Devil_Silver's Avatar
Devil_Silver
Eevee Breeder
 
Join Date: Dec 2007
Location: Belgium
Age: 18
Gender:
Nature: Brave
Thanks, Poccil!


Does anyone know the answer to the other questions?
__________________

|Theme by: Chikara³|
|Big sister: Fabledawn|
|Little sister: Aelitaluver3.0|
|Bro: Mismaguis|
[Searching for:]

|Friend Code
|0688 3782 4380|
|Name:JOHN|







  #1134  
Unread January 2nd, 2008, 02:08 PM
poccil
Trainer
 
Join Date: Jan 2007
Gender:
Nature: Adamant
Thanks, I was already aware of that.
__________________
Peter O, of The Ultimate Pokemon Center (Pokemon Essentials, Donate money to restore my page)
  #1135  
Unread January 2nd, 2008, 03:01 PM
Wichu's Avatar
Wichu
Project Amethyst
 
Join Date: Sep 2007
Location: North Herts, England
Age: 20
Gender: Male
Nature: Naive
Oh, OK.
Anyway, I added two more scripts to my thread: they are a random name generator I made, and a change map view (normal/custom/perspective) script poccil sent me once.
  #1136  
Unread January 2nd, 2008, 03:34 PM
Devil_Silver's Avatar
Devil_Silver
Eevee Breeder
 
Join Date: Dec 2007
Location: Belgium
Age: 18
Gender:
Nature: Brave
Nice work, Wichu!

Can someone tell me how to update properly? I tried, but then my game changed to an exact copy of the demo! (Glad I made a copy)
__________________

|Theme by: Chikara³|
|Big sister: Fabledawn|
|Little sister: Aelitaluver3.0|
|Bro: Mismaguis|
[Searching for:]

|Friend Code
|0688 3782 4380|
|Name:JOHN|







  #1137  
Unread January 2nd, 2008, 05:37 PM
Wichu's Avatar
Wichu
Project Amethyst
 
Join Date: Sep 2007
Location: North Herts, England
Age: 20
Gender: Male
Nature: Naive
I think you just have to move any custom graphics and music over to Essentials. Then if you have no custom scripts/Pokémon etc, copy the System.rxdata, Mapinfos.rxdata and Map###.rxdata files from the original project to Essentials.
In PBS, copy any files you edited (especially metadata, encounters and trainers).
If you have custom Pokémon/items/moves etc, copy those files over, too.
Scripts are harder - you have to carefully copy and paste each of your edits.
Finally, run the game from within RPG Maker. If it doesn't do the "Compiling..." thing, run it again while holding CTRL.
It should be exactly
  #1138  
Unread January 2nd, 2008, 06:13 PM
Devil_Silver's Avatar
Devil_Silver
Eevee Breeder
 
Join Date: Dec 2007
Location: Belgium
Age: 18
Gender:
Nature: Brave
It works!

Thanks ALOT, Wichu!
Now I can insert your add-ons!

-Edit-

Is it possible to:

- Make weather effects change with the time of day?
Like in the morning, it's rain (20%)
And at night, it's rain (80%)

- Make events appear on certain days only?
Like a pokémon that only appears on Wednesday?
__________________

|Theme by: Chikara³|
|Big sister: Fabledawn|
|Little sister: Aelitaluver3.0|
|Bro: Mismaguis|
[Searching for:]

|Friend Code
|0688 3782 4380|
|Name:JOHN|








Last edited by Devil_Silver; January 2nd, 2008 at 09:06 PM.
  #1139  
Unread January 2nd, 2008, 11:17 PM
Shirayuki Mizore's Avatar
Shirayuki Mizore
Pokemon Raptor is STILL going?
 
Join Date: Nov 2007
Location: Florida.
Gender:
Another Error..Except this time when I try to run the .exe file...

Script 'SpriteWindow' line 1269: Errno::ENOENT occurred

No Such File or Directory-Data/dexdata.dat

Also, I got this error when I tried the Testplay:

Exception: RuntimeError
Message: Undefined Trainer constant name: FISHERMAN'
Compiler:710:in `pbGetConst'
Compiler:743:in `parseTrainer'
Compiler:1036:in `pbCompileTrainers'
Compiler:1035:in `loop'
Compiler:1091:in `pbCompileTrainers'
Compiler:2331
Section112:710:in `pbGetConst'
Section112:743:in `parseTrainer'
Section112:1036:in `pbCompileTrainers'
Section112:1035:in `loop'
Section112:1091:in `pbCompileTrainers'
Section112:2331
...

Can I have the Event Template for a battle?
  #1140  
Unread January 2nd, 2008, 11:23 PM
poccil
Trainer
 
Join Date: Jan 2007
Gender:
Nature: Adamant
Legend of Awesome:

You will receive a private message.

Devil_Silver:

That can also be achieved using a script-based switch.

Trigger: Action Button
Condition: Switch s:Time.now.wday==1 is ON
Code:
Text:  Today is Monday.
The number after "Time.now.wday" can be 0 for Sunday, 1 for Monday, and so on.

Also, making weather effects change with the time of day is not supported.
__________________
Peter O, of The Ultimate Pokemon Center (Pokemon Essentials, Donate money to restore my page)

Last edited by poccil; January 2nd, 2008 at 11:36 PM.
  #1141  
Unread January 3rd, 2008, 12:00 AM
Shirayuki Mizore's Avatar
Shirayuki Mizore
Pokemon Raptor is STILL going?
 
Join Date: Nov 2007
Location: Florida.
Gender:
Ahh, I see now.

But what about the other error? Does that go with the Fisherman error?

ANOTHER Error..

Exception: RuntimeError
Message: In encounters.txt, expected a species entry line,
got "Pidgey,2" instead (probably too few entries in an encounter type).
Please check the format of the section numbered 0029,
which is just before this line.
Compiler:816:in `pbCompileEncounters'
Compiler:808:in `loop'
Compiler:822:in `pbCompileEncounters'
Compiler:779:in `loop'
Compiler:843:in `pbCompileEncounters'
Compiler:2343
Section112:816:in `pbCompileEncounters'
Section112:808:in `loop'
Section112:822:in `pbCompileEncounters'
Section112:779:in `loop'
Section112:843:in `pbCompileEncounters'
Section112:2343

I put it in just like somebody said..
  #1142  
Unread January 3rd, 2008, 12:12 AM
poccil
Trainer
 
Join Date: Jan 2007
Gender:
Nature: Adamant
Here, the section 0029 has too many entries in it. Simply remove the extra entry, which here is "Pidgey,2", until there are no more errors.
__________________
Peter O, of The Ultimate Pokemon Center (Pokemon Essentials, Donate money to restore my page)
  #1143  
Unread January 3rd, 2008, 12:13 AM
mad.array's Avatar
mad.array
Eeveelutions... need more...
 
Join Date: Nov 2007
Location: Birmingham, UK
Age: 28
Gender: Male
Nature: Rash
nvm, sorted Wait, Whaddaya mean I have to have 25 characters in here? Will this do?
  #1144  
Unread January 3rd, 2008, 12:22 AM
Alistair
Donator Tier 2
 
Join Date: Mar 2005
Age: 22
Nature: Quirky
Hey poccil, when RPG Maker VX comes out, are you going to modify Essentials to work with it?
__________________
No signature to be found here...
  #1145  
Unread January 3rd, 2008, 12:30 AM
Shirayuki Mizore's Avatar
Shirayuki Mizore
Pokemon Raptor is STILL going?
 
Join Date: Nov 2007
Location: Florida.
Gender:
Hey, thanks. Except it just kept asking me to remove and remove and remove..so before I remove anymore, is anything wrong here:

Spoiler:
  #1146  
Unread January 3rd, 2008, 12:49 AM
poccil
Trainer
 
Join Date: Jan 2007
Gender:
Nature: Adamant
For one thing, "Ratatta" is misspelled: it should be "RATTATA". Also, there should be 12 entries
with no blank lines between them.

EDIT: After inspecting the data compiler, I realized that it was reporting the wrong error. The real problem was that "Ratatta" was misspelled, not the number of entries, which was probably correct originally.
__________________
Peter O, of The Ultimate Pokemon Center (Pokemon Essentials, Donate money to restore my page)

Last edited by poccil; January 3rd, 2008 at 01:01 AM.
  #1147  
Unread January 3rd, 2008, 01:31 AM
Shirayuki Mizore's Avatar
Shirayuki Mizore
Pokemon Raptor is STILL going?
 
Join Date: Nov 2007
Location: Florida.
Gender:
*Smacks Forehead*
I am being WAAAY to careless..

Dang. ANOTHER ERROR.

Script 'PokemonUtilities' line 266yntaxError occured

O.o
  #1148  
Unread January 3rd, 2008, 02:29 PM
Devil_Silver's Avatar
Devil_Silver
Eevee Breeder
 
Join Date: Dec 2007
Location: Belgium
Age: 18
Gender:
Nature: Brave
Another problem:

Normally, when I use the 'Show TownMap' thing, it works perfectly.
But now I use a custom map, and this error shows up when I use pbShowMap:

Exception: RuntimeError
Message: Script error within event 2, map 1 (Your house):
Section104:73:in `pbStartScene'undefined method `[]' for nil:NilClass
Section018:238:in `pbExecuteScript'
Section104:215:in `pbStartScreen'
Section115:101:in `pbShowMap'
Section115:98:in `pbFadeOutIn'
Section115:98:in `pbShowMap'
(eval)in `pbExecuteScript'
Section018:1614:in `eval'
Section018:238:in `pbExecuteScript'
Section018:1614:in `command_355'
Section018:466:in `execute_command'
Section018:190:in `update'
Section018:104:in `loop'
Section018:195:in `update'
Section020:98:in `update'
Section020:96:in `loop'
Section020:109:in `update'
Section020:65:in `main'
Section020:62:in `loop'
Section020:69:in `main'
Section117in `mainFunction'
Section117in `pbCriticalCode'
Section117:22:in `mainFunction'
Section117:26
Section117:25:in `loop'
Section117:34
__________________

|Theme by: Chikara³|
|Big sister: Fabledawn|
|Little sister: Aelitaluver3.0|
|Bro: Mismaguis|
[Searching for:]

|Friend Code
|0688 3782 4380|
|Name:JOHN|







  #1149  
Unread January 3rd, 2008, 03:17 PM
Wichu's Avatar
Wichu
Project Amethyst
 
Join Date: Sep 2007
Location: North Herts, England
Age: 20
Gender: Male
Nature: Naive
Devil_Silver: Have you updated townmap.txt with the name of the new map? And is the map position in metadata.txt accurate?
  #1150  
Unread January 4th, 2008, 12:03 AM
.houndoomed
Trainer
 
Join Date: Apr 2006
Quote:
Originally Posted by Дон Пач View Post
Hey poccil, when RPG Maker VX comes out, are you going to modify Essentials to work with it?
Freakish, I was gonna ask that too o.0

Do you think you will? I think it's basically the same thing to be honest, but a lot of people will be changing to VX (possibly because the screen size has been increased).
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

Forum Jump


All times are UTC. The time now is 03:40 AM.


Style by Perdition Haze, artwork by Sa-Dui.
Like our Facebook Page Follow us on TwitterMessage Board Statistics | © 2002 - 2013 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to Pokémon USA, Inc. and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company, Pokémon USA, Inc., The Pokémon Company International, or Wizards of the Coast. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2013 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 posts belong to the user.