[SCRIPT] X3 TC / AP : Sectormap Revamped 2.1 dd 11-jun-2013
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Found a way to uninstall all colorcodes on ships and stations.
This can only be done once and you will not be able to recolor anymore after that !!
I added two extra files in the winrar file and uploaded it. Just download or re-download from first post. This will add an extra hotkey to uninstall the colorcodes on both ships and stations. Hotkey is called ''uncoloring ships and stations'' and can be found just like the other two hotkeys in the controls / interface part.
Uninstall procedure is as follows :
1 : assign key and use hotkey ''colored raceships''
2 : assign key and use hotkey ''colored stations''
** above is to update any ships or stations which GOD / Job engine created after the initial start of this script, so they wont get left out in the cleaning process **
3 : assign key and use hotkey ''uncoloring ships and stations''
All ships and stations will now be cleaned except the civilian ships which i couldnt get to color in the first place.
This cleaning will have the side-effect that these civilian ships will most likely be missing a first letter. Just keep in mind all these civilian ships will be ended by the jobs engine eventually and respawn with correct shipnames.
Also any lasertowers that are beeing cleaned during their warm-up time will have the time frozen in the names, if you started a new game it is best to wait at least 15 minutes after start of the script before uninstalling so the lasertowers will have time to get deployed and will end up getting cleaned correctly.
The following files can now be removed from the following folders :
director :
Colored_Race_Ships.xml
scripts :
setup.colorcleanershipsandstations.xml
setup.colored.race.ships
setup.colored.stations
colorcleanershipsandstations
colored.race.ships
colored.stations
t :
9921-L044.xml t/m 9927-L044.xml
qwizzie
This can only be done once and you will not be able to recolor anymore after that !!
I added two extra files in the winrar file and uploaded it. Just download or re-download from first post. This will add an extra hotkey to uninstall the colorcodes on both ships and stations. Hotkey is called ''uncoloring ships and stations'' and can be found just like the other two hotkeys in the controls / interface part.
Uninstall procedure is as follows :
1 : assign key and use hotkey ''colored raceships''
2 : assign key and use hotkey ''colored stations''
** above is to update any ships or stations which GOD / Job engine created after the initial start of this script, so they wont get left out in the cleaning process **
3 : assign key and use hotkey ''uncoloring ships and stations''
All ships and stations will now be cleaned except the civilian ships which i couldnt get to color in the first place.
This cleaning will have the side-effect that these civilian ships will most likely be missing a first letter. Just keep in mind all these civilian ships will be ended by the jobs engine eventually and respawn with correct shipnames.
Also any lasertowers that are beeing cleaned during their warm-up time will have the time frozen in the names, if you started a new game it is best to wait at least 15 minutes after start of the script before uninstalling so the lasertowers will have time to get deployed and will end up getting cleaned correctly.
The following files can now be removed from the following folders :
director :
Colored_Race_Ships.xml
scripts :
setup.colorcleanershipsandstations.xml
setup.colored.race.ships
setup.colored.stations
colorcleanershipsandstations
colored.race.ships
colored.stations
t :
9921-L044.xml t/m 9927-L044.xml
qwizzie
Uploaded newer version 2.0, pls download again from first post.
- switched from MD to AL plugin which seems to help a lot with the impact this script has on the engine (hardly any lagg anymore)
- the AL plugin will check every 10 seconds for uncolored ships and stations
and color them when found.
- added coloring of claimable ships in color purple in this script as well so it could profit from the AL plugin.
note : See first post for more information on how to upgrade from version 1.0 to version 2.0 and also what to do when using my Colored Claimable Ships script
note : i noticed the AL plugin code in graxster's script [AL Plugin] Remove Prefix "Your" from Player Property and decided to use the AL plugin method instead of MD recue.
- switched from MD to AL plugin which seems to help a lot with the impact this script has on the engine (hardly any lagg anymore)
- the AL plugin will check every 10 seconds for uncolored ships and stations
and color them when found.
- added coloring of claimable ships in color purple in this script as well so it could profit from the AL plugin.
note : See first post for more information on how to upgrade from version 1.0 to version 2.0 and also what to do when using my Colored Claimable Ships script
note : i noticed the AL plugin code in graxster's script [AL Plugin] Remove Prefix "Your" from Player Property and decided to use the AL plugin method instead of MD recue.
not yet.
Pls try the following Phinixa :
Step 1
for X3 AP : locate ''t'' folder in the addon folder in yr X3 installation directory
for X3 TC : locate ''t'' folder in the X3 installation directory
For STEAM users the X3 installation directory can be found here :
X3 AP : "C:\Program Files (x86)\Steam\steamapps\common\X3 Terran Conflict\addon"
X3 TC : "C:\Program Files (x86)\Steam\steamapps\common\X3 Terran Conflict"
For DVD / Disc users the X3 installation directory can be found by checking the target of the shortcut you use to start X3 AP or X3 TC)
Step 2
Rename the following t files there as follows :
9921-L044.xml --> rename to 9921-L049.xml
Step 3
open t file 9921-L049 with wordpad and change
<language id="44"> to <language id="49">
Repeat step 2 and 3 with t files 9922-L044 till 9927-L044
let me know if this works and i will add german support
Thanks in advance
qwizzie
Pls try the following Phinixa :
Step 1
for X3 AP : locate ''t'' folder in the addon folder in yr X3 installation directory
for X3 TC : locate ''t'' folder in the X3 installation directory
For STEAM users the X3 installation directory can be found here :
X3 AP : "C:\Program Files (x86)\Steam\steamapps\common\X3 Terran Conflict\addon"
X3 TC : "C:\Program Files (x86)\Steam\steamapps\common\X3 Terran Conflict"
For DVD / Disc users the X3 installation directory can be found by checking the target of the shortcut you use to start X3 AP or X3 TC)
Step 2
Rename the following t files there as follows :
9921-L044.xml --> rename to 9921-L049.xml
Step 3
open t file 9921-L049 with wordpad and change
<language id="44"> to <language id="49">
Repeat step 2 and 3 with t files 9922-L044 till 9927-L044
let me know if this works and i will add german support
Thanks in advance
qwizzie
With regards to this script : glad it worked out, will add german t files later on to support german language.
With regards to Universe Colored Map :
I'm afraid you have to manually translate the t file of the Universe Colored Map to german or accept the english sectornames.
If you do choose to translate it i would be happy to include it in the Universe Colored Map script and give you credit for it.
qwizzie
EDIT : Phinixa pls also rename and change the 9920-L044.xml file if not done already, that will give you colored claimable ships.
With regards to Universe Colored Map :
I'm afraid you have to manually translate the t file of the Universe Colored Map to german or accept the english sectornames.
If you do choose to translate it i would be happy to include it in the Universe Colored Map script and give you credit for it.
qwizzie
EDIT : Phinixa pls also rename and change the 9920-L044.xml file if not done already, that will give you colored claimable ships.
Hmm... I tried to translate the sector names, but if I do so, it won't work anymore. Sector names are now completely white.
The UTF-8 coding should support german umlauts(Interesting, the english language has the same word...) like Ä,Ö...
Any solutions?
I uploaded the t-file in case you need it: http://www.mediafire.com/?vhwew8mvh5x48d0 (Keep in mind that I haven't translated it completely!)
The UTF-8 coding should support german umlauts(Interesting, the english language has the same word...) like Ä,Ö...
Any solutions?
I uploaded the t-file in case you need it: http://www.mediafire.com/?vhwew8mvh5x48d0 (Keep in mind that I haven't translated it completely!)
To Phinixa with regards to his question about german support for Universe Colored Map (another script of mine)
i think i found the problem which indeed seems to be related with the use of umlauts.
Pls click the link below and re-download from there, it should extract the german language files now as well for X3 AP / XRM Universe Colored Map
(only added german support for that specific map for now)
http://forum.egosoft.com/viewtopic.php?t=302247
[SCRIPT] X3 TC / AP / XRM / XTC Universe Colored Map Version 3.0 dd 25-feb-2013
Pls give it a try, use Cycrows cheatpackage in the mod / scriptsection to check all sectors and comment on the results pls in the Universe Colored Map post
Thanks in advance,
qwizzie
i think i found the problem which indeed seems to be related with the use of umlauts.
Pls click the link below and re-download from there, it should extract the german language files now as well for X3 AP / XRM Universe Colored Map
(only added german support for that specific map for now)
http://forum.egosoft.com/viewtopic.php?t=302247
[SCRIPT] X3 TC / AP / XRM / XTC Universe Colored Map Version 3.0 dd 25-feb-2013
Pls give it a try, use Cycrows cheatpackage in the mod / scriptsection to check all sectors and comment on the results pls in the Universe Colored Map post
Thanks in advance,
qwizzie
added an optional folder within the Sector Revamped folder on my skydrive which lets you also color asteroids. After scanning it will display seperate colors for ore, silicon and nividium. See pic in that optional folder.
There is a price too pay while using this.. ore as ware will be colored too, thats why i made it an optional installation (the only file that actually got changed here is the t file 9920-L044.xml)
Decide for yourself if you want to use this optional coloring of asteroids.. or not.
qwizzie
There is a price too pay while using this.. ore as ware will be colored too, thats why i made it an optional installation (the only file that actually got changed here is the t file 9920-L044.xml)
Decide for yourself if you want to use this optional coloring of asteroids.. or not.
qwizzie
Hi qwizzie,
I just installed the new version of this in my AP Addon folder, After about an hour of game play in my current game, my frame rate dropped so low I had to wait 10-15 secs for the highlight bar in the menus, to jump 1 space down or up. I turned off the plugin and after about 2 hours my frame rate recovered. Any Ideas?
Also, and this is v minor, when an abandoned ship is coloured, after capture it remains in the same orange colour until it's renamed. The whole name has to be deleted before it will go green and show as one of your own fleet. I have started to keep the colour for TS/TP ships as it sets them apart nicely in my display.
Regards
Vayde
I just installed the new version of this in my AP Addon folder, After about an hour of game play in my current game, my frame rate dropped so low I had to wait 10-15 secs for the highlight bar in the menus, to jump 1 space down or up. I turned off the plugin and after about 2 hours my frame rate recovered. Any Ideas?
Also, and this is v minor, when an abandoned ship is coloured, after capture it remains in the same orange colour until it's renamed. The whole name has to be deleted before it will go green and show as one of your own fleet. I have started to keep the colour for TS/TP ships as it sets them apart nicely in my display.
Regards
Vayde
Still life in the old dog yet...
yeah i noticed it too, could be related with the timer beeing set too fast for the restart of the plugin. i will look into this.
and with regards to your other observation : i noticed that too, thats why i orginally (for myself) in the colored claimable ships used the green color to color claimable ships.. after claiming it would stay green and it wouldnt matter so much. But with the sector revamp i gave the Boron green colors so that wouldnt work anymore. Not sure what i can do about it now to be honest,
best to just rename it as you suggested.
qwizzie
and with regards to your other observation : i noticed that too, thats why i orginally (for myself) in the colored claimable ships used the green color to color claimable ships.. after claiming it would stay green and it wouldnt matter so much. But with the sector revamp i gave the Boron green colors so that wouldnt work anymore. Not sure what i can do about it now to be honest,
best to just rename it as you suggested.
qwizzie
i have made three seperate AL plugins for this script with each a different time-interval :
every 10 seconds an AL plugin will check for claimable ships to color
every 5 minutes an AL plugin will check for race ships to color
every 30 minutes an AL plugin will check for race stations to color.
(You can switch these AL plugins on & off at will).
Hopefully this will get some pressure off the engine and gives better framerates.
pls delete following scripts in your scripts folder:
al.plugin.colored.ships.and.stations.xml
colored.pirates.xml
colored.ships.and.stations
and re-download from first post.
Pls let me know if this helps in the longterm and if you want to change the time intervals yourself they can be changed in the following scrips :
al.colored.claimable.ships.main.xml
line 25 & 26
* interval is 10 seconds
$interval = 10
al.colored.stations.main.xml
line 25 & 26
* interval is 30 minutes
$interval = 30 * 60
al.colored.ships.main.xml
line 25 & 26
* interval is 5 minutes
$interval = 5 * 60
qwizzie
every 10 seconds an AL plugin will check for claimable ships to color
every 5 minutes an AL plugin will check for race ships to color
every 30 minutes an AL plugin will check for race stations to color.
(You can switch these AL plugins on & off at will).
Hopefully this will get some pressure off the engine and gives better framerates.
pls delete following scripts in your scripts folder:
al.plugin.colored.ships.and.stations.xml
colored.pirates.xml
colored.ships.and.stations
and re-download from first post.
Pls let me know if this helps in the longterm and if you want to change the time intervals yourself they can be changed in the following scrips :
al.colored.claimable.ships.main.xml
line 25 & 26
* interval is 10 seconds
$interval = 10
al.colored.stations.main.xml
line 25 & 26
* interval is 30 minutes
$interval = 30 * 60
al.colored.ships.main.xml
line 25 & 26
* interval is 5 minutes
$interval = 5 * 60
qwizzie
Hi Pimpace,
Uncoloring Ships and Stations in the controls / interface / extensions
is at start not bound to a key. This means that normally you need to bind it to a specific key to make it work. However the profile does tend to sometimes bind a key randomly to the extensions when it gets switched during different gamestarts so that is why it most likely ended up with the v attached to the Uncoloring Ships and Stations in your game.
It is used as part of an uninstall method when should only pressed once !! Pressing it more than once will indeed remove not only the color codes but also letters of station and shipnames.
I suggest you go back to your last save and remove in the controls / interface / extensions the v attached to Uncoloring Ships and Stations in your save game.
See also the second post in which i go more into the uninstall procedure.
I hope you have a recent savegame made and i'm sorry i cant be of more help.
qwizzie
Uncoloring Ships and Stations in the controls / interface / extensions
is at start not bound to a key. This means that normally you need to bind it to a specific key to make it work. However the profile does tend to sometimes bind a key randomly to the extensions when it gets switched during different gamestarts so that is why it most likely ended up with the v attached to the Uncoloring Ships and Stations in your game.
It is used as part of an uninstall method when should only pressed once !! Pressing it more than once will indeed remove not only the color codes but also letters of station and shipnames.
I suggest you go back to your last save and remove in the controls / interface / extensions the v attached to Uncoloring Ships and Stations in your save game.
See also the second post in which i go more into the uninstall procedure.
I hope you have a recent savegame made and i'm sorry i cant be of more help.
qwizzie
Hey!
Thank you for your fast answer.
Yeah, I figured out that I need my previous save to "fix" this. And I did as you adviced, I un-bind this "v" for this plugin as I don't able to do this accidentally again.
I got what you wrote but this;
"Pressing it more than once will indeed remove not only the color codes but also letters of station and shipnames."
I don't think this is the way it should work. I think if you can do anything to fix this it will be cool.
Anyway, thanks!
Zoltan
Thank you for your fast answer.
Yeah, I figured out that I need my previous save to "fix" this. And I did as you adviced, I un-bind this "v" for this plugin as I don't able to do this accidentally again.
I got what you wrote but this;
"Pressing it more than once will indeed remove not only the color codes but also letters of station and shipnames."
I don't think this is the way it should work. I think if you can do anything to fix this it will be cool.
Anyway, thanks!
Zoltan