Gate ID's

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

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

Post Reply
11026817
Posts: 16
Joined: Sat, 1. May 10, 16:00
x3tc

Gate ID's

Post by 11026817 » Mon, 3. May 10, 17:34

Does anyone know how to get gate ID's so i can link up a sector to another using two created gates?

Or perhaps a script to create new gates to sectors of my choosing, i have tried to create my own which do work but are to random gates of a sector.

Can anyone help?

User avatar
Ketraar
EGOSOFT
EGOSOFT
Posts: 11825
Joined: Fri, 21. May 04, 17:15
x4

Post by Ketraar » Mon, 3. May 10, 17:54

Gate ID's are usually

1A - North
1B - south
2A - east
2B - west
3A - up
3B - down

Not really sure what you're up to, might be best to explain better what your goal is should this not be what you were looking for.

MFG

Ketraar
Image

User avatar
EmperorJon
Posts: 9378
Joined: Mon, 29. Dec 08, 20:58
x3tc

Post by EmperorJon » Mon, 3. May 10, 18:30

Up/Down? There are no Up Down gates... ah, if only there were, then the universe would be chaotic. A max of 6 linked sectors. And think of the map! :p
______
I'm Jon. I'm mostly not around any more. If you want to talk, please message me! It's cool.
______

User avatar
Ketraar
EGOSOFT
EGOSOFT
Posts: 11825
Joined: Fri, 21. May 04, 17:15
x4

Post by Ketraar » Mon, 3. May 10, 18:38

EmperorJon wrote:Up/Down? There are no Up Down gates...
:roll:

Sure there are, HUB Gates, or how would you ref 6 connections?

MFG

Ketraar
Image

User avatar
EmperorJon
Posts: 9378
Joined: Mon, 29. Dec 08, 20:58
x3tc

Post by EmperorJon » Mon, 3. May 10, 18:43

I know there's six in the Hub, but 4 of them aren't called 'East' 'West' etc. are they?
______
I'm Jon. I'm mostly not around any more. If you want to talk, please message me! It's cool.
______

User avatar
Ketraar
EGOSOFT
EGOSOFT
Posts: 11825
Joined: Fri, 21. May 04, 17:15
x4

Post by Ketraar » Mon, 3. May 10, 18:48

They are called like above.

The HUB gates type names are even called like that

SS_WG_HUB_NORTH
SS_WG_HUB_SOUTH
SS_WG_HUB_EAST
SS_WG_HUB_WEST
SS_WG_HUB_UP
SS_WG_HUB_DOWN

Feel free to look it up first :wink:

MFG

Ketraar
Image

mark_a_condren
Posts: 1468
Joined: Wed, 3. Aug 05, 05:05
x3tc

Post by mark_a_condren » Mon, 3. May 10, 19:08

This may help, it's old info but it's something.

<RetVar> = <RefObj> get warp gate: id =<Var/Number>

Finds and returns the warp gate of a given ID in a sector. For all warp gates in the default map,

the ID corresponds with the direction the gate “travels”. North is 0, South is 1, East is 2, West is 3.

MarCon

11026817
Posts: 16
Joined: Sat, 1. May 10, 16:00
x3tc

Post by 11026817 » Mon, 3. May 10, 19:31

Thanks all for help, basicly what has happened is one gate to my sector was destroyed.

I am trying to give the neighbouring sector an east gate and my sector a west gate but my west gate travel to different gate in the neighbouring sector.

I.e my west gate goes to the neighbours south gate


11026817
Posts: 16
Joined: Sat, 1. May 10, 16:00
x3tc

Post by 11026817 » Mon, 3. May 10, 20:54

Thank you for that script :)

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”