Code Monkey home page Code Monkey logo

bob74_ipl's Introduction

Fix holes and customize the map (Updated to The Chop Shop DLC)

The purpose of this script is to fix the holes in the map by loading zones that aren’t loaded by default. I’ve added quite a lot of places to load, based on Mikeeh’s script. If you just want to fix the holes in the map, then use this resource as provided.

This resource has been completely rewritten from scratch since v2.0. You can customize almost every storymode and online purchasable interiors from your own resources.

Download

  • The Wiki has been created to help you customize your interiors as you wish. It contains every function you can use for each interior.
  • Each Wiki page has an example at the bottom of the page to show how you can use it in your own resource.
  • Also at the bottom of the Wiki will show you the default values set by IPL_NAME.LoadDefault().

Install

  1. Download the latest version.
  2. Extract bob74_ipl.zip and copy the bob74_ipl into your resources folder.
  3. Add start bob74_ipl to your your server.cfg file.

Screenshots

Changelog

Click to view (DD/MM/YYYY)

14/04/2024 - 2.2.1

  • Allow disabling San Andreas Mercenaries fixes
  • Allow setting base game cargo ship as sunk
  • Rename ChopShopSalvage.Ipl.Load() to ChopShopSalvage.Ipl.Exterior.Load()
  • Rename DrugWarsFreakshop.Ipl.Load() to DrugWarsFreakshop.Ipl.Exterior.Load()
  • Rename DrugWarsGarage.Ipl.Load() to DrugWarsGarage.Ipl.Exterior.Load()

06/04/2024 - 2.2.0

  • Added "Los Santos Drug Wars" support
  • Added "San Andreas Mercenaries" support
  • Added "The Chop Shop" support
  • Added missing base IPLs

