• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Pancakelord

Lord of Pancakes
44 Badges
Apr 7, 2018
3.375
12.291
  • Cities: Skylines - Green Cities
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Ancient Relics
  • Cities: Skylines - Mass Transit
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Imperator: Rome
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Cities: Skylines Industries
  • Imperator: Rome Deluxe Edition
  • Magicka: Wizard Wars Founder Wizard
  • Stellaris: Nemesis
  • Europa Universalis IV
  • Stellaris: Necroids
  • Sword of the Stars
  • Crusader Kings III
  • War of the Roses
  • Cities: Skylines
  • Stellaris: Federations
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Stellaris: Lithoids
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris - Path to Destruction bundle
  • Stellaris: Megacorp
  • Stellaris: Synthetic Dawn
  • Crusader Kings II
  • Stellaris
  • Cities: Skylines Deluxe Edition
  • Sword of the Stars II
  • March of the Eagles
  • Darkest Hour
Title, I'm trying to find a way to reference a fleet as it's leaving a star system via a regular boring old hyperlane. I can only find these which talk about using bypasses.
The hyperlanes themselves are not treated as bypasses - and it looks like hyper relays have not been coded as such, either. I cant find any way to tell if a ship is in a relay or not (ignoring the brute force monthly checks and so on).
1662561306275.png

If I could run this as ships left their systems, I could look at the destination star - and if it was a black hole for example, I could speed up their inter-stellar speeds when moving towards the black hole. And do the inverse, slowing them down dramatically between stars as they try and leave a black hole.

There is this, but it doesnt look like it will work with just any star, only when going from Claimed by X to claimed by Y or nobody.
1662561752880.png


Also does anyone know how to fetch the in-system coordinates (not galactic_object/galaxy map coords of the star) of a hyperlane relay point?
One of these.
1662561508218.png

Trying to find a way to spawn a minefield on top of it and it doesnt seem to be easily referenceable.
 
Last edited:
And do the inverse, slowing them down dramatically between stars as they try and leave a black hole.
Most of the other stuff seems pretty difficulty or impossible, but for this one specifically you should be able to use on_entering_system_fleet, simply adding a modifier to the fleet that reduces FTL speed when entering a system with a black hole, or removing it when the fleet enters a system without a black hole.

Afaik, on_entering_system_fleet triggers regardless of how you enter the system, and since you need to first enter a system to be able to use FTL, it should catch a ship that has just left a black hole system no matter how it did it, clearing the modifier consistently without having to run periodical checks.
 
  • 1Like
Reactions:
Most of the other stuff seems pretty difficulty or impossible, but for this one specifically you should be able to use on_entering_system_fleet, simply adding a modifier to the fleet that reduces FTL speed when entering a system with a black hole, or removing it when the fleet enters a system without a black hole.

Afaik, on_entering_system_fleet triggers regardless of how you enter the system, and since you need to first enter a system to be able to use FTL, it should catch a ship that has just left a black hole system no matter how it did it, clearing the modifier consistently without having to run periodical checks.
ah yeah i know about one, the problem is - unless im misunderstanding the on-action, it triggers once the ships materialise in system B (the black hole system). I wanted to modify "interstellar speed" (i.e. the speed that ships move at between stars on the galaxy map - which is easy to do -- but without knowing the destination it isnt really workable for this specific case).

But for that to work, i would probably need to have a hypothetical "on_leaving_system This= fleet from =system fromfrom=destination".

Also tried to see if scripted modifiers would do anything but there is nowhere to insert or check for ship states in ship classes or admirals, so a bit stuffed there.
 
ah yeah i know about one, the problem is - unless im misunderstanding the on-action, it triggers once the ships materialise in system B (the black hole system). I wanted to modify "interstellar speed" (i.e. the speed that ships move at between stars on the galaxy map - which is easy to do -- but without knowing the destination it isnt really workable for this specific case).
Yes, that's why it only works for leaving black hole systems. If the fleet enters a system with a black hole, and you apply the FTL speed penalty, then you know that it will either affect the fleet when it tries to leave the system via a hyperlane, or be cleared the moment it enters another system via another method. You do not need to know the ships destination, which is why this probably works.

For speeding up the process entering a black hole system, you'd need to know the destination before entering the hyperlane, which (I might be wrong, but) I don't think you can.
 
  • 1
Reactions:
Yes, that's why it only works for leaving black hole systems. If the fleet enters a system with a black hole, and you apply the FTL speed penalty, then you know that it will either affect the fleet when it tries to leave the system via a hyperlane, or be cleared the moment it enters another system via another method. You do not need to know the ships destination, which is why this probably works.

For speeding up the process entering a black hole system, you'd need to know the destination before entering the hyperlane, which (I might be wrong, but) I don't think you can.
Ah ok read your post backwards, ironically. Yes it should be possible to implement half of it at least, and it can be cleared on arriving in the next system, good point.
 
  • 1Like
Reactions: