The obvious way to select units
-
file.useMetric = true if ( GetConVarString( "cl_language" ) == "english" ) file.useMetric = false
-
@kazitor Your cow-orker just earned a Kevin Point.
Because that code could be written by Kevin just like
https://what.thedailywtf.com/topic/24431/not-dates-but-hours?page=1
-
@BernieTheBernie said in The obvious way to select units:
Your cow-orker just earned a Kevin Point.
No cow-orker of mine…
This is code for an unused HUD element in a particular video game. There’s a reasonably popular mod that gives it function, including the following change:
file.useMetric = false if ( GetConVarString( "password" ) == "metric" ) file.useMetric = true
It’s only using the most nonindicative parameter name possible, with a retarded default that isn’t even used elsewhere for the exact same information… but at least it’s some semblance of configurable??
-
file.useMetric = true if ( GetConVarString( "cl_language" ) == "'murican" ) file.useMetric = false if ( GetConVarString( "cl_language" ) == "actual english" ) file.useMetric = sometimes
Filed under: I18N
-
@No_1 said in The obvious way to select units:
file.useMetric = true if ( GetConVarString( "cl_language" ) == "'murican" ) file.useMetric = false if ( GetConVarString( "cl_language" ) == "actual english" ) file.useMetric = sometimes
Filed under: I18N
I'm missing Yorkshire.
And Hull.
-
-
@No_1 said in The obvious way to select units:
Nobody misses Hull.
Alas, the fact that it isn't a smoking crater says that that's not quite true.
-
@dkf said in The obvious way to select units:
@No_1 said in The obvious way to select units:
Nobody misses Hull.
Alas, the fact that it isn't a smoking crater says that that's not quite true.
Making it so might not be free, so this at most indicates indifference.
-
@topspin said in The obvious way to select units:
@dkf said in The obvious way to select units:
@No_1 said in The obvious way to select units:
Nobody misses Hull.
Alas, the fact that it isn't a smoking crater says that that's not quite true.
Making it so might not be free, so this at most indicates indifference.
Of course it's not free - UK is known for its strict gun control.
-
@kazitor said in The obvious way to select units:
@BernieTheBernie said in The obvious way to select units:
Your cow-orker just earned a Kevin Point.
No cow-orker of mine…
This is code for an unused HUD element in a particular video game. There’s a reasonably popular mod that gives it function, including the following change:
file.useMetric = false if ( GetConVarString( "password" ) == "metric" ) file.useMetric = true
It’s only using the most nonindicative parameter name possible, with a retarded default that isn’t even used elsewhere for the exact same information… but at least it’s some semblance of configurable??
This second snippet sounds like somebody is too lazy to set cvars in console so instead uses server password to configure the units, because server password field is so much more accessible than tilde console.
-
@Kamil-Podlesak said in The obvious way to select units:
UK is known for its strict
gunknifecontrol.
-
@No_1 said in The obvious way to select units:
file.useMetric = true if ( GetConVarString( "cl_language" ) == "'murican" ) file.useMetric = false if ( GetConVarString( "cl_language" ) == "actual english" ) file.useMetric = file_not_found
Filed under: I18N
-
@Kamil-Podlesak said in The obvious way to select units:
UK is known for its strict gun control.
I can't see how that is relevant for dropping large meteors on a city.
-
@dkf said in The obvious way to select units:
Alas, the fact that it isn't a smoking crater says that that's not quite true.
Toby Faire, it's not worth the ammunition.
-
@No_1 said in The obvious way to select units:
@dkf said in The obvious way to select units:
Alas, the fact that it isn't a smoking crater says that that's not quite true.
Toby Faire, it's not worth the ammunition.
Hull? Oh, yes it is…
-
@Kamil-Podlesak said in The obvious way to select units:
@No_1 said in The obvious way to select units:
file.useMetric = true if ( GetConVarString( "cl_language" ) == "'murican" ) file.useMetric = false if ( GetConVarString( "cl_language" ) == "actual english" ) file.useMetric = sometimes
Filed under: I18N
I'm missing Yorkshire.
And Hull.They're all in the north, iirc.
-
@dkf said in The obvious way to select units:
@Kamil-Podlesak said in The obvious way to select units:
UK is known for its strict gun control.
I can't see how that is relevant for dropping large meteors on a city.
We need common-sense meteor control laws.
-
-
@dkf said in The obvious way to select units:
I can't see how that is relevant for dropping large meteors on a city.
But meteors are hard to come by. They don't just fall out of the sky.
-
@Zecc said in The obvious way to select units:
@dkf said in The obvious way to select units:
I can't see how that is relevant for dropping large meteors on a city.
But meteors are hard to come by. They don't just fall out of the sky.
Sometimes it's worth taking a bit of trouble to do the job right.