EnglishGermanFrenchRussianItalianSpanish
Log inRegister
 
[Mod] UT CaC Advanced Renaming
Post new topic Reply to topic Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
View previous topic :: View next topic
Author Message
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)

MEDAL

Joined: 20 Nov 2005
Posts: 13628 on topic

Thank you for registering your game
PostPosted: Fri, 9. Sep 16, 15:03    Post subject: Reply with quote Print

Regarding the Colors: sorry, but i cannt do much about them - which colors are available and what they look is all done by the Text Engine itself. i just provide a way to insert these usually not type-able characters which mark the beginning of colored Text. Also the Colors are exactly the same as in the 1st Post (i made a screen with them all and got the exact Color Value from the Chars i typed there - but yes, they do look a bit dull with the semi-transparent background or other reasons, but i cannt do anything about that (except i find out where their values are defined, but no luck in that direction so far)


Regarding the Issue with black: yep, just confirmed it doesnt work as intended. Black is a bit trickier to use than all other colors, in fact i didnt know it existed as text color for years because of that. short explaination:
Colors are defined by this expression in the Text File (for example Blue): \033B
the \033 there is not used directly but rather tells the game to inserte the ASCII Character with the Octal Value of 33. The problem with black is that its Color sign is 0 which results in a color Code of \0330 - but you cannot enter it as whole because this is interpreted by the game to insert the ASCII Char with the Octal Value of 330 (probably invalid so it stays as typed) instead of 33 and after that a 0 - so i have to work around that a bit - and seems i messed that workaround up.
Anyway: Black will be fixed in the next Version.

next thing:
Quote:
The other thing is i had assumed by your instruction info we had to place the correct name like this /blu Scaldis to get the colour but this is not so on trying out other wording this do work like /blu Trader1 ST1 instead of correct name and not sure if you were aware of that.
not sure what you want to say with that. you can make any Ship name blue with the Epxression
/blu%type
except the Ship Type doesnt have a proper Name set in the Macro (possible for Mod Ships, but certainly not the case for Vanilla ones)
i probably have to write up some kind of tuto how to properly set up custom expressions, but its difficult for me to grasp whats difficult there.. all this Script does is basically replacing one text with another in the Object Name to create the final one..


Regarding the Text Input: yep, EGOs Editbox sucks. i looed into improving that, but i can only barely grasp how all these UI Files interact with each other. all i did there was to redirect the renaming Process to MD, of which i have a better grasp.


_________________
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 Wink

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help Wink
Back to top
View user's profile Send private message
JESS 246





Joined: 03 Jul 2006
Posts: 513 on topic

Thank you for registering your game
PostPosted: Fri, 9. Sep 16, 16:34    Post subject: Reply with quote Print

Hi Uni

Understand on what you say about colours codes i've placed 2 screenshots newish to dropbox upload hope it works links below.

Surprised about the black code but you had it in you name slot had you fixed it and any chance of other colourings like orange, pink, brown come to mind.

Both pictures showing all the colours except black and how they look to me as you see them they look dull the worse ones are 4th down they being the blue to compare with the bright colours when seen in map.

https://www.dropbox.com/s/pe83mnfm4ztw62w/Colour%202.jpg?dl=0

https://www.dropbox.com/s/pe83mnfm4ztw62w/Colour%202.jpg?dl=0

Also you can see that how i change the naming explaining on what i meant on not using the correct names as i was assuming was the case for colouring to work.

I'm also assuming that by your info and picture that too have different colours in one name we have to place the Expression in front of each letter or word.

Back to top
View user's profile Send private message
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)

MEDAL

Joined: 20 Nov 2005
Posts: 13628 on topic

Thank you for registering your game
PostPosted: Sun, 18. Sep 16, 22:54    Post subject: Reply with quote Print

oops, thought i had answered here...

regarding further Color Codes: very unlikely, i am already offering all available ones afaik. Colors are defined by typing eg \033B in front of the colored text (for blue) where \033 is to tell the game the next letter is a color code and B is for blue. i have tried all Letters in the Alphabet, but only certain ones resulted in a color (the ones implemented). If you want to experiment you can insert /COLOR and a letter you want to try in the Names ( /COLOR is converted to \033 in my Script - internally used to generate Black), but i doubt you find new ones...

