[MOD] NPC Shipyards List

The place to discuss scripting and game modifications for X Rebirth.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
lenjoj
Posts: 7
Joined: Sat, 25. Jun 16, 00:50

[MOD] NPC Shipyards List

Post by lenjoj » Wed, 29. Jun 16, 17:42

This mod provides an easily accessible interface to all of the NPC shipyards.
No more trying to navigate the Galaxy/Sector/Zone maps to find these elusive NPC shipyards to repair/upgrade your ships.

* Only shows shipyards belonging to friendly factions.
* Still needs to visit the system that has the shipyards. If you don't scan the shipyard station but have visited the system, you can toggle the "Show Unknown" button.
* Same as the Property Menu, pressing Shift+A while selecting an item will enable AutoPilot to that shipyard destination.

Code: Select all

v1.01 - Shows what each shipyard is currently producing and the progress. 
     1st column - XL Ship
     2nd & 3rd columns - L Ships

Download Link: http://www.nexusmods.com/xrebirth/mods/488

Screenshot: https://drive.google.com/open?id=0B3DjI ... 2VYU0N3MEk
Last edited by lenjoj on Sat, 2. Jul 16, 04:18, edited 1 time in total.

DeadMor0z
Posts: 26
Joined: Fri, 29. Nov 13, 19:20
x4

Post by DeadMor0z » Fri, 1. Jul 16, 21:22

You have posted wrong download link - it leads to edit page, which is unaccessible to everybody, except author (logout from nexus and try to follow your link).

Here is the right link:

http://www.nexusmods.com/xrebirth/mods/488

lenjoj
Posts: 7
Joined: Sat, 25. Jun 16, 00:50

Post by lenjoj » Sat, 2. Jul 16, 04:20

Sorry about that. Copy and paste failure!

Link is fixed.

Inchínn
Posts: 13
Joined: Tue, 7. Mar 17, 22:37
x4

Post by Inchínn » Sun, 12. Mar 17, 23:34

Hi

is it compatible with 4.0?

UPDATE - it does work with 4. Occassionally.

When opened it sometimes makes a stuck repeat sound with no shipyards displayed in the menu.

4.10 (Proper)
havent managed to work at all, permanent problem as above.

It was useful. Be great to see a fix.

DEBUG LOG

Code: Select all

[=ERROR=] 410984.29 Widget system error. Given/Required column width 784.06501950585 exceeds the max table width of 779. Skipping table.
[General] 410984.29 ======================================
[General] 410984.29 ======================================
[=ERROR=] 410984.29 ..._source_branch\data\ui\core\Lua\widget_detailmonitor.lua:4028: attempt to index a nil value
[General] 410984.29 ======================================
[General] 410984.38 ======================================
[=ERROR=] 410984.38 Widget system error. Given/Required column width 784.06501950585 exceeds the max table width of 779. Skipping table.
[General] 410984.38 ======================================
[General] 410984.38 ======================================
[=ERROR=] 410984.38 ..._source_branch\data\ui\core\Lua\widget_detailmonitor.lua:4028: attempt to index a nil value

Demoness4
Posts: 4
Joined: Mon, 5. Mar 18, 07:54

Re: [MOD] NPC Shipyards List

Post by Demoness4 » Sun, 10. Mar 19, 20:06

Yeah, sadly no width is added for scrollbar, so when there are more shipyards to display, they don't fit on 1 table, and system adds a scrollbar but width with scrollbar exceeds some limit.
What you can do is unpack (if needed) files, locate menu_npcShipyardsList.lua and edit/replace :

local selectdesc = setup:createCustomWidthTable({284, 284, 284}, false, false, true, 1, 0, 0, Helper.tableOffsety + Helper.headerRow2Height, 460, false, GetTopRow(menu.selecttable), menu.currentSelectedIndex, nil)
with

local selectdesc = setup:createCustomWidthTable({281, 281, 281}, false, false, true, 1, 0, 0, Helper.tableOffsety + Helper.headerRow2Height, 460, false, GetTopRow(menu.selecttable), menu.currentSelectedIndex, nil)
(tested in 1920x1080resolution)

or for VR
local selectdesc = setup:createCustomWidthTable({277, 277, 277}, false, false, true, 1, 0, 0, Helper.tableOffsety + Helper.headerRow2Height, 460, false, GetTopRow(menu.selecttable), menu.currentSelectedIndex, nil)

(tested in VR 1904x1011 resolution)

...profit...

Post Reply

Return to “X Rebirth - Scripts and Modding”