I don't think I can get it spawned characters to work satisfactorily as a toggleable respawn

OnDie is bugging out a lot for me; I just got a crash on my last test. I'm 99% sure I'm overwriting DefaultCharacter incorrectly though; how do you get changes to work on an already-existing character without changing their Template?
I can help with overwriting defaultcharacter. Here are my files:
deleted, check new post to avoid confusion :)
Basically you need to redirect the game to the correct path of defaultcharacter.charscript
edit: to be sure I tested that for a main campaign mod (what you are after), using the same approach and it was all working. I need to test it further to see why it breaks only after the second oninit. It seems like the game doesnt recognise the spawned char as %Spawned anymore after the second oninit and doesnt trigger the ondie event. Which is weird because it should do that...