[Request] On death, spawn a box with inventory of player
[Request] On death, spawn a box with inventory of player
When you die, you unfortunately lose everything you had on you. Perhaps for multiplayer games in particular (seeing as singleplayer literally stops when you die hehe) it would be cool for a death-chest, of all your inventory, to spawn when you die.
I'm not sure if there is a lua hook for something like OnPlayerDeath and you can scan the contents of the player's inventory and copy it into the inventory of a wooden box/iron chest at the position of the player when they die, would be handy.
I'm not sure if there is a lua hook for something like OnPlayerDeath and you can scan the contents of the player's inventory and copy it into the inventory of a wooden box/iron chest at the position of the player when they die, would be handy.
Re: [Request] On death, spawn a box with inventory of player
Would be cool but what Happens if u die from an train ?
Sorry for my bad English ! i will not remove it !
RailTanker [MP WIP]
Our Modpack
WIP Test MODSRailTanker [MP WIP]
- AlphaRaptor
- Fast Inserter
- Posts: 102
- Joined: Wed Dec 03, 2014 6:58 pm
- Contact:
Re: [Request] On death, spawn a box with inventory of player
The Chest is under the Track , DONEberni1212 wrote:Would be cool but what Happens if u die from an train ?
Live your life like you want.
Mods are still Awesome , and i love Mods , for every Game.
Lov'in it.
Mods are still Awesome , and i love Mods , for every Game.
Lov'in it.
Re: [Request] On death, spawn a box with inventory of player
If you die from a train, then perhaps the lua script can just use a simple 3x3 search grid during the placement of the chest code, to find a valid position if (and only if) the player was standing on something that a chest can't be placed on. If the 3x3 search fails to find a valid position, then it can all abort and you lose your shit
Re: [Request] On death, spawn a box with inventory of player
thats true Would be cool because i died like 10 times on trains now :/
Sorry for my bad English ! i will not remove it !
RailTanker [MP WIP]
Our Modpack
WIP Test MODSRailTanker [MP WIP]
Re: [Request] On death, spawn a box with inventory of player
Can u make this one in an Extra Mod too like only the Death chest and MP compatible ?L0771 wrote:I take this
EDIT: It is a "virtual" box (only you can take this), implemented in Cursed v0.0.10
Sorry for my bad English ! i will not remove it !
RailTanker [MP WIP]
Our Modpack
WIP Test MODSRailTanker [MP WIP]
Re: [Request] On death, spawn a box with inventory of player
I don't knowberni1212 wrote:Can u make this one in an Extra Mod too like only the Death chest and MP compatible ?L0771 wrote:I take this
EDIT: It is a "virtual" box (only you can take this), implemented in Cursed v0.0.10
Re: [Request] On death, spawn a box with inventory of player
because i don't want to download cursedL0771 wrote:I don't knowberni1212 wrote:Can u make this one in an Extra Mod too like only the Death chest and MP compatible ?L0771 wrote:I take this
EDIT: It is a "virtual" box (only you can take this), implemented in Cursed v0.0.10
Sorry for my bad English ! i will not remove it !
RailTanker [MP WIP]
Our Modpack
WIP Test MODSRailTanker [MP WIP]
Re: [Request] On death, spawn a box with inventory of player
I've finished, but for this post i will post it tomorrowberni1212 wrote:because i don't want to download cursed
I have a optimization problem and I'm sleepy, but it works
Re: [Request] On death, spawn a box with inventory of player
Doesn´t the scrap mod drop all your items on the ground?
I'm not sure but atleast one of my mods makes it happen in MP. (I thought it was standerd).
I'm not sure but atleast one of my mods makes it happen in MP. (I thought it was standerd).
Re: [Request] On death, spawn a box with inventory of player
Cool, thanks for having a go at it L0771. It might be nicer to the community to separate it from your Cursed mod. That mod looks crazy btw.L0771 wrote:I take this
EDIT: It is a "virtual" box (only you can take this), implemented in Cursed v0.0.10
Re: [Request] On death, spawn a box with inventory of player
Cursed Tombs
Version english/spanish, very optimized, only works if someone die.
I can't test it, if i have 2 factorio i play in 10fps...
The tomb have your items, if you get close to tomb, it give all your items again (included if you have a item in your hand i think).
Is a container (like a box), all can see and open the tomb, but only give her items to owner.
mmm the tomb is delete after 2-3 minutes, but it alert to owner 1 minute before this.
... I don't know if tomb is cute, i can't test XD is only theory
Aaaand can use it without Cursed Exp, but it work better with both i think.
Version english/spanish, very optimized, only works if someone die.
I can't test it, if i have 2 factorio i play in 10fps...
The tomb have your items, if you get close to tomb, it give all your items again (included if you have a item in your hand i think).
Is a container (like a box), all can see and open the tomb, but only give her items to owner.
mmm the tomb is delete after 2-3 minutes, but it alert to owner 1 minute before this.
... I don't know if tomb is cute, i can't test XD is only theory
Aaaand can use it without Cursed Exp, but it work better with both i think.
Re: [Request] On death, spawn a box with inventory of player
L0771 wrote:Cursed Tombs
Version english/spanish, very optimized, only works if someone die.
I can't test it, if i have 2 factorio i play in 10fps...
The tomb have your items, if you get close to tomb, it give all your items again (included if you have a item in your hand i think).
Is a container (like a box), all can see and open the tomb, but only give her items to owner.
mmm the tomb is delete after 2-3 minutes, but it alert to owner 1 minute before this.
... I don't know if tomb is cute, i can't test XD is only theory
Aaaand can use it without Cursed Exp, but it work better with both i think.
does it work with MP
Sorry for my bad English ! i will not remove it !
RailTanker [MP WIP]
Our Modpack
WIP Test MODSRailTanker [MP WIP]
Re: [Request] On death, spawn a box with inventory of player
Sorry, if you die in SP, you lose, it's only for MP.berni1212 wrote:does it work with MP
Re: [Request] On death, spawn a box with inventory of player
Thats good thanks menL0771 wrote:Sorry, if you die in SP, you lose, it's only for MP.berni1212 wrote:does it work with MP
is it tested that its not desync the game if mods are installed ?
Sorry for my bad English ! i will not remove it !
RailTanker [MP WIP]
Our Modpack
WIP Test MODSRailTanker [MP WIP]
Re: [Request] On death, spawn a box with inventory of player
berni1212 wrote:Thats good thanks menL0771 wrote:Sorry, if you die in SP, you lose, it's only for MP.berni1212 wrote:does it work with MP
is it tested that its not desync the game if mods are installed ?
Can you kill someone with this mod installed?L0771 wrote:only works if someone die.
This mod can't descync only for install it.
Re: [Request] On death, spawn a box with inventory of player
Thats good thanks men
Can you kill someone with this mod installed?
This mod can't descync only for install it.[/quote]
By some mods it is so when u install it and start game it Instand Desync
Thats why i asked it if i am back home i will try this mod with my friend does it work for 11.6 too ?
Can you kill someone with this mod installed?
This mod can't descync only for install it.[/quote]
By some mods it is so when u install it and start game it Instand Desync
Thats why i asked it if i am back home i will try this mod with my friend does it work for 11.6 too ?
Sorry for my bad English ! i will not remove it !
RailTanker [MP WIP]
Our Modpack
WIP Test MODSRailTanker [MP WIP]
Re: [Request] On death, spawn a box with inventory of player
It's ok, i only respond your questionberni1212 wrote:By some mods it is so when u install it and start game it Instand DesyncL0771 wrote:Can you kill someone with this mod installed?
This mod can't descync only for install it.
Thats why i asked it if i am back home i will try this mod with my friend does it work for 11.6 too ?
The code is very simple, it works with version 0.11.3 and later, i've started moding on this version, i don't know before this.
Re: [Request] On death, spawn a box with inventory of player
Does it work for 11.6 too ?
Sorry for my bad English ! i will not remove it !
RailTanker [MP WIP]
Our Modpack
WIP Test MODSRailTanker [MP WIP]