Regarding your Screens: they may look dull, but upon closer examination i am pretty sure their Color will match the ones in the OP post - the OP post has a opaque black as background though, which makes them look brighter. (cannt check from your screen if they match since compression articats make hex value comparision pointless)

Regarding improving custom Expressions: i think i will seperate this in two mods: one which contains the actual functionality and one which is for defining and configuration only

regarding multiple colors: exactly Wink



Also question to everyone: what kind of additional Expressions would you like to see? for example i am working on displaying the compatible Cargo Classes like U(niversal), M(ixed), C(ontainer), E(nergy) etc. in a Ship Name and also adding an Expression to display the Build Progress of a Station - are there more Informations you are interested in? Also are there any other Scripts which should cooperate with this Mod to eg display Levelling Progress in a Ships Name (if the Vanilla Skills are not used)?


_________________
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 Wink

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help Wink
Back to top
View user's profile Send private message
JESS 246





Joined: 03 Jul 2006
Posts: 513 on topic

Thank you for registering your game
PostPosted: Mon, 19. Sep 16, 14:11    Post subject: Reply with quote Print

Thanks Uni I understand about colours though i'm still getting /033 showing when assigning Black and have tried other colours like the /or or /orn etc for orange no joy will look into my graphics again to see if that will brighten colours.

Going off subject can i ask a question I have a Warehouse and Albion Tradestation in my ownership and no matter how many trade ships i assign to them or change ship/station crews even reassign those ships again to said station as well as assigning other variants of trade ships i still get asked to assign one too those stations.

Those ship i do assign do go to the stations and then don't move or do anything afterwards,

No other station has this issue so i'm assuming there's a scrip issue in the said stations any idea as to why this is or have you experienced this yourself.

Back to top
View user's profile Send private message
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)

MEDAL

Joined: 20 Nov 2005
Posts: 13628 on topic

Thank you for registering your game
PostPosted: Mon, 19. Sep 16, 17:16    Post subject: Reply with quote Print

well, it was marked as fixed in my mind.. maynbe i didnt update the package Oops well, will upload next version to steam, but first i have to test and finish what i currently have


_________________
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 Wink

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help Wink
Back to top
View user's profile Send private message
JESS 246





Joined: 03 Jul 2006
Posts: 513 on topic

Thank you for registering your game
PostPosted: Mon, 19. Sep 16, 19:04    Post subject: Reply with quote Print

Thanks will wait and try that update then.

Back to top
View user's profile Send private message
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)

MEDAL

Joined: 20 Nov 2005
Posts: 13628 on topic

Thank you for registering your game
PostPosted: Tue, 20. Sep 16, 18:25    Post subject: Reply with quote Print

Just published this Mod in the Steam Workshop and updated the Version available here.

Changes:
=> Added new Expressions ( %freightclass %stage*# )
=> Fixed Black
=> and a Surprise for CEOs of big Companies in XR Very Happy


_________________
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 Wink

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help Wink
Back to top
View user's profile Send private message
JESS 246





Joined: 03 Jul 2006
Posts: 513 on topic

Thank you for registering your game
PostPosted: Tue, 20. Sep 16, 19:46    Post subject: Reply with quote Print

Hi Uni

have just downloaded your updated mod and singlet patch mod firstly i tried the full mod and in naming a ship in black has an issue in when renaming on clicking on the rename button disappear like when you first started this mod.

Secondly going back to older mod i added the singlet mod with the content and t file and tried that naming screen stays but i get this as the name /blk trader ship with no colour change.

Back to top
View user's profile Send private message
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)

MEDAL

Joined: 20 Nov 2005
Posts: 13628 on topic

Thank you for registering your game
PostPosted: Tue, 20. Sep 16, 20:21    Post subject: Reply with quote Print

