Valanarch

Sergeant
58 Badges
Mar 19, 2016
88
50
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Pre-order
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Natural Disasters
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings II: Conclave
  • Crusader Kings III
  • Cities: Skylines - Green Cities
  • Crusader Kings II: Holy Fury
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Stellaris: Federations
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Hearts of Iron IV: Cadet
  • Victoria 2
  • Europa Universalis IV
  • Cities: Skylines - Campus
  • Europa Universalis IV: Third Rome
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Sword of Islam
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
1) Deactivate all but one mod.
2) Start a new game.
3) Open the console and enter "survey".
4) You should get lots of first contact chains right away. If not, the active mod is the culprit. Otherwise, close the game and try it again with another mod enbaled.
Thank you so much! I found the problem (it was the Photosynthesis mod, which I didn't think would be a problem, but it makes sense since it hasn't been updated in a while).
 

malakhglitch

Second Lieutenant
6 Badges
Sep 13, 2020
174
198
  • Knights of Pen and Paper +1 Edition
  • Teleglitch: Die More Edition
  • The Showdown Effect
  • Magicka 2
  • Age of Wonders III
  • Shadowrun Returns
Is it possible for a custom species mod to be achievement compatible? How is it done if possible?

EDIT: I meant custom species portrait mod.
 
Last edited:

Yoru143

Recruit
May 9, 2021
2
0
Hi guys. I'm relatively new to modding, and I've actually just created my first mod, and so far it's been working. However, for my new mod, I am trying to add a new trade policy; some background:

1. It is tied to a civic.
2. I have created the relevant trade conversion, and policy entries, in the relevant folders.

Anything I might be missing?


EDIT: How careless of me. It was being overwritten...because of file load orders. Now I realize why some mod files have ZZZ in their names.
 

masternetra

Recruit
38 Badges
Sep 23, 2019
4
0
  • Cities: Skylines - Parklife
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Age of Wonders III
  • Crusader Kings II: Jade Dragon
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Crusader Kings II: Reapers Due
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Prison Architect
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Stellaris: Necroids
  • Stellaris: Galaxy Edition
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Charlemagne
  • Cities: Skylines
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Legacy of Rome
  • Cities in Motion 2
  • Stellaris: Galaxy Edition
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
  • Cities: Skylines Deluxe Edition
  • Stellaris: Synthetic Dawn
  • Cities in Motion
Two quick questions, both relate to one another really.

1. Trying to edit in a megastructure to convert blackholes into a star and I'm wondering how to clear the system itself from being shown (as well as the effects from ) as/being a blackhole system. In others convert the system back to a normal one. Changing the actual blackhole "planet" obviously is easily done via changing the planet_class. Just don't know how to change the system.

2. How do I change the system back to normal from console ingame as well, again changing the planet item easily done but system remains shown as a blackhole system along with the debuff?
 

Mitchz95

Field Marshal
17 Badges
Feb 4, 2016
3.351
2.077
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Major Wiki Contributor
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
1. Trying to edit in a megastructure to convert blackholes into a star and I'm wondering how to clear the system itself from being shown (as well as the effects from ) as/being a blackhole system. In others convert the system back to a normal one. Changing the actual blackhole "planet" obviously is easily done via changing the planet_class. Just don't know how to change the system.

From the system scope: "set_star_class = <class>". This will change the star itself as well; no need to use "change_pc".

2. How do I change the system back to normal from console ingame as well, again changing the planet item easily done but system remains shown as a blackhole system along with the debuff?

Select a planet in the system, then open the console and use "effect solar_system = { set_star_class = <class> }".
 
  • 1Like
Reactions:

malakhglitch

Second Lieutenant
6 Badges
Sep 13, 2020
174
198
  • Knights of Pen and Paper +1 Edition
  • Teleglitch: Die More Edition
  • The Showdown Effect
  • Magicka 2
  • Age of Wonders III
  • Shadowrun Returns
How do I check whether an empire has "discovered" a system, i.e. they can see the system's name (greyed out) and the number of planets?

The first part, i.e. you can see the hyperlane leading to the system and can see the greyed out name.

Though not necessarily immediately accessible. Some enclaves can be discovered and it's on the opposite side of the galaxy.
 

mial42

Colonel
18 Badges
Sep 28, 2020
1.193
2.389
  • Stellaris: Synthetic Dawn
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Crusader Kings II
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Charlemagne
Is it possible to have a specific tradition tree be fully adopted (Discovery) as a prerequisite for an Ascension Perk?
Don't know if there's a specific trigger for it, but you can always do the hack way of just individually checking if the empire has all the Discovery traditions and putting that in a potential block.
 

Mitchz95

