Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Scripts & Tutorials
Reload this Page [Essentials script] Pokémon Following Character script

Notices
For all updates, view the main page.

Scripts & Tutorials This forum is for scripts and code, as well as all kinds of tutorials, software, tools and so forth. Remember to give credit!
The thread revival limit does not apply here.



Closed Thread
 
Thread Tools
  #126    
Old August 15th, 2010 (02:37 PM).
nmorr's Avatar
nmorr nmorr is offline
Takin a brake. -_-
 
Join Date: May 2009
Location: Poke City
Age: 18
Gender: Male
Nature: Jolly
Posts: 215
For those who wanted it, here's an example for the pokefollowing script. I also put in Help14's Unknown Puzzle.

Link
__________________
This signature has been disabled.
Spoiler tags in Signatures are not allowed
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #127    
Old August 15th, 2010 (02:51 PM).
tomatoman's Avatar
tomatoman tomatoman is offline
 
Join Date: Jul 2010
Location: NY,NY
Gender: Male
Posts: 53
Thanks, The other link wad dead
__________________
Working on Elemon Dusk! Just working on maps and events on RMXP. Demo will be out soon!
http://www.elemonazure.webs.com

  #128    
Old September 4th, 2010 (04:54 PM).
Tranitar's Avatar
Tranitar Tranitar is offline
Working on Pokémon Wraith
 
Join Date: Sep 2009
Location: Why does this computer need to know where I live?
Gender: Male
Nature: Calm
Posts: 123
nmorr make another one and use Mediafire its completely free for mediafire, the 10 dls are over now...
__________________
  #129    
Old September 6th, 2010 (12:33 AM).
IceGod64's Avatar
IceGod64 IceGod64 is offline
My imagination.
 
Join Date: Oct 2008
Location: Castelia City
Age: 27
Gender: Male
Nature: Naive
Posts: 604
Agreed, re-upload this to mediafire. I'd like to see what you have, but I can't see it as rapidshare is terrible.
__________________

  #130    
Old September 6th, 2010 (04:28 PM).
nmorr's Avatar
nmorr nmorr is offline
Takin a brake. -_-
 
Join Date: May 2009
Location: Poke City
Age: 18
Gender: Male
Nature: Jolly
Posts: 215
Okay, I will in a few soon, but I'm busy now.
__________________
This signature has been disabled.
Spoiler tags in Signatures are not allowed
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #131    
Old September 26th, 2010 (04:52 PM).
JakeG's Avatar
JakeG JakeG is offline
Pokemon Awakening-Coming Soon!
 
Join Date: May 2010
Location: NSW, Australia
Gender: Male
Nature: Brave
Posts: 58
Still Awaiting the new link.
  #132    
Old September 27th, 2010 (03:39 AM).
help-14's Avatar
help-14 help-14 is offline
 
Join Date: Jul 2007
Location: Viet Nam
Age: 22
Gender: Male
Nature: Adamant
Posts: 281
Send a message via Windows Live Messenger to help-14
Well i am working on a totally new script, hope it will work ~.~
__________________
My Deviantart: help-14.deviantart.com
  #133    
Old September 28th, 2010 (12:38 PM).
tylerab01's Avatar
tylerab01 tylerab01 is offline
Pokemon AquaHarmony
 
Join Date: Apr 2009
Location: France
Gender: Male
Nature: Bold
Posts: 165
Help would you like me to help with making sprites for the new 5th gen pokemon?
__________________

  #134    
Old September 28th, 2010 (04:01 PM).
help-14's Avatar
help-14 help-14 is offline
 
Join Date: Jul 2007
Location: Viet Nam
Age: 22
Gender: Male
Nature: Adamant
Posts: 281
Send a message via Windows Live Messenger to help-14
Quote originally posted by tylerab01:
Help would you like me to help with making sprites for the new 5th gen pokemon?
Go ahead if you want to do it ^^ But it is 156 sprites you know ~.~
__________________
My Deviantart: help-14.deviantart.com
  #135    
Old October 7th, 2010 (04:58 AM).
IceGod64's Avatar
IceGod64 IceGod64 is offline
My imagination.
 
Join Date: Oct 2008
Location: Castelia City
Age: 27
Gender: Male
Nature: Naive
Posts: 604
Quote originally posted by help-14:
Today gift is not really useable. Pokemon following character v3.0 beta: http://www.pokecommunity.com/showthread.php?p=5378759#post5378759
I need you to test it, if you found a bug, post it to Pokemon following topic, not in here. Thank
Nice! A new version!

