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

Aexrael

Captain
51 Badges
Nov 12, 2010
327
481
  • Age of Wonders III
  • Stellaris: Synthetic Dawn
  • Stellaris: Ancient Relics
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Shadowrun Returns
  • Surviving Mars: First Colony Edition
  • Cities: Skylines Industries
  • Stellaris: Megacorp
  • Surviving Mars: First Colony Edition
  • Cities: Skylines - Green Cities
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Deluxe edition
  • Age of Wonders: Planetfall Premium edition
  • Age of Wonders: Planetfall Season pass
  • Age of Wonders: Planetfall Sign Up
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Cities: Skylines - Snowfall
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Stellaris - Path to Destruction bundle
  • Steel Division: Normandy 44
  • Cities: Skylines - After Dark
  • Cities: Skylines - Mass Transit
  • 500k Club
  • Steel Division: Normandy 44 Deluxe Edition
  • Surviving Mars
  • Age of Wonders: Shadow Magic
  • Age of Wonders
  • Age of Wonders II
  • Leviathan: Warships
  • Majesty 2
  • Majesty 2 Collection
  • Cities: Skylines Deluxe Edition
  • Shadowrun: Dragonfall
  • Stellaris: Distant Stars
  • Crusader Kings II
  • Cities: Skylines
  • Age of Wonders: Planetfall - Revelations
My mod works locally, but not from the workshop. It claims...

[17:35:26][empire_design.cpp:227]: invalid trait trait_synthetics. file: prescripted_countries/syntheticempire.txt line: 49

But the trait works fine when I play the game with the mod in the mod folder.

I'm at a loss, I've been following the folder structure precisely and it's not because workshop doesn't have the same files.

Are there issues with adding custom traits at the moment to the game?
Also is there a way to restrict AI from being able to access custom traits?

Here's the trait file content

trait_synthetics = {
cost = 1

initial = no
modification = no

modifier = {
tile_resource_engineering_research_mult = 0.20
tile_resource_physics_research_mult = 0.20
tile_resource_society_research_mult = 0.20
tile_resource_energy_mult = 0.20
tile_resource_minerals_mult = 0.20
pop_environment_tolerance = 2.0
}
}

and the line it refers to in the empire file

ethic="ethic_fanatic_militarist"
ethic="ethic_materialist"
trait="trait_synthetics"
}

I've been trying to figure this out for hours now. Any help is appreciated.
 
Hi, same problem with my mod, no idea why....
everything seems fine in the worshop archive.
Here is the link (with direct links in description): https://steamcommunity.com/sharedfiles/filedetails/?id=686744794&searchtext=

I hope somebody can tell me what is wrong with the workshop version.


Edit:
Fixed it,
there was some cap in the directory names wich steam worshop mods don't like apparently.
 
Last edited: