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

Pzixel

Second Lieutenant
45 Badges
Sep 14, 2017
188
29
  • Europa Universalis IV: Golden Century
  • Stellaris: Digital Anniversary Edition
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Stellaris: Leviathans Story Pack
  • Imperator: Rome Deluxe Edition
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Crusader Kings III
  • Europa Universalis 4: Emperor
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Victoria 3 Sign Up
  • Tyranny: Gold Edition
  • Europa Universalis IV: El Dorado
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II: The Old Gods
  • Europa Universalis IV: Res Publica
  • Imperator: Rome
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Crusader Kings II
Hi everyone, I'm a new mod creator and I don't know how anything here works. The only sources of information I have are already existing mods, CK3 wiki and some luck, as well as vanilla game scripts.

The problem is that there is no documentation on what is available to the user, which of course if fine if there is some way to learn this by yourself. But here is a caveat: I didn't find such a way. CK3 wiki for example says that there is`debug_log_scopes` effect that evaluates to true and logs its internal scope. Which is exactly what I need in most cases to decide what I can use and how. But unfortunately it gives very little

[18:54:27][effectimpl.cpp:1110]: State Île-de-France (x906000)

So the question is: how are modders supposed to debug their mods or log what's happening? I hope devs can look at it and answer because I have asked this to multiple people in modding community and honestly it looks like no one there actually knows it. We all know that this game gets a lot of love from modders so please tell us how can we make our live better and actualy get some answers from code itself.

Ideally I'd like to have something like `console.log(JSON.stringify(obj))` so I can see all the capability of some scope/object/.. For now it's just a line and id I already know. But what properties does it have? DOes it have `level` property? does it have `is_under_construction`? Does it have `pending_levels`? It's unknown and I don't see how can I get this info.
 
Last edited:
Okay people on discord tell me the secret of `script_docs` command so I was actually able to get some docs. So I guess this question might be closed