Naming Sectors Via Ingame Scripts
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 3258
- Joined: Fri, 8. Dec 06, 13:45
Naming Sectors Via Ingame Scripts
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?
-
- Posts: 26
- Joined: Sat, 21. Jun 08, 14:31
-
- Posts: 3258
- Joined: Fri, 8. Dec 06, 13:45
-
- Posts: 3258
- Joined: Fri, 8. Dec 06, 13:45
-
- Posts: 26
- Joined: Sat, 21. Jun 08, 14:31
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"...
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!

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