give extra lives through ACS
Posted: Mon Apr 07, 2014 2:26 pm
Is it possible to give a player additional lives in survival by an ACS command? I found an old thread on google about this and wonder if this has ever been implemented.
Leading the way in newschool multiplayer Doom online
https://zandronum.com/forum/
I already added these functions in 1.1:Ænima wrote: GetPlayerLives and SetPlayerLives are in Zan 2.0, I think. I remember suggesting them like a year ago.
1.1 changelog wrote: + - Added new ACS commands GetPlayerLivesLeft and SetPlayerLivesLeft. In game modes using sv_maxlives, these commands allow to access and change how many times the specified player is still allowed to respawn. [Torr Samaho]
Ænima wrote: GetPlayerLives and SetPlayerLives are in Zan 2.0, I think. I remember suggesting them like a year ago.
Hmm, combining these quotes it almost sounds as if you are requesting features, but then don't even bother to check whether they are implemented... I'll have to keep this in mind :PÆnima wrote: Oh! My bad, sorry I was too lazy to actually check. :p
Yep, that's typical Aenima.Torr Samaho wrote:Ænima wrote: GetPlayerLives and SetPlayerLives are in Zan 2.0, I think. I remember suggesting them like a year ago.Hmm, combining these quotes it almost sounds as if you are requesting features, but then don't even bother to check whether they are implemented... I'll have to keep this in mind :PÆnima wrote: Oh! My bad, sorry I was too lazy to actually check. :p

Ænima wrote:Yep, that's typical Aenima.Torr Samaho wrote:Ænima wrote: GetPlayerLives and SetPlayerLives are in Zan 2.0, I think. I remember suggesting them like a year ago.Hmm, combining these quotes it almost sounds as if you are requesting features, but then don't even bother to check whether they are implemented... I'll have to keep this in mind :PÆnima wrote: Oh! My bad, sorry I was too lazy to actually check. :p
Actually it was because I had wanted to use it for a mod that I was working on, but then I stopped working on that mod and so I didn't have much motivation to look into testing the Get/SetPlayerLives implementation.
Should I continue working on it just for the sake of testing this feature? It was basically an arcade-style survival mod in which getting enough points would give you an "1-Up" (in addition to an invul sphere replacement which also gives you an extra life).
No, it's fine. Qent confirmed that the implementation works back then.Ænima wrote: Should I continue working on it just for the sake of testing this feature? It was basically an arcade-style survival mod in which getting enough points would give you an "1-Up" (in addition to an invul sphere replacement which also gives you an extra life).