[SCRIPT: Upd 09/02] Rename ships with Expression 1.7 (RSwE) New links

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

Theutus
Posts: 15
Joined: Sat, 14. Mar 09, 22:27
x3tc

Post by Theutus » Tue, 19. Oct 10, 14:04

I love this! Please excuse my ignorance, but I only see the option to rename sector/ universe when I access my property commands... where do I type in the specific identifiers like *TN etc...? I see no clipboard option. Thanks again, sorry for my newbieness!

Theutus
Posts: 15
Joined: Sat, 14. Mar 09, 22:27
x3tc

Post by Theutus » Wed, 20. Oct 10, 14:49

bah, I'm an idiot! I had the old version.

tamtam77
Posts: 31
Joined: Fri, 17. Apr 09, 09:21

Post by tamtam77 » Sun, 28. Nov 10, 21:37

Hi. I don't know if it is a bug.

I put an entry into clipboard

*CL *TN

and trying to rename the ship with call *Y1 , getting *CL *TN in my ships name.

tamtam77
Posts: 31
Joined: Fri, 17. Apr 09, 09:21

Post by tamtam77 » Mon, 29. Nov 10, 17:54

Script is Dead i guess. (

Mochida204
Posts: 6
Joined: Thu, 18. Nov 10, 08:01

Post by Mochida204 » Thu, 16. Dec 10, 22:08

I kinda fix the undefined $Wing bug in a dumb way
cause it seems empty strings are not allowed in script editor

and I'm interested in fix some bugs in this script (but I'm lazy lol)
what should I do to update this script???

btw, I'm rather new to both X3 and scripts :lol:

Medevel
Posts: 106
Joined: Thu, 17. Jun 04, 14:40
x3tc

Post by Medevel » Wed, 22. Dec 10, 11:14

Sorry Guys wasnt here for a long time.
Now I came back for X3TC 3.0 and still Loky didnt update his Scripts since ... well long ago :D.
So i looked into the Scripts and fixed some Bugs you can read them in the new Readme:

Readme: Link
Mirror: Link

With X3TC patch 3.1 the color bug was fixed so i recommend to upgrade to 3.1 from
http://www.egosoft.com/download/x3tc/patches_en.php
or your favourite site :D

BTW: Guys from Egosoft :thumb_up: BIG thanks :thumb_up:

--new version 1.7g 09/22/2011--

Folder : Link
Mirror : Link

if this link doesnt work here are the files extra

Spk: Link
Mirror: Link

7z: Link
Mirror: Link

and if you cant do anything with these files
Zip: Link
Mirror: Link

Have fun with renaming your fleet :D

Greetings Medevel
Last edited by Medevel on Thu, 22. Sep 11, 15:46, edited 10 times in total.

tamtam77
Posts: 31
Joined: Fri, 17. Apr 09, 09:21

Post by tamtam77 » Wed, 22. Dec 10, 12:40

Thank you soooo much!

Mochida204
Posts: 6
Joined: Thu, 18. Nov 10, 08:01

Post by Mochida204 » Sat, 25. Dec 10, 10:41

Great work!!! give another reason to be lazy XD

tamtam77
Posts: 31
Joined: Fri, 17. Apr 09, 09:21

Post by tamtam77 » Sat, 25. Dec 10, 11:13

Hi. Script became more buggy. I rename with exp: ( *CL ) - *TN - *NN (Sil to HUB) and == ( TS ) - Mistral Super - - 1 (Sil to HUB)1

Something like that. Last version without "a" was giving me an extra space before *NN.

h2o.Ava
Posts: 317
Joined: Sun, 12. Oct 08, 04:04
x3tc

Post by h2o.Ava » Sat, 25. Dec 10, 16:37

I've made a temporary fix for the blank messages bug.
Soon I'll have a better fix made into a library that converts the colors and sends colored messages/questions.

Medevel
Posts: 106
Joined: Thu, 17. Jun 04, 14:40
x3tc

Post by Medevel » Sat, 25. Dec 10, 16:53

@tamtam77 Thanks for pointing me into this error i fixed it directly today
above you can DL the version 1.7b

@h2o.AvA Thanks for that info i will look it up when i am back from my cristmas holidays. I am looking forward that your fix can solve the blank message bug from the original scripts.

Have nice Cristmas and a happy new year See You 2011
Medevel

h2o.Ava
Posts: 317
Joined: Sun, 12. Oct 08, 04:04
x3tc

Post by h2o.Ava » Sat, 25. Dec 10, 18:33

Sadly it isn't a fix we can implement.
It must be placed in the script sending the message.

Topchris
Posts: 17
Joined: Fri, 13. Jan 06, 15:17

Post by Topchris » Sun, 27. Feb 11, 14:55

Soo... this script is dead?

Medevel
Posts: 106
Joined: Thu, 17. Jun 04, 14:40
x3tc

Post by Medevel » Sun, 27. Feb 11, 15:28

