Naming Sectors Via Ingame Scripts

The place to discuss scripting and game modifications for X²: The Threat.

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

Lord Dakier
Posts: 3258
Joined: Fri, 8. Dec 06, 13:45
x4

Naming Sectors Via Ingame Scripts

Post by Lord Dakier »

Just asking as Lord Dakier owner of Vassarr Space Industries (VSI) would like to set up shop in the unknown sector next to the Split sector Rhy's Desire south of the map. So can it be done?
rainbowman
Posts: 26
Joined: Sat, 21. Jun 08, 14:31

Post by rainbowman »

You can use the sector itself as the object and then set name to Player. You will still need to deal with the Khaak though. I had a similar idea, but there doesn't appear to be much there besides the broken gate, so i was going to introduce a few roids, etc...
Lord Dakier
Posts: 3258
Joined: Fri, 8. Dec 06, 13:45
x4

Post by Lord Dakier »

You'll have to show me the line commands as I am not at home right now... if thats ok with you :D
User avatar
Chris Gi
Posts: 960
Joined: Wed, 20. Sep 06, 09:57
x3tc

Post by Chris Gi »

AFAIK there's no way to change the sector's name. The game seems to always use the name info from the map.
However, renaming station and such works. But I'm not quite sure what you're after.
--------------------------------

[ external image ]
Lord Dakier
Posts: 3258
Joined: Fri, 8. Dec 06, 13:45
x4

Post by Lord Dakier »

I want to claim the unknown sector but not much of a claiming if it is still called unknown sector under the galaxy map.
rainbowman
Posts: 26
Joined: Sat, 21. Jun 08, 14:31

Post by rainbowman »

I think (from memory of fiddling about) that you can do the equivalent of the following -

sectorid-> get sector (*there's something missing off this line, but ???)
sectorid -> set owner race to Player (or one of the others if you want)

Also I think you can change the names in the language file, but can't remember what pages. I think that you use the id numbers from the annex ie A3 of the MSCI handbook, so the id for that sector would be 1021202 (next to Rhys Desire). But you wouldn't be able to script such a change - well... I don't think it would be possible... :?:

Oh and thanks Chris! :) Your info was just what i needed for my sector takeover script. (Just going to check the other thread for the reply that has just popped into my Outlook. )

Edit - just read what I wrote before and it doesn;t make sense. lol It should be "setting the owner" rather than "name"...
Lord Dakier
Posts: 3258
Joined: Fri, 8. Dec 06, 13:45
x4

Post by Lord Dakier »

:( Guess I'll have to leave it then, no matter. Thanks guys :D

Return to “X²: The Threat - Scripts and Modding”