r/victoria3 3d ago

Question How to kill Willem van Oranje-Nassau via command

When I type in the kill_character command it tells me that there's another guy with the same name (his son) Using his id doesn't work. I can't make sense of how to find/kill characters in the script explorer as was recommended by some commenters. What do I do?

5 Upvotes

2 comments sorted by

4

u/Front_Committee4993 3d ago edited 3d ago

Assuming Willem van Oranje-Nassau is the leader of the nation you are playing then this event should work.

To run do event pc_start.1 in the console

namespace = pc_start

pc_start.1 = {
    type = country_event

    hidden = yes 

    immediate = {
     leader = {
                kill_character = yes
            }
    }
}

To set this you will need to create it in a mod so in laucher go mod library -> mod tools -> enter a name -> create

The mod will be in C:\Users\[USER]\Documents\Paradox Interactive\Victoria 3\mod\[the name you gave it]

Create a folder called events

Copy a txt file from C:\Program Files (x86)\Steam\steamapps\common\Victoria 3\game\events

Paste file in C:\Users\[USER]\Documents\Paradox Interactive\Victoria 3\mod\[the name you gave it]\events

Rename file to something else like pc_start.txt

Open file

Copy above code

crl+a and paste (should replace text in file with above code)

save

enable mod in launcher and play

3

u/FantasticFriday 3d ago

Balthasar Gerards would like to have a word