Question
In Portal (and Portal 2), I can get hurt by lasers, bullets, etc. Do I have a finite amount of health that is depleted every time I get singed, or is it a case of sustaining damage for a continuous amount of time resulting in death?
Answer
You do have 100 health, only the exact number isn't shown on the HUD.
Continuous damage will kill you, but your health regenerates very quickly when you aren't damaged for a bit.
You can observe this in Portal 1 by giving yourself the HEV suit (console command impulse 101
, needs sv_cheats
to be enabled), which causes your health to be visible.
In Portal 2, issuing ent_dump player
after being shot at by a turrent displayed the following, so it's pretty safe to assume that it works the exact same way as in 1:
] ent_dump player
[...]
max_health: 100
health: 10
[...]
Check more discussion of this question.
No comments:
Post a Comment