no idea whats going wrong there.. seems i have to check my linux setup, since both windows and linux should have exactly the same contents (made sure to sync both via github first, and usually writing the Scripts under linux and testing it under windows) - well, now re-packed the Archive from Windows..


sorry for the inconvinience...


_________________
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 Wink

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help Wink
Back to top
View user's profile Send private message
JESS 246





Joined: 03 Jul 2006
Posts: 513 on topic

Thank you for registering your game
PostPosted: Tue, 20. Sep 16, 22:54    Post subject: Reply with quote Print

It's no problem you make mods we use them and we report issues till fully working will try again later once you've corrected things.

good luck.

Back to top
View user's profile Send private message
JESS 246





Joined: 03 Jul 2006
Posts: 513 on topic

Thank you for registering your game
PostPosted: Wed, 21. Sep 16, 15:27    Post subject: Reply with quote Print

Hi again Uni.

I see you have now placed this mod on steam workshop good to have auto updates and no need to delete old to install new updates.

Well done i'm now trying it and the black naming is working fine no issues to speak of.

Back to top
View user's profile Send private message
Miniding





Joined: 14 Dec 2007
Posts: 659 on topic

Thank you for registering your game
PostPosted: Fri, 23. Sep 16, 14:51    Post subject: Reply with quote Print

I uni!

I may ask you a question about it...

Is your mod French compatible?
Especially the purpose ? Is the result of expressions in our script or is it related to ingame one?

For exemple,
Fight in English => F
Combat in French =< Should result C
and so...

Any need of a test by me may be?

Thanks anyway for the mod!!


_________________
Miniding
X3 Reunion - X3 Terran Conflict - X3 Albion Prelude - X Rebirth
Back to top
View user's profile Send private message
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)

MEDAL

Joined: 20 Nov 2005
Posts: 13628 on topic

Thank you for registering your game
PostPosted: Fri, 23. Sep 16, 15:33    Post subject: Reply with quote Print

i did only include languages i know (english and german). it shoud default to english. but its simple to also include more languages Wink cannt talk abou the details currently, will get back to you later


_________________
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 Wink

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help Wink
Back to top
View user's profile Send private message
Miniding





Joined: 14 Dec 2007
Posts: 659 on topic

Thank you for registering your game
PostPosted: Fri, 23. Sep 16, 16:57    Post subject: Reply with quote Print

Anytime Uni.
My English will be enough to help you with any translation you need... If I may help you, it will be a plaisure.
Mp me when you'll be free.


_________________
Miniding
X3 Reunion - X3 Terran Conflict - X3 Albion Prelude - X Rebirth
Back to top
View user's profile Send private message
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)

MEDAL

Joined: 20 Nov 2005
Posts: 13628 on topic

Thank you for registering your game
PostPosted: Fri, 23. Sep 16, 18:02    Post subject: Reply with quote Print

ok, short Manual how to translate an Extension (can be applied to any):

=> Copy the Common Language File ( 0001.xml in the t folder) and name it 0001-L033.xml (for french; other L-numbers are for other Languages) - if such file is not present use 0001-L044.xml as file to copy (english text file)
=> Open the File and Translate the contained Entries (everything between <t id="***"> and </t>)
=> save and done.

there is one specific thing for this Extension though:
instead of Translating Expressions directly please use new Entries in Page 5554301 with the t id 1000 and following to convert the language-specific expression to the common language english - this makes sure Savegames are Portable between diffrent Language Games (if a small setting is activated)
it simply replaces all even numbered Entries with the following odd numbered ones.
(for the Results just translate directly, there it doesnt matter)

btw: if you need some Chars in your Language which you cannot type in XR directly this Extension also helps you (subaluigi was a big fan of a similiar Mod back in X3 because it allowed him to type French Chars ^^)


_________________
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 Wink

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help Wink
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
 
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 can download files in this forum
Control Panel
Login Data
The time now is Mon, 28. May 18, 03:23

All times are GMT + 2 Hours

[ Disclaimer / Impressum ] | [ Privacy Policy / Datenschutz ]

Board Security

Copyright © EGOSOFT 1989-2018
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 1.35906 seconds, sql queries = 29