Stellaris

Stellaris

Hyperlane editor (commandline)
114 Comments
Swagatron 14 May @ 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 6 May @ 9:02am 
Dude, you rock!
Farhaam 11 Mar @ 5:40am 
magic
Intuitive 25 Jan @ 12:35am 
Thank you <3 It works perfectly. I have been trimming & adding some hyperlanes around the galaxy, to my liking.
Lex Tempest 22 Jan @ 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 16 Jan @ 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
Commander Goon 23 Oct, 2024 @ 6:14am 
i am Zhou Bai Den
Thaumiel 7 Jul, 2024 @ 10:29pm 
I am a hermaphrodite aquatic creature.
dom 3 Jul, 2024 @ 10:58pm 
anyone who says this mod doesn't work is made of self hating transgender fish
Baka Racker 22 Jun, 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 22 Jun, 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 19 Jun, 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 21 May, 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 24 Dec, 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 24 Dec, 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 24 May, 2023 @ 11:04am 
it does. Just use @Aussie 760's instructions from below
Ghost of Sam 11 May, 2023 @ 9:24am 
Does this work with 3.8?
feanor68 26 Mar, 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 26 Mar, 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 26 Mar, 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 6 Dec, 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 11 Sep, 2022 @ 12:04pm 
A little more complicated than simply entering a few commands, but hey if it works it works lol
StygianCoins 10 Sep, 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 1 Sep, 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 10 Jun, 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 10 Jun, 2022 @ 11:19pm 
works fine without needing any edits
Xeridanus 20 May, 2022 @ 4:22am 
@baronjutter, that's not what you're supposed to do. Read the comments again.
baronjutter 15 May, 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 15 May, 2022 @ 4:30pm 
I wish someone would make a new version or fork of this.
Onis 22 Apr, 2022 @ 9:36am 
it works, thnx! i wish it could work from observe point of view )
摸鱼王 2 Apr, 2022 @ 3:03pm 
It still works! See the comments of Aussie 760 below.
mibaldy 31 Jan, 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 20 Jan, 2022 @ 7:45pm 
This works fine for me, using latest beta.
Pixel 31 Dec, 2021 @ 12:53am 
Unfortunate the mod nolonger works.
ckoldmail 9 Dec, 2021 @ 3:48pm 
@01660 gave it a shot, not working. getting event not found in the console.
ckoldmail 8 Dec, 2021 @ 7:07pm 
@x01660 Thanks, will give that a shot!
x01660 6 Dec, 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 11 Nov, 2021 @ 3:14pm 
also works for, ty Aussie 760
Inimicus 28 Oct, 2021 @ 2:34pm 
Works for me. Cheers Aussie760.
Drackonous 13 Oct, 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 20 Sep, 2021 @ 1:21am 
@ Aussie 760 yea, your way is worked for me, thank you very much!
Aussie 760 19 Sep, 2021 @ 6:50pm 
@ Slick - see the post below, the mod works it is just a bit touchy about things now.
Slick 19 Sep, 2021 @ 2:43pm 
doesn't work in 3.1.1 =(
Star Reshiram 18 Sep, 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 15 Sep, 2021 @ 7:45am 
@Aussie 760 That worked great for me, thank you so much! :steamthumbsup:
Aussie 760 15 Sep, 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 15 Sep, 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 15 Sep, 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 14 Sep, 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."
Sotetsu 14 Sep, 2021 @ 1:16pm 
It looks like the latest patch broke this. Any chance for an update?