27/03/2024 - 2.1.4

  • North Yankton improvements (#131 @TheIndra55)

05/12/2023 - 2.1.3

  • Added missing train track near Davis Quartz (#129 @TheIndra55)

10/01/2023 - 2.1.2

  • Fix native and update native names (@NeenGame )

24/10/2022 - 2.1.1

  • Fix vespucci beach wall hole
  • Fix Boat House Door in Sandy Shores
  • Fix GTA 5 24/7 Roof in Sandy Shores
  • Fix Industrial Building near Lesters Warehouse
  • Fix Collision Holes near Lost MC compound

11/10/2022 - 2.1.0a

  • Make Doomsday Facility Objects non network

03/08/2022 - 2.1.0

  • Added "The Criminal Enterprises" support

02/05/2022 - 2.0.15

  • Reformatted code
  • Removed unused .gitignore
  • Bumped version in fxmanifest.lua
  • Improved performance

21/04/2022 - 2.0.14

  • Fix casino penthouse carpet patterns colors

12/02/2022 - 2.0.13a

  • Fix Music Roof

12/02/2022 - 2.0.13

  • Added Contract IPLs: Garage, Studio, Offices, Music Roof, Billboards

10/02/2022 - 2.0.12

  • Fix FIB roof

07/02/2022 - 2.0.11

  • Added Tuners IPLs: Garage, Meth Lab, Meetup

18/01/2022 - 2.0.10b

  • Change water in yachts to be non-networked.

01/08/2021 - 2.0.10a

  • Improved performance
  • Fixed hole in the FIB fountain
  • Fixed error appearing if casino IPL is loaded, but the game build is not sufficient
  • Fixed a few typos in the README file

19/07/2021 - 2.0.10

  • Added Diamond Casino IPLs: Casino, Garage, VIP garage, Penthouse
  • Import: Forced refresh of CEO Garages
  • Updated fxmanifest fx_version to cerulean
  • Updated IPL list link in fxmanifest nad removed outdated Props list and Interior ID list
  • Fixed export typo in michael.lua
  • Removed unnecessary space in north_yankton IPL

27/05/2020 - 2.0.9a

  • Fixed disabling Pillbox Hospital
  • Fixed ResetInteriorVariables

23/04/2020 - 2.0.9

  • Replaced deprecated __resource.lua with fxmanifest.lua
  • Added ferris wheel on the Del Perro Pier
  • Reformatted client.lua

20/10/2019 - 2.0.8

  • Nightclubs: Added dry ice emitters
  • Heist & Gunrunning: Added water to the yachts hot tubs (to enable/disable)
  • Offices: Added a way to open and close the safes
  • Facility: Added privacy glass
  • Moved Bahama Mamas and PillBox Hospital in their own files
  • Fixed error ReleaseNamedRendertarget
  • Cleaned and optimized the code

22/03/2019 - 2.0.7c

  • CEO Offices: Changed the default loaded garage to ImportCEOGarage4.Part.Garage2 in order to avoid Office glitches

15/01/2019 - 2.0.7b

  • Nightclubs: Fixed a typo for the fake lights

15/01/2019 - 2.0.7a

  • Nightclubs: Added the ability to set no podium (using AfterHoursNightclubs.Interior.Podium.none)

14/01/2019 - 2.0.7

  • Changed the way Trevor’s trailer is handled and added a Wiki entry.
  • Added a way to open or close Zancudo’s gates with a Wiki entry.

12/01/2019 - 2.0.6

  • Added nightclubs interior and exteriors
  • Removed Zancudo gates by default (file bob74_ipl/gtav/base.lua: RequestIpl("CS3_07_MPGates") is now commented)

29/12/2018 - 2.0.5a

  • Fixed the name of the BikerClubhouse1 export

19/12/2018 - 2.0.5

  • Fixed a typo that prevents the printers, security stuff, and cash piles to spawn in the counterfeit cash factory

10/11/2018 - 2.0.4

  • Fixed an issue where the clubhouse2 lower walls wouldn’t be colored on the first resource start
  • Fixed gang members names using an old format
  • Disabled the Mod shop from CEO garage 3 (ImportCEOGarage3) because it is overlapping with CEO office 3 (FinanceOffice3)

08/11/2018 - 2.0.3

  • Added biker gang’s name, missions, and members pictures
  • Added CEO office organization’s name

05/11/2018 - 2.0.1

  • Removed overlapping Zancudo River
  • Added the trailer near Zancudo River

04/11/2018 - 2.0.0

  • Plugin totally rewritten
  • Support for all DLC (up to The Doomsday Heist)
  • Ability to easily customize story mode and online purchasable interiors
  • You can still use it as it is if you want IPL and interiors to be loaded, the plugin sets a default style for each one
  • Check out the Wiki to find out how: https://github.com/Bob74/bob74_ipl/wiki

26/06/2017

  • Added optional IPL
  • Bunkers exteriors (enabled)
  • Bunkers interior
  • CEO Offices
  • Bikers places (some are still buggy)
  • Import/Export locations
  • Removed the trick to open Lost’s safehouse since the last update already opens it

19/06/2017

  • Fix hole in Zancudo River
  • Fix hole in Cassidy Creek
  • Add optional graffiti on some billboards (enabled by default)
  • Opened Lost’s safehouse interior

14/06/2017

  • Original release

bob74_ipl's People

Contributors

baziforyou avatar bob74 avatar devblocky avatar itismejoey avatar jonisssonis avatar juliiiocesar avatar manzarek123 avatar michaelcoding25 avatar neengame avatar notlazy avatar russianronin avatar sgottelk avatar siromgitsyou avatar theindra55 avatar traskin avatar usermacieg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bob74_ipl's Issues

Bayside Drugs, Sandy Sheriff Interior

How do I use this resource without the interiors for the Bayside Drugs in Paleto and Sandy Sheriff's station default interiors not creating invisible barriers when using a custom ymap/mlo?

lasers dont work inside after hours night club .

hi there , first of all thanks for the amazing work man .i managed to make everything work in the night club such as monitors , spotlight peds the only thing im struggling with is the lasers . i just dont seam to find how its done . please let me know if u have an idea , all i need is a hint .thanks again

[Suggestion] A Way to Return State of Interior

I was making a script that lets me open the safes via commands, and I thought that being able to get the current state of the safe door would make it easier to change its state without the user needing to specify open or shut.

Something like

local function fo4(i)
	FinanceOffice = exports['bob74_ipl']:GetFinanceOffice4Object()
	if i[1] == "gunsafe" then
		local state = FinanceOffice.SafeState("left")
		if state then
			FinanceOffice.Safe.Close("left")
		else
			FinanceOffice.Safe.Open("left")
		end
	end
end

/fo4 gunsafe

Codewalker

How to open files from bob74 on Codewalker to have the position of the doors to be able to close/open them
Thank you

Cannot tp to dlc_high_life/apartment1.lua

I've noticed that apartment 1 within the highlife section of ipls cannot be teleported to: resulting in "SYSTEM: INVALID COORDINATES", seems that every other ipl works fine.

Add peds inside IPL

Hello,

I think we can add peds inside ipl because i have seen it on videos but i can't add them on my servers.

Can you help me.

Thanks you ;-)

Vangelico hole

There's a large hole near vangelicos that causes you to fall through the map.

Mugshots and tasks

Hey, gang mugshots and tasks are not working, i tried using examples in wiki too.
But rendering company and gang names is working good.

Mulltiple exports

Hi there, thank you for your work
i just have a question is it possible to use mulltiple exports in a same tread?

like

Citizen.CreateThread(function()

    Ammunations = exports['bob74_ipl']:GetAmmunationsObject()
    BahamaMamas = exports['bob74_ipl']:GetBahamaMamasObject()

    -- add the details etc for both here
end)

O'Neil Farms Interior

I do not know if this is just me but when I try to go inside of the O'Neil farms i go to the door and it opens but I am blocked by a invisible door...

accidental find of one of the warehouses

this is not really an issue, but as i personally do not know how to exactly code the ipl's and such, i thought i'd post my find here. but after moving a bit in noclip in my fivem server, i found one of the warehouses (the large one). seen as they are currently on the to-do list, i'd provide you the coords i found this at:
998.40240478516,-3099.6997070313,-38.999900817871
personally i have no clue how it got there, because i didn't modify your code at all (well, except the config obviously), but other than that i don't really know. next to this mod, i also have ipl loader installed, which might have something to do with the find: https://github.com/ESX-PUBLIC/fivem-ipl
i hope this might help with adding the warehouses.
largewarehouse

EDIT:
curiosity got to me, and i went looking around, here's the medium one:
1050.0114746094,-3105.3037109375,-38.999954223633
mediumwarehouse

and the small one:
1089.6859130859,-3101.123046875,-38.999961853027
smallwarehouse

Counterfeit cash factory

I can't get the printers and the money on the table to spawn in i have tried everything but i can't get it to work so if you could help me out i would be happy

ladda ned 1
ladda ned 2

teleport out and in to the drug labs

hello i was wonder if there is a chance u could help me with this teleport in and out of drug labs by default
some 1 just placed there teleport and i cant find where or how to remove them its a default teleports in all the labs

Bug apartments

Hello, how about I have been trying for days to make the apartments work since they do not load well or I do not know what happens
thnaks
unknown

Lights not working at Nightclubs

Hey, we definitelly need all light working at nightlucbs, because they are too dark without the roof lights and side lights..

FIB Comm Room

Hi,

right now, the Comm Room in the FIB top floor is some sort of smaller office and not the one shown in the mission.

I wonder if it's possible to replace that with the interior used in the mission where Michael hacks the FIB, since the bigger room looks more impressive.

bug

house o'neil collision

Some ipl's not loading?

Im totally a noob at this, i recently put this on my fivem server but some of the maps are not loading or something. when i look in the config files for the teleport coordinates. and i do the tp command it comes up saying invalid coordinates. is there something i am missing here?

Spotlights

So we have the panel lights, neons and droplet lights on the roof working. We also have the lasers working and interior lights throughout the nightclub. The only lights i cant seem to turn on are the intelligent spot lights that surround the dance floor.

Also is there a way to make it so the lights are not strobing like crazy ?

Error in example code

Example code in wiki dosent work it returns nil value

`Citizen.CreateThread(function()
BikerGang = exports['bob74_ipl']:GetBikerGangObject()

-- Name
-------
-- Lets give our gang a cool and fashioned name
BikerGang.Name.Set("LS Dark turbo riders of Doom", BikerGang.Name.Colors.red, BikerGang.Name.Fonts.font11)
-- Don't forget to enable it
BikerGang.Clubhouse.ClubName.Enable(true)


-- Emblem
---------
-- Choosing the logo and rotating it from 90°
BikerGang.Emblem.Set(BikerGang.Emblem.Logo.ace, 90.0)

-- and enabling it
BikerGang.Clubhouse.Emblem.Enable(true)


-- Missions wall
----------------
-- Enabling the wall, it doesn't show any missions by default
BikerGang.Clubhouse.MissionsWall.Enable(true)

-- Setting the first mission (left)
-- Here I choose to use existing missions ("By the pound")
BikerGang.Clubhouse.MissionsWall.SetMission(BikerGang.Clubhouse.MissionsWall.Position.left, Clubhouse.MissionsWall.Missions.Titles.byThePound, Clubhouse.MissionsWall.Missions.Descriptions.byThePound, Clubhouse.MissionsWall.Missions.Pictures.byThePound, -423.0253, -1681.888)

-- Here is a custom mission containing the mugshot of the player
local pedheadshotTexture = exports['bob74_ipl']:GetPedheadshotTexture(GetPlayerPed(-1))
if (pedheadshotTexture ~= nil) then
    BikerGang.Clubhouse.MissionsWall.SetMission(BikerGang.Clubhouse.MissionsWall.Position.middle, "Objective:", "Find a new president.", pedheadshotTexture, 3000.0, 3000.0)
end

-- And there is no third mission
BikerGang.Clubhouse.MissionsWall.SelectMission(BikerGang.Clubhouse.MissionsWall.Position.none)

--[[
    Note:

    Be careful when you use Ped headshots (mugshots):
    You must call SetStreamedTextureDictAsNoLongerNeeded(mugshotTexture) before reloading your resource.
    Otherwise, the texture will be lost but it will stay in memory and will take one mughost texture slot for nothing.

    if (mugshotTexture ~= "") then
        SetStreamedTextureDictAsNoLongerNeeded(mugshotTexture)
    end
]]


-- Members pictures
-------------------
-- We need a curently loaded Ped to get its mugshot.
-- That's why we are going to spawn Peds under the ground and remove them later.

-- Coordinates to spawn the Ped
x, y, z = table.unpack(GetEntityCoords(GetPlayerPed(-1), true))

-- Requesting the Ped model
RequestModel("cs_bradcadaver")
while not HasModelLoaded("cs_bradcadaver") do Wait(1) end

-- Spawning the Ped underground and freezing it
local presidentPed = CreatePed(4, "cs_bradcadaver", x, y, z - 500.0, 0.0, false, true)
FreezeEntityPosition(presidentPed, true)

-- Setting the picture by sending the Ped to the function
BikerGang.Clubhouse.Members.President.Set(presidentPed)
-- We enable the picture to see it
BikerGang.Clubhouse.Members.President.Enable(true)

-- We don't need the Ped anymore, clean up.
SetPedAsNoLongerNeeded(presidentPed)
DeletePed(presidentPed)


RequestModel("mp_m_exarmy_01")
while not HasModelLoaded("mp_m_exarmy_01") do Wait(1) end
local vicePresidentPed = CreatePed(4, "mp_m_exarmy_01", x, y, z - 505.0, 0.0, false, true)
FreezeEntityPosition(vicePresidentPed, true)
BikerGang.Clubhouse.Members.VicePresident.Set(vicePresidentPed)
BikerGang.Clubhouse.Members.VicePresident.Enable(true)
SetPedAsNoLongerNeeded(vicePresidentPed)
DeletePed(vicePresidentPed)

RequestModel("hc_gunman")
while not HasModelLoaded("hc_gunman") do Wait(1) end
local roadCaptainPed = CreatePed(4, "hc_gunman", x, y, z - 510.0, 0.0, false, true)
FreezeEntityPosition(roadCaptainPed, true)
BikerGang.Clubhouse.Members.RoadCaptain.Set(roadCaptainPed)
BikerGang.Clubhouse.Members.RoadCaptain.Enable(true)
SetPedAsNoLongerNeeded(roadCaptainPed)
DeletePed(roadCaptainPed)

RequestModel("hc_driver")
while not HasModelLoaded("hc_driver") do Wait(1) end
local enforcerPed = CreatePed(4, "hc_driver", x, y, z - 515.0, 0.0, false, true)
FreezeEntityPosition(enforcerPed, true)
BikerGang.Clubhouse.Members.Enforcer.Set(enforcerPed)
BikerGang.Clubhouse.Members.Enforcer.Enable(true)
SetPedAsNoLongerNeeded(enforcerPed)
DeletePed(enforcerPed)

RequestModel("mp_m_niko_01")
while not HasModelLoaded("mp_m_niko_01") do Wait(1) end
local sergeantAtArmsPed = CreatePed(4, "mp_m_niko_01", x, y, z - 520.0, 0.0, false, true)
FreezeEntityPosition(sergeantAtArmsPed, true)
BikerGang.Clubhouse.Members.SergeantAtArms.Set(sergeantAtArmsPed)
BikerGang.Clubhouse.Members.SergeantAtArms.Enable(true)
SetPedAsNoLongerNeeded(sergeantAtArmsPed)
DeletePed(sergeantAtArmsPed)

end)`

Question

Is there a way to make it so you can see inside the CEO offices from the outside like you can in normal GTA? Thanks.

Errors when Disconnecting?

Is it normal/expected to see these errors when disconnecting from a server or have I done something wrong? 🤔

image

Dye the windows of the facility

Hello,
Is it possible to color the windows of the office and the bedroom in facility.lua? This possibility is active on GTA Online?

Thank you very much.

FiveM Update - High resource tick

Hello,

I have the problem that in /lib/observers/InteriorIdObserver.lua between line [5,,50] there is a high resource tick of round about 2% going on the entire time. This occured with the latest FiveM Update. I used the profiler to identify the problem.

image

Texturing flickering on interiors

I'm not sure why it's doing it, but every ipl apartment interior loaded from this resource cycles/flickers through all the available wall textures for each interior. It seems like the game is trying to load all variants of an interior at once.

Any way to disable this?

Biker Clubhouse flashing Walls and Murals

The default settings for Biker Clubhouse 1 & 2 results in the walls flashing between each version. I also found that with at least Clubhouse 1 you couldn't change the mural or decorations, without resulting in an overlap of each set.

After doing some debugging I found that each Clubhouse has default values set (not yours). For example if you just have (in your files):

    LoadDefault = function()
        BikerClubhouse1.Ipl.Interior.Load()
 
        RefreshInterior(BikerClubhouse1.interiorId)
    end

Will result in Walls, Furniture, & Decoration set to v2, Meth, Cash, Coke, Weed, Counterfeit, & Documents to just stash 3, and mural set to route 68.

Regardless of what settings are done in your files (or ours), the defaults don't clear. This is because IsInteriorPropEnabled returns false until enough time has passed after RefreshInterior (maybe after RequestIpl).

In the case of Clubhouse 1, I was able to get around this by explicitly calling DisableInteriorProp on the values I didn't want. But Clubhouse 2 was a little more tricky, due to some reason using Walls v1 (bricks) wouldn't still retain the Walls v2 (plain, multi color) as well as the clutter in the Mod Booth.

So other workarounds I found was to call restart bob74_ipl, and removing the if condition and always disable here @ common.lua L96

Prop issue

Hello I am trying to add the extra props that you show in your wiki into the CEO offices but it is not working. Can anyone explain to me what exactly I have to do to enable like the piles of money and such? Thanks.

[Question] So what is up to date?

I've heard many people say to use fivem-ipl but then I see you have updated and lots of posts suggest fivem-ipl is no longer maintained? Is your one now the most up to date?

Document Forgery cords are invalid

I've tried to load and reload the IPL of the Document Forgery multiple times and teleport to where it is, but every single time I did so it just teleported me straight into water, and I can't seem to find it.

Casino don't work on build 4000+

I've just checked in v2060 and it's working perfectly, casino is beautifull, but the server of my friend run on the build 4162.

I don't know how it is possible to work on old version but not newly...

Maybe you can explain me ?

Attempt to index a nil value (global 'ExecApartement1')

Hey when i try to change the style of my penthouse i have this error Attempt to index a nil value (global 'ExecApartement1')

      Citizen.CreateThread(function()
              ExecApartment1 = exports['bob74_ipl']:GetExecApartment1Object()
              print(ExecApartement1) -- return nil
              ExecApartment1.Style.Set(ExecApartement1.Style.Theme.vibrant, true)
          end)

Maze Bank West Glitch

Hello, i really love your scripts, u do an awesome work, i just noticed that the Maze Bank West interiors got glitched in the newer versions, it does work with the outdated one, would be awesome if you could fix it :D
Have a nice one, and keep up the awesome work :)

