Page 1 of 1

never die when you have 1 hp (temporal)

Posted: Sat Dec 01, 2012 6:56 pm
by doomero
i need something for create a script when the player have 1 hp never die but still entering the pain state, but temporal with a duration of 5 seconds or in other words the player never die when recive a lot of damage in only 1 impact...the char need to have the oportunity for save his live


edited: i tried with PROP_BUDDHA — Buddha Mode (1 indestructible hit point), but this only works on zdoom.

RE: never die when you have 1 hp (temporal)

Posted: Tue Dec 18, 2012 4:54 pm
by Lollipop
you could... have him regen 100 hp every time his ready state or something plays, a neat little trick, right?

RE: never die when you have 1 hp (temporal)

Posted: Wed Dec 26, 2012 7:24 pm
by doomero
yes i did something similar, but now the health "0" is 1000 hp and full health is 1170, and via acs increase the damagefactor after of seconds and force the player die. The intention is the player cannot die with cyberdemon´s rockets at the moment and give to him a little change for pick up some medikits.

RE: never die when you have 1 hp (temporal)

Posted: Thu Dec 27, 2012 1:33 am
by Lord_of_D:
i could only think on this when i saw the tittle: Image
but being serious, i think what some script may help, like making it invu when it reach a certain ammount of hp D: