void CSQCModel_Hook_PreDraw()
{
// auto glowmod from colormap
- self.glowmod = colormapPaletteColor(((self.colormap >= 1024) ? (self.colormap & 0xFF) : stof(getplayerkey(self.entnum - 1, "colors"))), TRUE) * 2;
+ self.glowmod = colormapPaletteColor(((self.colormap >= 1024) ? (self.colormap & 0xFF) : stof(getplayerkeyvalue(self.entnum - 1, "colors"))), TRUE) * 2;
if(self.modelindex != 0)
{
var vector autocvar_sv_player_crouch_maxs = '16 16 25';
var vector autocvar_sv_player_crouch_mins = '-16 -16 -24';
var vector autocvar_sv_player_crouch_viewoffset = '0 0 20';
-var vector autocvar_sv_player_headsize = '24 24 12';
+noref var vector autocvar_sv_player_headsize = '24 24 12';
#define PL_VIEW_OFS autocvar_sv_player_viewoffset
#define PL_MIN autocvar_sv_player_mins
*/
var float autocvar_cl_predictionerrorcompensation = 0;
-var float autocvar_chase_active;
-var float autocvar_chase_back;
// engine stuff
.float pmove_flags;
{
if(csqcplayer)
{
- vector org, ang;
entity oldself;
oldself = self;
self = csqcplayer;
V_CalcRefdef(self, refdefflags);
}
else
- R_SetView3fv(VF_ORIGIN, self.origin + self.view_ofs);
+ setproperty(VF_ORIGIN, self.origin + self.view_ofs);
{ CSQCPLAYER_HOOK_POSTCAMERASETUP }
float autocvar_g_ctf_shield_min_negscore;
float autocvar_g_cts_finish_kill_delay;
float autocvar_g_cts_selfdamage;
-float autocvar_g_deathglow;
float autocvar_g_debug_bot_commands;
float autocvar_g_domination_default_teams;
float autocvar_g_domination_disable_frags;