Community

The PokéCommunity

We are still working on a better slogan!

Visit Index



Go Back   The PokéCommunity Forums > ROM Hacking > Research & Development
Notices

Research & Development Got a well-founded knack with ROM hacking? Love reverse-engineering the Pokémon games? Or perhaps you love your assembly language. This is the spot for polling and gathering your ideas, and then implementing them! Share your hypothesis, get ideas from others, and collaborate to create!
Research & Development programs in this forum are subject to moderator approval before they are displayed.

Post Reply
Click here to go to the first staff post in this thread.  
Thread Tools
  #251    
Old August 20th, 2014, 02:27 AM
Shiny Hilbert's Avatar
Shiny Hilbert
 
Join Date: Feb 2013
Location: -Mossdeep City, Hoenn
Gender: Male
Nature: Jolly
Quote:
Originally Posted by GoGoJJTech View Post
this wouldn't work for many reasons.
First it would cause a delay in each move you make
second it doesn't support ledges or scripts that move you
third surfing isn't supported
fourth it takes too much space.
fifth it wouldn't work on changing maps
I think there is one that support ledge
  #252    
Old August 28th, 2014, 01:04 PM
Shiny Quagsire's Avatar
Shiny Quagsire
どないやねん, ヤドン
 
Join Date: May 2009
Location: Hoenn Safari Zone
Age: 16
Gender: Male
Nature: Jolly
So a while back I posted a video of a follow me I had done for the heck of it, and since I haven't made much of any progress on it for a while I'd figure I'd release what I had and see where it goes. The code can be found on my GitHub here along with instructions in the README.md and the asm files for proper modification and hooking. It should be noted that there's a few issues, namely ledges and missing hooks that I have yet to add (ie running). For a basic follow me though, it should work fine. It should also be noted that this replaces the "Copy Player" movement type for NPCs in A-Map. The total size is under 0x200 bytes so it's very compact and easy to insert, even for beginners.



  #253    
Old September 24th, 2014, 03:26 PM
Shiny Hilbert's Avatar
Shiny Hilbert
 
Join Date: Feb 2013
Location: -Mossdeep City, Hoenn
Gender: Male
Nature: Jolly
If someone make some progress please share it with us ^.^
  #254    
Old 4 Weeks Ago, 01:23 PM
Touched's Avatar
Touched
 
Join Date: Jul 2014
Gender: Male
Quote:
Originally Posted by Shiny Quagsire View Post
So a while back I posted a video of a follow me I had done for the heck of it, and since I haven't made much of any progress on it for a while I'd figure I'd release what I had and see where it goes. The code can be found on my GitHub here along with instructions in the README.md and the asm files for proper modification and hooking. It should be noted that there's a few issues, namely ledges and missing hooks that I have yet to add (ie running). For a basic follow me though, it should work fine. It should also be noted that this replaces the "Copy Player" movement type for NPCs in A-Map. The total size is under 0x200 bytes so it's very compact and easy to insert, even for beginners.
The code you posted on your GitHub doesn't function like the video; the OW collides with the player and thus leaves a 1 tile gap while walking. Could you please upload the needed byte changes onto the repo so that we can make this functional? GoGo said you have it working in your ROM.
  #255    
Old 4 Weeks Ago, 03:00 PM
Shiny Quagsire's Avatar
Shiny Quagsire
どないやねん, ヤドン
 
Join Date: May 2009
Location: Hoenn Safari Zone
Age: 16
Gender: Male
Nature: Jolly
Quote:
Originally Posted by Touched View Post
The code you posted on your GitHub doesn't function like the video; the OW collides with the player and thus leaves a 1 tile gap while walking. Could you please upload the needed byte changes onto the repo so that we can make this functional? GoGo said you have it working in your ROM.
I believe I mentioned this, but the solution I used in the video was to remove 100% of collision detection. I did this for demonstration purposes, but my original intent was to exclude the following players from collision between the player and itself. I'm trying to find the modification I made to achieve this but my IRC logs aren't showing anything unfortunately.

