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

yan2099

Private
42 Badges
Nov 29, 2013
11
2
  • Crusader Kings II
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • Europa Universalis IV: Res Publica
  • Sengoku
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Knights of Honor
  • BATTLETECH
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Cadet
  • BATTLETECH - Digital Deluxe Edition
  • Stellaris: Distant Stars
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • BATTLETECH: Season pass
  • Stellaris: Lithoids
  • BATTLETECH: Heavy Metal
  • Stellaris: Federations
  • Crusader Kings III
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Stellaris
  • Stellaris - Path to Destruction bundle
  • Impire
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Dungeonland
  • Europa Universalis IV: Art of War
Hello,

I am trying to create a mod I wathched some youtube videos on how to do this but there seem to be none that are good at explaining how to create mods.

Also unfortunatly I am not a coder.

What I would like is a simple mod that prevent A.I to get Gene tailoring tech ideally to prevent them to actually have the tech appear at all so it doesnt waste them a tech choice.

If its not possible to just remove it for A.I then id like for it to not appear at all but ideally it would be better if it would just not appear for A.I.

Thank you!
 
Last edited:
Hello,

I am trying to create a mod I wathched some youtube videos on how to do this but there seem to be none that are good at explaining how to create mods.

Also unfortunatly I am not a coder.

What I would like is a simple mod that prevent A.I to get Gene tailoring tech ideally to prevent them to actually have the tech appear at all so it doesnt waste them a tech choice.

If its not possible to just remove it for A.I then id like for it to not appear at all but ideally it would be better if it would just not appear for A.I.

Thank you!
Here's you do it.
1. Create a mod using the Paradox launcher function to do so. Name it whatever you want.
2. Find the mod folder that just got made (in Paradox Interactive => Stellaris => Mods).
3. In the folder, make a folder named "common"
4. In the common folder you just made, make a folder named "technology"
5. Go find your Stellaris game files. If you're on Steam, they'll be in Steam => Steamapps => Common => Stellaris.
6. Click on the "common" folder in the Stellaris folder (not the one in your mod folder)
7. Click on the "technology" folder in there.
8. Find the 00_soc_tech.txt text file.

Now you have two options. You can either overwrite the entire file or just overwrite the gene tailoring technology. Generally, the second option is better, but overwrite types are... not well documented, so if overwriting just the tech doesn't work, you may need to overwrite the entire file.

