From: MirceaKitsune Date: Tue, 2 Aug 2011 13:11:52 +0000 (+0300) Subject: Remove g_healthsize_vore_pos, since it wasn't working as intended any more, and is... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=27d842eab7295ecdd6b693c28367d2d497565d66;p=voretournament%2Fvoretournament.git Remove g_healthsize_vore_pos, since it wasn't working as intended any more, and is not urgent to have. --- diff --git a/data/defaultVT.cfg b/data/defaultVT.cfg index 18ca1536..6f6b0eb8 100644 --- a/data/defaultVT.cfg +++ b/data/defaultVT.cfg @@ -1612,7 +1612,6 @@ set g_healthsize_exteriorweapon_scalefactor 1 "Amount by which player size resiz set g_healthsize_weapon_scalefactor 1 "Amount by which player size resizes the view weapon model" set g_healthsize_weapon_scalefactor_pos 10 "Amount by which the view model is moved vertically based on player size" set g_healthsize_vore_shrinkdeadprey 0.5 "Dead prey will be shrunken by this amount, the closer it gets to the digestion limit" -set g_healthsize_vore_pos 1 "Amount by which view height changes for prey, based on the size difference between them and their predator" set g_healthsize_min 50 "Player size may not drop below this amount of health" set g_healthsize_max 150 "Player size may not grow past this amount of health" diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index bae2c92c..b78795e8 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -135,12 +135,6 @@ void Vore_SetPreyPositions(entity pred) // since prey have their predators set as an aiment, view_ofs will specify the real origin of prey, not just the view offset head.view_ofs = origin_apply; - head.view_ofs_z *= pred.scale; // stomach center depends on predator scale - - // change prey height based on scale - float prey_height; - prey_height = (head.scale - pred.scale) * cvar("g_healthsize_vore_pos"); - head.view_ofs_z += prey_height; } } }