Just like in Roguelikes, id like to have a permadeath system. I found one permadeath plugin, but the problem is, after death, player could still just load the game from the last save point, which defeats the whole purpose.
would it be possible to also delete the save file after player dies? So that they have to start from the beginning.
Which save file?
If player saves in multiple save files, you'd need to delete them all in order to force them to start over, as if you only delete the most recent one they could go back to an earlier point.
However, if I were playing in one save file, and someone else were playing on the same PC and using a different save file, I'd be pretty cranky if my save file got deleted because they were playing and got killed.
Hope you're prepared for people to give your game a miss as soon as they find out it does that. I wouldn't play a game that forced me to start over.
But you should at least allow multiple profiles so that if two persons or more are playing in that computer then only the current player who dies loses his progress.. or force a single save file only in your game, so that only one character can be played to avoid this problem of multiple users
Also, deleting upon death wont be foolprof because we can actually just copy the save file into a backup after saving, when the file gets deleted after the character dies, the player can just paste his backup save.
FYI: I'm working on a plugin for this. What I'm planning is to make it so save files aren't deleted but "invalidated" so they can't be loaded.
I should have something you can test out by tonight.
I'll work on the profile suggestions after I get the main stuff working properly.