I wont say its dead ,just unsupported and possible buggy :)
Yes it seems Loky isnt supporting the script atm, but that doesnt mean its dead.
The version i provided is working fine for me and since Egosoft fixed the color bug in patch X3TC 3.1, i experienced no bugs with colors anymore.
There is still some "null"-bugs but i am looking into it atm.

Like i said its working for me and i provided a download with my fixed version here or scroll some posts up 8).

Greetings Medevel

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

Post by joelR » Sun, 27. Feb 11, 16:41

Topchris wrote:Soo... this script is dead?
Not sure what you mean by "dead" it works just as intended for me. I cant tell you how happy it makes me to finally be able to color my ship/station names now that 3.1 fixes the coilor bug! And btw thanks Medevel for your "fixes"

Topchris
Posts: 17
Joined: Fri, 13. Jan 06, 15:17

Post by Topchris » Tue, 1. Mar 11, 02:54

THank you medevel :)

Medevel
Posts: 106
Joined: Thu, 17. Jun 04, 14:40
x3tc

Post by Medevel » Tue, 1. Mar 11, 16:45

Hey Guys updated today to version 1.7c :D
Fixes in this version:
  • - Fixed the null issue hopefully the last time :).
    - Fixed an issue with repeating text which was not intended.
    - Fixed an issue with the color in messages.
    -- since patch X3TC 3.1 fixed the whole color problem all messages where painted
    -- in the last used color, this was not visible prior patch X3TC 3.1.
    - Fixed some Formation Expressions (e.g *FL) which
    -- could not access the leaders name if the ship was not renamed with the
    -- script. Now it can access all Player-ships.
    - The Expressions-list still listed 2 expressions which where not uptodate:
    -- *PS -> *FS : Pilot Fight Skill
    -- *PM -> *PS : Pilot stats (Morale + Agression level)
As always you can download it from this post here

Greeting Medevel

glenmcd
Posts: 920
Joined: Sat, 16. Oct 10, 11:07
x3tc

Post by glenmcd » Sun, 6. Mar 11, 06:05

What a great idea. I got here from a search because I was wanting an easier way to check in on how full my Nividium rock-collecting ships were getting. In sector view, ships are sorted into alphabetical order. So I figured that if the current / recent cargospace remaining was in the name, that all I'd need to check is the top ship in the list and if it wasn't close to full then look no more. The transporter sorts in alphabetical order if multiple ships are in range, so this would work well for transferring from the ships that need it the most, whether it's Nividium or some other ware.

Medevel
Posts: 106
Joined: Thu, 17. Jun 04, 14:40
x3tc

Post by Medevel » Mon, 7. Mar 11, 10:15

hi glenmcd
this is a nice idea and it could be easily added.
But i have a few questions :

first should it show the current usage like '63% cargosspace used' or '27% cargospace free' or both with each in its own expression,

second should we use percent or units, or dynamic like above 1000 units 'percent' and below 1000 units we could use 'units'

third should there be some text like 'CS 27% free' or raw info like '27%'

greeting Medevel

glenmcd
Posts: 920
Joined: Sat, 16. Oct 10, 11:07
x3tc

Post by glenmcd » Mon, 7. Mar 11, 12:41

Medevel wrote:hi glenmcd
this is a nice idea and it could be easily added.
But i have a few questions :

first should it show the current usage like '63% cargosspace used' or '27% cargospace free' or both with each in its own expression,

second should we use percent or units, or dynamic like above 1000 units 'percent' and below 1000 units we could use 'units'

third should there be some text like 'CS 27% free' or raw info like '27%'

greeting Medevel
wow thanks for getting back to me so quick Medevel. Considering what you said, I'd much rather have all of them available. I prefer not to have static (forced) text added on either side of dynamic text, because it makes assumptions of its usage and context. One can always add static text but cannot remove it. I'd also like to be able to display the name of the predominant ware in the cargobay. If that happens to be say 6 x 25MJ Shields, then you know that your MSF is empty :-) If it shows a full cargobay of ECs, you know that's the ship you commanded to head to OTAS Shipyard for fuleing new MSFs. With TLs, it's critical to know which factory it's carrying, and when no factory, how many ECs remain. M8s may tell you how many missiles of some particular type remain. Your M3s might show you how much Energy Bolt Chaingun ammunition remains. And if no ammo then it may drop back to showing say 3 x EBC weapons. Continuing with this focus on the ware taking up the most cargospaces, support a dynamic number with refers to what percentage of the cargobay is used for this ware, compared to maximum possible, given that cargobays nearly always contains other boring stuff such as shields, weapons, missiles and ECs. But these boring things never take up more than 50 percent, and hence will never show in the name, unless the cargobay has nothing "exciting" in it, like 9,124 units of Space Fuel. Some may want text color changes based on cargobay contents, but I'd probably be focussed more on a sorted list. Someone that ships a lot of illegal items for example, might want any ship which is carrying illegal wares to be some unique color. These ships are vulnerable and so deserve closer attention. I never bother with illegal stuff (any more) so this wouldn't get used by me at this time.

Post Reply

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