Difference between revisions of "ZONE"

From GTAMods Wiki
Jump to navigation Jump to search
Line 27: Line 27:
 
Island number 3: Shoreside Vale
 
Island number 3: Shoreside Vale
 
====Gta3.zon====
 
====Gta3.zon====
The <code>gta3.zon</code> controls the text of the zone that shows up in the game as you enter a new zone. The <code>main.scm</code> uses this to check if you are in the zone. The <code>gta3.zon</code> can be viewed through [[KEd]] but it can be only edited by hand. The <code>main.scm</code> uses this file so you cannot just delete the lines in the file to prevent the zone’s text from popping up in the game without editing the <code>main.scm</code>. This zone is type 0, 1 or 2 and uses island number 1, 2, or 3.
+
Type: 0, 1, or 2<br>
 +
The <code>gta3.zon</code> controls the text of the zone that shows up in the game as you enter a new zone. The <code>main.scm</code> uses this to check if you are in the zone. The <code>gta3.zon</code> can be viewed through [[KEd]] but it can be only edited by hand. The <code>main.scm</code> uses this file so you cannot just delete the lines in the file to prevent the zone’s text from popping up in the game without editing the <code>main.scm</code>.
  
 
====Map.zon====
 
====Map.zon====
The <code>map.zon</code> controls the loading of an entire island as you travel from one island to another. It tells the game where to load. The <code>map.zon</code> can be viewed through KEd but it can be only edited by hand. This zone is type 3 and uses island number 1, 2, or 3.
+
Type: 3<br>
 +
The <code>map.zon</code> controls the loading of an entire island as you travel from one island to another. It tells the game where to load. The <code>map.zon</code> can be viewed through KEd but it can be only edited by hand.
  
 
===Vice City===
 
===Vice City===
Line 36: Line 38:
 
Island number 2: Vice City Mainland
 
Island number 2: Vice City Mainland
 
====Info.zon====
 
====Info.zon====
The <code>info.zon</code>, with the help of the <code>main.scm</code>, controls which pedestrian and vehicles spawn in that specific zone. The <code>info.zon</code> can be viewed through [[KEd]] but it can be only edited by hand. The <code>main.scm</code> uses this file so you cannot just delete the lines in the file without editing the <code>main.scm</code>. This zone is type 2 and uses island number 1.
+
Type: 2<br>
 +
The <code>info.zon</code>, with the help of the <code>main.scm</code>, controls which pedestrian and vehicles spawn in that specific zone. The <code>info.zon</code> can be viewed through [[KEd]] but it can be only edited by hand. The <code>main.scm</code> uses this file so you cannot just delete the lines in the file without editing the <code>main.scm</code>. This zone uses island number 1.
  
 
====Map.zon====
 
====Map.zon====
The <code>map.zon</code> controls the loading of an entire island as you travel from one island to another. It tells the game where to load. The <code>map.zon</code> can be viewed through KEd but it can be only edited by hand. You can make the loading of the islands by deleting the entire section. This zone is type 3 and uses island number 1 or 2.
+
Type: 3<br>
 +
The <code>map.zon</code> controls the loading of an entire island as you travel from one island to another. It tells the game where to load. The <code>map.zon</code> can be viewed through KEd but it can be only edited by hand. You can make the loading of the islands by deleting the entire section.
  
 
====Navig.zon====
 
====Navig.zon====
The <code>navig.zon</code> controls the text of the zone that shows up in the game as you enter a new zone. The main.scm uses this to check if you are in the zone. The <code>navig.zon</code> can be viewed through KEd but it can be only edited by hand. The <code>main.scm</code> uses this file so you cannot just delete the lines in the file to prevent the zone’s text from popping up in the game without editing the <code>main.scm</code>. This zone is type 0 or 1 and uses island number 1.
+
Type: 0 or 1<br>
 +
The <code>navig.zon</code> controls the text of the zone that shows up in the game as you enter a new zone. The main.scm uses this to check if you are in the zone. The <code>navig.zon</code> can be viewed through KEd but it can be only edited by hand. The <code>main.scm</code> uses this file so you cannot just delete the lines in the file to prevent the zone’s text from popping up in the game without editing the <code>main.scm</code>. This zone uses island number 1.
  
 
===San Andreas===
 
===San Andreas===
Line 49: Line 54:
 
Island number 3: Las Venturas
 
Island number 3: Las Venturas
 
====Navig.zon====
 
====Navig.zon====
The <code>navig.zon</code> controls the text of the zone that shows up in the game as you enter a new zone. It also controls which pedestrian and vehicles spawn in that specific zone, with the help of the <code>main.scm</code>. The <code>main.scm</code> uses this file so you cannot just delete the lines in the file to prevent the zone’s text from popping up in the game without editing the <code>main.scm</code>. This zone is type 0 and uses island number 1.
+
Type: 0<br>
 +
The <code>navig.zon</code> controls the text of the zone that shows up in the game as you enter a new zone. It also controls which pedestrian and vehicles spawn in that specific zone, with the help of the <code>main.scm</code>. The <code>main.scm</code> uses this file so you cannot just delete the lines in the file to prevent the zone’s text from popping up in the game without editing the <code>main.scm</code>. This zone uses island number 1.
  
 
====Map.zon====
 
====Map.zon====
The <code>map.zon</code> is currently known to control which police to spawn in the game. This zone is type 3 and uses island number 1, 2, or 3.
+
Type: 3<br>
 +
The <code>map.zon</code> is currently known to control which police to spawn in the game.
  
 
==External Link==
 
==External Link==

Revision as of 21:19, 16 April 2007

A zone is an area in the game used to show the text of the zone being entered, to load islands, and to create locations to spawn specific vehicles and pedestrians. It is controlled by .zon files.

Structure

All the .zon files start with a section identifier and ends with the keyword "end", both in a single line.

Example:

zone
...
end

Format

The basic format for a .zon file for GTA3 and Vice City is:

Name, Type, X1, Y1, Z1, X2, Y2, Z2, Island

And for San Andreas:

Name, Type, X1, Y1, Z1, X2, Y2, Z2, Island, Text
Name
Name and text of zone used from the .gxt file
Type
Type of zone
X1, Y1, Z1
The bottom left corner of the zone
X2, Y2, Z2
The top right corner of the zone
Island
The island number
Text
Text of the zone used from the .gxt file

GTA3

Island number 1: Portland
Island number 2: Staunton
Island number 3: Shoreside Vale

Gta3.zon

Type: 0, 1, or 2
The gta3.zon controls the text of the zone that shows up in the game as you enter a new zone. The main.scm uses this to check if you are in the zone. The gta3.zon can be viewed through KEd but it can be only edited by hand. The main.scm uses this file so you cannot just delete the lines in the file to prevent the zone’s text from popping up in the game without editing the main.scm.

Map.zon

Type: 3
The map.zon controls the loading of an entire island as you travel from one island to another. It tells the game where to load. The map.zon can be viewed through KEd but it can be only edited by hand.

Vice City

Island number 1: Vice City Beach
Island number 2: Vice City Mainland

Info.zon

Type: 2
The info.zon, with the help of the main.scm, controls which pedestrian and vehicles spawn in that specific zone. The info.zon can be viewed through KEd but it can be only edited by hand. The main.scm uses this file so you cannot just delete the lines in the file without editing the main.scm. This zone uses island number 1.

Map.zon

Type: 3
The map.zon controls the loading of an entire island as you travel from one island to another. It tells the game where to load. The map.zon can be viewed through KEd but it can be only edited by hand. You can make the loading of the islands by deleting the entire section.

Navig.zon

Type: 0 or 1
The navig.zon controls the text of the zone that shows up in the game as you enter a new zone. The main.scm uses this to check if you are in the zone. The navig.zon can be viewed through KEd but it can be only edited by hand. The main.scm uses this file so you cannot just delete the lines in the file to prevent the zone’s text from popping up in the game without editing the main.scm. This zone uses island number 1.

San Andreas

Island number 1: Los Santos
Island number 2: San Fierro
Island number 3: Las Venturas

Navig.zon

Type: 0
The navig.zon controls the text of the zone that shows up in the game as you enter a new zone. It also controls which pedestrian and vehicles spawn in that specific zone, with the help of the main.scm. The main.scm uses this file so you cannot just delete the lines in the file to prevent the zone’s text from popping up in the game without editing the main.scm. This zone uses island number 1.

Map.zon

Type: 3
The map.zon is currently known to control which police to spawn in the game.

External Link

Map File Definitions