Hi all,
i would like to make a few minor adjustments to the universe, mostly to add a small amount of new gate connections. I really dislike those dead end sectors, so I want to open them up a bit more.
I.e. I want to add a new gate connection between "The Reach" and "Morningstar III". I opened up another mod that add new sectors, though it's quite a heavy load of text and I haven't identified how to add gates.
I would appreciate a little help here, or a fingerpointing to a helpful tutorial. Thanks in advance.
B/R
Starman
Is there a tutorial available for "how to add new gates" ?
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 209
- Joined: Wed, 20. Jun 07, 13:56
-
- Posts: 36
- Joined: Wed, 12. Dec 18, 01:42
Re: Is there a tutorial available for "how to add new gates" ?
In theory it's easy to add new gates but it requires a solid naming convention otherwise it will get confusing.
There is a super useful "tutorial" on github by enenra that goes over the creation of a new universe for X4 and it includes how to add gates (further down the bottom).
I've created a gamestart with a new sector (right next to argon prime) that also adds it's own gate connection and i've tried to comment the code as much as possible, so that others (or future me) knows what does what. Have a look at it here. It's a bit outdated since it was made for 1.50 but the sector/gate stuff should work (at least on windows). The majority of stuff that is of interest for you happens in the "maps/xu_ep2_universe" folder, use this with the above tutorial to navigate through the files. Another good source for research is DeadAir's Gateoverhaul mod, so make sure you check it out as well.
I have an updated version of my mod for 3.30 but haven't had the chance to up it on github yet, maybe i get to it in the next few days.
There is a super useful "tutorial" on github by enenra that goes over the creation of a new universe for X4 and it includes how to add gates (further down the bottom).
I've created a gamestart with a new sector (right next to argon prime) that also adds it's own gate connection and i've tried to comment the code as much as possible, so that others (or future me) knows what does what. Have a look at it here. It's a bit outdated since it was made for 1.50 but the sector/gate stuff should work (at least on windows). The majority of stuff that is of interest for you happens in the "maps/xu_ep2_universe" folder, use this with the above tutorial to navigate through the files. Another good source for research is DeadAir's Gateoverhaul mod, so make sure you check it out as well.
I have an updated version of my mod for 3.30 but haven't had the chance to up it on github yet, maybe i get to it in the next few days.
-
- Posts: 209
- Joined: Wed, 20. Jun 07, 13:56
Re: Is there a tutorial available for "how to add new gates" ?
Thank you for this information, much appreciated
I take a look into it.
