Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Scripts & Tutorials
Reload this Page [Essentials script] Help-14's Pokémon Following Character script - fixes and additions

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.



Reply
 
Thread Tools
  #101    
Old September 17th, 2013 (11:43 AM).
Tayuya of the Sound Four's Avatar
Tayuya of the Sound Four Tayuya of the Sound Four is offline
Team Johto
 
Join Date: Jan 2013
Gender: Female
Posts: 31
Quote originally posted by aegisrox:
Tayuta, i found the solution of your problem!! :D

The solution if that you dont have defined the Emoticons icons spritesheet, i happens the same to me, and when i defined then it WORKS!!

If you dont know how to do this, send me a PM with your mail and i will send you the solution!!

Regards

Aegis
Oh thanks! It works now! I can't beleive I missed that u.u
Reply With Quote
  #102    
Old October 23rd, 2013 (03:09 PM).
heitres heitres is offline
Team Kalos
 
Join Date: May 2013
Gender: Male
Posts: 13
I just got the script work, its 99% working, but there is a bug with the bike, I can't see where to fix it. My bug is when I use a bike, the pokemon that is following me disappear with this scipt you adviced to implement:

def Kernel.pbMountBike
return if $PokemonGlobal.bicycle $PokemonGlobal.bicycle=true
$PokemonTemp.dependentEvents.remove_sprite(true)
Kernel.pbUpdateVehicle
bikebgm=pbGetMetadata(0,MetadataBicycleBGM)
if bikebgm
pbCueBGM(bikebgm,0.5)
end
end

This script to be more specific in the PokemonField script section:

$PokemonTemp.dependentEvents.remove_sprite(true)


My problem is when I dismount the bike, my pokemon still following me, I can talk with him, but the problem is his sprite stays invisible. I tryed to find where to implement the command:
$PokemonTemp.dependentEvents.refresh_sprite

But I can't find where. Can you help me plz?

Its the only bug I have and need to fix, I just managed to make Dig, Escape rope and use the Bike without have that limitation that deny the player to use that kind of moves/vehicle with dependent event.
Reply With Quote
  #103    
Old October 25th, 2013 (02:46 AM). Edited October 26th, 2013 by heitres.
heitres heitres is offline
Team Kalos
 
Join Date: May 2013
Gender: Male
Posts: 13
OMG, I found where to fix the problem with dismount bike, so easy, I'm really blind, I found it in Pokémon field in the line 1494 I think. There are a condition IF "Return If". The line is like this:

def Kernel.pbDismountBike
return if !$PokemonGlobal.bicycle
$PokemonGlobal.bicycle=false
Kernel.pbUpdateVehicle
$game_map.autoplayAsCue
end

I copied and pasted in the Pokemon follower script, and I followed the same instruction as it is in the surf, there is a pbendsurf, and saw how to do it and I add this $PokemonTemp.dependentEvents.Come_back(true).

After I made it, it become like this:

def Kernel.pbDismountBike
return if !$PokemonGlobal.bicycle
$PokemonGlobal.bicycle=false
Kernel.pbUpdateVehicle
$game_map.autoplayAsCue
$PokemonTemp.dependentEvents.Come_back(true)
end

And fixed my problem. Now I need to fix when my first pokemon in the pokemon party is fainted, how to change the sprite to my second pokemon (if he/she has HP and ofc if I have more than 1 pokemon, but its not a big deal), I will try to add some more features to the script in my game. Thanks for the script PokémonFollower, thanks for your hard work guys Now I can really say I have 100% working in this script.

I don't know if you guys are reading my posts, but I just got the way to make the script work, I mean, when you have the first pokemon fainted, the game will search for the second pokemon. I don't know if you guys had the same problem, but for who got, just answer to me and I will post the fix
Reply With Quote
  #104    
Old October 29th, 2013 (06:20 AM). Edited October 30th, 2013 by linkthehero.
linkthehero's Avatar
linkthehero linkthehero is offline
Team Unova
 
Join Date: Sep 2012
Gender: Male
Posts: 66
AHMMM could you make a kit for where this is inclouded , this would fix many problems
Reply With Quote
  #105    
Old October 30th, 2013 (08:04 AM). Edited October 30th, 2013 by Peaverin.
Peaverin's Avatar
Peaverin Peaverin is offline
Team Sinnoh
 
Join Date: Sep 2013
Gender: Male
Posts: 50
It doesn't even shows the pokémon following to me.
I have the pokemon character graphics but not the other ones.
Can someone re-upload the images and the other downloadable things?
Edit: Done.
__________________
Click Here to enter my project's Webpage!
Hey guys, Im a Spanish boy. It's hard for me to speak completely good in english, but I'll do my best. Please, don't be too bad with me
Reply With Quote
  #106    
