You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cfg/cs2fixes/cs2fixes.cfg
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,7 @@ cs2f_flashlight_transmit_others 0 // Whether to transmit other players' flashli
40
40
cs2f_flashlight_brightness 1.0 // How bright should flashlights be
41
41
cs2f_flashlight_distance 54 // How far flashlights should be from the player's head (the default is such that an equipped awp doesn't block the light if shadows are enabled)
42
42
cs2f_flashlight_color "255 255 255 0" // What color to use for flashlights
43
+
cs2f_flashlight_use_attachment 0 // Whether to parent flashlights to an attachment or a viewmodel (1=use attachment, 0=use viewmodel)
43
44
cs2f_flashlight_attachment axis_of_intent // Which attachment to parent a flashlight to. If the player model is not properly setup, you might have to use clip_limit here instead
CConVar<float> g_cvarFlashLightBrightness("cs2f_flashlight_brightness", FCVAR_NONE, "How bright should flashlights be", 1.0f);
170
170
CConVar<float> g_cvarFlashLightDistance("cs2f_flashlight_distance", FCVAR_NONE, "How far flashlights should be from the player's head", 54.0f); // The minimum distance such that an awp wouldn't block the light
171
171
CConVar<Color> g_cvarFlashLightColor("cs2f_flashlight_color", FCVAR_NONE, "What color to use for flashlights", Color(255, 255, 255));
172
+
CConVar<bool> g_cvarFlashLightUseAttachment("cs2f_flashlight_use_attachment", FCVAR_NONE, "Whether to parent flashlights to an attachment or a viewmodel (1=use attachment, 0=use viewmodel)", false);
172
173
CConVar<CUtlString> g_cvarFlashLightAttachment("cs2f_flashlight_attachment", FCVAR_NONE, "Which attachment to parent a flashlight to. If the player model is not properly setup, you might have to use clip_limit here instead", "axis_of_intent");
0 commit comments