Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (86,256 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption 2

    2. Red Dead Redemption

    3. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

Sign in to follow this  
Alex_2259

[SA] What is wrong with this ENEX

Recommended Posts

Alex_2259

So I created an ENEX leading to a copy of the SFPD in a separate IPL file (do not know what factors that will affect) I also put it as interior world 2

 

So I got the marker to appear but it will not let me go through it no matter what angle I attempt to go threw it at. yes I tried to lower/raise the marker but there was no luck there.

 

 

 

 

 

# TS3.iplinstendcullendpathendgrgeendenex241.903, 1403.11, 9.80313, 0, 0, 0, 8, -211.312, -1841.49, 136.449, 0, 2, 1, CARTER, 0, 2, 0, 24endpickendcarsendjumpendtcycendauzoendmultend

 

Share this post


Link to post
Share on other sites
OrionSR

241.903, 1403.11, 9.80313, 0

-211.312, -1841.49, 136.449, 0

 

A two-way enex will have the exit (2nd set of coordinates) a little ways away from the entrance; far enough way that CJ isn't sucked back into the entrance, then what ever looks good. A one way entrance to an interior will have a very high elevation, so the destination is way off.

 

0, 0, 8

 

8 is fixed, but the 0, 0 is specifying the width and depth of the door. CJ can't fit through a 0, 0 door. 2, 2 is fairly standard.

 

2, 1

The exterior entrance for a two-way enex will use world 0 (not 2) because the exit will be to the outside world. The entrance of one side of the connection leads to the exit of the other side. The interior side of the connection will handle it's world appropriately.

 

Use flag 4 (1 is used for the interior side but doesn't seem to do anything) on an exterior enex to prompt a connection with an enex with the same name.

 

CARTER

 

Carter identifies Smoke's Crack Palace. Use "POLICE2" (quotes must be included) to connect to the interior enex already in place inside of the SFPD.

 

0, 2, 0, 24

 

No problems here.

 

It can be difficult to add a new IPL to an existing save. Testing is best done on a new game. Use cheats or trainers and required to test the new enex. Always check a standard enex into an interor on an existing save when testing your modifications. If the new enex isn't added after all other enexes (add your IPL at the end of the list) then the other enex connections will get scrambled, but you won't see this on the new save created for testing.

 

Enexes can be really tough, I feel I understand them very well, and I can usually explain complex issues reasonably well, but people often struggle with enexes. Frequently they go with the much easier option placing a dummy yellow arrow and using teleport codes to move CJ to the other location.

 

Are you sure you want to continue with enexes? If so you might ask a mod to move this topic to the III Maps sub-forum.

 

References:

Enex Documentation

GTAModding > IPL > Enex

Edited by OrionSR

Share this post


Link to post
Share on other sites
Alex_2259

 

241.903, 1403.11, 9.80313, 0

-211.312, -1841.49, 136.449, 0

 

A two-way enex will have the exit (2nd set of coordinates) a little ways away from the entrance; far enough way that CJ isn't sucked back into the entrance, then what ever looks good. A one way entrance to an interior will have a very high elevation, so the destination is way off.

 

0, 0, 8

 

8 is fixed, but the 0, 0 is specifying the width and depth of the door. CJ can't fit through a 0, 0 door. 2, 2 is fairly standard.

 

2, 1

The exterior entrance for a two-way enex will use world 0 (not 2) because the exit will be to the outside world. The entrance of one side of the connection leads to the exit of the other side. The interior side of the connection will handle it's world appropriately.

 

Use flag 4 (1 is used for the interior side but doesn't seem to do anything) on an exterior enex to prompt a connection with an enex with the same name.

 

CARTER

 

Carter identifies Smoke's Crack Palace. Use "POLICE2" (quotes must be included) to connect to the interior enex already in place inside of the SFPD.

 

0, 2, 0, 24

 

No problems here.

 

It can be difficult to add a new IPL to an existing save. Testing is best done on a new game. Use cheats or trainers and required to test the new enex. Always check a standard enex into an interor on an existing save when testing your modifications. If the new enex isn't added after all other enexes (add your IPL at the end of the list) then the other enex connections will get scrambled, but you won't see this on the new save created for testing.

 

Enexes can be really tough, I feel I understand them very well, and I can usually explain complex issues reasonably well, but people often struggle with enexes. Frequently they go with the much easier option placing a dummy yellow arrow and using teleport codes to move CJ to the other location.

 

Are you sure you want to continue with enexes? If so you might ask a mod to move this topic to the III Maps sub-forum.

 

References:

Enex Documentation

GTAModding > IPL > Enex

Wow thanks man. I have been struggling with this for a while now. I really do not know how to thank you but i'll just credit you in my map. I am not nearly done adding the ENEX markers for the map. If I need anymore help i'll just PM you.

 

My map is just a prison map if you want some early pre-release screenshots just ask me. It is quite impressive. (guess it is what happens when you got a lot of free time on your hands.

 

Also about those fake dummy codes and fake markers how would I do that with CLEO. People tend to like CLEO mods instead of modifying the gta.dta file. But also what are the pros/cons of both methods.

 

Also I just noticed this is your thread http://www.gtaforums.com/index.php?showtopic=331835 I have been using that as a refrence.

Edited by Alex_2259

Share this post


Link to post
Share on other sites
OrionSR

Opcode 0A40: is used to place dummy markers. There should be examples in the tutorials, game scripts, and... quite a few enex question topics. Be sure to remove the dummy markers whenever they aren't needed. There's only room for 5 in memory, and 3 can be used by standard scripts (although I'm not sure that's a concern for your mod). Create when CJ is near, and remove it when he's far.

 

Before I forget, in a standard game only 23 new enexes can be added.

 

The main reasons I see for using dummy markers and teleport codes over enexes are: The coding is much easier to understand and test. It is much easier to share mods without IPL modifications; they might actually try a cleo mod, and you risk creating a world of hurt if they do the IPL thing wrong. It's much easier to add a cleo mod than a new enex to an existing save.

 

I guess the main advantage to the enexes would be the ability to have 400 doors without an incredibly long script to deal with them. This only seems practical on a full map mod.

 

Be sure to save indoors when trying to added new enexes to an existing save. Otherwise temporary burglary doors tend to block the new enex. Once it's in though it should save and reload just... Well, you are probably going to go with the cleo option anyway.

 

BTW, it is possible to use memory writes to alter current enex information. Getting a really good grasp of the IPL lines would really help with this process.

Edited by OrionSR

Share this post


Link to post
Share on other sites
DK22Pac

If you use CLEO (CLEO4), you can create entrance marker with this function:

 

0AA7: callfunction 0x43FA00 numparams 18 pop 18 pName "NAME" cUnk1 0 ucTimeOff 22 ucTimeOn 6 ucSkyCol 1 usFlags 0 ucInteriorId 0 fExitAngle 0.0 fExitZYX 0.0 0.0 0.0 iUnk2 0 fRadiusYX 1.0 1.0 fEnterAngle 0.0 fEnterZYX 0.0 0.0 0.0 store_enex_index_to [email protected]

 

But this is untested. You see, there are too much parameters. You need to look to @gtamodding before you will use them.

If you will be interested in this, I could test it and give you a working example.

Edited by DK22Pac

Share this post


Link to post
Share on other sites
Alex_2259
Opcode 0A40: is used to place dummy markers. There should be examples in the tutorials, game scripts, and... quite a few enex question topics. Be sure to remove the dummy markers whenever they aren't needed. There's only room for 5 in memory, and 3 can be used by standard scripts (although I'm not sure that's a concern for your mod). Create when CJ is near, and remove it when he's far.

 

Before I forget, in a standard game only 23 new enexes can be added.

 

The main reasons I see for using dummy markers and teleport codes over enexes are: The coding is much easier to understand and test. It is much easier to share mods without IPL modifications; they might actually try a cleo mod, and you risk creating a world of hurt if they do the IPL thing wrong. It's much easier to add a cleo mod than a new enex to an existing save.

 

I guess the main advantage to the enexes would be the ability to have 400 doors without an incredibly long script to deal with them. This only seems practical on a full map mod.

 

Be sure to save indoors when trying to added new enexes to an existing save. Otherwise temporary burglary doors tend to block the new enex. Once it's in though it should save and reload just... Well, you are probably going to go with the cleo option anyway.

 

BTW, it is possible to use memory writes to alter current enex information. Getting a really good grasp of the IPL lines would really help with this process.

My mod is made up of 4 custom interiors sadly which requires me to add 8 ENEX markers so dummy-markers are not an option for me. Now that I know how to get it working it shouldn't take too long with the help of "IPL helper".

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.