Old October 30th, 2013 (08:18 AM).
linkthehero's Avatar
linkthehero linkthehero is offline
Team Unova
 
Join Date: Sep 2012
Gender: Male
Posts: 66
if you help me with the the cript part ,i will give you all graphics
deal or no deal?
Reply With Quote
  #107    
Old November 4th, 2013 (05:33 AM).
heitres heitres is offline
Team Kalos
 
Join Date: May 2013
Gender: Male
Posts: 13
Ah I did a starter kit with the Follower Script I have. You can download it, sorry Zingzag, if you want to me to remove I will, this is just to help the ppl.

Btw, I have fixed alot things, my version can give problems with HMs/TMs and veihcles when you have a partner dependent event with you. So if you are using the script I have, my advice is not use a partner.
I created a switch that fix a bug when you are in veihcles and if you change the position of your pokemons, the pokemon that now are in the 1st position will appear while you are surfing, bicycling. Don't forget when you mount bicycle or when you use surf the switch will activate so to not let that happen, but don't forget if you are using a bicycle and when you enter through some door or entrance, you need to implement 2 commands to the teleport event, 1 is to desactivate the switch and the other is to update the sprite. Now if you have the first pokemon in your party fainted or if it is an egg, the game will search for the next pokemon alive and will refresh the sprite (This if you have more than 1 pokemon). And so on. The problems I know with my version is, the partner dependent events can't work very well, especially when the player is on some vehicle and now you can't talk to waterfalls while you have a pokemon following you, you need to use the waterfall manually (like in classic pokemon games, where you need to open the party menu, choose the pokemon with the move and then use it). I may fix that one day, for now I will try to develop my game. I'm newbie to script as well, but I'm trying to learn. Hope you liked it

www(dot)mediafire(dot)com/?6ti03tembmszsh1
Reply With Quote
  #108    
Old November 4th, 2013 (01:36 PM).
Joltik's Avatar
Joltik Joltik is offline
Team Hoenn
 
Join Date: Jan 2010
Gender: Male
Nature: Modest
Posts: 112
Very nice! Everything seems fine, except that there is a strange "jump" in the pokemon sprite whenever you pass through a connection between two maps.
Is there a way to make this smoother, or is it a general problem involving dependent events?

Thank you!
Reply With Quote
  #109    
Old November 4th, 2013 (03:32 PM). Edited November 4th, 2013 by heitres.
heitres heitres is offline
Team Kalos
 
Join Date: May 2013
Gender: Male
Posts: 13
Becareful with my kit. There is NPCs (Red, Leaf, Brendan and May that explain about certain things) my english is not good, but I think the ppl understands what they say. The info they provide is important.
Reply With Quote
  #110    
Old November 4th, 2013 (04:58 PM).
ShadowFiendZX's Avatar
ShadowFiendZX ShadowFiendZX is offline
Gym Leader
Team Hoenn
 
Join Date: Jan 2013
Location: Hamden Connecticut
Age: 18
Gender: Male
Nature: Serious
Posts: 59
Send a message via Skype™ to ShadowFiendZX
Quote originally posted by Giu:
Very nice! Everything seems fine, except that there is a strange "jump" in the pokemon sprite whenever you pass through a connection between two maps.
Is there a way to make this smoother, or is it a general problem involving dependent events?

Thank you!
It's a problem with dependent events. Another funny thing you might want to try with the dependent events is going on bridges. I'm pretty sure Maruno stated somewhere that there were bugs with dependent events.
__________________
BEHOLD THE FLOPPY MAGIKARP IN ALL ITS GLORY AND WISDOM

Reply With Quote
  #111    
Old November 5th, 2013 (03:23 AM). Edited November 5th, 2013 by heitres.
heitres heitres is offline
Team Kalos
 
Join Date: May 2013
Gender: Male
Posts: 13
Quote originally posted by ShadowFiendZX:
It's a problem with dependent events. Another funny thing you might want to try with the dependent events is going on bridges. I'm pretty sure Maruno stated somewhere that there were bugs with dependent events.
There is in bridges, if for example you are near to a tile on your map that have a way to block a passage to certain direction, the dependent event won't walk normally. Instead of walk behind the player, it will walk on one of the sides (Left or right) of the player and so on. I hope some day that can get fixed. I wish I could help, but only right now I'm entering on scripting world. Trying to learn more :D
Reply With Quote
  #112    
