[SCR] The Galactic News System (BBS 2.0) (V.105)

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

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

User avatar
Trickmov
Posts: 1431
Joined: Wed, 7. Nov 07, 19:48
x3tc

Post by Trickmov » Mon, 24. May 10, 12:10

Updated to version 1.03:

GNS v1.03

Change log:

- added a small double check for add.news-script. (Fixes a rare bug that could show up in earlier versions of the GNS. In the earlier versions, when including an article twice (with the same id) it was included in the news list twice, without a double check. Now, the second inclusion doesn't happen any more. This was only relevant for the MD-side, as the SE-side uses a command which already had this check)

- added new functionality: Some variables inside articles (not the titles!) which are added to the GNS will become replaced automatically by other content. For instance the variable $PLAYERNAME$ will be replaced by the name of the player. There are plenty of variables, all documented in the manual.

This function makes it easy to generate static articles, which change from one showing to the next.



Additionally we want to mention that one of our MD-scripters, Jens Ka, has written a MD-lib for use with the GNS. This can be downloaded here. By using this lib, the inclusion of new articles for missions is easier than by run_script.

User avatar
Locksley
Posts: 371
Joined: Fri, 18. Mar 05, 16:26
x3tc

Post by Locksley » Mon, 24. May 10, 12:17

This is great news (get it? news... :roll: )

I have grand plans for X3TC. In fact they are so grand they will never come to fruitfulness, but hopefully I will learn something along the way at least.

Cheers!
Projects:
Onhold..... time time....

Requiemfang
Posts: 3206
Joined: Thu, 16. Jul 09, 12:24
x4

Post by Requiemfang » Mon, 24. May 10, 13:22

SPK pack :roll:

link removed

first time I've done such a thing... so don't complain if it says 1.02 version... I guess this will do until someone more professional ups a new SPK pack to the OP

Edit: removed the link... I screwed up :oops: guess we'll wait until someone more professional does a SPK pack :roll:

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

Post by enenra » Tue, 25. May 10, 12:05

OP updated with the new information and version. :)

Strategist
Posts: 103
Joined: Wed, 6. May 09, 00:44
x4

Post by Strategist » Mon, 28. Jun 10, 14:28

Is there any to package this into a spk file?

User avatar
Aragon Speed
Posts: 818
Joined: Sat, 10. Dec 05, 13:30
x4

Post by Aragon Speed » Mon, 28. Jun 10, 14:45

Here is an SPK for the 1.03 version of the GNS.

I have just this second banged this together, so it is untested. Also the manual is not included as I couldn't see a way of adding a .pdf.

GNS 1.03 spk

User avatar
Joubarbe
Posts: 4796
Joined: Tue, 31. Oct 06, 12:11
xr

Post by Joubarbe » Thu, 16. Dec 10, 19:44

When I try to open the GNS, I only hear a buzz sound and nothing more happens. I'm running X3 3.0.

User avatar
Trickmov
Posts: 1431
Joined: Wed, 7. Nov 07, 19:48
x3tc

Post by Trickmov » Thu, 16. Dec 10, 20:05

Did it work first, or existed this issue directly after install?

User avatar
Joubarbe
Posts: 4796
Joined: Tue, 31. Oct 06, 12:11
xr

Post by Joubarbe » Thu, 16. Dec 10, 23:17

Directly after, it never worked.

User avatar
Trickmov
Posts: 1431
Joined: Wed, 7. Nov 07, 19:48
x3tc

Post by Trickmov » Fri, 17. Dec 10, 10:49

Sorry, I can't help you with this issue.
Try using the uninstall-script from the ScriptEditor, save and reload - if this doesn't fix the problem, it's definatly on your side, as we are using the GNS in XTC and it was used and tested over and over and never an issue like this occured.

Commander Kat
Posts: 176
Joined: Sat, 7. Feb 09, 20:53
x3

Post by Commander Kat » Mon, 10. Jan 11, 15:52

HI all...

This is from the MBR mod page : Integration with XTC team's Galactic News System (optional, enabled by default).

Open the Galactic News System to see the latest news on all conflicts across the galaxy. The timeout period for articles can be set in the config menu (default is 15 mins - set to 0 or less to disable). All news is timestamped, so you know how fresh the info is.

this is awesome for seeing where the action is at, and hard to live without, however since i uninstalled MBR to use RRF the conflicts news seems to of stalled and nothing new is showing up... the old reports are there and the normal news articles show up and renew just fine,what i wanted to know is that is the conflicts news only active when using MBR ??? or can/should/is there a way to get it to work without having MBR installed ?????

thanks for your time.

Kat
Q9550 2.83Ghz @ 3.4Ghz - 1600Mhz FSB
4GB corsair domi P2-8500/1066 DHX + Domi Fan
XFX6970 2GB 5500/880 + LG-Flattron W2453TQ

User avatar
Trickmov
Posts: 1431
Joined: Wed, 7. Nov 07, 19:48
x3tc

Post by Trickmov » Mon, 10. Jan 11, 16:28

Well, I can't say anything about MBR - but I would assume, that MBR includes those articles and that they are no standalones... meaning, no MBR no dynamic articles... but better ask in the MBR-thread for that.

Commander Kat
Posts: 176
Joined: Sat, 7. Feb 09, 20:53
x3

Post by Commander Kat » Mon, 10. Jan 11, 16:41

ummm yeah... i suppect they are connected to the bases as they are the ones that report the intel on battles across the verse, i wonder if there is a way to port the files/scripts that make it work or to get mbr and rff to work together but turn off all mbr options but the intel reports.

ok i'l do some more digging.

thanks.
Q9550 2.83Ghz @ 3.4Ghz - 1600Mhz FSB
4GB corsair domi P2-8500/1066 DHX + Domi Fan
XFX6970 2GB 5500/880 + LG-Flattron W2453TQ

xuerebx
Posts: 232
Joined: Fri, 30. May 08, 07:22

Post by xuerebx » Mon, 20. Jun 11, 15:57

Hey,

Should the script folder's contents override the contents of the script folder in the installation directory? If there is anything to be overridden..

I ask this because I put the contents of the script folder of the mod in the script folder in the TC directory, and the "t" folder in the TC directory.

However, I can't find any hotkey options in the controls menu in-game. I can't find any "newspaper" option to assign a hotkey to.

Thanks.

EDIT: http://forum.egosoft.com/viewtopic.php?t=292291

Well, I basically did as that thread directed I guess.
Currently Surviving in the X Universe

User avatar
Trickmov
Posts: 1431
Joined: Wed, 7. Nov 07, 19:48
x3tc

Post by Trickmov » Mon, 20. Jun 11, 23:12

Probably just an installation error - if there is setup.plugin.news in the scripts-folder, there should also be the hotkey in the game available.

xuerebx
Posts: 232
Joined: Fri, 30. May 08, 07:22

Post by xuerebx » Mon, 20. Jun 11, 23:21

It is there in my folder. What's the hotkey's name in the controls, and in which section is it? (game, interface etc)

So I can pinpoint it. Thanks.
Currently Surviving in the X Universe

User avatar
Trickmov
Posts: 1431
Joined: Wed, 7. Nov 07, 19:48
x3tc

Post by Trickmov » Mon, 20. Jun 11, 23:25

"Connect to Galactic News Service" in Interface

xuerebx
Posts: 232
Joined: Fri, 30. May 08, 07:22

Post by xuerebx » Mon, 20. Jun 11, 23:25

Ah I found it! Thank you. :)
Currently Surviving in the X Universe

User avatar
Trickmov
Posts: 1431
Joined: Wed, 7. Nov 07, 19:48
x3tc

Post by Trickmov » Fri, 23. Sep 11, 14:15

Update to version 1.05:

GNS v1.05

Change log:

v1.04:
- removed the beep when opening the menu - useful, when the GNS should be opened by another task instead of the hotkey

v1.05:
- fixed a critical bug, which could occur, when the player didn't open the GNS for a long time. More and more dynamic articles got added to a list, leading to a freeze and severe lagging, when the player didn't open it early enough. This never occured in the Vanilla-version, though - there are no such dynamic articles included.

User avatar
joelR
Posts: 2008
Joined: Mon, 9. Jul 07, 23:33
x3tc

Post by joelR » Fri, 23. Sep 11, 14:37

Trickmov wrote:Update to version 1.05:

GNS v1.05

Change log:

v1.04:
- removed the beep when opening the menu - useful, when the GNS should be opened by another task instead of the hotkey

v1.05:
- fixed a critical bug, which could occur, when the player didn't open the GNS for a long time. More and more dynamic articles got added to a list, leading to a freeze and severe lagging, when the player didn't open it early enough. This never occured in the Vanilla-version, though - there are no such dynamic articles included.
Thanks!

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”