[Need help] Could not find specified anomaly category

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

Poslovitch

Recruit
51 Badges
Apr 8, 2017
4
0
  • Cities in Motion 2
  • Crusader Kings II
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Sunset Invasion
  • Darkest Hour
  • Hearts of Iron III
  • The Kings Crusade
  • Semper Fi
  • BATTLETECH: Flashpoint
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines Industries
  • Surviving Mars: First Colony Edition
  • Shadowrun Returns
  • Stellaris: Distant Stars
  • Cities: Skylines - Parklife
  • Surviving Mars: Digital Deluxe Edition
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Stellaris: Necroids
  • Stellaris: Megacorp
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Prison Architect
  • Surviving Mars: First Colony Edition
  • Stellaris: Ancient Relics
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Deluxe edition
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Cities in Motion
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV
  • Cities: Skylines
  • Cities: Skylines - Snowfall
  • Stellaris
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Cities: Skylines - Green Cities
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Stellaris - Path to Destruction bundle
  • Steel Division: Normandy 44
  • Cities: Skylines - Mass Transit
  • Steel Division: Normandy 44 Deluxe Edition
  • BATTLETECH
  • Surviving Mars
I originally posted this thread here as I didn't have access to this subforum. I can't remove it, and I wanted to move it here, in this more suitable place. So I created this one.
-----------------------------------
Hi,

I started creating a mod to add some anomalies for a personal use.
I used the DevDiary #31, the StellarisWiki, videos and I even downloaded a few mods to see how to do a mod that add anomalies.

But when I try to debug in Stellaris using "add_anomaly" in console, it says it couldn't find the specified anomaly category. There is no errors in logs.

Here is the "source code" : https://github.com/Poslovitch/Stellaris-NovaInventorum

Thanks for your help.
 

Guilliman88

Planet Modifier Guy
46 Badges
Mar 21, 2015
544
429
  • Magicka
  • Stellaris
  • Age of Wonders: Planetfall Deluxe edition
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Surviving Mars: First Colony Edition
  • Cities: Skylines Industries
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Prison Architect
  • Surviving Mars: First Colony Edition
  • Cities: Skylines - Campus
  • BATTLETECH: Season pass
  • Age of Wonders: Planetfall
  • BATTLETECH - Digital Deluxe Edition
  • Age of Wonders: Planetfall Premium edition
  • Age of Wonders: Planetfall Season pass
  • Stellaris: Lithoids
  • BATTLETECH: Heavy Metal
  • Stellaris: Federations
  • Crusader Kings III
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Mass Transit
  • BATTLETECH
  • Surviving Mars
  • Age of Wonders III
  • Cities: Skylines - Green Cities
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Ancient Relics
  • Stellaris: Synthetic Dawn
  • Age of Wonders: Planetfall - Revelations
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
Try removing the brackets in Stellaris-NovaInventorum/events/ni_skyflowers.txt
Code:
namespace = "ni_skyflowers"

to

namespace = ni_skyflowers

'Risk' is also no longer used common/anomalies/ni_skyflowers_category.txt (but wont be the cause of the anomaly not working)
Other than that it looks al right to me I think
 

Guilliman88

Planet Modifier Guy
46 Badges
Mar 21, 2015
544
429
  • Magicka
  • Stellaris
  • Age of Wonders: Planetfall Deluxe edition
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Surviving Mars: First Colony Edition
  • Cities: Skylines Industries
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Prison Architect
  • Surviving Mars: First Colony Edition
  • Cities: Skylines - Campus
  • BATTLETECH: Season pass
  • Age of Wonders: Planetfall
  • BATTLETECH - Digital Deluxe Edition
  • Age of Wonders: Planetfall Premium edition
  • Age of Wonders: Planetfall Season pass
  • Stellaris: Lithoids
  • BATTLETECH: Heavy Metal
  • Stellaris: Federations
  • Crusader Kings III
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Mass Transit
  • BATTLETECH
  • Surviving Mars
  • Age of Wonders III
  • Cities: Skylines - Green Cities
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Ancient Relics
  • Stellaris: Synthetic Dawn
  • Age of Wonders: Planetfall - Revelations
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
risk is now automatically calculated based on anomaly level. So you can just comment it out.

Strange that it doesn't work. Does the anomaly show up normally in game (without the command)?