ngd-whitewidow

A two-story enterable White Widow dispensary MLO for FiveM!

NGD-WHITEWIDOW

White Widow

Installation Steps

  1. Install ngd-whitewidow Place ngd-whitewidow into your resources folder and ensure ngd-whitewidow in your server.cfg. It is a standalone map resource with no dependencies. Restart the whole server after adding or updating it.

  2. Clear Your Cache (Optional) If the interior or textures look wrong after an update, stop the server and delete the cache/files/ngd-whitewidow folder in your server data, then start it again.

Door Locks (Click to Expand)

The shop has three moving leaves: the front pair and the garage door. Register them by model and coordinates, and never register every instance of a model.

DoorModelCoordinatesHeading
Front, left leafngd_whitewidow_door_l-1313.4056, -635.1466, 27.3872303.0
Front, right leafngd_whitewidow_door_r-1312.3054, -636.8407, 27.3872303.0
Garagengd_whitewidow_garage_door-1305.5704, -616.4373, 27.9598123.0

The front pair is one double door, so register both leaves together. The interior doors have no locks and do not need registering.

ox_doorlock (Click to Expand)

Run this once in your database, and change groups to the job that owns the shop:

code
INSERT INTO `ox_doorlock` (`name`, `data`) VALUES
  ('whitewidow_front', '{"coords":{"x":-1312.8555,"y":-635.9937,"z":27.3872},"doors":[{"coords":{"x":-1313.4056,"y":-635.1466,"z":27.3872},"model":1685392837,"heading":303.0},{"coords":{"x":-1312.3054,"y":-636.8407,"z":27.3872},"model":610242407,"heading":303.0}],"groups":{"police":0},"maxDistance":2.5,"state":1,"hideUi":false}'),
  ('whitewidow_garage', '{"coords":{"x":-1305.5704,"y":-616.4373,"z":27.9598},"model":-2057652822,"heading":123.0,"auto":true,"groups":{"police":0},"maxDistance":6.0,"state":1,"hideUi":false}');

state 1 is locked and 0 is unlocked.

Customizing the Art (Click to Expand)

All of the art lives in the texture dictionaries inside the stream folder. Open them in CodeWalker or OpenIV, replace the texture of the same name, and keep the same size and format (DXT1 with the mip chain, power of two).

FileTextureWhat it is
ngd_whitewidow_screens_txd.ytdngd_whitewidow_scr_pack_dThe upstairs pack-station monitors and the service packing-counter tablet
ngd_whitewidow_scr_inventory_dThe back-of-house desk monitor and the upstairs QA bench monitor
ngd_whitewidow_scr_pos_dThe POS tablets on the sales counter and the coffee bar
ngd_whitewidow_scr_idle_dOne upstairs pack-station monitor (idle desktop)
ngd_whitewidow_scr_checkin_dThe concierge tablet
ngd_whitewidow_tv_txd.ytdngd_whitewidow_tv_screen_dThe employee lounge TV logo
ngd_whitewidow_glassart.ytdngd_whitewidow_glassart_dThe leaf art on the arched street windows
ngd_whitewidow_doors_txd.ytdngd_whitewidow_door_l_2_dThe front door glass with its frosted band

Compatibility Fixes

If White Widow clashes with another map resource, the fix goes here.

Fiv3Devs (Bahama Mamas) (Click to Expand)

Fiv3Devs' fiv3devs_mapdata and ngd-whitewidow both ship a file named hei_sm_occl_03.ymap. When two resources ship the same file, whichever one loads last wins, and the other one is silently ignored. The vanilla version of this file contains a hidden box that makes the White Widow interior disappear when you look at it from the street, so we ship a version with that box removed. Fiv3Devs' copy still has the box.

The fix is a single merged file that has both their changes and ours.

  1. Download the fix fiv3devsbahama-ngdwhitewidow.zip and unzip it. It contains one file, hei_sm_occl_03.ymap.

  2. Replace the file in White Widow Put it in ngd-whitewidow/stream/ and overwrite the existing hei_sm_occl_03.ymap.

  3. Delete it from Fiv3Devs Delete hei_sm_occl_03.ymap from fiv3devs_mapdata/stream/, so only one copy is left.

  4. Restart the server