Rename cvar
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 3 May 2011 22:43:29 +0000 (01:43 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 3 May 2011 22:43:29 +0000 (01:43 +0300)
data/defaultVT.cfg
data/qcsrc/server/cl_client.qc
data/qcsrc/server/vore.qc

index 61ad681a7e719f79231a7f8622e557429482565f..3a56068a2e2e27f86862dec6b59c9bedde7e2cbd 100644 (file)
@@ -1564,7 +1564,7 @@ set g_vore_regurgitatecolor_release "0.4 0.6 0.1" "the color players will have w
 set g_vore_regurgitatecolor_release_fade 0.01 "how quickly the regurgitation color washes off players once they leave the stomach"\r
 set g_vore_regurgitatecolor_digest "0.15 0.25 0" "the color players will have when digested, only works when g_vore_keepdeadprey is disabled"\r
 set g_vore_keepdeadprey 0.75 "If enabled, prey remains in the stomach after dying, else the predator throws up their dead body. 0 = disabled, 1 = ernabled, anything between = probability"\r
-set g_vore_preydistance 16 "Distance by which prey inside the same stomach are positioned away from each other. 0 disables seeing neighboring prey"\r
+set g_vore_neighborprey_distance 16 "Distance by which prey inside the same stomach are positioned away from each other. 0 disables seeing neighboring prey"\r
 \r
 set g_healthsize 100 "Players who are low on health shrink and become smaller, value specifies health at which the player has default size"\r
 set g_healthsize_movementfactor 0.5 "Amount by which player size affects jumping and running"\r
index ae99b3632a577d3b55be5aa328c120c9a9566dae..e954308e523c636d7ef7e5437c5c73130e720f5e 100644 (file)
@@ -530,7 +530,7 @@ float Client_customizeentityforclient()
        Client_setmodel(setmodel_state());\r
        if not(self.stat_eaten || self.fakeprey)\r
                self.alpha = default_player_alpha;\r
-       else if(cvar("g_vore_preydistance") && self.predator == other.predator && self != other && !(other.cvar_chase_active || other.classname == "observer"))\r
+       else if(cvar("g_vore_neighborprey_distance") && self.predator == other.predator && self != other && !(other.cvar_chase_active || other.classname == "observer"))\r
                self.alpha = default_player_alpha; // allow seeing neighboring prey\r
        else\r
                self.alpha = -1; // hide prey\r
index b44e6ec478c2af571a4c0e630f8bcc3d211c5483..0202e5af6d194751dd974b96efa6bcb93752cd43 100644 (file)
@@ -150,7 +150,7 @@ void Vore_SetCamera()
                                        break;\r
                        }\r
                        // since prey have their predators set as an aiment, view_ofs will specify the real origin of prey, not just the view offset\r
-                       head.view_ofs = PL_PREY_VIEW_OFS + (v_forward + origin_apply * cvar("g_vore_preydistance"));\r
+                       head.view_ofs = PL_PREY_VIEW_OFS + (v_forward + origin_apply * cvar("g_vore_neighborprey_distance"));\r
                        position_counter += 1;\r
                }\r
        }\r