Renaming Sectors

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

Locked
UrbanAvalon
Posts: 32
Joined: Fri, 3. Jul 09, 14:23
x3tc

Renaming Sectors

Post by UrbanAvalon » Wed, 27. Jan 10, 17:57

Is there any mod that allows us to rename any sector we want? If I take over a sector i'd like to change its name to something more significant to my empire :)

Cycrow
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 22227
Joined: Sun, 14. Nov 04, 23:26
x4

Post by Cycrow » Wed, 27. Jan 10, 18:55

u'll have to edit the text file and change the sector of the one you want

User avatar
Elffin
Posts: 371
Joined: Wed, 18. May 05, 22:34
x3tc

Post by Elffin » Wed, 27. Jan 10, 21:22

This might be some help...

made this to create help with managing the entries for the language file.

http://www.thexuniverse.com/forum/showt ... hp?t=18542

Retiredman
Posts: 795
Joined: Fri, 4. Sep 09, 02:35
x3ap

Post by Retiredman » Wed, 27. Jan 10, 21:57

SO where does such a changed file get placed in the game folder..

Effin:
(Of course I'm using Open Office and it was a blank sheet.)

So where is this file at, that we can modify and can we place it back in the same or a new location.

I'm trying to be a simple as possible when making the changes..
Script folder
t folder?
types
other.

A text file??


I know that Apriot has one where you could change the Hub name, but it doesn't work anymore since I installed the claim sector mod.

User avatar
Elffin
Posts: 371
Joined: Wed, 18. May 05, 22:34
x3tc

Post by Elffin » Wed, 27. Jan 10, 22:07

If you have extracted all the cat files...

In the ... T folder 0001-L044..

On of the sheets the text is generated - the id refs should be above (sorry I'm on my music DAW atm so can't check atm..)

BrotherCavalier
Posts: 1
Joined: Sun, 2. Aug 09, 03:08

Post by BrotherCavalier » Thu, 28. Jan 10, 00:28

You might also have a look at MUS - Marking Unknown Sectors.

Lancefighter
Posts: 3144
Joined: Sun, 19. Dec 04, 02:41
x4

Post by Lancefighter » Thu, 28. Jan 10, 01:38

indeed you can do it through the MD, but you still require the names that you want in a text file i believe...

can scripts write to tfiles?
or would it require a program to look at a log, move it to the proper place in the tfile, then have the script reload the tfile to use it?

User avatar
Serial Kicked
Posts: 3823
Joined: Fri, 12. Aug 05, 20:46
x3tc

Post by Serial Kicked » Thu, 28. Jan 10, 03:14

Lancefighter wrote:can scripts write to tfiles?
or would it require a program to look at a log, move it to the proper place in the tfile, then have the script reload the tfile to use it?
You can't edit files through scripts. You can only send output to a specific directory (my docs/egosoft/x3tc). It could only be done through a 3rd party software that converts script output to tfile, but it's far fetched and probably a buggy solution. So basically, it's a "no can't do" for 99.5% of scripters and users here.

So, if the question is "can i dynamically change sector name through script?", the answer is no. A script that includes several t-files can offer the player to choose from an array of names, nothing more though. Think about the "Avarice" sector in X3:R.

As a matter of fact, sectors aren't dynamic objects in X3 sadly (unlike ships or stations). You can't change their name or put local variables on them, which is VERY annoying imho. You can only change ownership and security level through script.
X3:TC/AP Pirate Guild 3 - Yaki Armada 2 - Anarkis Defense System

Anarkis Gaming HQ
Independent Game Development
X3 Scripting and Modding Station

Lancefighter
Posts: 3144
Joined: Sun, 19. Dec 04, 02:41
x4

Post by Lancefighter » Thu, 28. Jan 10, 04:25

back in x3r you couldnt even change security level, if i remember :p

Bradders1988
Posts: 1
Joined: Sun, 9. Dec 18, 16:21
x4

Re: Renaming Sectors

Post by Bradders1988 » Thu, 13. Dec 18, 05:16

UrbanAvalon wrote:
Wed, 27. Jan 10, 17:57
Is there any mod that allows us to rename any sector we want? If I take over a sector i'd like to change its name to something more significant to my empire :)
You can just got to the info tab click the sector under your control and just change the name. did this earlier to 2 sub sections. :-)

User avatar
X2-Illuminatus
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 24965
Joined: Sun, 2. Apr 06, 16:38
x4

Re: Renaming Sectors

Post by X2-Illuminatus » Fri, 14. Dec 18, 22:10

This is a thread about X3TC. Please always check the forum you're posting in and the last date of the post you're replying to.

Locked

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