• 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.

Puntigliano

Recruit
Dec 13, 2023
3
0
I’m trying to nerf gateways (constructible gateways). I’m new to modding Stellaris so any help would be appreciated. I’ve found how to change cost and construction time, but what I would like to do is either:

1. Make it so there has to be X hyperlanes between gateways (i.e. you can’t construct a gateway if there is another one less than X hyperlanes from it)

OR

2. Make it so an empire can’t build more than X gateways (either a hard cap or depending on their empire size or how many planets they control)

OR

3. Only allow gateway construction in specific star systems (e.g. only X or Y type stars, no wormholes, no other type of gates etc.)

Anyone know if this is possible and if so how to do it?

Thanks
 
1. \Stellaris\common\megastructures\05_gateways.txt

Code:
possible = {

        custom_tooltip = {
            fail_text = "requires_no_existing_gateway"
            NOT = {
                any_system = {
                    distance = {
                        source = root
                        type = hyperlane
                        max_jumps = 3    # Minimum possible distance between gateways
                    }
                    has_megastructure = gateway_0
                    has_megastructure = gateway_ruined
                    has_megastructure = gateway_restored
                    has_megastructure = gateway_final
                }
            }
        }

    }
 
I am glad to know that my indication has been useful to you. Good luck with your mod.