Is there a way to...

The place to discuss scripting and game modifications for X²: The Threat.

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

RazorJak
Posts: 3
Joined: Sat, 17. Jan 04, 09:43
x3

Is there a way to...

Post by RazorJak »

rename a ship using a script?

Here's what I'm trying to do. I've been looking at the TCEMK3 scripts, and I think an easy way to keep track of what level your merchant fleet ships have reached would be to modify the script so it renames the ships, ship name + Level # when they hit the 50,000 credit mark and gain a level.

Unfortunately, I'm new to the X2 scripting and I still haven't figured out how/if this is possible. Anyone have any ideas or help?
User avatar
_nox_
Posts: 245
Joined: Tue, 3. Feb 04, 09:52
x4

Post by _nox_ »

I'm looking - that's a good question. I need this too, and haven't found it.
No good deed goes unpunished.
RazorJak
Posts: 3
Joined: Sat, 17. Jan 04, 09:43
x3

Post by RazorJak »

Even if the capability isn't in the scripting engine right now, hopefully we'll see it in a future patch. Hint!

Another handy example... checking your property list and seeing the words - Hull Damaged next to the ship's name. Now wouldn't that save some time and headaches?
harag9
Posts: 421
Joined: Tue, 4. Mar 03, 17:51
x2

Post by harag9 »

how do you know what level the ship with MK 3 is?

my ship made 80k on its first sector - reported back that it made 80k in 20ish runs... but no level was shown.

where is it show?

thanks

Al.
[ external image ]

AI for your every need. Station computers to advanced combat aids, AIML & X²ScE
Howlingmad
Posts: 1252
Joined: Wed, 6. Nov 02, 20:31
x3

Post by Howlingmad »

harag9 wrote:how do you know what level the ship with MK 3 is?

my ship made 80k on its first sector - reported back that it made 80k in 20ish runs... but no level was shown.

where is it show?

thanks

Al.
What sector was that? My sector trader keeps making one run and stopping. :evil: I've run it in all argon sectors and 5 boron sector to the same result. :x
What no sig or avatar. I wonder why?:(
RazorJak
Posts: 3
Joined: Sat, 17. Jan 04, 09:43
x3

Post by RazorJak »

how do you know what level the ship with MK 3 is?

The level isn't shown, that's what I'm trying to accomplish.

Every time your ship makes 50,000 credits, 1 unit of Salvage Insurance is added to the ship's cargo. This is the marker that keeps track of trader "experience". Currently the only way to know what level your ship is, is to manually keep track of how much it has made. The higher the ship's trader level, the more intelligent choices it will make regarding trades in the sector.

If I can modify the script to change the ship's name while it's running, you could just look at your property list and quickly see how each trader running the extension is doing. Instead of 'Manta Trader', I'd see 'Manta Trader Level 3' for example.

Still trying to find out how I can accomplish this in a script, if at all.

Return to “X²: The Threat - Scripts and Modding”