To overwrite the technology, make a new txt file in the technology folder in your mod (not in the Stellaris folder). Call it "genetailoroverwrite.txt." or something. Then open the 00_soc_tech.txt file and copy the gene tailoring technology (looks like this):
Code:
@tech_gene_tailoring_POINTS = 1
tech_gene_tailoring = {
    cost = @tier3cost1
    area = society
    tier = 3
    category = { biology }
    prerequisites = { "tech_genome_mapping" }
    weight = @tier3weight1

    gateway = biological

    modifier = {
        description = tech_gene_tailoring_modifier_desc
        description_parameters = {
            POINTS = @tech_gene_tailoring_POINTS
        }
        BIOLOGICAL_species_trait_points_add = @tech_gene_tailoring_POINTS
    }

    feature_flags = {
        modify_traits
        pop_self_modification
    }

    potential = {
        OR = {
            NOT = { has_authority = auth_machine_intelligence }
            has_civic = civic_machine_assimilator
            has_civic = civic_machine_servitor
        }
    }

    weight_modifier = {
        factor = 2.0     # genetech needs to be a bit more common
        modifier = {
            factor = 1.25
            has_authority = auth_hive_mind
        }
        modifier = {
            factor = 1.25
            is_xenophile = yes
        }
        modifier = {
            factor = 1.25
            research_leader = {
                area = society
                has_trait = "leader_trait_expertise_biology"
            }
        }
        modifier = {
            factor = 1.25
            has_origin = origin_necrophage
            has_trait = trait_necrophage
        }
    }

    ai_weight = {
        modifier = {
            factor = 1.25
            research_leader = {
                area = society
                has_trait = "leader_trait_expertise_biology"
            }
        }
        modifier = {
            factor = 2
            has_origin = origin_necrophage
            has_trait = trait_necrophage
        }
    }
}
...and paste that into your new text file.
Then, what you want to do is go to the "potential" block, and add this line: "is_ai = no"
Your text file should look like this afterwards:
Code:
@tech_gene_tailoring_POINTS = 1
tech_gene_tailoring = {
    cost = @tier3cost1
    area = society
    tier = 3
    category = { biology }
    prerequisites = { "tech_genome_mapping" }
    weight = @tier3weight1

    gateway = biological

    modifier = {
        description = tech_gene_tailoring_modifier_desc
        description_parameters = {
            POINTS = @tech_gene_tailoring_POINTS
        }
        BIOLOGICAL_species_trait_points_add = @tech_gene_tailoring_POINTS
    }

    feature_flags = {
        modify_traits
        pop_self_modification
    }

    potential = {
        is_ai = no
        OR = {
            NOT = { has_authority = auth_machine_intelligence }
            has_civic = civic_machine_assimilator
            has_civic = civic_machine_servitor
        }
    }

    weight_modifier = {
        factor = 2.0     # genetech needs to be a bit more common
        modifier = {
            factor = 1.25
            has_authority = auth_hive_mind
        }
        modifier = {
            factor = 1.25
            is_xenophile = yes
        }
        modifier = {
            factor = 1.25
            research_leader = {
                area = society
                has_trait = "leader_trait_expertise_biology"
            }
        }
        modifier = {
            factor = 1.25
            has_origin = origin_necrophage
            has_trait = trait_necrophage
        }
    }

    ai_weight = {
        modifier = {
            factor = 1.25
            research_leader = {
                area = society
                has_trait = "leader_trait_expertise_biology"
            }
        }
        modifier = {
            factor = 2
            has_origin = origin_necrophage
            has_trait = trait_necrophage
        }
    }
}

If you want to overwrite the entirety of 00_soc_tech.txt, instead of making a new text file in your mod's technology folder, copy and paste the entire 00_soc_tech.txt file into your technology folder, then find and edit the gene tailoring technology as displayed above in that copy of 00_soc_tech.txt. Generally, you should avoid overwriting entire text files when possible because that introduces unnecessary incompatibilities with other mods and when the game updates, but sometimes it's unavoidable.
 
  • 1Like
Reactions:
Here's you do it.
1. Create a mod using the Paradox launcher function to do so. Name it whatever you want.
2. Find the mod folder that just got made (in Paradox Interactive => Stellaris => Mods).
3. In the folder, make a folder named "common"
4. In the common folder you just made, make a folder named "technology"
5. Go find your Stellaris game files. If you're on Steam, they'll be in Steam => Steamapps => Common => Stellaris.
6. Click on the "common" folder in the Stellaris folder (not the one in your mod folder)
7. Click on the "technology" folder in there.
8. Find the 00_soc_tech.txt text file.

Now you have two options. You can either overwrite the entire file or just overwrite the gene tailoring technology. Generally, the second option is better, but overwrite types are... not well documented, so if overwriting just the tech doesn't work, you may need to overwrite the entire file.

