DArkHekRoMaNT Posted January 22, 2021 Report Share Posted January 22, 2021 (edited) The reimagined grave system. After the death of the player, the player's corpse will spawn in its place (at the moment it is a regular humanoud skeleton). You can go to it and collect things (by holding RMB), by default only its owner or a player in a creative can collect a corpse. Not despawning. In addition, a waypoint will be created at the place of death. By default, it will try to resolve conflicts with known mods, for example supports StreamDC. Since the game is an unpredictable thing, this mod also adds the ability to restore items lost at the last death using the /returnthings command. By default, the last 10 deaths are stored for each player. You can also configure some things in the config: CanFired - the corpse will be destroyed if it burns for more than 15 seconds (default: false) HasHealth - a corpse has 100 hp and can be broken by other players (default: false) CreateCorpse - whether corpses will be created at all (default: true) SaveInventoryTypes - what types of inventory will be saved NeedPrivilegeForReturnThings - what privileges are needed to return things (default: gamemode) MaxDeathContentSavedPerPlayer - the number of recent deaths that are saved per player (default: 10) CreateWaypoint - whether to create a waypoint at all upon death (default: auto; automated turn it off if there is another well-known mod adding waypoints). And also various settings for waypoints. FreeCorpseAfterTime - makes corpses available to everyone after N in-game hours (default: 240, 10 days) CorpseCollectionTime - corpse collection time in seconds (default: 1) CorpseCompassEnabled - enable craftable compass to search for corpses nearby (default: true) Download: ModDB or GitHub Edited August 8, 2022 by DArkHekRoMaNT 6 2 1 Link to comment Share on other sites More sharing options...
Conquest of Blocks Posted January 24, 2021 Report Share Posted January 24, 2021 I tried this out yesterday. 1. Waypoints showed up at world limit, not where i died. 2. If i reclaim stuff with rmb, the items that i hold i my hand right afterwards will get placed on the ground sometimes, since we use rmb for that as well in-game. You maybe should apply a short delay. Link to comment Share on other sites More sharing options...
DArkHekRoMaNT Posted January 24, 2021 Author Report Share Posted January 24, 2021 4 hours ago, Kai Effelsberg said: Waypoints showed up at world limit, not where i died O_o Strange. Does this happen on the server and always? 4 hours ago, Kai Effelsberg said: If i reclaim stuff with rmb, the items that i hold i my hand right afterwards will get placed on the ground sometimes I'll see what I can do about it Link to comment Share on other sites More sharing options...
DArkHekRoMaNT Posted January 24, 2021 Author Report Share Posted January 24, 2021 2 hours ago, DArkHekRoMaNT said: 7 hours ago, Kai Effelsberg said: Waypoints showed up at world limit, not where i died O_o Strange. Does this happen on the server and always? Tested on my test server - everything is fine. Perhaps you have some mod that changes /waypoint addati? Or they are not my waypoints at all (by default it is crimson bee) Link to comment Share on other sites More sharing options...
l33tmaan Posted January 25, 2021 Report Share Posted January 25, 2021 I'm sure this is vanilla behavior, but... corpses can climb ladders. Scared the hell out of me when my own skeleton jumped out of a hole. 2 1 Link to comment Share on other sites More sharing options...
DArkHekRoMaNT Posted January 25, 2021 Author Report Share Posted January 25, 2021 8 minutes ago, l33tmaan said: I'm sure this is vanilla behavior, but... corpses can climb ladders. Scared the hell out of me when my own skeleton jumped out of a hole. They also know how to climb walls This is just vanilla "unstuck" mechanics for the entity Link to comment Share on other sites More sharing options...
Nozarati Posted January 28, 2021 Report Share Posted January 28, 2021 Pretty cool mod. Could this be taken a step further and spawn an actual entity on death such as a zombie who may or may not be using the players items? Reminiscent of haunted biomes from dwarf fortress Link to comment Share on other sites More sharing options...
Streetwind Posted January 28, 2021 Report Share Posted January 28, 2021 I support this suggestion, that would be fantastic. You prevent your loss of items to despawning... but you'll have to fight yourself to reclaim them! Link to comment Share on other sites More sharing options...
DArkHekRoMaNT Posted January 28, 2021 Author Report Share Posted January 28, 2021 49 minutes ago, Streetwind said: I support this suggestion, that would be fantastic. You prevent your loss of items to despawning... but you'll have to fight yourself to reclaim them! I have difficulties with models, especially living creatures and their animations. But I will try to implement something similar Link to comment Share on other sites More sharing options...
HappyHamish Posted February 11, 2021 Report Share Posted February 11, 2021 (edited) We used this mod on our dedicated multiplayer server but ran into issues after one (real life) day. First day everything worked perfectly. Second day corpses took minutes to (right click) break by everyone except the host. Third day corpses would not break unless the host and the corpse owner were both holding right click on the corpse. We turned on corpse health but breaking (left click with weapon) corpses would only work for the host player and his corpse. Restarting the server made no difference. Deleting all Player Corpse mod data, config files, and the mod itself, restarting server, readding the mod, then restarting the server again made no difference. Also, if we disable CreateCorpse people do not drop items upon death. Edit: The host is playing on the same machine as the dedicated server (VintagestoryServer.exe) Edited February 11, 2021 by Hamish Black clarification Link to comment Share on other sites More sharing options...
DArkHekRoMaNT Posted February 20, 2021 Author Report Share Posted February 20, 2021 v1.0.1: Fixed corpse with health enabled Fixed remove items if create corpse disabled Moved parts to SharedUtils Link to comment Share on other sites More sharing options...
DArkHekRoMaNT Posted February 20, 2021 Author Report Share Posted February 20, 2021 @Hamish BlackCheck the latest version, like everything is fixed Link to comment Share on other sites More sharing options...
Hexedian Posted February 24, 2021 Report Share Posted February 24, 2021 It would be nice to have a /allowharvestcorpse command, to allow another player to pick up items on your corpse. Could be done for all, or only one player, once or indefinitely. 2 Link to comment Share on other sites More sharing options...
luette Posted February 28, 2021 Report Share Posted February 28, 2021 Hey there, we got the same Problem with the waypoints as Kai - they are getting created at the world border. Corpse still lies, where we died. The only thing that could possibly do something to /addati is vspropectorinfo, but even with that removed (it's only client side) the waypoint won't pin correctly. No other mods are handling waypoints, afaik, so I'm confused, why it does not work correctly. We changed standard world size and stuff, but that should not compromise the coords, where we died, should it (mid of the map - relative coors of 0/0 is - like 256000 blocks each direction - not 512000 as in the standard configuration. The default world spawn we had to set at 256000 für x & z, so we spawn in the middle of the map). Luette Link to comment Share on other sites More sharing options...
DArkHekRoMaNT Posted February 28, 2021 Author Report Share Posted February 28, 2021 (edited) @Kai Effelsberg @luette Try this version (added additional log and possibly fixed the problem with waypoints) PlayerCorpse_v1.14.7_v1.0.2-pre.1.zip Edited February 28, 2021 by DArkHekRoMaNT Link to comment Share on other sites More sharing options...
luette Posted February 28, 2021 Report Share Posted February 28, 2021 Hey, we tried the Update, and unfortunately, it hasn't resolved the waypoint issue. Server log says: If i try the command manually It get's added at the correct location. This one does not and is way off. Seems like the command does not take coords with decimal places well Link to comment Share on other sites More sharing options...
DArkHekRoMaNT Posted February 28, 2021 Author Report Share Posted February 28, 2021 17 minutes ago, luette said: Hey, we tried the Update, and unfortunately, it hasn't resolved the waypoint issue. Server log says: If i try the command manually It get's added at the correct location. This one does not and is way off. Seems like the command does not take coords with decimal places well Meh. Dot and comma. I think it culture decimal separator problem. I'll just round the numbers, I think this will help. Link to comment Share on other sites More sharing options...
DArkHekRoMaNT Posted February 28, 2021 Author Report Share Posted February 28, 2021 @luette PlayerCorpse_v1.14.7_v1.0.2-pre.2.zip 1 Link to comment Share on other sites More sharing options...
luette Posted February 28, 2021 Report Share Posted February 28, 2021 Works like a charm Thx for fixing it that fast! Link to comment Share on other sites More sharing options...
DArkHekRoMaNT Posted March 1, 2021 Author Report Share Posted March 1, 2021 v1.0.2: Fixed waypoints at world border Link to comment Share on other sites More sharing options...
Soumagnei Posted March 2, 2021 Report Share Posted March 2, 2021 (edited) How can I enable looting of the corpses by all players on the server? (default: false) Edited March 2, 2021 by Soumagnei Link to comment Share on other sites More sharing options...
DArkHekRoMaNT Posted March 2, 2021 Author Report Share Posted March 2, 2021 18 minutes ago, Soumagnei said: How can I enable looting of the corpses by all players on the server? (default: false) VintagestoryData/ModConfig/playercorpse.json Link to comment Share on other sites More sharing options...
Soumagnei Posted March 10, 2021 Report Share Posted March 10, 2021 Hello We have tried out change in mod config I does not work- it returns back to false, as soon as the game launched What can cause this? Link to comment Share on other sites More sharing options...
DArkHekRoMaNT Posted March 11, 2021 Author Report Share Posted March 11, 2021 14 hours ago, Soumagnei said: Hello We have tried out change in mod config I does not work- it returns back to false, as soon as the game launched What can cause this? Are you changing Val? Also are you doing edit -> save -> close editor -> load world? HasHealth: { Comment: "Has 100 hp, can be broken by another player", Default: false, Val: false -> true } Link to comment Share on other sites More sharing options...
Tech_Rabbit Posted March 20, 2021 Report Share Posted March 20, 2021 the returnthings command does not work and all corpses are " 's corpse": Link to comment Share on other sites More sharing options...
Recommended Posts