set g_vore_neighborprey_distance 8 "Distance by which prey inside the same stomach are positioned away from each other. 0 disables seeing neighboring prey"\r
set g_vore_swallowmodel_range 100 "Distance by which the swallow model oscillates based on swallow progress"\r
\r
+seta cl_healthsize_fov 0.2 "offset field of view by this amount based on size, to further induce the effect of being large or small"\r
set g_healthsize 1 "Players shrink and grow based on health, by this amount"\r
set g_healthsize_center 100 "Health at which the player has the default size"\r
set g_healthsize_min 50 "Player size may not drop below this amount of health"\r
set bgmvolume $menu_bgmvolume\r
set mastervolume 1.4\r
\r
+seta menu_fov 90\r
+\r
set sv_weaponstats_damagefile "" "when set to a file name, per-weapon damage stats get written to that file"\r
set sv_weaponstats_killfile "" "when set to a file name, per-weapon kill stats get written to that file"\r
\r
}\r
}\r
\r
+ float apply_fov;\r
+ apply_fov = cvar("menu_fov");\r
+ if(cvar("cl_healthsize_fov") && frametime)\r
+ {\r
+ if(g_healthsize_center)\r
+ apply_fov += (g_healthsize_center - bound(g_healthsize_min, getstati(STAT_HEALTH), g_healthsize_max)) * cvar("cl_healthsize_fov");\r
+ if(cvar("gov") != apply_fov)\r
+ cvar_set("fov", ftos(apply_fov));\r
+ }\r
+\r
float apply_idlescale;\r
if(cvar("cl_vore_vieweffects_idlescale_prey") && frametime)\r
{\r
me.TR(me);\r
me.TR(me);\r
me.TD(me, 1, 1, e = makeVoretTextLabel(0, "Field of View:"));\r
- me.TD(me, 1, 2, e = makeVoretSlider(60, 130, 1, "fov"));\r
+ me.TD(me, 1, 2, e = makeVoretSlider(60, 130, 1, "menu_fov"));\r
me.TR(me);\r
me.TD(me, 1, 1, e = makeVoretTextLabel(0, "Velocity zoom:"));\r
me.TD(me, 1, 2, e = makeVoretSlider(-2, 2, 0.1, "cl_velocityzoom"));\r