[Solved] How to adjust the radius on a Warp "Hole" object
#2
(10-02-2018, 09:19 PM)Super Watermelon 64 Wrote: I'm not using ROM Manager to make my hack. I'm just using the normal tools (SM64 Editor, Quad64, etc)

I want to change the size of a Warp Hole object.
How do I do this?
I know it's possible without custom coding since the Dire Dire Docks suction tunnel can be exited (into the Castle Grounds) from any part of the black square.

You can modify the radius of the warp hole (which is actually a cylinder) with B.Param 1. 

The height of the cylinder seems to be fixed at 50 units tall. You can modify this by using a hex editor and editing the two bytes at ROM address 0x65B22. The height is loaded as a float, so you should see the number 0x4248 (which gets loaded as 0x42480000, and 0x42480000 = 50.0). If you do end up changing this height value, then you must recalculate the checksum otherwise you will get an error with any emulator.

Incase you don't know how to convert IEEE-754 floats, here is a little table you can use:

Spoiler:
Also, the DDD tunnel doesn't use a warp hole. It uses custom collision that gets triggered once Mario is above the square. You can confirm it with either TT64 or Quad64.

[Image: ZSSnVTU.png]
Reply


Messages In This Thread
RE: [NOT solved!] How to adjust the radius on a Warp "Hole" object - by David - 10-02-2018, 10:07 PM



Users browsing this thread: 4 Guest(s)