[Mod] UT CaC Advanced Renaming

The place to discuss scripting and game modifications for X Rebirth.

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

JESS 246
Posts: 573
Joined: Mon, 3. Jul 06, 03:24
x3

Post by JESS 246 » Wed, 10. Jan 18, 12:45

Hi UniTrader

I know i have mentioned this before but i'd still like to see other colours than what we already have in this mod.

colours like orange, Brown, indigo/purple, violet/pink, olive/light green,

And any other colours that can be used.

UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader » Wed, 10. Jan 18, 20:43

JESS 246 wrote:Hi UniTrader

I know i have mentioned this before but i'd still like to see other colours than what we already have in this mod.

colours like orange, Brown, indigo/purple, violet/pink, olive/light green,

And any other colours that can be used.
i think you missed this addition of this:
UniTrader wrote: /hex for Hexadecimal (RRGGBB) Color in the format /hexBADA55#
i hope the resulting 16.777.216 Colors are enough for you.
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)

JESS 246
Posts: 573
Joined: Mon, 3. Jul 06, 03:24
x3

Post by JESS 246 » Thu, 11. Jan 18, 00:10

Hi uni

Sorry no i didn't miss "/hex for Hexadecimal (RRGGBB) Color in the format /hexBADA55#" without calling me thick it's i don't understand it or how it is formatted to colour i do not read code.

Though i tried in may ways of that line none worked.

Do i wright it the same as the above this line like /ore to get orange though did try this not worked may have the ore wrong, or /hexorange to get colour, or hex(some numbers) to get colour.

It might be my age but to me that line is confusing.

Please clarify the line how a code dumb person like me would wright it.

UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader » Thu, 11. Jan 18, 07:47

https://www.w3schools.com/colors/colors_hexadecimal.asp

PS dont forget the closing # in my case.
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)

JESS 246
Posts: 573
Joined: Mon, 3. Jul 06, 03:24
x3

Post by JESS 246 » Thu, 11. Jan 18, 11:48

Thanks Uni.

Seems a little clearer with the link i think.

So i wright something like /hexdb8e1c# =orange this as using the sliders code numbers in the link.

On using those slider codes i get any colours i want.

Some how i'll work it out.

like i said i'm thick with coding stuff but usually a good ideas man.

I'm sure you are keeping up with the X4 game Development and looks good as i see regular Egosoft reports.

Will you and other modders work on your mods in a possibility to be updated for new game.

jelf
Posts: 81
Joined: Wed, 27. Apr 11, 18:00
x4

Re: [Mod] UT CaC Advanced Renaming

Post by jelf » Sun, 28. Apr 19, 11:40

Sorry if this is a stupid question but how do I get this to work?

I'm using the Steam Workshop version and in the game I can see the changes to the rename menu (with all the instructions and the three extra buttons).

However, when I type something into the rename space, e.g., "/nor%type" or "/type" (without quotation marks), the ship's name would become "/nor%type" or "/type", instead of say "Rahanas (Energy)". I'm not using any custom expressions and have only subscribed to the Steam Workshop version of the mod.

Am I doing it correctly? Any help would be greatly appreciated!

Edit: seems to be a conflict with Advanced Station Rename. It works now after removing that mod.

Another question: is there a way to generate short names for clusters/sectors/zones?

Eagle_Four
Posts: 231
Joined: Wed, 6. Nov 02, 20:31
x3

Re:

Post by Eagle_Four » Sun, 5. Apr 20, 20:20

Hallo,
this doesnt work for me:
UniTrader wrote: /hex for Hexadecimal (RRGGBB) Color in the format /hexBADA55#
if i use
/hexC2A658#Test
or /hexc2a658#Test

i got
/hexC2A658#Test and not the colored 'Test'

i tested without any Mods (XR 4.3)

What I'am doing wrong ?

Edit:Found the solution:

Code: Select all

  <t id="2026">/hex</t><!-- For freely chooseable Color in Hex, syntax /hexRRGGBB# -->
  <t id="2027">\033#FF</t>
this entry was missing in the German T-file 0001-L049.xml

it was only in the English T file.
I have copied the entry into the German T file.
Now /hex also works in the German version. Maybe Uni Trader could correct that.

Post Reply

Return to “X Rebirth - Scripts and Modding”