+PLAYERDROP
Posted: Thu Mar 30, 2006 14:39
I suggest a PLAYERDROP flag for inventory items. The PLAYERDROP flag would make it so a player carrying the item when he dies drops the item (Like a monster drops an item, or like when drop weapons is on in the options)
This would be useful both in co-op and deathmatch. Perhaps a custom inventory item is needed to get past a certain part, but due to plot reasons, there would need to be only one. If the player holding it dies and respawns, the wad is impossible, whereas if the player drops it, his partner can pick it up.
Similarly, perhaps weapons are programmed to be more effective if the player has a certain item (Using a_jumpifinventory.) there can be only one of these items in the level, but a player drops it when he dies. Getting the object makes you more powerful, but causes everybody to want to kill you so they can get it.
How difficult would this be to implement?
This would be useful both in co-op and deathmatch. Perhaps a custom inventory item is needed to get past a certain part, but due to plot reasons, there would need to be only one. If the player holding it dies and respawns, the wad is impossible, whereas if the player drops it, his partner can pick it up.
Similarly, perhaps weapons are programmed to be more effective if the player has a certain item (Using a_jumpifinventory.) there can be only one of these items in the level, but a player drops it when he dies. Getting the object makes you more powerful, but causes everybody to want to kill you so they can get it.
How difficult would this be to implement?