Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (91,851 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  
Cohex17

Step into yellow marker Then Teleport

Recommended Posts

Cohex17

I want to make the script,if you step into yellow marker,you teleport to the interior or specifc coordinates!

So i want to make yellow marker spawn anywhere i want and if you step into it,it spawns you somewhere else!

 

IF YOU KNOW HOW SCRIPT GOES! PLS WRITE DOWN IN COMMENTS!

Share this post


Link to post
Share on other sites
Lazlo_

I don't know of any script, but you can make those ENEX (entry/exit) markers easy enough. I have tons of them. Its allowed me to add many save houses, hotel rooms, even some offices.

 

I cant lay into all the details right this second, but if you can find the documentation on ENEX, it should be easy enough without scripts, unless you need scripting for some reason.

 

I myself used the Coordinate tool in Sanny builder to locate my position in game, then looked up my IPL and wrote it into the ENEX section of the IPL. (You dont even actually need to change the IPL ENEX; you can make one just for your own ENEXs). I learned from a document somewhere on here.

 

Theres a few tricks, like knowing where to swap coordinates, and distinguishing teleporting from exterior to exterior or interior, and flags for things like vehicles.

 

I'll try to find the link in a few minutes.

 

 

I think this is the last one I made. If I recall, it takes you from the outside of the building adjacent to LibraryTower in LS to the roof.

 

1499.9054, -1371.7406, 13.0216, 0, 1.5, 1.5, 8, 1501.184, -1371.6782, 13.0184, 270, 0, 66, "DT3HELI", 0, 2, 0, 24
1483.7373, -1354.3544, 162.2187, 0, 1.5, 1.5, 8, 1484.1216, -1356.1086, 162.2187, 180, 0, 70, "DT3HELI", 0, 2, 0, 24
Let me try to find that tut for you.
I think this is the one that taught me:
with some help from
Hope this gets you started. It can be tricky at first learning how it works, so that you can have a many markers go to the same interior and yet remember where to send you back to, like when you have many entrances enexs to the same burgershot interior.
Also, I found it helped to place your landing about half a unit or so above your position. I dont remember why actually, I just remember thats what I usually do. Probably something to do with not appearing in the middle of the ground or something.
I'll check back then later. Someone else probably has a more clear explanation, Im just a bit rushed at the moment. Let us know how far you are and what is and isnt making sense to you.
Here you can see one I put behind the World of Coq after I spruced up a condo in the back. It takes me to the Prickle Pine Savehouse interior and back.
image.jpg
A wider view
image.jpg
Edited by Lazlo_

Share this post


Link to post
Share on other sites
Lazlo_

Re-reading your OP, I see that you want an ENEX to appear at will to go anywhere else.

 

It may be possible, but I wouldn't know how. Someone might. The closest I can think of is the Teleport to Marker mod that you are probably already familiar with:

 

http://www.gtagarage.com/mods/show.php?id=7483

 

 

 

There is also the San Andreas Place Manager, which is nice for getting into tight spots with more precision that aren't necessarily accessible with the first mod. For example, if you want to land on a fire escape in downtown LS to make an ENEX there but cant get to it because the collision file is blocking you. By using the Place Manager, you can estimate your landing until you get it, then map it with an enex. Just as an example.

 

http://www.gtagarage.com/mods/show.php?id=26

 

I know these aren't exactly what you asked for, I'm just trying to get you as close as I can like many nice people here have done for me. Maybe theres something here you can develop or factor into what you hope for.

 

Good luck! :santa:

Edited by Lazlo_

Share this post


Link to post
Share on other sites
Sanmodder

I want to make the script,if you step into yellow marker,you teleport to the interior or specifc coordinates!

So i want to make yellow marker spawn anywhere i want and if you step into it,it spawns you somewhere else!

 

IF YOU KNOW HOW SCRIPT GOES! PLS WRITE DOWN IN COMMENTS!

keep help

// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013{$CLEO .CS}//-------------MAIN---------------thread 'nop'    /////this is cords saver 0ADF: add_dynamic_GXT_entry "STA80" text "CORDS_X ~1~.0 CORDS_Y ~1~.0 CORDS_Z ~1~.0 ANGLE ~1~.0 inter ~1~"  while truewait 0 if    Player.Defined(0)thenActor.StorePos($PLAYER_ACTOR, [email protected], [email protected], [email protected])077E: get_active_interior_to [email protected]@ = Actor.Angle($PLAYER_ACTOR) 0092: [email protected] = float [email protected] to_integer 0092: [email protected] = float [email protected] to_integer 0092: [email protected] = float [email protected] to_integer 0092: [email protected] = float [email protected] to_integer 0302: show_text_4numbers GXT 'STA80' numbers [email protected] [email protected] [email protected] [email protected] time 5 flag 1 if 0AB0:   key_pressed 54 /// prees 6then wait 50 0AF3: write_float [email protected] to_ini_file "CLEO\POZIT.INI" section "SAVE" key "LOC_X" 0AF3: write_float [email protected] to_ini_file "CLEO\POZIT.INI" section "SAVE" key "LOC_Y" 0AF3: write_float [email protected] to_ini_file "CLEO\POZIT.INI" section "SAVE" key "LOC_Z" 0AF3: write_float [email protected] to_ini_file "CLEO\POZIT.INI" section "SAVE" key "ANGLE" 0AF1: write_int [email protected] to_ini_file "CLEO\POZIT.INI" section "SAVE" key "INTER" 03E5: show_text_box 'SAV' 0ACD: show_text_highpriority "~Y~~H~save" time 500 wait 1000 endendendend_thread//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx//////////////////////////////////////////////////////////////////////////////////////////////////info save first,//coordination//later, write down the coordination numbers from the ini file//1 //or                                    //icon 0~63    x   y   z the same0570: [email protected] = create_asset_radar_marker_with_icon 36 at 0.0 0.0 0.0  //icon on radar and game//or                                   x   y   z  the same0A40: [email protected] = create_entrance_marker_at 0.0 0.0 0.0 color 14  //interior marker//or                                 x   y the same  08DC: create_interior_marker [email protected] at 0.0 0.0 radius 20.0 //interior marker//2//add in loopwait 0if                                             //x   y   z the same  x   y //meter in game00EC:   actor $PLAYER_ACTOR sphere 0 near_point 0.0 0.0 0.0 radius 2.0 2.0 //hecking if player is on markerthen//teleprort to interior -v- select_interior 0 //active interior04FA: reset_sky_colors_with_fade 0 057E: set_radar_grey 0 0860: link_actor $PLAYER_ACTOR to_interior 0 //active interior                              //x   y the same04E4: refresh_game_renderer_at 0.0 0.0                                //x   y   z the same0972: put_actor $PLAYER_ACTOR at 0.0 0.0 0.0 no_offset wait 80Actor.Angle($PLAYER_ACTOR) = 0.0 Camera.SetBehindPlayerCamera.Restore_WithJumpCutend//xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

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  

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×

Important Information

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