Vagrant Story/Level data: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
No edit summary
m (Xkeeper moved page Vagrant Story:Level data to Vagrant Story/Level data: normalize subpages and titles)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{subpage|game=Vagrant Story}}
Level data is stored in the \MAP folder.
Level data is stored in the \MAP folder.


Line 5: Line 7:
Rooms are grouped into "zones" ([[Vagrant_Story:ZND files|
Rooms are grouped into "zones" ([[Vagrant_Story:ZND files|
ZND files]]). This has nothing to do with the in-game subdivision in "areas" (i.e. Catacombs, Wine Cellar). Actually an area may be made of multiple zones, and a zone may span multiple areas.
ZND files]]). This has nothing to do with the in-game subdivision in "areas" (i.e. Catacombs, Wine Cellar). Actually an area may be made of multiple zones, and a zone may span multiple areas.
A zone contains data shared by all its maps (enemies and textures). It also contains the CD addresses of the map files themselves.
A zone contains data shared by all its maps (enemies and textures). It also contains the CD addresses of the map files and [[Vagrant_Story:ZUD files|ZUD files]] (enemy graphics) for that zone.


Finally, the list of CD addresses of zone files is located in the game's [[Vagrant_Story:Main exe|Main exe]].
Finally, the list of CD addresses of zone files is located in the game's [[Vagrant_Story:Main exe|Main exe]].


So, addressing a specific map requires:
So, addressing a specific map requires:
* a zone number (pointer in the list in the main exe)
* a zone number (index in the list in the main exe)
** a map number (pointer in the list in the zone file)
** a map number (index in the list in the zone file)


[[Vagrant_Story:rooms_list|Organized list of rooms]]
[[Vagrant_Story:rooms_list|Organized list of rooms]]


[[Vagrant_Story:areas_list|Areas list]]
[[Vagrant_Story:areas_list|Areas list]]
[[Category:Vagrant_Story]]

Latest revision as of 02:42, 24 January 2024

This is a sub-page of Vagrant Story.

Level data is stored in the \MAP folder.

Individual rooms ("maps") are in the MPD files.

Rooms are grouped into "zones" ( ZND files). This has nothing to do with the in-game subdivision in "areas" (i.e. Catacombs, Wine Cellar). Actually an area may be made of multiple zones, and a zone may span multiple areas. A zone contains data shared by all its maps (enemies and textures). It also contains the CD addresses of the map files and ZUD files (enemy graphics) for that zone.

Finally, the list of CD addresses of zone files is located in the game's Main exe.

So, addressing a specific map requires:

  • a zone number (index in the list in the main exe)
    • a map number (index in the list in the zone file)

Organized list of rooms

Areas list