[MOD] Show Me Your Faction Please

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

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

Post Reply
Phipsz
Posts: 205
Joined: Mon, 23. Apr 12, 23:56

[MOD] Show Me Your Faction Please

Post by Phipsz » Fri, 12. Sep 14, 21:47

Done By a small request. This mod adds faction icons to the comms list so you can see whose licenses you are about to buy. Available from SteamWorkshop

Sparky Sparkycorp
Moderator (English)
Moderator (English)
Posts: 7036
Joined: Tue, 30. Mar 04, 12:28

Post by Sparky Sparkycorp » Fri, 12. Sep 14, 21:59

Magic.

User avatar
YorrickVander
Posts: 2672
Joined: Tue, 29. Oct 13, 22:59

Post by YorrickVander » Fri, 12. Sep 14, 22:25

It's a good un :D
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.

User avatar
MegaJohnny
Posts: 1890
Joined: Wed, 4. Jun 08, 22:30

Post by MegaJohnny » Fri, 12. Sep 14, 22:55

Very nice stuff. Out of interest, what did you use for debugging? I've been dabbling in UI modding as well but I can't get it to report any errors - makes it very hard to actually fix anything.

User avatar
YorrickVander
Posts: 2672
Joined: Tue, 29. Oct 13, 22:59

Post by YorrickVander » Fri, 12. Sep 14, 23:06

UI fails (ie blank screen) leave traces in debug.log file which can give clues as to what you did wrong.
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.

Sparky Sparkycorp
Moderator (English)
Moderator (English)
Posts: 7036
Joined: Tue, 30. Mar 04, 12:28

Post by Sparky Sparkycorp » Fri, 12. Sep 14, 23:22

It occurred to me that if it was possible and of interest, an additional column listing the name of the NPC's station (or "???" as appropriate) could be handy.

I got the idea while using the TAF! mod but maybe there are other uses. If not, that alone is probably not worth the effort involved.


Edit: Typo
Last edited by Sparky Sparkycorp on Fri, 12. Sep 14, 23:57, edited 1 time in total.

Phipsz
Posts: 205
Joined: Mon, 23. Apr 12, 23:56

Post by Phipsz » Fri, 12. Sep 14, 23:35

Hm, will think of that tomorrow, a little too tired now..
as for the debugging, there is a method called DebugError(), if you just want to print out some debug strings, tables and such have to be converted to strings though
edit: nevermind, it's updated :)

User avatar
NZ-Wanderer
Posts: 1464
Joined: Thu, 5. Aug 04, 01:57

Post by NZ-Wanderer » Sat, 13. Sep 14, 02:27

Looks interesting, thanks for doing it :)

Sparky Sparkycorp
Moderator (English)
Moderator (English)
Posts: 7036
Joined: Tue, 30. Mar 04, 12:28

Post by Sparky Sparkycorp » Sat, 13. Sep 14, 09:40

Phipsz wrote: edit: nevermind, it's updated :)
Wow, that is very cool - thank you very much :)

Hotmail1987
Posts: 5
Joined: Fri, 13. May 11, 02:52

Post by Hotmail1987 » Thu, 4. Dec 14, 20:14

Mod does not work in the version 3,0 b6.

Phipsz
Posts: 205
Joined: Mon, 23. Apr 12, 23:56

Post by Phipsz » Sun, 7. Dec 14, 02:42

should be fixed now for beta. if I broke it for any non-beta users, complain here. I need to know to fix :)

Ronkhar
Posts: 10
Joined: Sat, 21. Apr 12, 17:03

Post by Ronkhar » Thu, 5. Feb 15, 12:05

Hello :)
Until 3.1, your mod worked as a charm. (thanks a lot by the way, it really adds to immersion)
But unfortunately, since the 3.2 update, a bug has appeared.

Description
I can no longer remotely communicate with ship traders.

Steps I reproduced
- only this mod is active
- new game start as trader (omicron, devoid clime, keen chant)
- fly to zone eternal dawn

Choice a) open remote communication with capital ship trader (F1, 5, 6, 1)
Consequence the game becomes partially unresponsive.
Log from uidata.xml

Code: Select all

["message"]="Error: Error while executing onEvent script for event: showRemoteNPCsMenu.\
Errormessage: [string \"ui/addons/ego_detailmonitor/menu_remotenpcs.lua\"]:437: attempt to index a nil value",
["timestamp"]=1423128065.000000,},
Choice b) open remote communication with a small ship trader (F1,5,6,2)
Consequence the panel opens, but the selected line is the first

Choice c) open a remote communication with any other trader
Consequence the behaviour is good, as before.[/b]
X Rebirth 3.20 + Capital ship bridge + Enhanced money transfer + Mission Computer + Safe trading + Show balance + Show me your faction + Show skills + trying to help repair logistics

Phipsz
Posts: 205
Joined: Mon, 23. Apr 12, 23:56

Post by Phipsz » Thu, 5. Feb 15, 20:33

Thanks for the info, also nice report, makes the modders life easier :) although only thing I now did to update was the same procedure as every time with this mod... decompile the original script and run a diff to my version. everything that is different and is not part of my modification of the original menu is changed to the new version.

it should be fixed now :)

w.evans
Posts: 2954
Joined: Tue, 18. Nov 14, 17:23

Post by w.evans » Mon, 11. Dec 17, 01:28

i think this mod is indispensable, so i quickly updated it to be compatible with XR 4.3. Should work with latest XRVR as well.

Link posted here with Phipsz' permission:

http://s000.tinyupload.com/?file_id=820 ... 8099235865

Note: i placed it in a separate directory so as to leave the original mod folder undisturbed. You should be able to just extract the download into your extensions folder and deactivate the original mod using the in-game Extensions menu.

Phipsz
Posts: 205
Joined: Mon, 23. Apr 12, 23:56

Post by Phipsz » Thu, 19. Apr 18, 22:55

Thanks to w.evans for posting the fix here, I finally got time to fix my pc and update the mod at the workshop

Post Reply

Return to “X Rebirth - Scripts and Modding”