Old November 9th, 2013 (02:46 AM).
shongshong123 shongshong123 is offline
Team Hoenn
 
Join Date: Oct 2013
Gender: Female
Posts: 6
hello. i want to make pokemon follow me . how to make in rmxp?
__________________
https://www.youtube.com/watch?v=rvJczMU21xg
.................................................. ................................................
Download Drastic for android : Drastic
(After download it don't open. Download and extract bios file ,copy to Android/Data/com.dsemu.drastic/file/. Bios file )
Download No$GBA Full Package :
DOWNLOAD HERE No$GBA Full Package or No$GBA Full Package
Download Pokemon Black 2 patched :
DOWNLOAD HERE Pokemon Black 2 patched or Pokemon Black 2 patched
Download Pokemon White 2 patched :
DOWNLOAD HERE : Pokemon White 2 patched
More NDS rom : More NDS rom
.................................................. .................................................. .
Best games Best games
More game :More game
Reply With Quote
  #113    
Old November 9th, 2013 (04:17 AM).
carmaniac's Avatar
carmaniac carmaniac is offline
Where the pickle surprise at?
Team Hoenn
 
Join Date: Apr 2009
Location: England
Age: 20
Nature: Relaxed
Posts: 682
Quote originally posted by shongshong123:
hello. i want to make pokemon follow me . how to make in rmxp?
Whole point of this thread is to tell you how to do so. So just follow the thread basically.
__________________

Pokémon: Lost Souls.







Developed by Carmaniac.


Quote originally posted by Luka S.J.:
My balls seem to be fine.
Reply With Quote
  #114    
Old November 9th, 2013 (07:21 AM).
shongshong123 shongshong123 is offline
Team Hoenn
 
Join Date: Oct 2013
Gender: Female
Posts: 6
ok. how i can fill code ? make new script ?
__________________
https://www.youtube.com/watch?v=rvJczMU21xg
.................................................. ................................................
Download Drastic for android : Drastic
(After download it don't open. Download and extract bios file ,copy to Android/Data/com.dsemu.drastic/file/. Bios file )
Download No$GBA Full Package :
DOWNLOAD HERE No$GBA Full Package or No$GBA Full Package
Download Pokemon Black 2 patched :
DOWNLOAD HERE Pokemon Black 2 patched or Pokemon Black 2 patched
Download Pokemon White 2 patched :
DOWNLOAD HERE : Pokemon White 2 patched
More NDS rom : More NDS rom
.................................................. .................................................. .
Best games Best games
More game :More game
Reply With Quote
  #115    
Old November 9th, 2013 (09:24 AM).
heitres heitres is offline
Team Kalos
 
Join Date: May 2013
Gender: Male
Posts: 13
Quote originally posted by shongshong123:
ok. how i can fill code ? make new script ?
Just download this and do the merge of your project with this. Don't forget to see the NPCs the player's mom, Red, Blue, May and Brendan, they explain the best as they can how the script works with the things I added. In some cases the grammar is not so good, but I think that can still be understandable.

About the link, just put "." in the "(dot)" things.

www(dot)mediafire(dot)com/?6ti03tembmszsh1
Reply With Quote
  #116    
Old November 11th, 2013 (08:23 PM).
shongshong123 shongshong123 is offline
Team Hoenn
 
Join Date: Oct 2013
Gender: Female
Posts: 6
oh. what about file in folder pokemon Essentials ? how to use it how i can replace it ?
__________________
https://www.youtube.com/watch?v=rvJczMU21xg
.................................................. ................................................
Download Drastic for android : Drastic
(After download it don't open. Download and extract bios file ,copy to Android/Data/com.dsemu.drastic/file/. Bios file )
Download No$GBA Full Package :
DOWNLOAD HERE No$GBA Full Package or No$GBA Full Package
Download Pokemon Black 2 patched :
DOWNLOAD HERE Pokemon Black 2 patched or Pokemon Black 2 patched
Download Pokemon White 2 patched :
DOWNLOAD HERE : Pokemon White 2 patched
More NDS rom : More NDS rom
.................................................. .................................................. .
Best games Best games
More game :More game
Reply With Quote
  #117    
Old August 5th, 2014 (02:40 AM).
Jacopo Mii Jacopo Mii is offline
Team Johto
 
Join Date: May 2014
Gender: Male
Posts: 18
Sorry, i really need your file Characters.rar
But the link doesn't work. Can you reupload it please?
Thanks you!!!!
Reply With Quote
Reply
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:27 PM.