halflife
halflife copied to clipboard
[OF] Unable to set hostname, max players, password and toggle flashlight in settings when creating local server
When creating a local server from within the game, the server options dialog is missing the options to change hostname, max players, password and the ability to enable the use of flashlight/night vision goggles.
There is also an option called "Low ping server physics" which toggles a non-existent console variable "sv_sendvelocity" so it should also be removed.
An example settings.scr with the changes made:
DESCRIPTION SERVER_OPTIONS
{
"hostname"
{
"Hostname"
{ STRING }
{ "Opposing Force" }
}
"maxplayers"
{
"Max. players"
{ NUMBER 1.000000 32.000000 }
{ "32.000000" }
}
"sv_password"
{
"Server password"
{ STRING }
{ "" }
}
"mp_teamlist"
{
"Valid teams (blank for all)"
{ STRING }
{ "Shephard;gordon" }
}
"mp_fraglimit"
{
"Frag Limit"
{ NUMBER 0.000000 -1.000000 }
{ "0.000000" }
}
"mp_timelimit"
{
"Time Limit (Min.)"
{ NUMBER 0.000000 -1.000000 }
{ "30.000000" }
}
"mp_ctf_capture"
{
"Capture Limit"
{ NUMBER 0.000000 -1.000000 }
{ "5.000000" }
}
"mp_ctf_autoteam"
{
"Auto Team Assignment"
{ NUMBER 0.000000 1.000000 }
{ "0.000000" }
}
"mp_falldamage"
{
"Falling Damage"
{
LIST
"Normal" "0"
"Realistic" "1"
}
{ "0.000000" }
}
"mp_teamplay"
{
"Teamplay"
{ BOOL }
{ "0" }
}
"mp_friendlyfire"
{
"Friendly Fire"
{ BOOL }
{ "0" }
}
"mp_weaponstay"
{
"Weapons Stay"
{ BOOL }
{ "0" }
}
"mp_forcerespawn"
{
"Force Respawn"
{ BOOL }
{ "0" }
}
"mp_footsteps"
{
"Footsteps"
{ BOOL }
{ "1" }
}
"mp_flashlight"
{
"Night Vision Goggles"
{ BOOL }
{ "0" }
}
"mp_autocrosshair"
{
"Autocrosshair"
{ BOOL }
{ "0" }
}
}
Thanks, you must really like OpFor :)