ENEX

From Grand Theft Wiki
Revision as of 01:30, 21 September 2010 by A-Dust (Talk | contribs)

Jump to: navigation, search
ENEX (IPL section)
Supported games:GTA SA
Short description:Creates an entrance to an exit
IPL Sections:
AUZO CARS CULL ENEX GRGE INST
JUMP MULT OCCL PATH PICK TCYC

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
X1, Y1, Z1
entrance location
ROT
W1
X width of entry
W2
Y width of entry
C8
constant 8
X2, Y2, Z2
exit location
Rot2
exit rotation in degrees
Int
The target interior number
Flag
The type of marker
Name
Interior name, used to find the counterpart and to identify via mission script
Sky
Sky color changer
I2
unknown integer flags, could be weather related
Time On
enables the marker at this time
Time Off
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 fading to black
2 Black with yellow lights.
3 same as 1
4 same as 2
5 white fading to purple fading to black with yellow lights
6 white fading to black with yellow lights.
7 white fading to green fading to black with yellow light (probably clouds)
8 same as 6
9 same as 6
10 same as 2
11 Purple (gay) retarded shadows not much sight.
12 same as 6
13 same as 6
14 same as 7 only green is ocean blue
15 same as 6
16 same as 2.....
17 Nightly Mist
18 Blue fading yellow (sunrise i think)
19 Blue air with white clouds
20 darker blue air with lightblue clouds
21 Darker Blue air with white clouds
22 Orange with white clouds
23 Orange fading gray with orange clouds (weird)
24 this is red fading PURPLE with no seeing rang that you can't even see yourself
25 Dark Purple to grey with nice sun reflection
27 same as 19
28 the best one: big sun white clouds and blue air
29 Blue air white clouds HUGE SUN
30 Orange with dark orange clouds

See also

Copyrighted

This page is licensed under the GNU Free Documentation Licence. This page has a separate license to the CC-BY-SA that applies to most of Grand Theft Wiki.

The full text of the GNU FDL v1.2 is here. Click the "History" button to see the full list of authors. See Grand Theft Wiki:Copyright for more detail on our copyright policy.

GNU Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
See Grand Theft Wiki:Copyright for more information.