Electus Pets MLO Guides
Electus Pets setup, locations, showcase pets, room fixes and map conflicts in Electus Pets MLO.
Locations
| Interior | Area | Inside |
|---|---|---|
| Animal Ark pet shop | Bean Machine block, Vespucci | vector3(-1281.53, -1128.55, 6.98) |
| Veterinary clinic | Next door to Animal Ark | vector3(-1270.61, -1146.70, 6.98) |
| Dog shelter | Yard shed, Del Perro | vector3(-1588.92, -849.14, 10.30) |
| Dog training center | The shed next to the shelter | vector3(-1620.55, -826.89, 10.30) |
| Interior | Rooms |
|---|---|
| Animal Ark | Shop floor (checkout, displays, adoption pods, grooming, playground), staff backroom, pet hall with the aviary |
| Veterinary clinic | Waiting room with reception, two operating rooms, recovery ward |
| Dog shelter | Lobby with reception and meet and greet pen, kennels (14 runs), care room |
| Dog training center | Reception, 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 key | Replaces | Inside the MLO |
|---|---|---|
petShops["default"] | The pet shop in Config.PetShop | Clerk 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.shops | In front of the toys and accessories displays |
vets[1] | The first vet in Config.Vets | Behind the clinic reception, with one operating table in each operating room |
shelters["default"] | The shelter in config/shelter.lua | Receptionist behind the lobby desk, one pet in each of the 14 kennel runs |
trainingCenters["default"] | The training ground in config/training.lua | Trainer 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.
| Spot | Replaced files |
|---|---|
| Bean Machine block, Vespucci | vb_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 sheds | sm_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.