Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

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

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

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

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

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

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

    2. Support

    3. Suggestions

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

How to load a interior?


NoNameSet
 Share

Recommended Posts

I want to know how to load a interior...yes I know about:

INTERIOR::_LOAD_INTERIORHashes: 0x2CA429C029CCF247 0x3ADA414E
void _LOAD_INTERIOR(int interiorID) // 0x2CA429C029CCF247 0x3ADA414E

Load interior

///////////////////

but how to I find out about interiorID's? is it like back in gta san andrea & others where interior id's were listed with numbers?

Regs.

Link to comment
Share on other sites

INTERIOR::GET_INTERIOR_AT_COORDS

I finally tried this today,

got the coords of tequilala, used the Native... = I get spawned on the roof?

Link to comment
Share on other sites

...found out about REQUEST_IPL & REMOVE_IPL

now I only have one question, does anyone know the ipls for tequilala?

Link to comment
Share on other sites

Could it be : hei_ss1_11_interior_v_rockclub_milo_

 

NativeFunction.CallByName<uint>("REQUEST_IPL", "hei_ss1_11_interior_v_rockclub_milo_");

Link to comment
Share on other sites

Sometimes you have to enable it first. Also enable DLC MAPS sometimes. To load tequilala.

Some more here.

https://pastebin.com/bmirNn39

And here.

http://gtaforums.com/topic/793840-ipls-and-coordinates/?hl=interior&do=findComment&comment=1067566592

Load TEQUL-LA_LA:            Function.Call(Hash.DISABLE_INTERIOR, Function.Call<int>(Hash.GET_INTERIOR_AT_COORDS, -556.5089111328125, 286.318115234375, 81.1763), false);            Function.Call(Hash.CAP_INTERIOR, Function.Call<int>(Hash.GET_INTERIOR_AT_COORDS, -556.5089111328125, 286.318115234375, 81.1763), false);            Function.Call(Hash.REQUEST_IPL, "v_rockclub");            Function.Call(Hash._DOOR_CONTROL, 993120320, -565.1712f, 276.6259f, 83.28626f, false, 0.0f, 0.0f, 0.0f);// front door            Function.Call(Hash._DOOR_CONTROL, 993120320, -561.2866f, 293.5044f, 87.77851f, false, 0.0f, 0.0f, 0.0f);// back door
  • Like 2
Link to comment
Share on other sites

 

Sometimes you have to enable it first. Also enable DLC MAPS sometimes. To load tequilala.

Some more here.

https://pastebin.com/bmirNn39

And here.

http://gtaforums.com/topic/793840-ipls-and-coordinates/?hl=interior&do=findComment&comment=1067566592

Load TEQUL-LA_LA:            Function.Call(Hash.DISABLE_INTERIOR, Function.Call<int>(Hash.GET_INTERIOR_AT_COORDS, -556.5089111328125, 286.318115234375, 81.1763), false);            Function.Call(Hash.CAP_INTERIOR, Function.Call<int>(Hash.GET_INTERIOR_AT_COORDS, -556.5089111328125, 286.318115234375, 81.1763), false);            Function.Call(Hash.REQUEST_IPL, "v_rockclub");            Function.Call(Hash._DOOR_CONTROL, 993120320, -565.1712f, 276.6259f, 83.28626f, false, 0.0f, 0.0f, 0.0f);// front door            Function.Call(Hash._DOOR_CONTROL, 993120320, -561.2866f, 293.5044f, 87.77851f, false, 0.0f, 0.0f, 0.0f);// back door

what a damn legend, thanks!

Link to comment
Share on other sites

  • 2 months later...

I have a question because i didn't uderstand, where i can find interiors ID's (int interiorID) for DLC bikers interiors for exemple ?

Edited by SNIDER-58
Link to comment
Share on other sites

I have a question because i didn't uderstand, where i can find interiors ID's (int interiorID) for DLC bikers interiors for exemple ?

that's actually not the way to do it, you need to use the native REQUEST_IPL and then enter the ipl like in the example from aimless above.

list of ipl's I use: (should include all)...the dlc biker houses are listed in the 2nd pastebin

https://pastebin.com/RqHxxqXY

https://pastebin.com/Q1Up5xHE

https://pastebin.com/zr2vnDb4

Edited by NoNameSet
Link to comment
Share on other sites

  • 6 months later...
meimeiriver

I still don't get it, guys. I looked at at his:

 

Function.Call(Hash.REMOVE_IPL, "TrevorsTrailerTrash");
Function.Call(Hash.REMOVE_IPL, "TrevorsTrailerTidy");
Function.Call(Hash.REMOVE_IPL, "TrevorsTrailer");
Function.Call(Hash.DISABLE_INTERIOR, Function.Call<int>(Hash.GET_INTERIOR_AT_COORDS, 1973.0, 3815.0, 34.0), false);
Function.Call(Hash.REQUEST_IPL, "TrevorsTrailerTidy"

 

And it's already not making much sense to me. First y'all removing all TrevorsTrailers IPLs, and then your asking for its coordinates?! How could that possible work?!

 

Also, tried to load my own MILO (at a location where the interior in question doesn't already exist), did the REMOVE_IPL/REQUEST_IPL, then the call to GET_INTERIOR_AT_COORDS, but still not getting an ID for it. I tried to enable it inbetween too, but that makes no difference.

Edited by meimeiriver
Link to comment
Share on other sites

Laziness on my part. Those are three different interiors. For the same coords. Normal , clean and after it got trashed. That removes all if any are loaded. Then loads the clean one. You can change it to whatever one you want.

 

DISABLE_INTERIOR I dont know. Maybe i thought you had to enable it for some reason. Like if your a different character.

 

Never tried my own. Cant remember ever seeing that done. It would be nice to load and unload your own.

  • Like 1
Link to comment
Share on other sites

meimeiriver

Laziness on my part. Those are three different interiors. For the same coords. Normal , clean and after it got trashed. That removes all if any are loaded. Then loads the clean one. You can change it to whatever one you want.

 

DISABLE_INTERIOR I dont know. Maybe i thought you had to enable it for some reason. Like if your a different character.

 

Never tried my own. Cant remember ever seeing that done. It would be nice to load and unload your own.

 

 

Thanks for your reply! :)

 

I get that you were cleaning up all 3 interior variations first, and then loaded "TrevorsTrailerTidy". What I don't understand, though, is that you're enabling "TrevorsTrailerTidy", right after you removed all 3 IPL's! I mean, wasn't the purpose of REMOVE_IPL to actually remove the IPL from its location? (In such a manner that GET_INTERIOR_AT_COORDS would return 0) It would appear then, that the game simply knows where the MILO coordinates are, even when they're not loaded yet (or unloaded even).

 

But it's all good now. I couldn't find the interior coordinates, because I had 2 overlapping interiors there! Doh! Needed to remove the old one first. It's all working flawlessly now.

 

As for my 'own', it's not technically my own, but that of the game, but I used the MILO techniques to relocate a fancy interior. Even made a small https://forums.gta5-mods.com/topic/19039/milo-starter-guide for it. Probably all well-known material to you, but I figured, if I had trouble with it, others might have too. Had a small issue with the old interior's physics still persisting, but Alex was kind enough to tell me how to remove those too.

Edited by meimeiriver
Link to comment
Share on other sites

Yea your right it returns 0. If it is ever needed it would go after REQUEST_IPL.

 

Anyway glad you got it working.

  • Like 1
Link to comment
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
 Share

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

×
×
  • Create New...

Important Information

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