Electus LogoElectus Documentation

Electus Pets MLO Guides

Electus Pets setup, locations, showcase pets, room fixes and map conflicts in Electus Pets MLO.

Locations

InteriorAreaInside
Animal Ark pet shopBean Machine block, Vespuccivector3(-1281.53, -1128.55, 6.98)
Veterinary clinicNext door to Animal Arkvector3(-1270.61, -1146.70, 6.98)
Dog shelterYard shed, Del Perrovector3(-1588.92, -849.14, 10.30)
Dog training centerThe shed next to the sheltervector3(-1620.55, -826.89, 10.30)
InteriorRooms
Animal ArkShop floor (checkout, displays, adoption pods, grooming, playground), staff backroom, pet hall with the aviary
Veterinary clinicWaiting room with reception, two operating rooms, recovery ward
Dog shelterLobby with reception and meet and greet pen, kennels (14 runs), care room
Dog training centerReception, arena with the agility course, obedience lane, scent boxes, bitework pen and treadmills. Outside: vehicle search bay and dog run

Use with Electus Pets

Start electus_pets_mlo before electus_pets, with Electus Pets 5.3 or newer. Electus Pets then reads config/mlo.lua and replaces the location fields of the matching entries in its other config files. Pets, prices, blips and jobs stay as they are.

Config.Mlo keyReplacesInside the MLO
petShops["default"]The pet shop in Config.PetShopClerk behind the Animal Ark checkout counter. The shop camera shows the pet on the rug in front of the adoption pods.
accessoryShops["default"]The accessory shop in Config.AccessoryShop.shopsIn front of the toys and accessories displays
vets[1]The first vet in Config.VetsBehind the clinic reception, with one operating table in each operating room
shelters["default"]The shelter in config/shelter.luaReceptionist behind the lobby desk, one pet in each of the 14 kennel runs
trainingCenters["default"]The training ground in config/training.luaTrainer in the arena. Every station uses the obstacles of the MLO (props = false).

To keep one location where it was, remove its entry from Config.Mlo. To turn the integration off, set Config.Mlo.enabled = false.

The vet and petshop jobs in Electus Pets (config/jobs.lua) run the clinic and the shop. With nobody on duty, the NPCs serve players.

Showcase pets in the adoption pods

With Electus Pets, the eight adoption pods behind the Animal Ark counter hold resting pets for sale. Each player sees their own frozen pets, spawned within Config.Mlo.showcaseDistance (30 m) of the shop and removed beyond it.

-- electus_pets/config/mlo.lua
showcase = {
    pets = {
        -- bottom row: one model is picked again each time the pod is filled
        { models = { "a_c_rottweiler", "a_c_doberman" }, coords = vector4(-1278.07, -1122.31, 5.99, 142.35) },
        -- top row
        { model = "a_c_pug", coords = vector4(-1278.07, -1122.31, 6.94, 142.35) },
        -- ...
    },
},

model or models take Config.Pets keys. anim is a Config.PetAnims key (false to stand still) and variation an index in Config.PetVariations. Every pet is turned and moved until its pose fits inside its pod; set fit = false to keep a pet exactly at coords.

The Malinois, Doberman and Dalmatian come from electus_pets_models and share their pods with base game breeds.

Display animals in the pet hall

18 cats, puppies, rabbits and birds rest, sit and eat in the pet hall's enclosures, bird cages and aviary. The MLO spawns them itself, so they show with or without Electus Pets. They are local peds that are never networked: every player spawns their own copies within 45 m of the shop and removes them past 60 m.

Pets that disappear indoors

GTA only moves a ped into an interior room when it sees the ped cross a doorway. Pets that push through a door, warp while following or get teleported by a script can stay "outside" while they are inside, and are then only drawn through the windows.

The MLO runs a room keeper that checks nearby non-player peds four times a second against the real room outlines and puts them in the room they are really in. It is on by default.

Conflicts with other maps

The MLO replaces the base game buildings, collisions and occlusion at both spots. Another map that streams any of these files conflicts with it, so keep only one of them.

SpotReplaced files
Bean Machine block, Vespuccivb_10_build1.ydr, vb_10_build1+hidr.ytd, vb_10_detail1.ydr, vb_10_detail2.ydr, vb_10_ground.ydr, vb_10_vb_emissive_a.ydr, vb_10_0.ybn, hi@vb_10_0.ybn, vb_10_strm_0.ymap, hei_vb_10_strm_0.ymap, vb_occl_01.ymap
Del Perro yard shedssm_23_bld.ydr, sm_23_emissive.ydr, sm_23_0.ybn, hi@sm_23_0.ybn, sm_23_strm_0.ymap, hei_sm_23_strm_0.ymap, sm_occl_02.ymap

Not sure if another map uses these spots? Search your other resources' stream folders for the file names above.