Here's a bug: Leaving the party screen crashes for me on Windows XP, SP2.

Code:
Exception: NoMethodError
Message: undefined method `[]' for 0...1:Range
PokemonMenu:163:in `pbStartPokemonMenu'
PokemonMenu:139:in `loop'
PokemonMenu:238:in `pbStartPokemonMenu'
Scene_Map:183:in `call_menu'
Scene_Map:157:in `update'
Scene_Map:67:in `main'
Scene_Map:64:in `loop'
Scene_Map:71:in `main'
Main:56:in `mainFunctionDebug'
Main:31:in `mainFunction'
-Switching the first Pokemon in your party through a PC doesn't change it's overworld graphic, even when leaving the area. Their cry does change, however.
-The animation is inturruptable in that it doesn't halt your movement for any amount of time. Not really a big deal I know, since it's just to show off the cry function.
-When your Pokemon are fainted, they are still out. I like this, however, as fainted Pokemon can still use HMs and such, so it seems to me like all that it can't do is fight.

You did seem to fix the fix the main bug(Being unable to talk to pokemon correctly in other maps), so kudos on that. This is a huge improvement over your last revision. The party screen is the only severely hindering bug I've found.
__________________

  #136    
Old October 7th, 2010 (05:04 AM). Edited October 7th, 2010 by help-14.
help-14's Avatar
help-14 help-14 is offline
 
Join Date: Jul 2007
Location: Viet Nam
Age: 22
Gender: Male
Nature: Adamant
Posts: 281
Send a message via Windows Live Messenger to help-14
Quote originally posted by IceGod64:
Nice! A new version!

Here's a bug: Leaving the party screen crashes for me on Windows XP, SP2.

Code:
Exception: NoMethodError
Message: undefined method `[]' for 0...1:Range
PokemonMenu:163:in `pbStartPokemonMenu'
PokemonMenu:139:in `loop'
PokemonMenu:238:in `pbStartPokemonMenu'
Scene_Map:183:in `call_menu'
Scene_Map:157:in `update'
Scene_Map:67:in `main'
Scene_Map:64:in `loop'
Scene_Map:71:in `main'
Main:56:in `mainFunctionDebug'
Main:31:in `mainFunction'
-Switching the first Pokemon in your party through a PC doesn't change it's overworld graphic, even when leaving the area. Their cry does change, however.
-The -_- animation is inturruptable in that it doesn't halt your movement for any amount of time. Not really a big deal I know, since it's just to show off the cry function.
-When your Pokemon are fainted, they are still out. I like this, however, as fainted Pokemon can still use HMs and such, so it seems to me like all that it can't do is fight.

You did seem to fix the fix the main bug(Being unable to talk to pokemon correctly in other maps), so kudos on that. This is a huge improvement over your last revision. The party screen is the only severely hindering bug I've found.
Thank IceGod64, working on those bug ^^
Switching the first Pokemon in your party through a PC doesn't change it's overworld graphic because the pokemon you changed is not the current pokemon.
Update to v3.0.1 ^^
__________________
My Deviantart: help-14.deviantart.com
  #137    
Old October 7th, 2010 (08:35 AM).
Jefelin's Avatar
Jefelin Jefelin is offline
 
Join Date: Sep 2009
Gender: Male
Posts: 38
Well here are some bugs:

1) The animations do not appear in my project (and are all configured properly)
2) When the hero runs, the sprite is lagging behind
3) When you go from one map to another (joined by conecting mapping), there is a moment in which the pokemon sprite disappears

Apart from that, everything is going great, this script is awesome hopefully soon you have the final version, will be one of the best contributions in years, do not give up XD
  #138    
Old October 7th, 2010 (09:44 AM).
IceGod64's Avatar
IceGod64 IceGod64 is offline
My imagination.
 
Join Date: Oct 2008
Location: Castelia City
Age: 27
Gender: Male
Nature: Naive
Posts: 604
The bug with the PC boxes still happens where the following Pokemon's sprite doesn't update, but the party screen works now.
__________________

  #139    
Old October 7th, 2010 (11:03 AM).
zingzags's Avatar
zingzags zingzags is offline
PokemonGDX creator
 
Join Date: Jan 2009
Location: Boston
Age: 21
Nature: Adamant
Posts: 560
You know what will also be a great idea, for when the player talks to the pokemon it says there name and what ever the developer puts. EX i talk to charzard then it will say something like this "Charzard is happy that hes traviling with (said name player)"
__________________
Check out the Pokemon Game Engine I am working on:
https://github.com/sjosegarcia/Pokemon
  #140    
Old October 7th, 2010 (11:51 AM).
IceGod64's Avatar
IceGod64 IceGod64 is offline
My imagination.
 
Join Date: Oct 2008
Location: Castelia City
Age: 27
Gender: Male
Nature: Naive
Posts: 604
Quote originally posted by zingzags:
You know what will also be a great idea, for when the player talks to the pokemon it says there name and what ever the developer puts. EX i talk to charzard then it will say something like this "Charzard is happy that hes traviling with (said name player)"
You already can do that. \pn displays the players name.

Also, it's spelled "Traveling".
__________________

  #141    
Old October 7th, 2010 (02:33 PM).
zingzags's Avatar
zingzags zingzags is offline
PokemonGDX creator
 
Join Date: Jan 2009
Location: Boston
Age: 21
Nature: Adamant
Posts: 560
i noe about the players name, i ment the pokemons name ty grammar nazi
__________________
Check out the Pokemon Game Engine I am working on:
https://github.com/sjosegarcia/Pokemon
  #142    
Old October 7th, 2010 (02:59 PM).
Cilerba Cilerba is offline
the hearts of lonely people
Silver Tier
 
Join Date: Feb 2010
Location: Massachusetts
Age: 18
Gender: Male
Nature: Quiet
Posts: 1,166
Quote originally posted by zingzags:
i noe about the players name, i ment the pokemons name ty grammar nazi
I'm not sure about having it in a message. But it's easy to do it in a script:

Code:
Kernel.pbMessage(_INTL("{1}",$Trainer.party[0].name))
That would only display the first Pokémon's name.
__________________
  #143    
Old October 7th, 2010 (03:24 PM).
IceGod64's Avatar
IceGod64 IceGod64 is offline
My imagination.
 
Join Date: Oct 2008
Location: Castelia City
Age: 27
Gender: Male
Nature: Naive
Posts: 604
Two bugs. Serious ones.

-Start surfing without a Pokemon following you. First, you notice it says "?????????? used Surf!" This happens when you stop surfing:
Code:
Exception: NameError
Message: undefined local variable or method `refresh_sprite' for #<Game_Player:0x52444a8>
PokemonFollowingV3:660:in `pbEndSurf'
Game_Player_:64:in `move_left'
Game_Player_:384:in `update_old'
Walk_Run:66:in `update'
Scene_Map:101:in `update'
Scene_Map:98:in `loop'
Scene_Map:111:in `update'
Scene_Map:67:in `main'
Scene_Map:64:in `loop'
Scene_Map:71:in `main'
-You can't surf at all with a Pokemon following you.
__________________

  #144    
Old October 7th, 2010 (03:35 PM).
mattfriends's Avatar
mattfriends mattfriends is offline
Inactive... :(
 
Join Date: Jul 2010
Age: 18
Gender: Male
Posts: 105
These scripts make people confuse yeah. But actually it work well sometime.

But I fixed it.
__________________
This signature has been disabled.
Exceeds signature height limit.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
  #145    
Old October 7th, 2010 (03:47 PM).
tylerab01's Avatar
tylerab01 tylerab01 is offline
Pokemon AquaHarmony
 
Join Date: Apr 2009
Location: France
Gender: Male
Nature: Bold
Posts: 165
When ever I try to surf you it says "you can do that with somebody following you"
__________________

  #146    
Old October 7th, 2010 (04:02 PM).
help-14's Avatar
help-14 help-14 is offline
 
Join Date: Jul 2007
Location: Viet Nam
Age: 22
Gender: Male
Nature: Adamant
Posts: 281
Send a message via Windows Live Messenger to help-14
Quote originally posted by Jefelin:
Well here are some bugs:

1) The animations do not appear in my project (and are all configured properly)
2) When the hero runs, the sprite is lagging behind
3) When you go from one map to another (joined by conecting mapping), there is a moment in which the pokemon sprite disappears

Apart from that, everything is going great, this script is awesome hopefully soon you have the final version, will be one of the best contributions in years, do not give up XD
1) Haven't test with near May 7th version of starter kit
2) That is not a bug, Poccil didn't make dependent event running
3) Hmm, will check it.

Quote originally posted by IceGod64:
The bug with the PC boxes still happens where the following Pokemon's sprite doesn't update, but the party screen works now.
I think you don't get it. if the following pokemon is the 6th pokemon and you change the first pokemon, sprite will not change.

Quote originally posted by zingzags:
You know what will also be a great idea, for when the player talks to the pokemon it says there name and what ever the developer puts. EX i talk to charzard then it will say something like this "Charzard is happy that hes traviling with (said name player)"
Will add in next version

Quote originally posted by IceGod64:
Two bugs. Serious ones.

-Start surfing without a Pokemon following you. First, you notice it says "?????????? used Surf!" This happens when you stop surfing:
Code:
Exception: NameError
Message: undefined local variable or method `refresh_sprite' for #<Game_Player:0x52444a8>
PokemonFollowingV3:660:in `pbEndSurf'
Game_Player_:64:in `move_left'
Game_Player_:384:in `update_old'
Walk_Run:66:in `update'
Scene_Map:101:in `update'
Scene_Map:98:in `loop'
Scene_Map:111:in `update'
Scene_Map:67:in `main'
Scene_Map:64:in `loop'
Scene_Map:71:in `main'
-You can't surf at all with a Pokemon following you.
Typing mistake ~.~

