Stellaris

Stellaris

Hyperlane editor (commandline)
115 Comments
[KaD]Ramses Sep 13 @ 12:44pm 
still works fine
Swagatron May 14 @ 11:54am 
This mod still works perfectly well in 4.0, and as far as I'm aware it should work forever given its VERY simple coding.
Flakyhtf May 6 @ 9:02am 
Dude, you rock!
Farhaam Mar 11 @ 5:40am 
magic
Intuitive Jan 25 @ 12:35am 
Thank you <3 It works perfectly. I have been trimming & adding some hyperlanes around the galaxy, to my liking.
Lex Tempest Jan 22 @ 11:55am 
This mod still works! Make sure you zoom out to galaxy view whenever you use event hyperlane.3 or 4. It'll confirm if you want to add or remove the lane.
STuRoK Jan 16 @ 4:51am 
I found another way to connect Unknown systems. Needed if you don't have the Caravan Coalition.
Just go into Observer mode,
execute the script on the 2 systems you want,
then type "play 00" to get back to your empire,
then execute the 3rd script to connect em. :steamthumbsup:
Badabing badaboom
Glowing Goon Oct 23, 2024 @ 6:14am 
i am Zhou Bai Den
TheLegend27 Jul 7, 2024 @ 10:29pm 
I am a hermaphrodite aquatic creature.
dom Jul 3, 2024 @ 10:58pm 
anyone who says this mod doesn't work is made of self hating transgender fish
Baka Racker Jun 22, 2024 @ 5:22pm 
Okay, I made it sound more complex than it is. Basically, when using events 1 & 2, make sure you are in the system view and have clicked on ANY body there [planet, star], then fire the event. When using events 3 & 4 make sure you are in the galaxy view and have left clicked on empty space to clear any selection, then fire the event. You can even use this on with systems you don't have vision of, just click on any body as above and fire event 1 or 2. As Snakes&Ladders said, IT WORKS, and probably will forever.
Snakes&Ladders Jun 22, 2024 @ 10:30am 
@snow_bound It for sure works. It worked when in May and it works now. I don't think it conflicts with any namespace, so it will work tomorrow too.
Baka Racker Jun 19, 2024 @ 6:08pm 
@snow_bound Literally just tested it, still works fine. When using events 1/2, make sure you are in the system view, and when using events 3/4 make sure you are in the galaxy view. Also, when using events 3/4 hit escape or click on empty space on the map. When going between system and galaxy view the game can still act like you have a planet selected even if you can't see the planet view, doing the above "clears" that.

From my [very limited] mod understanding, Paradox would have to make major changes to hyperlanes and hyperlane generation for this mod to stop working.
snow_bound May 21, 2024 @ 3:58pm 
As of Stellaris 3.12.2 this mod no longer seems to work, I only get "Could not find event" errors when I try any of the commands. I ignored those errors and used @Aussie 760's instructions (which I had been using it that way for years anyway) and it did not create a new hyperlane.
Journeyman Prime Dec 24, 2023 @ 5:43am 
Update: Success! I was able to remedy the issue by deactivating another mod on my playlist, an odd coincidence but helpful!
Journeyman Prime Dec 24, 2023 @ 5:39am 
This mod does not seem to work with 3.10. I followed all instructions from the desc and comments and while everything executes and noting breaks, the hyperlanes remain intact and active
For No Particular Reason May 24, 2023 @ 11:04am 
it does. Just use @Aussie 760's instructions from below
Ghost of Sam May 11, 2023 @ 9:24am 
Does this work with 3.8?
feanor68 Mar 26, 2023 @ 8:19am 
Apologies for wall-of-text in advance :P

