Locations
Any MLO that has changable entity sets usually provides a .lua file with a small amount of code, here you will find the coords and IPL names you need to set them up in this script... however, you also need to comment out that code, if you don't then it'll load first and may not give good results.
Comment out the EntitySet .lua files provided by the MLOs you're using.
Go to the locations folder and look for the location you want to use, and enable it.
If the location doesn't exist, use the template below to create a new one
The MLO/IPL creator/dev should provide you with the IPL name and coords; these must be correct or it won't work.
And then you just need to set up the sets in whatever categories you want them in.
Create New Locations
You can copy and paste the example below into a new file
When you need a new location, create a new .lua file with the name of your location
Locations["Example_Name"] = {
EnableIplSets = false, -- Enable/Disable Location
EnableTargets = false, -- Enable/Disable Target for that location
job = nil, -- Set Job only to change the entity sets | "police"
gang = nil, -- Set Gang only to change the entity sets | "lostmc"
Target = {
{
coords = vec4(0,0,0,0), -- vec4(x,y,z,heading) | This is the location of the polyzone/target area
icon = "fas fa-building", -- Icon of target
label = "Design Garage", -- Label of target
},
},
InteriorProp = false, -- Add this flag to indicate `EnableInteriorProp`/`DisableInteriorProp` usage
RequestIPL = "", -- Place IPL name here / usually looks like `_milo_`
IplLocation = vector3(0,0,0), -- Place IPL coords here / can be the coords of the middle of the room that changes
MapInteriors = {
ROOM_1 = { -- This is the category name in the menu ... DO NOT use spaces, use _ to indicate a space
{
enable = true, -- Enable/Disable sets for players
image = "", -- Image link to display what these options look like
icon = "fas fa-basketball", -- menu icon
label = "Decorate to Room 1", --
sets = {
{ name = "set1", label = "Wall Color", color = 1 },
-- name = This is the name of the EntitySet for this category | exp. "mba_basketball"
-- label = This is the label in the menu for this EntitySet | exp. "Basketball Court"
-- color = Only applies if the IPL/EntitySet supports it, which the creator should mention in their docs [THIS IS A W.I.P.]
},
},
},
},
}
Colours
This is a W.I.P. I don't have it fully working yet, but it is a planned future thing to get working, once I figure it out.
Colors only work for IPL entity sets that support it, not many do. As far as we can tell the only Colors that work are these listed below.
1 = Red Orange
2 = Light Green
3 = Light Yellow
4 = Dark Blue
5 = Light Blue
6 = Violet
7 = White
8 = Blood Red
9 = Fuchsia
Last updated