The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Research & Development
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

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.


Advertise here

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

Advertise here
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
Reply With Quote
  #252    
Old 4 Weeks Ago, 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.
__________________



Reply With Quote
  #253    
Old 5 Days Ago, 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 ^.^
Reply With Quote
  #254    
Old 4 Days 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.
Reply With Quote
  #255    
Old 3 Days 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; 3 Days Ago at 05:56 PM.
Reply With Quote
  #256    
Old 3 Days 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.
Reply With Quote
  #257    
Old 3 Days 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; 3 Days Ago at 12:55 PM.
Reply With Quote
  #258    
Old 3 Days 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.
Reply With Quote
  #259    
Old 3 Days 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?
__________________
Reply With Quote
  #260    
Old 2 Days 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.
Reply With Quote
  #261    
Old 2 Days 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.
__________________
- During Centuries... Whole worlds try keep in survive... Beafore the space start existing... In chaos eye appeared two eggs... One of mighty pokemon Arceus... Secound with less known Rejishan... Those two pokemon start build their worlds in other warps... Rejishan lose him mission... And undone world named now was TORN WORLD where now live Giratina... Arceus create world with Pokemons where live everywhere alongside with humans... What do Arceus after fail of Rejishan? He give him able to live in him world... But Rejishan want create something which been himself... And from biggest dessert upper than Unova Region start creating new region... This region is Thonsu... New species of Pokemons start locate at their region... Arceus fell angry... But forgive Rejishan and make with him friendship... But now... Is no one know... Rejishan hide in human body... Human name of Thonsu Creator is Sir Allan Newlight... - MYTH ABOUT REJISHAN (Pokemon Dirty Sun plot)

MY MUSIC SHOP - http://www.pokecommunity.com/showthread.php?t=296954
Reply With Quote
Reply
Quick Reply

Sponsored Links


Advertise here
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 02:09 PM.


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.