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

Illitch35

Corporal
21 Badges
Jan 21, 2023
30
7
  • Stellaris: Apocalypse
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Stellaris: Distant Stars
  • Crusader Kings II
  • Stellaris: Humanoids Species Pack
  • Stellaris: Synthetic Dawn
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • Europa Universalis IV
Hello everyone O/
I'm looking to create an asset to a specific spy network. with the console, I found this :
effect create_espionage_asset = { type = <espionage asset type> } #e.g. asset_scientist
Now how to affect this asset to an empire ? (I mean to the spy network you have on that empire)
Thanks for your answers.
 
Problem fixed (/EDIT : almost) thanks to forbiddenlake from Stellaris Modding Den Discord.

Select a planet from target empire then type :

Line 1:

effect owner = { save_global_event_target_as = saved_empire }

Line 2:

effect random_spynetwork = { limit = { owner = { is_same_value = event_target:saved_empire } } create_espionage_asset = { type = asset_clerk } }

You can find the name of all assets (here clerk) in steamapps\common\Stellaris\common\espionage_assets

Solved thks to all
 
Last edited:
You're welcome. I'd just like to note that I realized the 2nd line isn't perfect as it does not restrict by target, so depending on the state of the game, it's possible for the asset to be added to the wrong network. Others should feel free to improve it if they wish.
 
  • 1Like
Reactions:
You're welcome. I'd just like to note that I realized the 2nd line isn't perfect as it does not restrict by target, so depending on the state of the game, it's possible for the asset to be added to the wrong network. Others should feel free to improve it if they wish.
Yes I noted that if you use the command twice in the same game cession the command won't work properly. :/
 
Once again forbiddenlake gave the solution it is much simpler :

Open the Espionanage Tab of the target empire then type in the console :

Code:
effect create_espionage_asset = { type = asset_clerk }

then choise your asset from steamapps\common\Stellaris\common\espionage_assets (e.g. here a clerk)

N.B. : Make sure you have only the espionage tab openned
 
Last edited: