Allies regenerate health?

Varsity

Newbie
Joined
Apr 13, 2004
Messages
2,683
Reaction score
2
I was searching through the cvarlist for CSS when this turned up.
Code:
] sk_ally_regen_time 
"sk_ally_regen_time" = "0.2"
 game
 - Time taken for an ally to regenerate a point of health.
I didn't know about this and neither did Google (except for a text file of the list this came from). Persumably we can expect humans like those in the Strider videos to regen health over time..?
 
Uhh...yay?

Maybe the easier you difficulty setting, the higher their regen rate is?
 
Hmm...

If I understand correctly, HL and HL2 are all done in C++. And that code looks... wrong.

First off, why is a variable in quotations??

Second off, why does it say game below that?

And the - is supposedly the start of a comment... but shouldn't comments start with //? Or /*?

Unless its a diffrent language... but the quotations make no sense, no matter what language it is. They are used for strings, and charectors, not variables.
 
Its a HL2 console command, not c++ :|
 
Is it just me or does it look like Half Life 2 has been done in actionscript?
 
I think C++ Has a similar syntax to Actionscript, therfore it looks very similar.
 
Could this be like for medics in HL2, and that is a very wierd way to write code, or even console commands.
 
If you type in a command (sk_ally_regen_time), you get the default value("sk_ally_regen_time" = "0.2"), current value if different and a description (game, Time taken for an ally to regenerate a point of health) if there is one.
 
Back
Top