To overwrite the technology, make a new txt file in the technology folder in your mod (not in the Stellaris folder). Call it "genetailoroverwrite.txt." or something. Then open the 00_soc_tech.txt file and copy the gene tailoring technology (looks like this):
Code:
@tech_gene_tailoring_POINTS = 1
tech_gene_tailoring = {
    cost = @tier3cost1
    area = society
    tier = 3
    category = { biology }
    prerequisites = { "tech_genome_mapping" }
    weight = @tier3weight1

    gateway = biological

    modifier = {
        description = tech_gene_tailoring_modifier_desc
        description_parameters = {
            POINTS = @tech_gene_tailoring_POINTS
        }
        BIOLOGICAL_species_trait_points_add = @tech_gene_tailoring_POINTS
    }

    feature_flags = {
        modify_traits
        pop_self_modification
    }

    potential = {
        OR = {
            NOT = { has_authority = auth_machine_intelligence }
            has_civic = civic_machine_assimilator
            has_civic = civic_machine_servitor
        }
    }

    weight_modifier = {
        factor = 2.0     # genetech needs to be a bit more common
        modifier = {
            factor = 1.25
            has_authority = auth_hive_mind
        }
        modifier = {
            factor = 1.25
            is_xenophile = yes
        }
        modifier = {
            factor = 1.25
            research_leader = {
                area = society
                has_trait = "leader_trait_expertise_biology"
            }
        }
        modifier = {
            factor = 1.25
            has_origin = origin_necrophage
            has_trait = trait_necrophage
        }
    }

    ai_weight = {
        modifier = {
            factor = 1.25
            research_leader = {
                area = society
                has_trait = "leader_trait_expertise_biology"
            }
        }
        modifier = {
            factor = 2
            has_origin = origin_necrophage
            has_trait = trait_necrophage
        }
    }
}
...and paste that into your new text file.
Then, what you want to do is go to the "potential" block, and add this line: "is_ai = no"
Your text file should look like this afterwards:
Code:
@tech_gene_tailoring_POINTS = 1
tech_gene_tailoring = {
    cost = @tier3cost1
    area = society
    tier = 3
    category = { biology }
    prerequisites = { "tech_genome_mapping" }
    weight = @tier3weight1

    gateway = biological

    modifier = {
        description = tech_gene_tailoring_modifier_desc
        description_parameters = {
            POINTS = @tech_gene_tailoring_POINTS
        }
        BIOLOGICAL_species_trait_points_add = @tech_gene_tailoring_POINTS
    }

    feature_flags = {
        modify_traits
        pop_self_modification
    }

    potential = {
        is_ai = no
        OR = {
            NOT = { has_authority = auth_machine_intelligence }
            has_civic = civic_machine_assimilator
            has_civic = civic_machine_servitor
        }
    }

    weight_modifier = {
        factor = 2.0     # genetech needs to be a bit more common
        modifier = {
            factor = 1.25
            has_authority = auth_hive_mind
        }
        modifier = {
            factor = 1.25
            is_xenophile = yes
        }
        modifier = {
            factor = 1.25
            research_leader = {
                area = society
                has_trait = "leader_trait_expertise_biology"
            }
        }
        modifier = {
            factor = 1.25
            has_origin = origin_necrophage
            has_trait = trait_necrophage
        }
    }

    ai_weight = {
        modifier = {
            factor = 1.25
            research_leader = {
                area = society
                has_trait = "leader_trait_expertise_biology"
            }
        }
        modifier = {
            factor = 2
            has_origin = origin_necrophage
            has_trait = trait_necrophage
        }
    }
}

If you want to overwrite the entirety of 00_soc_tech.txt, instead of making a new text file in your mod's technology folder, copy and paste the entire 00_soc_tech.txt file into your technology folder, then find and edit the gene tailoring technology as displayed above in that copy of 00_soc_tech.txt. Generally, you should avoid overwriting entire text files when possible because that introduces unnecessary incompatibilities with other mods and when the game updates, but sometimes it's unavoidable.

Thank you so much for all this effort in this reply I will take the time to read it and try it right away!
 
Here's you do it.
1. Create a mod using the Paradox launcher function to do so. Name it whatever you want.
2. Find the mod folder that just got made (in Paradox Interactive => Stellaris => Mods).
3. In the folder, make a folder named "common"
4. In the common folder you just made, make a folder named "technology"
5. Go find your Stellaris game files. If you're on Steam, they'll be in Steam => Steamapps => Common => Stellaris.
6. Click on the "common" folder in the Stellaris folder (not the one in your mod folder)
7. Click on the "technology" folder in there.
8. Find the 00_soc_tech.txt text file.

Now you have two options. You can either overwrite the entire file or just overwrite the gene tailoring technology. Generally, the second option is better, but overwrite types are... not well documented, so if overwriting just the tech doesn't work, you may need to overwrite the entire file.

