|
|
 |
View previous topic :: View next topic |
 |
|
|
|
|
Author |
Message |
|
|
|
|
|
Serial Kicked

Joined: 12 Aug 2005 Posts: 3470 on topic Location: France

 |
Posted: Thu, 10. Dec 09, 01:38 Post subject: [LIBRARY] ECS: Extended Communication System 2.5 [2009-12-10] |
|
|
--------------
Important Note: This is a library aimed to be used by other scripters. If you are an user there's no point in downloading this.
--------------
ECS: Extended Communication System
ECS is a library that can be used by any script or plugin. It is intended to be easy to use and implement. It includes several functions to add the following features to your scripts without efforts:
+ An easy to use and configure News System (much like the old X2/X3R BBS, but better)
+ Various commands to display windows looking like standard communication dialogs
+ The ability to link one of your scripts to the ECS keyboard shortcut
ECS source code is heavily commented, so you should give it a look to get yourself familiarized with it. However it's not really necessary, reading the documentation should be enough.A demo script is also included, be sure to give a look at it to see how things should work here.
ECS 2.5 has been used by the Pirate Guild, Yaki Armada, Anarkis Defense System and Military Base Response revamp AL Plugins for X3TC to handle communications between the player and other objects. The previous 1.0 version was used in X3 Reunion by various scripts and plugins. By itself, ECS is perfectly stable when used correctly. It has no known bug or compatibility issues.
- Download ZIP Archive
Also, you can look at the online Online Documentation (also included in the archive)
The News System
Instead of sending popup after popup to the player to inform him about a sector changing hand (sector takeover scripts and plugins) or that a new mission is available somewhere or that a Xenon invasion is going on in a sector. Why not use a news system that the player can see whenever he wants, or whenever you want, according to your needs? This system, even if called "News" system, but it can be used for any kind of logging action.
Here's a screenshot taken from Pirate Guild:
ECS Keyboard Shortcut
As ECS was initially a script used to handle comms (and it still mostly is) an hotkey system was included, so that several scripts can share the same hotkey to handle communication with different factions. But it can be used for other purposes. Basically it allows you to call the script of your choice when the player targets an object that fills the parameters you've used in the registration procedure and press the ECS hotkey.
Custom Communication Dialogs
ECS also allows you to easily display dialogs that looks like the standard X3 communication dialogs. They feature the video usually displayed next to the message and optional sound sample. Here's a sample screenshot of what you will get using these commands:

_________________ Pirate Guild 3 - Yaki Armada 2 - Anarkis Defense System
Anarkis Federation HQ - Includes news, releases and a development wiki.
Last edited by Serial Kicked on Thu, 5. Aug 10, 10:03; edited 3 times in total |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Serial Kicked

Joined: 12 Aug 2005 Posts: 3470 on topic Location: France

|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Gazz Moderator (Script&Mod)


Joined: 13 Jan 2006 Posts: 12152 on topic Location: Bavaria

|
Posted: Thu, 10. Dec 09, 09:30 Post subject: |
|
|
Small suggestion:
Actors reporting from unknown sectors are always annoying.
The NICE script displays something like
Unknown Sector (near Mines of Fortune)
It simply tracks to the nearest known sector so the player has a clue whereabouts the message is from.
Should probably expand this to
Unknown Sector (2 near Mines of Fortune)
to show how many sectors it is from there. TC has some chains of US.
The code isn't that tricky (only 1 loop I think...) and you're welcome to it.
_________________ My complete script download page. . . . . . Xai-Corp MSCI List is scripter's friend. I AM THE LAW!
Dogs and colour blindness explained: People with green eyes can't see dogs. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Robert Foster

Joined: 02 May 2007 Posts: 471 on topic Location: Tanis Planet

|
Posted: Thu, 10. Dec 09, 10:12 Post subject: |
|
|
this is cool and all,
I just don't like the part where now "Mob Bosses" are in this universe.
I am not playing a Mob game.
Hence the example in this picture.
http://blackagenda.hostzi.com/screens/pgscreen6.jpg
_________________ I Am Currently Playing ( TRANSCEND-II )
I am a Asteroid Miner and I love to Mine - Brine, Nividium, Oil, Tellurium, Plutonium, Tridium, Metal, Tritanium and Gallium Crystals.
Proud owner of Protools|HD3 system. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
joelR

Joined: 09 Jul 2007 Posts: 1881 on topic Location: Seattle

|
Posted: Thu, 10. Dec 09, 17:00 Post subject: |
|
|
huh?
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Gazz Moderator (Script&Mod)


Joined: 13 Jan 2006 Posts: 12152 on topic Location: Bavaria

|
Posted: Thu, 10. Dec 09, 17:22 Post subject: |
|
|
This. Is. A. Library.
It's not a script to "play". No mob bosses. No ships. No nothing.
_________________ My complete script download page. . . . . . Xai-Corp MSCI List is scripter's friend. I AM THE LAW!
Dogs and colour blindness explained: People with green eyes can't see dogs. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
yospanky

Joined: 18 Aug 2006
|
Posted: Thu, 10. Dec 09, 19:57 Post subject: |
|
|
outstanding
_________________ Lakers 2009 CHAMPIONS!!!! |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Robert Foster

Joined: 02 May 2007 Posts: 471 on topic Location: Tanis Planet

|
Posted: Thu, 10. Dec 09, 23:26 Post subject: |
|
|
In the picture I provided, it says from "Bright Profit Mob Boss"
http://blackagenda.hostzi.com/screens/pgscreen6.jpg
this is why I mentioned it.
If there is none, then its all cool then.
_________________ I Am Currently Playing ( TRANSCEND-II )
I am a Asteroid Miner and I love to Mine - Brine, Nividium, Oil, Tellurium, Plutonium, Tridium, Metal, Tritanium and Gallium Crystals.
Proud owner of Protools|HD3 system. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Serial Kicked

Joined: 12 Aug 2005 Posts: 3470 on topic Location: France

|
Posted: Fri, 11. Dec 09, 06:11 Post subject: |
|
|
@Gazz:
Indeed a good idea. I'm pretty sure i even did this kind of code in PG2 for X3R, but forgot to put it back in the X3TC releases. Thanks, will do.
I won't be able to do anything about the article's "content", this is the scripter's business, not mine. But however, the "From" part (like Pirate Base(Unknown Sector)) could still be parsed by ECS. I'll include this in next release.
@Robert Foster:
The screenshots come from my Pirate Guild plugin, which includes mob bosses and other things. ECS is a library used by PG, and probably all the other plugins i'll write.
Like i said:
| Quote: |
| This is a library aimed to be used by other scripters. If you are an user there's no point in downloading this. |
_________________ Pirate Guild 3 - Yaki Armada 2 - Anarkis Defense System
Anarkis Federation HQ - Includes news, releases and a development wiki. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Robert Foster

Joined: 02 May 2007 Posts: 471 on topic Location: Tanis Planet

|
Posted: Fri, 11. Dec 09, 07:42 Post subject: |
|
|
Ok, cool my bad then.
_________________ I Am Currently Playing ( TRANSCEND-II )
I am a Asteroid Miner and I love to Mine - Brine, Nividium, Oil, Tellurium, Plutonium, Tridium, Metal, Tritanium and Gallium Crystals.
Proud owner of Protools|HD3 system. |
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Gofuno
Joined: 05 Aug 2010
|
Posted: Thu, 5. Aug 10, 08:48 Post subject: |
|
|
I can't download this script
Is it only my problem? Will it be fixd soon?
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Serial Kicked

Joined: 12 Aug 2005 Posts: 3470 on topic Location: France

|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
utops
Joined: 19 Sep 2010
|
Posted: Sun, 19. Sep 10, 12:19 Post subject: |
|
|
M8,the server is not responding, it's dead.
Can you do something with this?
I need this for Military Base Response revamp.
Thx.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
Catra
Joined: 12 Oct 2009
|
Posted: Sun, 19. Sep 10, 20:59 Post subject: |
|
|
| utops wrote: |
M8,the server is not responding, it's dead.
Can you do something with this?
I need this for Military Base Response revamp.
Thx. |
its workin fine for me. try again.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
MegaBurn
Joined: 30 Jan 2006 Posts: 204 on topic Location: Lost in the woods!

|
Posted: Wed, 29. Sep 10, 01:46 Post subject: |
|
|
Server might have issues. Downloaded three times, two with Firefox were too small at ~198kb. Third time with wget it ended prematurely at about 198kb but continued fine and tested ok.
|
|
|
|
|
|
|
Back to top |
|
|
|
 |
|
|
|
|
|
|
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
 |
|
|
|
|
|