Field Marshal
17 Badges
Feb 4, 2016
3.351
2.077
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Major Wiki Contributor
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
The first part, i.e. you can see the hyperlane leading to the system and can see the greyed out name.

Though not necessarily immediately accessible. Some enclaves can be discovered and it's on the opposite side of the galaxy.

Lol, I meant through an event. Something in the veins of "is_surveyed = yes/no", but a step down from surveyed.
 

malakhglitch

Second Lieutenant
6 Badges
Sep 13, 2020
174
198
  • Knights of Pen and Paper +1 Edition
  • Teleglitch: Die More Edition
  • The Showdown Effect
  • Magicka 2
  • Age of Wonders III
  • Shadowrun Returns
Don't know if there's a specific trigger for it, but you can always do the hack way of just individually checking if the empire has all the Discovery traditions and putting that in a potential block.

So essentially I have to check to see if they have Planetary Survey Corps AND Faith in Science, right?

Lol, I meant through an event. Something in the veins of "is_surveyed = yes/no", but a step down from surveyed.

Ah! I misunderstood, Mea culpa.
 

mial42

Colonel
18 Badges
Sep 28, 2020
1.193
2.389
  • Stellaris: Synthetic Dawn
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Crusader Kings II
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Charlemagne
So essentially I have to check to see if they have Planetary Survey Corps AND Faith in Science, right?
Yes, and all the others. Still, there's only 5 (and I believe all the swaps inherit effects and so are covered without having to specify them explicitly).
 
  • 1
Reactions:

arkangyl88

Private
74 Badges
Apr 17, 2021
13
48
  • Cities: Skylines - Natural Disasters
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - After Dark
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • BATTLETECH
  • Surviving Mars
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Necroids
  • Europa Universalis IV: Call to arms event
  • 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: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Teleglitch: Die More Edition
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
I'm a noob to Stellaris modding, but am a software developer in my day job. I wanted to make a tool that would help me write mods. Does anyone know what the file format is called that Stellaris mods use? I'm talking about this, specifically:
### Coprolite Asteroid ship_event = { id = anomaly.1 title = "anomaly.1.name" desc = "anomaly.1.desc" picture = GFX_evt_mining_station show_sound = event_ship_bridge location = FROM is_triggered_only = yes immediate = { from = { clear_deposits = yes } } option = { name = REMARKABLE hidden_effect = { FROM = { add_modifier = { modifier = "asteroid_coprolite" days = -1 } } } FROM = { set_deposit = d_society_3 } } }

I can write a custom serializer for it, but I'd rather not have to if I can find one.
 

Rodmar18

Lt. General
8 Badges
Sep 19, 2018
1.563
206
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris: Humanoids Species Pack
  • Stellaris: Distant Stars
  • Stellaris: Synthetic Dawn
I'm a noob to Stellaris modding, but am a software developer in my day job. I wanted to make a tool that would help me write mods. Does anyone know what the file format is called that Stellaris mods use?
I'm not a modder, and I don't understand. Do you mean script format or script syntax?
As for file format, script files are plain text files created and edited with notepad++, Kwrite, etc. They are encoded in utf8 without BOM.

Perhaps you could read the wiki pages for modding.
 

Ludaire

Second Lieutenant
22 Badges
Apr 17, 2021
178
501
  • Age of Wonders III
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Prison Architect
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Crusader Kings II
  • Stellaris: Synthetic Dawn
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • Magicka 2
  • Warlock: Master of the Arcane
  • Magicka
I'm trying to add an empire-wide multiplier to a starbase building using the following code:

Code:
triggered_country_modifier = {
    potential = {
        # A bunch of stuff that works
    }
    
    planet_jobs_complex_drone_produces_mult = 0.05
}

However, in my error.log, I get an error on that last line saying the modifier isn't valid for this category:

Code:
[pdxmodifier.h:478]: Modifier has entry not allowed by category:  file: common/starbase_buildings/me_starbase_buildings.txt line: 138

This is the same modifier used in both the tradition and on bio trophies, so I was hoping it would work. Is there a way to apply a stratum-specific produces_mult like this to the whole country from a starbase building?
 

malakhglitch

Second Lieutenant
6 Badges
Sep 13, 2020
174
198
  • Knights of Pen and Paper +1 Edition
  • Teleglitch: Die More Edition
  • The Showdown Effect
  • Magicka 2
  • Age of Wonders III
  • Shadowrun Returns
This is the same modifier used in both the tradition and on bio trophies, so I was hoping it would work. Is there a way to apply a stratum-specific produces_mult like this to the whole country from a starbase building?

I am not sure, but go look at the code for the Curator Think Tank and Artisan Art College.