Difference between revisions of "ENEX"
Jump to navigation
Jump to search
(→Enex Sky Colors) |
m (Name must be quoted) |
||
Line 7: | Line 7: | ||
==San Andreas== | ==San Andreas== | ||
===Format=== | ===Format=== | ||
− | X1, Y1, Z1, ROT, W1, W2, C8, X2, Y2, Z2, Rot2, Int, Flag, Name, Sky, I2, Time On, Time Off | + | X1, Y1, Z1, ROT, W1, W2, C8, X2, Y2, Z2, Rot2, Int, Flag, "Name", Sky, I2, Time On, Time Off |
{|{{Prettytable}} width="100%" class="collapsible" | {|{{Prettytable}} width="100%" class="collapsible" | ||
Line 31: | Line 31: | ||
|<center>Flag</center>||The type of marker | |<center>Flag</center>||The type of marker | ||
|- | |- | ||
− | |<center>Name</center>||[[Interior#San_Andreas_2|Interior name]], used to find the counterpart and to identify via mission script | + | |<center>Name</center>||[[Interior#San_Andreas_2|Interior name]], used to find the counterpart and to identify via mission script. Notice the name must be quoted ''(e.g. "LASTRIP")'' |
|- | |- | ||
|<center>Sky</center>||Sky color changer | |<center>Sky</center>||Sky color changer |
Revision as of 21:36, 17 August 2014
Short description: | Creates an entrance to an exit | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Supported games: | GTA SA | |||||||||||||||||||||
IPL Sections:
|
ENEX is a section in the item placement file introduced in San Andreas. This creates entrances to exits or interior connections to real world by placing yellow markers on the map for CJ to walk through. Note that changes to the flags and links of existing markers are not updated by the text files after the save is created so maintaining the proper sequence of enex lines is a primary concern. New connections can be added to an existing save if temporary (burglary) connections are not present in the save data. Indoor saves generally have no temporary enex data. Add the markers at the very end of the gta.dat
else it can negatively affect currently placed markers. 376 of 400 possible enex connections are used in a standard game.
San Andreas
Format
X1, Y1, Z1, ROT, W1, W2, C8, X2, Y2, Z2, Rot2, Int, Flag, "Name", Sky, I2, Time On, Time Off
Identifier | Description |
---|---|
entrance location | |
X width of entry | |
Y width of entry | |
constant 8 | |
exit location | |
exit rotation in degrees | |
The target interior number | |
The type of marker | |
Interior name, used to find the counterpart and to identify via mission script. Notice the name must be quoted (e.g. "LASTRIP") | |
Sky color changer | |
unknown integer flags, could be weather related | |
enables the marker at this time | |
disables the marker at this time |
Enex Flags
Flag | Name | Description |
---|---|---|
1 | unknown interior | Only used for interior markers |
2 | unknown pairing | Used mostly for interior markers; also Big Ear & LS Skyscraper |
4 | Create linked pair | Pair with unflagged mate during new game start |
8 | Reward interior | Sets flag 0010 on pair mate when used |
16 | Used reward entrance | Set by accessing reward interior |
32 | Cars and aircraft | Enable for cars and aircraft |
64 | Bikes and motorcycles | Enable for bikes and motorcycles |
128 | Disable on foot | No foot traffic. Use for cars and/or bikes only |
256 | Accept NPC group | Group members accepted at destination of pair (passengers stripped) |
512 | Food date flag | Set and cleared by food date (cut-scene related) |
1024 | unknown burglary | Set on Bayside and Temporary Burglary doors |
2048 | Disable exit | Player can enter but cannot exit a two-way pair |
4096 | Burglary access | Enabled and disabled during Burglary |
8192 | Entered without exit | Set by Entrance, Cleared by Exit; Applies to one side of a two |
16384 | Enable access | Enabled by default; often cleared by scripts |
32768 | Delete enex | Enex is deleted when used |
Enex Sky Colors
Sky Color | Descriptions |
---|---|
0 | Blue Sky |
1 | White sky fading to black |
2 | Black sky with yellow lights. |
3 | Same as 1 |
4 | Same as 2 |
5 | White sky fading to purple fading to black with yellow lights |
6 | White sky fading to black with yellow lights. |
7 | white sky fading to green fading to black with yellow light. |
8 | Same as 6 |
9 | Same as 6 |
10 | Same as 2 |
11 | Purple shadows and small range of sight |
12 | Same as 6 |
13 | Same as 6 |
14 | white sky fading to ocean blue fading to black with yellow light. |
15 | Same as 6 |
16 | Same as 2 |
17 | Nightly Mist |
18 | Blue sky fading to yellow (Sunrise) |
19 | Blue sky with white clouds |
20 | Darker blue sky with light blue clouds |
21 | Darker Blue sky with white clouds |
22 | Orange sky with white clouds |
23 | Orange sky fading to gray with orange clouds (Sunset) |
24 | Red sky fading to purple, no range of sight. |
25 | Dark purple sky to grey with sun reflection. |
27 | Same as 19 |
28 | Blue sky with white clouds and big sun. |
29 | Blue sky with white clouds and a giant sun. |
30 | Orange sky with dark orange clouds |
See also
External links
- GTAForums: IPL documentation topic
- GTAForums: Enex Documentation - Topic by OrionSR