mirror of
https://github.com/ENSL/NS.git
synced 2024-11-28 15:22:06 +00:00
config updates
This commit is contained in:
parent
71e5051752
commit
09c48fa653
10 changed files with 112 additions and 28 deletions
|
@ -59,7 +59,6 @@ bind "MWHEELUP" "invprev"
|
||||||
bind "MOUSE1" "+attack"
|
bind "MOUSE1" "+attack"
|
||||||
bind "MOUSE2" "+movement"
|
bind "MOUSE2" "+movement"
|
||||||
bind "MOUSE3" "+popupmenu"
|
bind "MOUSE3" "+popupmenu"
|
||||||
bind "MOUSE4" "+popupmenu"
|
|
||||||
bind "PAUSE" "pause"
|
bind "PAUSE" "pause"
|
||||||
_snd_mixahead "0.1"
|
_snd_mixahead "0.1"
|
||||||
ati_npatch "0"
|
ati_npatch "0"
|
||||||
|
@ -139,7 +138,7 @@ m_side "0.8"
|
||||||
m_yaw "0.022"
|
m_yaw "0.022"
|
||||||
model "barney"
|
model "barney"
|
||||||
MP3FadeTime "2.0"
|
MP3FadeTime "2.0"
|
||||||
MP3Volume "0.45"
|
MP3Volume "0.4"
|
||||||
mp_decals "300"
|
mp_decals "300"
|
||||||
name "NSPlayer"
|
name "NSPlayer"
|
||||||
net_graph "0"
|
net_graph "0"
|
||||||
|
|
|
@ -74,7 +74,8 @@ sv_clienttrace 3.5
|
||||||
///////////////////////////////
|
///////////////////////////////
|
||||||
// Dedicated server specific //
|
// Dedicated server specific //
|
||||||
///////////////////////////////
|
///////////////////////////////
|
||||||
sv_lan 0
|
// Let GUI determine lan for listen servers.
|
||||||
|
//sv_lan 0
|
||||||
|
|
||||||
// Forces a limit on structures on the server
|
// Forces a limit on structures on the server
|
||||||
sv_structurelimit 300
|
sv_structurelimit 300
|
||||||
|
|
|
@ -32,7 +32,7 @@ cl_hudmapzoom "2"
|
||||||
crosshair "0"
|
crosshair "0"
|
||||||
cl_cross "1"
|
cl_cross "1"
|
||||||
cl_cross_scaling "0"
|
cl_cross_scaling "0"
|
||||||
cl_weaponcfgs "1"
|
cl_weaponcfgs "2"
|
||||||
|
|
||||||
echo " "
|
echo " "
|
||||||
echo "----------------------------------------------------------------------"
|
echo "----------------------------------------------------------------------"
|
||||||
|
|
Binary file not shown.
|
@ -63,7 +63,7 @@ mp_botsenabled 0
|
||||||
mp_botminplayers 0
|
mp_botminplayers 0
|
||||||
mp_botusemapdefaults 1
|
mp_botusemapdefaults 1
|
||||||
mp_botskill 1
|
mp_botskill 1
|
||||||
mp_botautomode 0
|
mp_botautomode 1
|
||||||
mp_botcommandermode 0
|
mp_botcommandermode 0
|
||||||
|
|
||||||
// disable autoaim and mad gibs
|
// disable autoaim and mad gibs
|
||||||
|
|
|
@ -342,7 +342,7 @@ void CHud :: VidInit( void )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (CVAR_GET_FLOAT("hud_style") == 2.0f)
|
if (CVAR_GET_FLOAT("hud_style") >= 2.0f)
|
||||||
{
|
{
|
||||||
mFont.Load("sprites/nl/font_arial");
|
mFont.Load("sprites/nl/font_arial");
|
||||||
mSmallFont.Load("sprites/nl/font_arialsmall");
|
mSmallFont.Load("sprites/nl/font_arialsmall");
|
||||||
|
@ -370,7 +370,7 @@ void CHud :: VidInit( void )
|
||||||
if ( !m_pSpriteList || gHUD.GetReInitHUD())
|
if ( !m_pSpriteList || gHUD.GetReInitHUD())
|
||||||
{
|
{
|
||||||
// we need to load the hud.txt, and all sprites within
|
// we need to load the hud.txt, and all sprites within
|
||||||
if (CVAR_GET_FLOAT("hud_style") == 2.0f)
|
if (CVAR_GET_FLOAT("hud_style") == 3.0f)
|
||||||
m_pSpriteList = SPR_GetList("sprites/hudnl.txt", &m_iSpriteCountAllRes);
|
m_pSpriteList = SPR_GetList("sprites/hudnl.txt", &m_iSpriteCountAllRes);
|
||||||
else
|
else
|
||||||
m_pSpriteList = SPR_GetList("sprites/hud.txt", &m_iSpriteCountAllRes);
|
m_pSpriteList = SPR_GetList("sprites/hud.txt", &m_iSpriteCountAllRes);
|
||||||
|
|
|
@ -145,6 +145,7 @@ cvar_t *cl_chatbeep;
|
||||||
cvar_t *cl_mutemenu;
|
cvar_t *cl_mutemenu;
|
||||||
cvar_t *cl_weaponcfgs;
|
cvar_t *cl_weaponcfgs;
|
||||||
cvar_t *cl_pistoltrigger;
|
cvar_t *cl_pistoltrigger;
|
||||||
|
cvar_t *cl_cmcancellast;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
===============================================================================
|
===============================================================================
|
||||||
|
@ -1727,6 +1728,8 @@ void InitInput (void)
|
||||||
cl_mutemenu = gEngfuncs.pfnRegisterVariable ("cl_mutemenu", "3", FCVAR_ARCHIVE);
|
cl_mutemenu = gEngfuncs.pfnRegisterVariable ("cl_mutemenu", "3", FCVAR_ARCHIVE);
|
||||||
cl_weaponcfgs = gEngfuncs.pfnRegisterVariable ("cl_weaponcfgs", "1", FCVAR_ARCHIVE);
|
cl_weaponcfgs = gEngfuncs.pfnRegisterVariable ("cl_weaponcfgs", "1", FCVAR_ARCHIVE);
|
||||||
cl_pistoltrigger = gEngfuncs.pfnRegisterVariable ("cl_pistoltrigger", "1", FCVAR_ARCHIVE | FCVAR_USERINFO);
|
cl_pistoltrigger = gEngfuncs.pfnRegisterVariable ("cl_pistoltrigger", "1", FCVAR_ARCHIVE | FCVAR_USERINFO);
|
||||||
|
cl_cmcancellast = gEngfuncs.pfnRegisterVariable("cl_cmcancellast", "0", FCVAR_ARCHIVE);
|
||||||
|
|
||||||
|
|
||||||
// Initialize third person camera controls.
|
// Initialize third person camera controls.
|
||||||
CAM_Init();
|
CAM_Init();
|
||||||
|
|
73
main/source/includes/glew/LICENSE.txt
Normal file
73
main/source/includes/glew/LICENSE.txt
Normal file
|
@ -0,0 +1,73 @@
|
||||||
|
The OpenGL Extension Wrangler Library
|
||||||
|
Copyright (C) 2002-2007, Milan Ikits <milan ikits[]ieee org>
|
||||||
|
Copyright (C) 2002-2007, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
|
Copyright (C) 2002, Lev Povalahev
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
|
* Redistributions of source code must retain the above copyright notice,
|
||||||
|
this list of conditions and the following disclaimer.
|
||||||
|
* Redistributions in binary form must reproduce the above copyright notice,
|
||||||
|
this list of conditions and the following disclaimer in the documentation
|
||||||
|
and/or other materials provided with the distribution.
|
||||||
|
* The name of the author may be used to endorse or promote products
|
||||||
|
derived from this software without specific prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||||
|
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
|
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
|
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||||
|
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||||
|
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
|
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||||
|
THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
|
||||||
|
Mesa 3-D graphics library
|
||||||
|
Version: 7.0
|
||||||
|
|
||||||
|
Copyright (C) 1999-2007 Brian Paul All Rights Reserved.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
copy of this software and associated documentation files (the "Software"),
|
||||||
|
to deal in the Software without restriction, including without limitation
|
||||||
|
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||||
|
and/or sell copies of the Software, and to permit persons to whom the
|
||||||
|
Software is furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included
|
||||||
|
in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||||
|
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||||
|
BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||||
|
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
|
||||||
|
Copyright (c) 2007 The Khronos Group Inc.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a
|
||||||
|
copy of this software and/or associated documentation files (the
|
||||||
|
"Materials"), to deal in the Materials without restriction, including
|
||||||
|
without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
distribute, sublicense, and/or sell copies of the Materials, and to
|
||||||
|
permit persons to whom the Materials are furnished to do so, subject to
|
||||||
|
the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included
|
||||||
|
in all copies or substantial portions of the Materials.
|
||||||
|
|
||||||
|
THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
|
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||||
|
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||||
|
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||||
|
MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
|
|
@ -2242,7 +2242,7 @@ AVHHSPRITE AvHHud::GetTechTreeSprite(AvHMessageID inMessageID)
|
||||||
sprintf(theMessageNumberString, "%d", (int)theMessageNumber);
|
sprintf(theMessageNumberString, "%d", (int)theMessageNumber);
|
||||||
//string theSpriteName = kTechTreeSpriteDirectory + string("/") + kTechTreeSpritePrefix + string(theMessageIDString) + string(".spr");
|
//string theSpriteName = kTechTreeSpriteDirectory + string("/") + kTechTreeSpritePrefix + string(theMessageIDString) + string(".spr");
|
||||||
string theSpriteName;
|
string theSpriteName;
|
||||||
if (CVAR_GET_FLOAT("hud_style") == 2.0f)
|
if (CVAR_GET_FLOAT("hud_style") >= 2.0f)
|
||||||
theSpriteName = kTechTreeSpriteDirectoryNL + string("/") + kTechTreeSpritePrefix + string(theMessageNumberString) + string("s.spr");
|
theSpriteName = kTechTreeSpriteDirectoryNL + string("/") + kTechTreeSpritePrefix + string(theMessageNumberString) + string("s.spr");
|
||||||
else
|
else
|
||||||
theSpriteName = kTechTreeSpriteDirectory + string("/") + kTechTreeSpritePrefix + string(theMessageNumberString) + string("s.spr");
|
theSpriteName = kTechTreeSpriteDirectory + string("/") + kTechTreeSpritePrefix + string(theMessageNumberString) + string("s.spr");
|
||||||
|
@ -4493,7 +4493,7 @@ void AvHHud::VidInit(void)
|
||||||
// this->mAlienUILifeforms[i] = SPR_Load(theSpriteName.c_str());
|
// this->mAlienUILifeforms[i] = SPR_Load(theSpriteName.c_str());
|
||||||
// }
|
// }
|
||||||
|
|
||||||
if (hudStyle == 2.0f)
|
if (hudStyle >= 2.0f)
|
||||||
{
|
{
|
||||||
this->mAlienUIUpgrades = SPR_Load(kAlienUpgradeSpriteNL);
|
this->mAlienUIUpgrades = SPR_Load(kAlienUpgradeSpriteNL);
|
||||||
this->mAlienUIEnergySprite = SPR_Load(kAlienEnergySpriteNL);
|
this->mAlienUIEnergySprite = SPR_Load(kAlienEnergySpriteNL);
|
||||||
|
|
|
@ -57,14 +57,14 @@ DESCRIPTION INFO_OPTIONS
|
||||||
|
|
||||||
"cl_musicenabled"
|
"cl_musicenabled"
|
||||||
{
|
{
|
||||||
"Music enabled"
|
"In-game music enabled"
|
||||||
{ BOOL }
|
{ BOOL }
|
||||||
{ "1" }
|
{ "1" }
|
||||||
}
|
}
|
||||||
|
|
||||||
"cl_musicvolume"
|
"cl_musicvolume"
|
||||||
{
|
{
|
||||||
"Music volume"
|
"In-game music volume"
|
||||||
{ NUMBER 0.000000 2.000000 }
|
{ NUMBER 0.000000 2.000000 }
|
||||||
{ "0.600000" }
|
{ "0.600000" }
|
||||||
}
|
}
|
||||||
|
@ -104,9 +104,9 @@ DESCRIPTION INFO_OPTIONS
|
||||||
|
|
||||||
"cl_bob"
|
"cl_bob"
|
||||||
{
|
{
|
||||||
"Weapon bobbing (0.006 default)"
|
"Weapon bobbing (0.005 default)"
|
||||||
{ NUMBER 0.000000 0.010000 }
|
{ NUMBER 0.000000 0.010000 }
|
||||||
{ "0.006000" }
|
{ "0.005000" }
|
||||||
}
|
}
|
||||||
|
|
||||||
"cl_bobview"
|
"cl_bobview"
|
||||||
|
@ -163,6 +163,13 @@ DESCRIPTION INFO_OPTIONS
|
||||||
{ "qwerasdfzxcv" }
|
{ "qwerasdfzxcv" }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
"cl_cmcancellast"
|
||||||
|
{
|
||||||
|
"Commander cancel button is the last button (same as recycle)"
|
||||||
|
{ BOOL }
|
||||||
|
{ "0" }
|
||||||
|
}
|
||||||
|
|
||||||
"cl_placebo"
|
"cl_placebo"
|
||||||
{
|
{
|
||||||
"------------------------------------------------------- HUD -------------------------------------------------------------------"
|
"------------------------------------------------------- HUD -------------------------------------------------------------------"
|
||||||
|
@ -185,6 +192,7 @@ DESCRIPTION INFO_OPTIONS
|
||||||
"Original" "0"
|
"Original" "0"
|
||||||
"Minimal" "1"
|
"Minimal" "1"
|
||||||
"Competitive - Nine Legends" "2"
|
"Competitive - Nine Legends" "2"
|
||||||
|
"Competitive - Nine Legends (small health/ammo)" "3"
|
||||||
}
|
}
|
||||||
{ "1.000000" }
|
{ "1.000000" }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue