[SCR] [X3:TC] Teladi Information Service (v7.5) by ScRaT

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
ScRaT_GER
Posts: 1958
Joined: Tue, 8. Jan 08, 19:19
x3tc

[SCR] [X3:TC] Teladi Information Service (v7.5) by ScRaT

Post by ScRaT_GER » Sun, 12. Apr 09, 22:43

SCR: Teladi Information Service Deutscher Thread



The Teladi Information Service (T.I.S.) is a service provided by the Teladi Trade Organisations Department of Intelligence, which offers valuable information for a certain fee.
It can be bought in every Teladi Trade Station for about 150,000 credits.
The user can request information on every tradable ware and ship in the universe.

Description

Searching:

- for a ware returns a detailed list of stations buying and selling the ware. The list shows the stations stock and price, aswell as the distance in jumps.

- for a ship returns a complete list of ships in your universe, so you'll always know where rare ships are flying.

Costs:

Since nothing in this universe is for free, the player has to pay a certain fee for every search.

For wares this fee is 22 credits per sector; for ships the price is calculated as follows:

costs = shipclass-value/220 * amount of sectors

Shipclass-values:

M5 500 credits
M4 500 credits
M3 1,000 credits
M8 5,000 credits
M6 15,000 credits
M7 40,000 credits
M2 100,000 credits
M1 100,000 credits
TM 1,000 credits
TL  15,000 credits

Example: Searching for a M7 in 100 sectors costs 18,100 credits.

Notes for the shipfinder:

With version 7.5 I tried to balance the shipfinding part a bit.
Now, with a chance of about 10%, there will be a loss of reputation for the according race.

Additionally, the results do not display the exact position, but only approximate areas (1-4 sectors aways from the right sector).
Like this you still have to search for the ships, but you get a hint where they are.

Configuration:

Image

Under the General-Heading you can define, where to search. The possibilities are:

- Search all sectors
- Search sectors with objects owned by player
- Search known sectors

For searching wares the last possibility is recommended.
'Search sectors with objects owned by player' will reduce the overall cost for searching to a small fee of 100 credits.

Under the Warefinder-Heading you can define the search algorithm. The possibilites are:

- Universe
- Proximity

If 'Universe' is selected, the results are listed only regarding the price.
Else if 'Proximity' is selected, the distance to the playership will be considered.

Another feature here is the ship quick selection. Here you can define up to 5 ships of your choice, which you can later select in the warefinder.

Under the Shipfinder-Heading you can refresh the ship list. If you never do that, you will find many entries like UNDEFINED OBJECT, when you search for ships. However this option does not affect functionality.


Usage

The usage is self-explaining. Just hit the hotkey and the main menu opens.
If you run the T.I.S. for the first time, the configuration menu will open instead of the main menu.
You can navigate through all menus via 'ESC' or by using the menu items.
You can't open the T.I.S. twice - if you try, Betty will complain.

Pictures

ImageImageImageImageImage

Note: The texts in the pictures and the pictures themselves may be not up-to-date and are partially German, because I am too. =)

History

12.04.09: English release

Download

Teladi Information Service (v7.5)

Italian t-file by DannyD

In- and Uninstallation

To install, unpack the .rar-file into your X3:TC main directory. The SE needs to be activated.

The script does not use any command slots. It only installs the hotkey 'Open T.I.S.'.

To uninstall, run 'uninstall.plugin.tis' and delete all files belonging to this script.

Incompatibilities

Unfortunately the script is not compatible with the Bulk Transporter Upgrade by Al_Main, as it uses the same ware-slot.

Credits

Soot - for translating the t-file.
Everyone in the German S&M-Forum who helped me.


Feel free to criticize, submit bugs and translation mistakes or post ideas!

Greets,
ScRaT
Last edited by ScRaT_GER on Sat, 7. Jul 12, 11:17, edited 6 times in total.

User avatar
Locksley
Posts: 366
Joined: Fri, 18. Mar 05, 17:26
x3tc

Post by Locksley » Sun, 12. Apr 09, 22:52

Interesting 8)

And I do apriciate that it costs money - too many scripts bring you everything for free.

Downloading.

someone else
Posts: 2970
Joined: Sun, 18. Jun 06, 13:37
x3tc

Post by someone else » Mon, 13. Apr 09, 00:21

wooo! this looks nice! but it makes too easy to track down rare ships to cap imho.
where is the hyperion? 5 million creds spent! jump there with my capping fleet.
Where is the Tyr? 10 milion creds spent! jump there with my capping fleet.
It takes out the "hunt" part of the capping. It's like fishing with explosives: drop bomb, hit the button, load dead fish.

The trading part is way better, it's like an "advanced best buy/selling locator"
The traders around will love you!
Trade, Fight, Build, Think, Modify.
Ship Rebalance Mod
OOS Rebalance
Resized Aldrin Big Rock
SIDE/TOP/FRONT Ship Size Comparison
Remember young Padawan: money stolen can be, time cannot.

User avatar
ScRaT_GER
Posts: 1958
Joined: Tue, 8. Jan 08, 19:19
x3tc

Post by ScRaT_GER » Mon, 13. Apr 09, 11:11

@ someone else

When I first released the script in the german forum the prices where higher, but people complained, so I lowered them.
Maybe you could propose some prices?

Additionally I could add that searching for ships can lower your rank, because you are actually spying. Would this + higher prices balance the shipfinding part?

Greets,
ScRaT

russbo
Posts: 855
Joined: Sat, 12. Nov 05, 22:53
x4

Post by russbo » Mon, 13. Apr 09, 11:40

Impressive, I'm going ot have to start using this. Awesome idea.

User avatar
Locksley
Posts: 366
Joined: Fri, 18. Mar 05, 17:26
x3tc

Post by Locksley » Mon, 13. Apr 09, 11:53

ScRaT_GER wrote:@ someone else

When I first released the script in the german forum the prices where higher, but people complained, so I lowered them.
Maybe you could propose some prices?

Additionally I could add that searching for ships can lower your rank, because you are actually spying. Would this + higher prices balance the shipfinding part?

Greets,
ScRaT
Lowering Rank seems like a good idea - there ought to be more that lower your rank in game and it should make more of an impact (like your traders being blocked, problems buying equipment, lowly missions, your stations being attacked by races that hate you :P and so on - sorry, derailing a bit here...)

User avatar
ScRaT_GER
Posts: 1958
Joined: Tue, 8. Jan 08, 19:19
x3tc

Post by ScRaT_GER » Mon, 13. Apr 09, 14:54

Ok, I'll add that in the next version. But it might take a while.

When I looked at the code, I just saw a little bit of debug code I left in there.
It's line 70 in 'plugin.tis.findware.xml', which writes quite a bit into you logbook.
Same with line 217 in 'plugin.tis.findship.xml'.
You can delete those by yourself pressing 'del' or wait for the next version.
Sorry for that.

Greets,
ScRaT

someone else
Posts: 2970
Joined: Sun, 18. Jun 06, 13:37
x3tc

Post by someone else » Mon, 13. Apr 09, 22:29

ScRaT_GER wrote:@ someone else
When I first released the script in the german forum the prices where higher, but people complained, so I lowered them.
Maybe you could propose some prices?

Additionally I could add that searching for ships can lower your rank, because you are actually spying. Would this + higher prices balance the shipfinding part?
mmmh.. the prices are ok, if you give it insanely high prices it becomes useless (4 bilions to find a Hyperion? who has 4 bilions and still wants an Hyperion? not much players....)

Some rep loss is OK but I have a better idea.

I suggest to give approximate results:

Q:Where is an Hyperion?
(let's say it is now in Priest Refuge for this example)

A1: look in the sectors from Cardinal Domain to Perdition's End
A2: A Hyperion was spotted in Cadinal Domain 2 hours ago

This aids but still leaves some hunting to do. What do you think?
Trade, Fight, Build, Think, Modify.
Ship Rebalance Mod
OOS Rebalance
Resized Aldrin Big Rock
SIDE/TOP/FRONT Ship Size Comparison
Remember young Padawan: money stolen can be, time cannot.

rsjac
Posts: 10
Joined: Mon, 13. Apr 09, 02:42

Post by rsjac » Mon, 13. Apr 09, 23:54

I unpacked into my main directory, but what is the SE? I am new to this... any advice would be very welcome. Cheers

User avatar
ScRaT_GER
Posts: 1958
Joined: Tue, 8. Jan 08, 19:19
x3tc

Post by ScRaT_GER » Mon, 13. Apr 09, 23:54

I didn't want to raise the prices that much, only a bit.

However I like the idea of giving an approximate result.

It is not as easy to implement as a rep loss, however it should be possible.

The possibility to let a player ship follow the selected ship like a shadow would of course be out, but I never used that option myself anyway. =)

