Author Topic: Edit traversable terrain by vehicles possible?  (Read 2475 times)

Tenko Kuugen

  • Public Enemy
  • *
  • Posts: 1416
    • View Profile
    • Twitter
Edit traversable terrain by vehicles possible?
« on: 2012-07-20 08:34:45 »
Just throwing that out there
Essentially, I'm thinking about deep ocean for the bronco, landing on rocky land for the highwind, not sure what can be done for the submarine. theres probably no underwater data for the area outside the regular 'center' of the world

Where is the data for the vehicles stored? in the .exe?

PS: changing the blue chocobo's ability from "traverse shallow water + rivers" to "traverse all water" would be useful. still no KOTR since it can't scale mountains.

Aali

  • *
  • Posts: 1196
    • View Profile
Re: Edit traversable terrain by vehicles possible?
« Reply #1 on: 2012-07-20 09:35:39 »
This information is hardcoded in ff7.exe but it is quite easy to edit. For chocobos, the information is stored at 0x969A40, one 32-bit mask for each chocobo type starting with yellow.

The bits in those masks represent the following walkmap types:
Code: [Select]
WM_GRASS  = 1
WM_FOREST  = 2
WM_MOUNTAIN  = 4
WM_SEA  = 8
WM_RIVERCROSS  = 10h
WM_RIVER  = 20h
WM_WATER  = 40h
WM_SWAMP  = 80h
WM_DESERT  = 100h
WM_WASTELAND  = 200h
WM_SNOW  = 400h
WM_RIVERSIDE  = 800h
WM_CLIFF  = 1000h
WM_CORELBRIDGE  = 2000h
WM_WUTAIBRIDGE  = 4000h
WM_UNUSED1  = 8000h
WM_HILLSIDE  = 10000h
WM_BEACH  = 20000h
WM_SUBPEN  = 40000h
WM_CANYON  = 80000h
WM_MNTPASS  = 100000h
WM_UNKNOWN1  = 200000h
WM_WATERFALL  = 400000h
WM_UNUSED2  = 800000h
WM_GLDDESERT  = 1000000h
WM_JUNGLE  = 2000000h
WM_SEA2  = 4000000h
WM_NCAVE  = 8000000h
WM_GLDDESERTBORDER  = 10000000h
WM_BRIDGEHEAD  = 20000000h
WM_BACKENTRANCE  = 40000000h
WM_UNUSED3  = 80000000h

The mask for the highwind is at 0x74D05F, the bronco at 0x74D0CC and then again at 0x74D0F3 for whatever reason.

Good luck

Bosola

  • Fire hazard!
  • *
  • Posts: 1752
    • View Profile
    • My YouTube Channel
Re: Edit traversable terrain by vehicles possible?
« Reply #2 on: 2012-07-20 12:57:17 »
Does anyone know where this data is held in the PSX executable? Is it part of a MNU or stored with the field map data?

Aali

  • *
  • Posts: 1196
    • View Profile
Re: Edit traversable terrain by vehicles possible?
« Reply #3 on: 2012-07-20 14:47:56 »
A quick search for 0x321B6F83, 0x321B6F87, 0x321B6FF3, 0x325B7FF7 or 0x375B7FFF should be able to answer that question (default values for chocobos).