seta crosshair_hittest 1.25 "do a crosshair hit evaluation; also, the crosshair is scaled by the given number when aiming at an enemy, and blurred when aiming at a team mate"\r
seta crosshair_hittest_blur 1 "blur the crosshair if the shot is obstructed"\r
seta crosshair_hittest_showimpact 0 "move the crosshair to the actual impact location if obstructed"\r
+seta cl_artwork_won 2 "number of artwork_won_ images available in the gfx folder, 0 disables winning artwork"\r
+seta cl_artwork_lost 2 "number of artwork_lost_ images available in the gfx folder, 0 disables loosing artwork"\r
+seta cl_artwork_stretch 0 "stretch artwork to fit the screen, even if it brakes image proportions"\r
fov 90\r
seta cl_velocityzoom 0 "velocity based zooming of fov, negative values zoom out"\r
seta cl_velocityzoomtime 0.3 "time value for averaging speed values"\r
if(artwork_image == "")\r
{\r
if(getstati(STAT_WINNING))\r
- artwork_image = strcat("gfx/artwork_won_", ftos(floor(1 + (random() * 2)))); // CCCCVVVVVAAAAAAAAARRRRRRRRRRRRRRR!!!!!!\r
+ {\r
+ if(!cvar("cl_artwork_won"))\r
+ return;\r
+ artwork_image = strcat("gfx/artwork_won_", ftos(floor(1 + (random() * cvar("cl_artwork_won")))));\r
+ }\r
else\r
- artwork_image = strcat("gfx/artwork_lost_", ftos(floor(1 + (random() * 2)))); // CCCCVVVVVAAAAAAAAARRRRRRRRRRRRRRR!!!!!!\r
+ {\r
+ if(!cvar("cl_artwork_lost"))\r
+ return;\r
+ artwork_image = strcat("gfx/artwork_lost_", ftos(floor(1 + (random() * cvar("cl_artwork_lost")))));\r
+ }\r
artwork_image = strzone(artwork_image);\r
}\r
\r