EDIT: Did a diff, if you replace the 0E at 0005BBDB with 20 you get walk through anything hax, which includes overworlds as well (and just about everything).




Last edited by Shiny Quagsire; 4 Weeks Ago at 05:56 PM.
  #256    
Old 4 Weeks Ago, 02:20 AM
Touched's Avatar
Touched
 
Join Date: Jul 2014
Gender: Male
Quote:
Originally Posted by Shiny Quagsire View Post
I believe I mentioned this, but the solution I used in the video was to remove 100% of collision detection. I did this for demonstration purposes, but my original intent was to exclude the following players from collision between the player and itself. I'm trying to find the modification I made to achieve this but my IRC logs aren't showing anything unfortunately.

EDIT: Did a diff, if you replace the 0E at 0005BBDB with 20 you get walk through anything hax, which includes overworlds as well (and just about everything).
Okay, thanks. I thought it might be something like that. I'm probably going to modify the collision detection algorithm so it ignores the NPC's and map boundaries, as well as the player for that behaviour alone.
  #257    
Old 4 Weeks Ago, 06:40 AM
LocksmithArmy's Avatar
LocksmithArmy
Mew!
 
Join Date: Feb 2013
Age: 25
Gender: Male
Quote:
Originally Posted by Touched View Post
Okay, thanks. I thought it might be something like that. I'm probably going to modify the collision detection algorithm so it ignores the NPC's and map boundaries, as well as the player for that behaviour alone.
like a check, if an NPC is set to 'copy player', it ignores collision? Cause we still want the player to bump into stuff.

Last edited by LocksmithArmy; 4 Weeks Ago at 12:55 PM.
  #258    
Old 4 Weeks Ago, 12:44 PM
Touched's Avatar
Touched
 
Join Date: Jul 2014
Gender: Male
Quote:
Originally Posted by LocksmithArmy View Post
ke a check, if an NPC is set to copy player, it ignores collision? Cause we still want the player to bump into stuff.
I'm going to modify the collision algorithm of only that NPC with that behaviour set. The player will still collide with everything, bar the NPC that is following him/her.
  #259    
Old 4 Weeks Ago, 12:55 PM
LocksmithArmy's Avatar
LocksmithArmy
Mew!
 
Join Date: Feb 2013
Age: 25
Gender: Male
Quote:
Originally Posted by Touched View Post
I'm going to modify the collision algorithm of only that NPC with that behaviour set. The player will still collide with everything, bar the NPC that is following him/her.
when you do this will you be publishing your work?
  #260    
Old 4 Weeks Ago, 06:05 PM
Touched's Avatar
Touched
 
Join Date: Jul 2014
Gender: Male
Quote:
Originally Posted by LocksmithArmy View Post
when you do this will you be publishing your work?
I'll open source it on my GitHub. I have a number of other projects to take care of though, so It'll take a while for me to get round to doing this.
  #261    
Old 4 Weeks Ago, 04:10 AM
Ksiazek Bartlomiej's Avatar
Ksiazek Bartlomiej
Rejishan awake...
 
Join Date: Jun 2008
Location: Takoabe Town (Region Thonsu)
Age: 21
Gender: Male
Nature: Hardy
Good luck with your attemps.
- Thonsu Region will never die when Rejishan take care about them. Even the evilnesse of Team Mystic do not destroy land of Thonsu.

POKEMON DIRTY SUN - Comming Soon.
Post 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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 03:48 PM.

About Us
© 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.

Copyright
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. Header artwork by Jordanice of deviantART.

Social Media
If you would like to stay up-to-date with us on the go, when we're down, or other such things, follow us on social media sites--most notibly Twitter, Facebook, and Google Plus--by clicking on the links provided.

Design presented by Peitharchia. Special thanks to Hiroshi Sotomura and Ausaudriel.