Jump to content

[Need Help With interior-system] (Adding Custom Ints)


Portside

Recommended Posts

Hi, I need help with adding custom interiors to my RP server.

So when I've created my custom interior, I add it to the s_interior_map and then update my meta file.

How I got the .lua:

I go to where I saved the resource, in there it includes:

resource_name.map

mapEditorScriptingExtension_c

mapEditorScriptingExtension_s

meta

I right-click the .map file and edit with notepad++ then save the file as a .lua

And here's how it looks;

<map edf:definitions="editor_main"> 
    <object id="object (mafCasLoadbay01) (1)" interior="18" alpha="255" doublesided="false" model="14577" scale="1" dimension="0" posX="25.5" posY="-104.6" posZ="1330.5" rotX="0" rotY="0" rotZ="0"></object> 
    <object id="object (container_door) (1)" interior="18" alpha="255" doublesided="false" model="3062" scale="1" dimension="0" posX="53.1" posY="-98.4" posZ="1324.90002" rotX="0" rotY="0" rotZ="0"></object> 
    <object id="object (kmb_shutter) (1)" interior="18" alpha="255" doublesided="false" model="3055" scale="1" dimension="0" posX="34.4" posY="-89.1" posZ="1325.69995" rotX="0" rotY="0" rotZ="270"></object> 
    <object id="object (MED_OFFICE7_DESK_1) (1)" interior="18" alpha="255" doublesided="false" model="2207" scale="1" dimension="0" posX="55.4" posY="-86.3" posZ="1323.59998" rotX="0" rotY="0" rotZ="312"></object> 
    <object id="object (WORK_LAMP1) (1)" interior="18" alpha="255" doublesided="false" model="2196" scale="1" dimension="0" posX="56" posY="-86.1" posZ="1324.40002" rotX="0" rotY="0" rotZ="0"></object> 
    <object id="object (PC_1) (1)" interior="18" alpha="255" doublesided="false" model="2190" scale="1" dimension="0" posX="56.1" posY="-87.2" posZ="1324.30005" rotX="0" rotY="0" rotZ="130"></object> 
    <object id="object (swivelchair_A) (1)" interior="18" alpha="255" doublesided="false" model="1671" scale="1" dimension="0" posX="57" posY="-86.2" posZ="1324" rotX="0" rotY="0" rotZ="308"></object> 
    <object id="object (acwinch1b_SFS01) (1)" interior="18" alpha="255" doublesided="false" model="11406" scale="1" dimension="0" posX="50.8" posY="-90.3" posZ="1326.80005" rotX="0" rotY="0" rotZ="0"></object> 
    <object id="object (acwinch1b_SFS01) (2)" interior="18" alpha="255" doublesided="false" model="11406" scale="1" dimension="0" posX="47.8" posY="-90.4" posZ="1326.80005" rotX="0" rotY="0" rotZ="0"></object> 
    <object id="object (acwinch1b_SFS01) (3)" interior="18" alpha="255" doublesided="false" model="11406" scale="1" dimension="0" posX="44.6" posY="-90.4" posZ="1326.80005" rotX="0" rotY="0" rotZ="0"></object> 
    <object id="object (dead_tied_cop) (1)" interior="18" alpha="255" doublesided="false" model="3092" scale="1" dimension="0" posX="50.7" posY="-90.3" posZ="1325.09998" rotX="0" rotY="0" rotZ="0"></object> 
    <object id="object (CJ_MEAT_BAG_2) (1)" interior="18" alpha="255" doublesided="false" model="2805" scale="1" dimension="0" posX="47.75" posY="-90.4" posZ="1325.09998" rotX="0" rotY="0" rotZ="270"></object> 
    <object id="object (acwinch1b_SFS01) (4)" interior="18" alpha="255" doublesided="false" model="11406" scale="1" dimension="0" posX="41" posY="-90.4" posZ="1326.80005" rotX="0" rotY="0" rotZ="0"></object> 
    <object id="object (des_blackbags) (2)" interior="18" alpha="255" doublesided="false" model="16444" scale="1" dimension="0" posX="36.6" posY="-82.3" posZ="1323.69995" rotX="0" rotY="0" rotZ="0"></object> 
</map> 
  

But when I try to make a interior IG (/makeinterior) and go the the interior ID (135) it just brings me to the interiorworld without the objects showing.

For some reason I think the file needs to be converted to something like this:

createobject(objID, x, y, z)

Please help, thanks in advance!

Link to comment

Let me clarify on this.

Basically I'm looking for a way to stream map objects through the .map extension into multiple dimensions without having to edit the .map file for every single interior.

I know that the world interior can be streamed into muliple dimensions and to save the mappers some time by NOT converting the .map file to .lua

I haven't worked with map files before but all I ask is. How can I stream a .map file into every possible dimension?

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...