TheEnginesOfCreation / EntityPlus

EntityPlus is a mod that offers a true single player experience in the Quake III Arena videogame.
34 stars 5 forks source link

Reload player stats after respawn #32

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When a player dies, the map is restarted, but the player loses health, armor, 
weapons and items. If the player entered the map through a target_mapchange, 
the stats should be retained after a respawn as well.

Original issue reported on code.google.com by era...@gmail.com on 18 Apr 2011 at 2:22

GoogleCodeExporter commented 9 years ago
I was thinking about how to handle this as well. In Demon's Souls (PS3 only 
game), a 'blood stain' is shown on the ground around 5 seconds from where the 
player was 'before' they died.

When the player reaches this blood stain, their 'Souls' are returned to them. 
In Q3A, this could be the players weapons, ammo (and maybe even armor in some 
cases) plus 'holdable items'.

A 'default' weapon / ammo / armor amount could be given to the player on 
respawn to help them to reach that blood stain as well. (Maybe this could be an 
extension of worldspawn? In Doom 3 a special devmap trigger is used which is 
another possible to give default weapons)

Also in Demon's Souls, key events and bosses are not re-set on death, only 
lower level enemies. For example, if you have unlocked a door, this door stays 
unlocked, defeated a mini or major boss, the boss does not re-appear. This 
allows to by-pass some things while trying to reach the point where you died.

Just some ideas. :]

Original comment by tigger...@gmail.com on 18 Apr 2011 at 2:47

GoogleCodeExporter commented 9 years ago
I took your idea and gave my own spin on it :-)

When the player dies he drops a backpack item which stays around until picked 
up. The player respawns with a default spawn layout at the beginning of the map 
(or whatever spawn points the level designer set up for this) and he has to run 
back to where he died to pick up the backpack. The backpack contains all 
weapons, ammo and holdables he had at the moment of death.

Original comment by era...@gmail.com on 21 Apr 2011 at 10:04