Quote originally posted by tylerab01:
When ever I try to surf you it says "you can do that with somebody following you"
Working on it.
__________________
My Deviantart: help-14.deviantart.com
  #147    
Old October 7th, 2010 (04:33 PM).
Pichuichu's Avatar
Pichuichu Pichuichu is offline
Creator Of (Insert Here)
 
Join Date: Apr 2010
Location: Isshu-Huin City
Gender: Male
Posts: 273
how do you swich pokemon i talk to pro and it swiches between pikachu and piplup if i talk to bulbasaur it changes to piplup.
__________________

Credit: Invasion For Sig And Avatar.



My Da Account ->here<-
  #148    
Old October 7th, 2010 (04:50 PM).
IceGod64's Avatar
IceGod64 IceGod64 is offline
My imagination.
 
Join Date: Oct 2008
Location: Castelia City
Age: 27
Gender: Male
Nature: Naive
Posts: 604
Quote originally posted by help-14:
I think you don't get it. if the following pokemon is the 6th pokemon and you change the first pokemon, sprite will not change.
But that's not the case. My first Pokemon is following me.

Let me explain through example. My party in order is:
Pikachu
Leafeon
Vaporeon
Flareon
Turtwig
Piplup

Now, with my party in this order, and Pikachu following me, I go to the PC, select "Move Pokemon", open the party tab, and switch Pikachu and Turtwig. Turtwig is now first, where the Pikachu that was following me used to be.
I exit out of the PC menu, and get back onto the map.
I still have a Pikachu behind me. When I talk to it, it makes Turtwig's cry.

That's that best I can explain it..
__________________

  #149    
Old October 7th, 2010 (06:31 PM).
zingzags's Avatar
zingzags zingzags is offline
PokemonGDX creator
 
Join Date: Jan 2009
Location: Boston
Age: 21
Nature: Adamant
Posts: 560
I tested it with the brawly dependent event and it looks like its working fine i even went to battle with brawly (from the starter kit) but brawley was behind the pokemon. Is it possible to move that dependent event to the side of the trainer? wait what am I asking its okay like that....
__________________
Check out the Pokemon Game Engine I am working on:
https://github.com/sjosegarcia/Pokemon
  #150    
Old October 7th, 2010 (06:48 PM).
mattfriends's Avatar
mattfriends mattfriends is offline
Inactive... :(
 
Join Date: Jul 2010
Age: 18
Gender: Male
Posts: 105
Quote originally posted by zingzags:
I tested it with the brawly dependent event and it looks like its working fine i even went to battle with brawly (from the starter kit) but brawley was behind the pokemon. Is it possible to move that dependent event to the side of the trainer? wait what am I asking its okay like that....
Yes, just remember the pokemon dependency name and remove then add it again.
__________________
This signature has been disabled.
Exceeds signature height limit.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
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 -8. The time now is 11:14 PM.