To overwrite the technology, make a new txt file in the technology folder in your mod (not in the Stellaris folder). Call it "genetailoroverwrite.txt." or something. Then open the 00_soc_tech.txt file and copy the gene tailoring technology (looks like this):
Code:
@tech_gene_tailoring_POINTS = 1
tech_gene_tailoring = {
    cost = @tier3cost1
    area = society
    tier = 3
    category = { biology }
    prerequisites = { "tech_genome_mapping" }
    weight = @tier3weight1

    gateway = biological

    modifier = {
        description = tech_gene_tailoring_modifier_desc
        description_parameters = {
            POINTS = @tech_gene_tailoring_POINTS
        }
        BIOLOGICAL_species_trait_points_add = @tech_gene_tailoring_POINTS
    }

    feature_flags = {
        modify_traits
        pop_self_modification
    }

    potential = {
        OR = {
            NOT = { has_authority = auth_machine_intelligence }
            has_civic = civic_machine_assimilator
            has_civic = civic_machine_servitor
        }
    }

    weight_modifier = {
        factor = 2.0     # genetech needs to be a bit more common
        modifier = {
            factor = 1.25
            has_authority = auth_hive_mind
        }
        modifier = {
            factor = 1.25
            is_xenophile = yes
        }
        modifier = {
            factor = 1.25
            research_leader = {
                area = society
                has_trait = "leader_trait_expertise_biology"
            }
        }
        modifier = {
            factor = 1.25
            has_origin = origin_necrophage
            has_trait = trait_necrophage
        }
    }

    ai_weight = {
        modifier = {
            factor = 1.25
            research_leader = {
                area = society
                has_trait = "leader_trait_expertise_biology"
            }
        }
        modifier = {
            factor = 2
            has_origin = origin_necrophage
            has_trait = trait_necrophage
        }
    }
}
...and paste that into your new text file.
Then, what you want to do is go to the "potential" block, and add this line: "is_ai = no"
Your text file should look like this afterwards:
Code:
@tech_gene_tailoring_POINTS = 1
tech_gene_tailoring = {
    cost = @tier3cost1
    area = society
    tier = 3
    category = { biology }
    prerequisites = { "tech_genome_mapping" }
    weight = @tier3weight1

    gateway = biological

    modifier = {
        description = tech_gene_tailoring_modifier_desc
        description_parameters = {
            POINTS = @tech_gene_tailoring_POINTS
        }
        BIOLOGICAL_species_trait_points_add = @tech_gene_tailoring_POINTS
    }

    feature_flags = {
        modify_traits
        pop_self_modification
    }

    potential = {
        is_ai = no
        OR = {
            NOT = { has_authority = auth_machine_intelligence }
            has_civic = civic_machine_assimilator
            has_civic = civic_machine_servitor
        }
    }

    weight_modifier = {
        factor = 2.0     # genetech needs to be a bit more common
        modifier = {
            factor = 1.25
            has_authority = auth_hive_mind
        }
        modifier = {
            factor = 1.25
            is_xenophile = yes
        }
        modifier = {
            factor = 1.25
            research_leader = {
                area = society
                has_trait = "leader_trait_expertise_biology"
            }
        }
        modifier = {
            factor = 1.25
            has_origin = origin_necrophage
            has_trait = trait_necrophage
        }
    }

    ai_weight = {
        modifier = {
            factor = 1.25
            research_leader = {
                area = society
                has_trait = "leader_trait_expertise_biology"
            }
        }
        modifier = {
            factor = 2
            has_origin = origin_necrophage
            has_trait = trait_necrophage
        }
    }
}

If you want to overwrite the entirety of 00_soc_tech.txt, instead of making a new text file in your mod's technology folder, copy and paste the entire 00_soc_tech.txt file into your technology folder, then find and edit the gene tailoring technology as displayed above in that copy of 00_soc_tech.txt. Generally, you should avoid overwriting entire text files when possible because that introduces unnecessary incompatibilities with other mods and when the game updates, but sometimes it's unavoidable.

I was able to test it using console command and simulating and then taking over control of A.I and checking their Tech it seem to work! ( first option to not overwrite whole file) Thank you so much!
 
Last edited: