Sectortravel with Booster

The place to discuss scripting and game modifications for X Rebirth.

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

User avatar
Tamina
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 4628
Joined: Sun, 26. Jan 14, 09:56

Sectortravel with Booster

Post by Tamina »

Just a thought while waiting for my empty Taranis to charge its jumpdrive but would it be possible that capitals use their booster instead of the jumpdrive to travel between sectors?

Surely it would take a while but still better and more thrilling then waiting for the jumpdrive and get shot down in the meantime.

Also you could board capitals during interstellar travel without a reputation loss.

Would it be possible or is the engine limited in a way that you can'tt?

:)

Code: Select all

Und wenn ein Forenbösewicht, was Ungezogenes spricht, dann hol' ich meinen Kaktus und der sticht sticht sticht.
  /l、 
゙(゚、 。 7 
 l、゙ ~ヽ   / 
 じしf_, )ノ 
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader »

engine-limited yes, since ships dont switch sector context without jumping or using tubes - but not impossible since you can do that manually.
problem is it will literally take a while.. Capships with Boost are 2000m/s fast (max value), the Distance between Sectors is *looking up the shortest in vanilla* 11670893,7283329 meters (Inner World <-> Ascension), which would take about 5835,4468641665 seconds or 1,6209574623 hours - still a playable time, but its by far faster to use the slow charge..
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)
Rei Ayanami
Posts: 3354
Joined: Wed, 6. Nov 02, 20:31
x4

Post by Rei Ayanami »

For players it is not possible to do that. The reason for that is:
Even if you manage to fly from one sector to the position of the next sector the next sector won't load and it will be just empty space. I've tried it. ;) Only if you either travel via super highway or jumpdrive the game will actually move you from sector A to sector B.

I think it could be possible to move NPC ships between sectors without them using the highway/jumpdrive if there was a script that would simply change the ships location.
They wouldn't really fly there, it would just be an simulation so it kinda looks like it, it would basically work like that:
1) capital ship flies of way, waaaay into deep space
2) after about half the distance to the target sector the game engine takes the capital ship, removes it from its current sector and keeps note of its position
3) the game engine puts the ship into the next sector and puts it at the position as if it naturally came from the first sector

As the player observing it it would look like the ship just disappeared when it enters the next sector/appeared out of nowhere when it enters the next sector.
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader »

Rei Ayanami wrote:2) after about half the distance to the target sector the game engine takes the capital ship, removes it from its current sector and keeps note of its position
3) the game engine puts the ship into the next sector and puts it at the position as if it naturally came from the first sector
thats what i meant with manually switching the sector context, and it is far simpler than you think because what you describe here in 2 steps is actually just one:
<warp object="this.ship" zone="$targetzone>
<position value="$zone_offset"/>
<rotation value="$rotation"/>
</warp>

you just have to calculate the offset from a random Zone/the target Zone (it will switch to a temp zone automatically shortly after this) and either keep the current rotation or re-calculate it to account for twisted Zones/Sectors (possible, but in Vanilla unused)
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)
User avatar
Tamina
Moderator (Deutsch)
Moderator (Deutsch)
Posts: 4628
Joined: Sun, 26. Jan 14, 09:56

Post by Tamina »

Hmmm that is sad.
I know it takes about 10minutes to fly to the edge of the map, I thought maybe about increasing the booster speed on interplanetary travel level if at all.
I just don't like the jumpdrive hack. :P

Code: Select all

Und wenn ein Forenbösewicht, was Ungezogenes spricht, dann hol' ich meinen Kaktus und der sticht sticht sticht.
  /l、 
゙(゚、 。 7 
 l、゙ ~ヽ   / 
 じしf_, )ノ 
UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader »

well, i dont think you actually want to travel this way in OL, because there the Cluster shows its ugly face to you.. thats one of the two reasons i hate it: the only areas which may look good are the ones already used (i found one exception, but thats more like a fallback plan), get a bit outside of that and its like you notice how everything is constructed around these Regions, and one Planet has a really weird repeationg pattern (it doesnt even rotate as it looks from one Sector - it turns its insides out and it outsides in.. yep, its as weird as it sounds)
the other Clusters are fine, though, they just need some fine-tunig (eg the Sun in DV has Eruptions only on the visible side, place a new Sector about 30° rotated from them with the sun as rotation point and you notice they are missing on one half)
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)

Return to “X Rebirth - Scripts and Modding”