[MOD] NESA - Never Enter Stations Again (V0.9.2 Beta, 2nd Apr 2014)

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

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

User avatar
enenra
Posts: 7150
Joined: Fri, 8. Apr 05, 19:09
x4

Post by enenra »

Mad_Joker wrote:
Gazz wrote:Basically you want a format like this

[url = http://url.image ] [ img] http://url.thumbnail [ /img] [ /url]
I tried that, but that simply screws up the pics and links. At least when I submit the post. While previewing this looks perfect.
You could just quickly create an imgur gallery: http://www.imgur.com - IMO the best free picture hoster. Simple and no bull. Example with your pictures: http://imgur.com/a/UzkHQ
Hiper-Boy
Posts: 52
Joined: Sat, 28. Nov 09, 22:44
x3ap

Post by Hiper-Boy »

Wow, just wow. I am loving this, very nice.

Looks like when hitting 3/3 the game tried to get all of the NPCs on the list, which I love by the way.

I don't need to go to a specific station, I just hit 3/3 and brows all the NPC option, if I don't like the choices I exit out one and then hit 3 again and get what I want.

[REQUEST]
I want to ask you to at least consider keeping the way it is now, I don't mind going station to station with this mod, but getting all the NPCs within the sector is just awesome, quick, and why not?
Why should you not be able to get a list of all the NPCs within the sector and talk to them, why would you need to go to a station?

The way it is now, is perfect.
Mad_Joker
Posts: 274
Joined: Sun, 14. May 06, 11:21
x3

Post by Mad_Joker »

Azalrion wrote:Mad_Joker, hope you don't mind got an update you might be interested in:

https://dl.dropboxusercontent.com/u/30584379/NESA.rar

It cleans the code up slightly (just some duplicate variables and lists that weren't needed), fixes it so that you can now scroll through all the actors on the station using more like you originally intended and possibly fixes the random dock location (although I think that might just have been the problem with not showing all the actors not actually random docks).
Hi Azalrion, could it be that you uploaded the wrong file? The MainMenu.xml in the archive you linked is identical to mine, just the indentation is changed.

And yeah, I forgot to remove some junk code from the file.

On a sidenote, the find_station tag is really returning random stations, even if I use multiple="true". Right now I am trying to just accumulate all the actors from all found stations and make one big list, which will be sorted on the NPC type. However, even though I am not moving at all the list of actors is constantly fluctuating. I'll probably switch to another method to get the actors.
MegaJohnny wrote:
stk25 wrote:Great work! Working fine here, thanks for making the game much less painful to play :D
I have one suggestion though, "Talk directly to NPC" looks awkward there, maybe change it to "Open comm-link" or something similar?
Anyway again good work, looking forward to more from you :wink:
If you go into NESA/t and open 0001-L044.xml, you can change the text. On line 5, by default:

Code: Select all

<t id="1">Talk remotely to NPC</t>
Change to:

Code: Select all

<t id="1">Open Comm Link</t>
Or similar. I don't know jack about modding, so of course tell me if I'm spreading misinformation. :)
Thanks, I will change the text.
Last edited by Mad_Joker on Sun, 17. Nov 13, 21:17, edited 1 time in total.
User avatar
vanzi
Posts: 11
Joined: Wed, 13. Nov 13, 17:44

Post by vanzi »

Telkorenar wrote:Wonderful. It took a modder less than a day to figure out what the entire company of Egosoft couldn't do in seven years.

Well done, sir!
This. So much this.

Thanks!
Deleted User

Post by Deleted User »

For the German version please use:

Code: Select all

<t id="1">Kommunikationskanal öffnen</t>
Cheers, great work!
User avatar
Sheik
Posts: 31
Joined: Wed, 3. Mar 10, 16:18
x3tc

Post by Sheik »

*brofist*

Thank you dude. 8)
Wer nicht mehr liebt und nicht mehr irrt, der lasse sich begraben.
User avatar
enenra
Posts: 7150
Joined: Fri, 8. Apr 05, 19:09
x4

Post by enenra »

One quick thing to promote Nexus useage, how about we use something like this to link to the nexus page?

[ external image ]

It's something I quickly whipped together. Lame, yes, but functional for now.
Seidr
Posts: 13
Joined: Thu, 14. Nov 13, 19:38

Post by Seidr »

Oh. My. God. Thank you! :)
socros
Posts: 43
Joined: Thu, 27. Aug 09, 22:16
x4

Post by socros »

Good, thank for the work

I do a french files for t folder, 0001-L033 for french
<?xml version="1.0" encoding="UTF-8"?>
<diff>
<add sel="/language">
<page id="99999" title="NESA" descr="Text for NESA mod." voice="no">
<t id="1">Contacter PNJ</t>
</page>
</add>
</diff>
Last edited by socros on Sun, 17. Nov 13, 22:15, edited 1 time in total.
Saquavin
Posts: 486
Joined: Thu, 22. Aug 13, 17:12
xr

Post by Saquavin »

socros wrote: I do a french files for t folder
So it's "Contacter PNJ" (NPC in french) ;)
socros
Posts: 43
Joined: Thu, 27. Aug 09, 22:16
x4

Post by socros »

yes of Course :) I edit my post

Does he will make more sense to offer this option on the menu station where was the amarage button?
Mad_Joker
Posts: 274
Joined: Sun, 14. May 06, 11:21
x3

Post by Mad_Joker »

socros wrote:yes of Course :) I edit my post

Does he will make more sense to offer this option on the menu station where was the amarage button?
Sadly I don't really understand the question :?:

Anyways, thanks for the French translation, I will use that. Can you maybe also provide a short description of the mod in French (to use in content.xml which will be seen in the Extensions menu by players)?

On a sidenote:

I am making good progress on getting the list to be stable. One of the problems was that I was near more than 1 station, so right now I am looping over all stations, then all docks, then all actors, I find the "commable" ones, and do an insertion sort on the NPC type name. However, this leads to the list of NPCs being huge. So I am thinking I should either limit the distance for which to find items (which will require me to figure out first how to do that :D ), or I will simply filter the list to show only one of each type of NPC, but that would suck since you might want to see more than just one pilot, engineer etc.

Of course, the optimal solution would be a scrollable list in the details monitor, but right now I am far away from really modding the UI.

That's it for the update. I will probably not publish the new version today, but tomorrow evening after work.
nourse
Posts: 6
Joined: Fri, 30. Apr 04, 21:08
x3tc

Post by nourse »

Mad_Joker wrote: Can you maybe also provide a short description of the mod in French (to use in content.xml which will be seen in the Extensions menu by players)?
For french translation in the content.xml put this:

Code: Select all

<text language="33" name="Ne plus jamais devoir entrer dans les stations" description="Ajoute une option au menu Univers pour parler à distance aux NPCs." author="Mad_Joker" />
On a side note, Mad_Joker you are a true heroe :wink:
socros
Posts: 43
Joined: Thu, 27. Aug 09, 22:16
x4

Post by socros »

For a mod name in content.xml, no french translate I believe.

sorry Mad_Joker for my english.
I mean why use universe menu and not station menu ?
CaptainRAVE
Posts: 434
Joined: Thu, 23. Oct 03, 20:55
x4

Post by CaptainRAVE »

You sir, are a legend.

This is why the X modding community is the best around, very impressive.
Privata
Posts: 723
Joined: Mon, 19. Dec 11, 22:59
x4

Post by Privata »

this mod is very good.
you see I like to explore the stations for roll play but dont realy like to talk much.
with this it kind of ads a level or realism.
kudos
Mad_Joker
Posts: 274
Joined: Sun, 14. May 06, 11:21
x3

Post by Mad_Joker »

I have just uploaded version 0.2. It mostly adds lots and lots more NPCs to the list (where I test I have 135). I'm not sure yet if I like this, but for now it will suffice.

And thanks to you all. Your appreciation of this mod is very much appreciated in turn as well :D
socros wrote:For a mod name in content.xml, no french translate I believe.

sorry Mad_Joker for my english.
I mean why use universe menu and not station menu ?
To be honest I have just picked a menu at random. I might change it in the future, but for now I had other priorities.
miraculix250
Posts: 14
Joined: Sat, 16. Nov 13, 14:51
x4

Post by miraculix250 »

Nice mods, thanks alot for this one :)

While it still holds some financial advantages to actually doc to the stations and smalltalk to the NPC for discounts its still possible to skip that part and do it via comm. It's up to you what you wanna do in a specific situation.

Thanks
Halconnen
Posts: 831
Joined: Sun, 22. Feb 04, 12:55
x3tc

Post by Halconnen »

Maybe populate the list just from all docks of the closest station, instead of all docks in the zone?

The latter seems a) almost too good and b) a bit unwieldy as far as list size is concerned.
MutantDwarf
Posts: 716
Joined: Tue, 20. Jun 06, 02:29
x4

Post by MutantDwarf »

Try using 'match_distance' to make it only take NPCs from a docking station nearby, rather than from the entire sector.

I think it should work something like this:

<find_station name="$NESA_Stations" space="player.zone" known="true" multiple="true" comment="Find the nearest stations!">
<match_distance object="player.entity" max="1000m"/>
</find_station>

That should find only stations within 1000 meters.

EDIT: And yet it doesn't. Hrm. Maybe there's a reason matchdistance isn't used in any default scripts at all:/

EDIT2: It does work, I just missed that it requires an underscore even though it doesn't include one in the schema file.

I'd recommend adding that to the dock search, too, so it only pulls from a single dock - otherwise, your list is pretty long.

EDIT3: OK, it genuinely doesn't work on docks. Hrm. Not sure how to make it pull only from the closest dock...
Last edited by MutantDwarf on Mon, 18. Nov 13, 00:50, edited 3 times in total.

Return to “X Rebirth - Scripts and Modding”