Jump to content

[HELP] Adding Custom Interior to MTA SA Server


Ice_Cool

Recommended Posts

Hello everyone, hope you're doing well!

Guys i am just a beginner to MTA Scripting and i encountered a problem that i tried to solve by self for hours but unfortunately could not.

Actually i have created a Prison Model in 3D Max and after export i got .txd, .dff and .col files. What i want to do is add this in my server as an interior. Soon after creating an interior model in 3D Max i stuck between objects and interiors concept, i wonder if i follow this https://forum.multitheftauto.com/topic/35801-tut-adding-custom-objects-in-mta/ topic and try to add my int in server i have to replace it with an 'Object' which is not what i want. I basically want to add my own custom interior but i don't know how i can? i looked around but found nothing, hopefully one of you will resolve my problem and give me an opportunity to learn and enhance. 

Thanking you in advance for a positive reply. 

Best regards,  

Edited by Ice_Cool
Link to comment
  • Administrators

Hi,

currently it's not possible to add models independant of ID system, you'll have to replace another model using engineReplaceModel.

I'm sure you can find a couple of models from casino category to replace without any harm done. Btw, if you absolutely do need all colors of the casino items, you could apply shaders to one of them and replace the rest. https://dev.prineside.com/en/gtasa_samp_model_id/category/casino-items?page=1

From what I've seen, you can replace a model and set it to only load whilst in a specific dimension, meaning you can replace Sultan in dimension 2 but have default model in dimension 0. I'm not into scripting so can't help on that part. I'm guessing this would work fine considering your model is an interior?

Edited by Tut
note
Link to comment

Brother maybe you're right but I really didn't get you. I don't want to have an object. I want to add my own interior. Even guess I replace it with any object how am I suppose to wrap to my interior? I am currently trying to have a custom interior for a prison but idk how set my interior that I designed in 3D Max. I thought if I could replace it with existing interiors but they have x, y, z positions and not just model ID.

Link to comment
8 hours ago, Ice_Cool said:

Brother maybe you're right but I really didn't get you. I don't want to have an object. I want to add my own interior. Even guess I replace it with any object how am I suppose to wrap to my interior? I am currently trying to have a custom interior for a prison but idk how set my interior that I designed in 3D Max. I thought if I could replace it with existing interiors but they have x, y, z positions and not just model ID.

I think I understand what you want to do, for you to do that just go to the map editor and put your custom model somewhere in the map of preference below it, and get his position, if it has a door goes near it and get the coordinates then you get those coordinates and put them in your interior script.

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...