For anyone not sure, this mod absolutely still works just fine in 3.7 version. In order for its commands to function, I know this mod needs you to have 100% knowledge of the two star-systems you want to connect or disconnect, i.e. 100% surveyed/explored. But at the start, you do not have this knowledge, so the mod does not work. But there's a simple trick I have been using for YEARS, as follows:
(continued)
feanor68 Mar 26, 2023 @ 8:19am 
(2 of 3)
- make sure to keep you game on PAUSE the whole time; not a huge deal if you mess up, but if you unpause, the AI will take control of your empire during that time
- Pull up console using ` key (usually above TAB key), enter command "observe" (never use quotes on commands); next, enter command "debugtooltip"
- Locate the 'Caravansary Caravan Coalition' on the map, assuming you did not disable them in settings to generate the galaxy; they are always located in the system Chor's Compass; hover your mouse over their flag-icon (you are still in galaxy view) and the pop-up menu will show you their specific ID# in your game -- this can change depending on various settings you chose during galaxy generation, so don't assume it stays the same from other games you have started

(continued)
feanor68 Mar 26, 2023 @ 8:18am 
(3 of 3)
- Enter command "play ##" with ## being the ID number you identified in the step above; click on any ship icon on the galaxy map -- this will immediately highlight or show EVERY hyperlane-connection in the galaxy
- now use this mod's commands to connect or disconnect the hyperlanes you want. Note that you can also use the paste-function in the console. I personally find it easiest to CTRL+C (i.e. copy) the command "event hyperlane.1"; then use CTRL+V (i.e. paste) in the console on the first system-star; then backspace the number to enter 2 on the second system-star; then 3 or 4 to initiate the dialogue box of the mod
- when finished making all of the changes you want, enter command "play 00", which is always the player-empire you started with

Hope this helps any novices or those unsure :) It's a fantastic mod, once you get used to playing with it!
Baka Racker Dec 6, 2022 @ 4:34pm 
To those with crashing issues, are you making sure that you are in the galaxy view and not the system view when using "event hyperlane.4"? I'm running about 25 mods including Giga, NSC, ESC NEXT and half of PD, and this mod still works fine with no issues for me, no need to use observe mode...although it that's what it takes for it to work for you, better than nothing!
Killer Tamashi Sep 11, 2022 @ 12:04pm 
A little more complicated than simply entering a few commands, but hey if it works it works lol
StygianCoins Sep 10, 2022 @ 10:21am 
Ok, I think I found a solution for the hyperlane removal crash issues. It's finicky af, but it works.

System 1 = the first system you want to disconnect
System 2 = the second system you want to disconnect

1. Enter observe, go to the system 1, enter play 00, enter add_ship <ship design name>, like a corvette for example, without the <>
2. Go to observe mode again, and repeat the same steps for system 2.
3. While in play 00 mode, the normal mode you play in, enter event hyperlane.1 in system 1 and event hyperlane.2 in system 2.
4. Now do this while the game is unpaused: deselect any planets/stars you might have selected and enter event hyperlane.4 while in the galaxy map mode and while the game is running.

You can try to save between steps so you don't lose progress in case you miss something.

I did all this and it works :approved:
Killer Tamashi Sep 1, 2022 @ 4:00pm 
Anyone figure out a solution to the crashes caused by removing hyperlanes? I know it's to be "expected" when messing around with them, but still pretty annoying when it happens.
YontEvnKnow Jun 10, 2022 @ 11:21pm 
if using observe to make systems visible, after marking both origin/destination, swap to your faction before using the final event.
YontEvnKnow Jun 10, 2022 @ 11:19pm 
works fine without needing any edits
Xeridanus May 20, 2022 @ 4:22am 
@baronjutter, that's not what you're supposed to do. Read the comments again.
baronjutter May 15, 2022 @ 4:42pm 
I edited the file with every instance of "country_event" with "planet_event" but it just doesn't do anything. I no longer get the errors, but the events just don't seem to do anything :(
baronjutter May 15, 2022 @ 4:30pm 
I wish someone would make a new version or fork of this.
Onis Apr 22, 2022 @ 9:36am 
it works, thnx! i wish it could work from observe point of view )
摸鱼王 Apr 2, 2022 @ 3:03pm 
It still works! See the comments of Aussie 760 below.
mibaldy Jan 31, 2022 @ 6:55am 
Does work (just used it). Very finicky. The workaround was posted by Aussie 760 about a page back.
As the last update for the mod was back in 2018, I wouldn't hold my breath on it being updated, anoxia is a fairly miserable way to go :)
LNSS Jan 20, 2022 @ 7:45pm 
This works fine for me, using latest beta.
Pixel Dec 31, 2021 @ 12:53am 
Unfortunate the mod nolonger works.
ckoldmail Dec 9, 2021 @ 3:48pm 
@01660 gave it a shot, not working. getting event not found in the console.
ckoldmail Dec 8, 2021 @ 7:07pm 
@x01660 Thanks, will give that a shot!
x01660 Dec 6, 2021 @ 8:42am 
I found a really simple solution;

Go in the mod file, and change every instance of "country_event" with "planet_event". Save, and replace in the zip file.

I'm no longer getting the confirmation notices that the system is selected, nor that the hyperlane has been added/removed, but it works flawlessly.
Zag14 Nov 11, 2021 @ 3:14pm 
also works for, ty Aussie 760
Inimicus Oct 28, 2021 @ 2:34pm 
Works for me. Cheers Aussie760.
Drackonous Oct 13, 2021 @ 11:08am 
Still not working alt all - event hyperlane.1 could not find event . does not work in or out of galaxy view. Who is the publisher on this mod i want to contact them
Slick Sep 20, 2021 @ 1:21am 
@ Aussie 760 yea, your way is worked for me, thank you very much!
Aussie 760 Sep 19, 2021 @ 6:50pm 
@ Slick - see the post below, the mod works it is just a bit touchy about things now.
Slick Sep 19, 2021 @ 2:43pm 
doesn't work in 3.1.1 =(
Star Reshiram Sep 18, 2021 @ 5:56pm 
@Wolf kinda late to responding but the bug or issue was that despite having the required technology (the ESN) the hyperlanes wouldn't generate without external help like this mod
Jivesey Sep 15, 2021 @ 7:45am 
@Aussie 760 That worked great for me, thank you so much! :steamthumbsup:
Aussie 760 Sep 15, 2021 @ 2:04am 
[Part 2: TLDR - The solution]

So my recommendation is to mark the desired systems (I always used the main star) then back out of the system to the galaxy view, you may even have to close and reopen the console before executing the desired 3 / 4 command.

Hope this helps
Aussie 760 Sep 15, 2021 @ 2:03am 
@ Dare Arkin, Sotesu, and anyone else who runs into
"Event fired on wrong scope. Got planet, expected country" issue.

Did a fair amount of reading through the patch notes and the wiki for modding. Also looked through the mod's scripting and my error log. From what I can tell the mod is still functional.

Some of the modding fixes that the development team put in place have just made the execution of this mod... finicky.

[Part 1: The issue]

The execution of events 3 & 4 need to be completed when absolutely nothing is selected. If you still have a star or planet selected, the game views the scope of the command to be targeting that star, however the mod has written its script to be a "country" event (hence the nice little pop up messages telling us what is going on). By clearing out the scope field (deselecting the system) the game views the executable with the scope of "country" rather than "planet"
Aussie 760 Sep 15, 2021 @ 12:24am 
@Dare Arkin: I got the same messages, however it was a 50/50 on if it would happen or not. I'm not counting on this mod being updated, so I am looking into fixing this myself - there are only 127 lines of code, and the portions pertaining to adding or removing lanes (events 3 &4) appear after line 57.

I'm not a programmer or mod maker, but this looks fairly strait forward - If I find a fix I'll follow up.
Dare Arkin Sep 14, 2021 @ 2:00pm 
Can confirm, dead in 3.1.

Gives the error message of:

event hyperlane : "Could not find event."
event hyperlane.1 : no error message, no popup
event hyperlane.2 : no error message, no popup
event hyperlane.3 : "Event fired on wrong scope. Got planet, expected country."
event hyperlane.4 : "Event fired on wrong scope. Got planet, expected country."