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

LogicSequence

Lightwave Alien
25 Badges
Sep 25, 2006
452
11
  • Stellaris: Humanoids Species Pack
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Age of Wonders: Planetfall - Revelations
  • Stellaris: Lithoids
  • Age of Wonders: Planetfall
  • Stellaris: Ancient Relics
  • Surviving Mars: First Colony Edition
  • Stellaris: Megacorp
  • Surviving Mars: First Colony Edition
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Ancient Space
  • Stellaris: Synthetic Dawn
  • Surviving Mars
  • BATTLETECH
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris
  • Cities: Skylines - After Dark
  • Cities: Skylines
  • Magicka
  • Crusader Kings II
I've created a new bypass type (i.e. gateway) and set its ftl_ship_effect and ftl_bypass_effect to new effects; however, no matter what i change, the vanilla effects are what get triggered. Is this a bug or am i doing something wrong? I've even left the fields blank and it still uses the vanilla effects.

Code:
new_gate = {
    name = NEW_GATE_GALACTIC
    is_pathfind = yes
    uses_action = no
    requires_exploration = no
    always_active = no
    windup_time = 0
    winddown_time = 0
    ftl_multiplier = 0
    icon_frame = 30
    remember_instances = no
    galactic_map_tooltip_header = NEW_GATE_GALACTIC
    galactic_map_tooltip_desc = NEW_GATE_GALACTIC_DESC
    connection_type = scripted_connection
    animation_time = 1
    ftl_ship_effect = "new_gate_ftl_ship_effect_entity"            #<--- This is ignored?
    ftl_bypass_effect = "new_gate_ftl_bypass_effect_entity"       #<--- This is ignored?

    country_can_use = {
        custom_tooltip = {
            fail_text = "NEW_GATE_DISABLED"
            NOT = { has_global_flag = disable_new_gates }
        }
    }
   
    scripted_connection = {
        node = { has_star_flag = new_gate_origin }
        nexus = { has_star_flag = new_gate_destination }
    }
}