When I look at you answers I tend to A2, it is somehow more realistic.

So my plans now are:

- increasing prices slightly (M1/2 - 100k, M7 - 60k, M6 - 30k, etc.)
- small chance for a rep loss, because of spying on delicate military issues (10% ?)
- approximate results (random accuracy, from 0-4 sectors,)

I hope this balances the shipfinding part adequately.

Greets,
ScRaT

EDIT:

@rsjac

The 'SE' is the Script Editor.
It can be activated by naming yourself (ingame :wink: ) "Thereshallbewings". If everything went alright, your name should change to the one you had before.
Now save and load the game once and the hotkey should appear in the control menu.
Alternatively look here.

someone else
Posts: 2970
Joined: Sun, 18. Jun 06, 13:37
x3tc

Post by someone else » Tue, 14. Apr 09, 10:38

good! now sounds a lot less cheat.... thanks ScRaT_GER!! :D

can't wait to see it running!
Trade, Fight, Build, Think, Modify.
Ship Rebalance Mod
OOS Rebalance
Resized Aldrin Big Rock
SIDE/TOP/FRONT Ship Size Comparison
Remember young Padawan: money stolen can be, time cannot.

User avatar
ScRaT_GER
Posts: 1958
Joined: Tue, 8. Jan 08, 19:19
x3tc

Post by ScRaT_GER » Tue, 14. Apr 09, 23:29

So, the new version is uploaded.

I hope the shipfindig part is now more balanced.

The measures were:

- increasing prices (see first post)
- chance of losing reputation (about 10%)
- only approximate results

I also added a ship quick selection to the warefinding part.
The quick selection list can be defined in the config-menu.

One question:

When you are caught spying, you'll get the following message:

Code: Select all

You were just convicted of espionage. Your reputation to our race has suffered. Expect consequences, if this behaviour recurs.
Does anyone have a more convincing wording?

Greets,
ScRaT

pelador
Posts: 1230
Joined: Wed, 6. Nov 02, 21:31
x3tc

Post by pelador » Tue, 14. Apr 09, 23:36

Suggestions:

"Your inquiring/investigative/scanning activites have not gone unnoticed. Continued inquiries into our fleet movements will be looked upon with disdain and possible action taken as a result"

or

"keep your nose out, pilot" - :wink:

User avatar
ScRaT_GER
Posts: 1958
Joined: Tue, 8. Jan 08, 19:19
x3tc

Post by ScRaT_GER » Wed, 15. Apr 09, 14:14

Sounds great!
Maybe I could add a specific text for each race.

Code: Select all

"Your inquiring/investigative/scanning activites have not gone unnoticed. Continued inquiries into our fleet movements will be looked upon with disdain and possible action taken as a result"
This text could be for the argons/terrans.

The split would sound much more aggressive, the boron more peaceful, etc.
For the german version I already prepared some texts. If you have good ideas, feel free to post them.

One Question:

Should stations, you are not allowed to dock at, be filtered out?
So, if you are in war with the split, no split station would appear in the lists?

Greets,
ScRaT

pelador
Posts: 1230
Joined: Wed, 6. Nov 02, 21:31
x3tc

Post by pelador » Wed, 29. Apr 09, 01:12

ScRaT_GER wrote:Sounds great!
Maybe I could add a specific text for each race.

Code: Select all

"Your inquiring/investigative/scanning activites have not gone unnoticed. Continued inquiries into our fleet movements will be looked upon with disdain and possible action taken as a result"
This text could be for the argons/terrans.

The split would sound much more aggressive, the boron more peaceful, etc.
For the german version I already prepared some texts. If you have good ideas, feel free to post them.
Split - "Split say we nots like you snooping. Does it more we send fast remedy"

Paranid - "Your insignificant mind does not deserve such knowledge. Desist inquires or feel the judgement of the third eye".

Teladi - "Stop scanning our ships, or pay for the information. Else we shall seek our own compensation"


Boron/Goner - Might be interesting to not allow them to be concerned about the process.

Others (Yaki, Dukes, pirates, Xenon, Khaak) - probably dont put much faith into negociations, so maybe dont send a message and leave responce/retaliation to be unknown.
One Question:

Should stations, you are not allowed to dock at, be filtered out?
So, if you are in war with the split, no split station would appear in the lists?

Greets,
ScRaT
Yes, but I would use station specific settings for relations rather than global ones. To accomodate hacks and accidents etc.

Post Reply

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