Adding a BRAND NEW sector in 1.3 . . . How?

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

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

User avatar
twistedtech
Posts: 246
Joined: Mon, 3. Nov 03, 00:34
x3tc

Adding a BRAND NEW sector in 1.3 . . . How?

Post by twistedtech »

OK, I've activated the Galaxy Editor in 1.3, "H", "Add sector" and I cannot add a NEW sector. By new, I mean a sector not currently existing on the galaxy map template.

I tried the Galaxy editor with 1.2 and an unsupported patcher. It worked fine except it wouldn't add a brand new sector either. I added one manually in the universe.xml file and made a matching set of gates. The new gate in a known sector worked fine, I jumped to my new sector (0,7) even though the new sector didn't show on the galaxy map. However, the galaxy map was completely blank once in my new sector. When I tried to jump out, the gate text was correct but the gate didn't work and I was stuck in my new sector.

Remap the current template doesn't mean new does it?

Edit: Does anyone know where this "template" is stored?
Try not to let your mind wander... It is too small to be out by itself.
Hiroshima
Posts: 177
Joined: Sat, 6. Mar 04, 02:39

Re: Adding a BRAND NEW sector in 1.3 . . . How?

Post by Hiroshima »

twistedtech wrote:OK, I've activated the Galaxy Editor in 1.3, "H", "Add sector" and I cannot add a NEW sector. By new, I mean a sector not currently existing on the galaxy map template.

I tried the Galaxy editor with 1.2 and an unsupported patcher. It worked fine except it wouldn't add a brand new sector either. I added one manually in the universe.xml file and made a matching set of gates. The new gate in a known sector worked fine, I jumped to my new sector (0,7) even though the new sector didn't show on the galaxy map. However, the galaxy map was completely blank once in my new sector. When I tried to jump out, the gate text was correct but the gate didn't work and I was stuck in my new sector.

Remap the current template doesn't mean new does it?

Edit: Does anyone know where this "template" is stored?
From what i've seen you can only start a blank universe and fill in the current sectors with anything you want that's ok though but it would be nice to place *new* sectors :)
User avatar
giskard
Posts: 5230
Joined: Wed, 6. Nov 02, 20:31
xr

Post by giskard »

Yes i noticed that it doesnt let you add a totally new sector too. Im guessing theres a file needs editing some place but you can make a copy of the existing universe and edit that. You just need to extract the cat and dat files and look in maps for a file called X2universe. Extract it, rename it and load the galaxy editor and select it.

Instant copy.

Giskard.
This signature has been stolen by the well known Teladi Signature Thief X Siggy.
User avatar
twistedtech
Posts: 246
Joined: Mon, 3. Nov 03, 00:34
x3tc

Post by twistedtech »

Yeah I did that with 1.2. I added a sector manually in the xml. added stations etc. The new sector doesn't show up in the galaxy map. That wasn't a big deal as it was a secret sector anyway. I was able to jump into the new sector, dock, etc. Go to jump back out and the gate didn't work even though it appeared correctly in the sector map (correct destination). . . . unless I missed something but I don't think so.

I'll rinse and repeat the attempt in 1.3.
Try not to let your mind wander... It is too small to be out by itself.
User avatar
Storm_Front
Posts: 1021
Joined: Mon, 15. Dec 03, 05:27
x2

Post by Storm_Front »

twistedtech wrote:Yeah I did that with 1.2. I added a sector manually in the xml. added stations etc. The new sector doesn't show up in the galaxy map. That wasn't a big deal as it was a secret sector anyway. I was able to jump into the new sector, dock, etc. Go to jump back out and the gate didn't work even though it appeared correctly in the sector map (correct destination). . . . unless I missed something but I don't think so.

I'll rinse and repeat the attempt in 1.3.
I've done this in 1.3, at least it's now easier to create gates than in 1.2, but I still haven't found a way to name the new sector or link it to the 440001 file. Any ideas? Oh, it still doesn't show up on the universe map.
User avatar
twistedtech
Posts: 246
Joined: Mon, 3. Nov 03, 00:34
x3tc

Post by twistedtech »

I just made a new sector with working gates (1.3). I prefer to do this part manually while staring at the map from CJ's site. I now know what I did wrong in 1.2 with the inop gate. I was linking the new gate to a non existent destination gate :oops:

In 1.2, I tried changing some text in a couple of files. I found the references to the sector names and descriptions and gave a go at changing/adding to them. The only thing I accomplished was buggering up a lot of the other text.

The new sector just doesn't show up in the galaxy editor galaxy map but it is there. If I position the sector highlight cursor over the new sector, it ( the highlight) disappears and by pressing "g" I arrive in the new sector.
Try not to let your mind wander... It is too small to be out by itself.
User avatar
Storm_Front
Posts: 1021
Joined: Mon, 15. Dec 03, 05:27
x2

Post by Storm_Front »

I've tested new sectors in a 1.3 game. They seem to work fine. The Npc's were using them like they were just another sector. No name though, and I think the description was from the sector I copied.
AalaarDB
Posts: 2282
Joined: Thu, 29. Jan 04, 08:19
x3tc

Post by AalaarDB »

storm_front, did your sector have a description at all? (in the universe map)
User avatar
twistedtech
Posts: 246
Joined: Mon, 3. Nov 03, 00:34
x3tc

Post by twistedtech »

I've added ships, stations, products etc and should have a couple of working factories just like the ones already in the game. They all appear to work in the galaxy editor. Only thing I'm lacking is names on the galaxy map still.

Later today I'll repack everything just like it was and see if the game will run "unmodified". That would be nice as I haven't and don't want to bugger up any existing sectors except for the addition of new gates.
Try not to let your mind wander... It is too small to be out by itself.
Lucrativus
Posts: 336
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by Lucrativus »

twistedtech wrote:I've added ships, stations, products etc and should have a couple of working factories just like the ones already in the game. They all appear to work in the galaxy editor. Only thing I'm lacking is names on the galaxy map still.

Later today I'll repack everything just like it was and see if the game will run "unmodified". That would be nice as I haven't and don't want to bugger up any existing sectors except for the addition of new gates.

With reference to the map details, I seem to remember someone saying that the map is a reference map and was pre-drawn when the game was made. The computer just looks at where you are and where you have been by referring to this map. If you could find where it is stored, perhaps you could amend it to include you new sectors.

Hope this helps
When one door closes, another slams in your face.
"They say I am so far out that even the Hubble Telescope can't see where I am coming from"

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