seta cl_flash_vore_color_pred "0 1 0" "color of the vore flash for predators"\r
seta cl_flash_respawn 0.25 "if enabled, the screen flashes by this amount when picking up an item"\r
seta cl_flash_respawn_color "1 1 1" "color of the pickup flash"\r
+seta cl_spawnfov 0.5 "the field of view starts zoomed out by this amount when you spawn"\r
+seta cl_spawnfov_speed 1 "the fov fades back to normal at this speed"\r
fov 90\r
seta cl_velocityzoom -0.2 "velocity based zooming of fov, negative values zoom out"\r
seta cl_velocityzoomtime 0.3 "time value for averaging speed values"\r
float chase_active_old;\r
float artwork_fade;\r
float pickup_crosshair_time, pickup_crosshair_size, pickup_flash_time, vore_flash_laststate;\r
+float spawnfov_current;\r
float myhealth, myhealth_prev, myhealth_flash;\r
float contentavgalpha, liquidalpha_prev;\r
float old_blurradius, old_bluralpha, old_sharpen_intensity;\r
vid_conheight = cvar("vid_conheight");\r
vid_pixelheight = cvar("vid_pixelheight");\r
\r
+ // spawn fov effect\r
+ if(cvar("cl_spawnfov"))\r
+ {\r
+ if(respawned)\r
+ spawnfov_current = 1 + cvar("cl_spawnfov");\r
+\r
+ if(spawnfov_current > 1)\r
+ spawnfov_current -= cvar("cl_spawnfov_speed") * frametime;\r
+ else\r
+ spawnfov_current = 1;\r
+ fov *= spawnfov_current;\r
+ }\r
+\r
R_SetView(VF_FOV, GetCurrentFov(fov));\r
\r
// Camera for demo playback\r