Find of more non-added locations

figured i'd open a new issue for this, seen as the comment i placed on my warehouse finds went unnoticed.
But once again, I have found some things. which you might want to add as well.
i found most of these in another thread, so credit goes to Smallo, but i thought i'd let you know.
https://forum.cfx.re/t/dev-doomsday-smugglers-run-interiors-props-ipls-teleport/92124
the first is a rather specific one, the missile silo from the doomsday heists finale:
1257.6689453125,4804.8403320313,-39.32861328125 (entrance of tunnel)
the problem with this one is that collision loads, but meshes and textures don't, the fix i found for this is to teleport in from the tunnel where you'd need to go in the online heist itself, i'd guess rockstar put this in as some kind of safeguard to prevent accidental entry in online or something like that, but i can't say for sure. all i know is that it works when done this way.
image

image

image

image

image

the second is the IAA facility, located at:
2154.9655761719,2921.0466308594,-61.902481079102
image

image

third is the server facility, located at:
2154.8049316406,2921.1110839844,-81.07551574707
image

fourth is the bogdan submarine, located at:
514.30767822266,4887.880859375,-62.589931488037
image

and lastly, some house i accidentally teleported into when meaning to teleport to the entrance of my nightclub near mission row, i don't know if this is already added or not, but i thought i'd include it nonetheless:
346.60076904297,-1002.0798339844,-99.196197509766
image

i hope this helped, at least a bit, in improving the resource, keep up the good work!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.