How do i change a sector name useing in game script editor?
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 11
- Joined: Fri, 16. Jan 09, 00:58
How do i change a sector name useing in game script editor?
Yes i know this has been asked befor but what im looking for is a way to change the name of a sector using the ingame script editer in a similar way to how i managed to create factorys, a HQ that builds me new ships and new space gates linking sectors like Alderin, Alderin 2 , Terran Unknown 1 2 3 and Xenon sector to Mars.
Basicaly im looking for some thing like this. Get sector from index num 15 num 9 thats Terran Uknown Sector 2
Get sector Name from index TUS 2
Change or reset sector name to New Earth
return sector. Im looking for something along those lines or as close to as posible useing the ingame script editor. Iv managed to change the race onership to me but not the name of the sector.
So if anyone can help me with that id be very greatfull.
Also i don't want to be playing around with stuff outside the game like in documents and things.
Basicaly im looking for some thing like this. Get sector from index num 15 num 9 thats Terran Uknown Sector 2
Get sector Name from index TUS 2
Change or reset sector name to New Earth
return sector. Im looking for something along those lines or as close to as posible useing the ingame script editor. Iv managed to change the race onership to me but not the name of the sector.
So if anyone can help me with that id be very greatfull.
Also i don't want to be playing around with stuff outside the game like in documents and things.
I may be wrong, but I'm not sure that can be accomplished with the script editor.
However, it can be done with the mission director. But you will probably still need to edit/create a text file.
However, it can be done with the mission director. But you will probably still need to edit/create a text file.
My mods for X3TC & X3AP
Been with the X-series from the beginning. If it happens in the X_Universe I've been there done that several times over.
Been with the X-series from the beginning. If it happens in the X_Universe I've been there done that several times over.
- Serial Kicked
- Posts: 3823
- Joined: Fri, 12. Aug 05, 20:46
You can't.
Sector names are in the text-files. So i guess you could still use several textfiles for the user to choose between a list of possible name, but that's about all.
edit: meh beaten
Sector names are in the text-files. So i guess you could still use several textfiles for the user to choose between a list of possible name, but that's about all.
edit: meh beaten
X3:TC/AP Pirate Guild 3 - Yaki Armada 2 - Anarkis Defense System
Anarkis Gaming HQ
Independent Game Development
X3 Scripting and Modding Station
Anarkis Gaming HQ
Independent Game Development
X3 Scripting and Modding Station
-
- Posts: 11
- Joined: Fri, 16. Jan 09, 00:58
- apricotslice
- Posts: 14129
- Joined: Sun, 16. May 04, 13:01
I did a mini mod for changing the name of the HUB sector. It can be used for anything, just by adding the sector number and description in.
Basically, you cannot change a sector name on the fly. Only by changing the name outside the game manually, and then its a permanent change.
Cycrow, is there an existing MD for doing that ? Some code in the MD documentation thread would be a great idea.
Basically, you cannot change a sector name on the fly. Only by changing the name outside the game manually, and then its a permanent change.
Cycrow, is there an existing MD for doing that ? Some code in the MD documentation thread would be a great idea.