]> de.git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Rename _playerscale to _scalediff cvars
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 9 Jul 2011 16:47:22 +0000 (19:47 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Sat, 9 Jul 2011 16:47:22 +0000 (19:47 +0300)
data/balanceVT.cfg
data/qcsrc/server/vore.qc

index bd32fa7f4a60f89a912fd454059f90db07881e29..57edb3be3bc3b78e018aa27be05b8a33fbac55ba 100644 (file)
@@ -188,7 +188,7 @@ set g_balance_grabber_reload_time 2
 set g_balance_vore_swallow_range 100 "distance below which you can swallow another player when facing them"\r
 set g_balance_vore_swallow_limit 3 "how many players can fit in the stomach at a time, may range between 1 and 9"\r
 set g_balance_vore_swallow_speed_fill 3 "how long it takes to swallow a player, 0 is instant"\r
-set g_balance_vore_swallow_speed_fill_playerscale 1 "fill rate depends on predator size compared to prey size"\r
+set g_balance_vore_swallow_speed_fill_scalediff 1 "fill rate depends on predator size compared to prey size"\r
 set g_balance_vore_swallow_speed_decrease 0.2 "how fast the swallow progress decreases, when the predator is no longer swallowing"\r
 set g_balance_vore_swallow_speed_cutspd 0.5 "prey movement slows down by this amount the closer they are to being swallowed"\r
 set g_balance_vore_swallow_speed 1 "how long it takes to swallow a player"\r
@@ -206,7 +206,7 @@ set g_balance_vore_digestion_damage 4 "amount of damage applied to victims durin
 set g_balance_vore_digestion_vampire 1 "amount of health you gain from digestion"\r
 set g_balance_vore_digestion_vampire_stable 150 "maximum amount of health you can gain from digestion (best kept equal or less than g_balance_health_rotstable)"\r
 set g_balance_vore_digestion_distribute 1 "if enabled, digestion is reduced by the amount of prey you have. eg: having 2 prey will reduce digestion strength by 2"\r
-set g_balance_vore_digestion_playerscale 1 "if enabled, digestion damage is affected by the size of the predator compared to the size of the prey"\r
+set g_balance_vore_digestion_scalediff 1 "if enabled, digestion damage is affected by the size of the predator compared to the size of the prey"\r
 set g_balance_vore_teamheal 1 "when enabled, having a team mate in your stomach will keep healing them by this amount"\r
 set g_balance_vore_teamheal_stable 150 "maximum amount of health you can gain from a teamheal (best kept equal or less than g_balance_health_rotstable)"\r
 set g_balance_vore_weight_gravity 1 "you get this heavier the more you eat, at 1 each meal makes you two times heavier"\r
@@ -215,7 +215,7 @@ set g_balance_vore_kick_damage_min 30 "minimum amount of damage you can do with
 set g_balance_vore_kick_damage_max 45 "maximum amount of damage you can do with a stomach kick"\r
 set g_balance_vore_kick_delay 0.6 "how many seconds must pass before you can perform another stomach kick"\r
 set g_balance_vore_kick_force 420 "predators are pushed by this amount when stomach kicked, in the direction their prey is facing"\r
-set g_balance_vore_kick_playerscale 1 "if enabled, the damage / force of stomach kicks is affected by the size of the prey compared to the size of the predator"\r
+set g_balance_vore_kick_scalediff 1 "if enabled, the damage / force of stomach kicks is affected by the size of the prey compared to the size of the predator"\r
 set g_balance_vore_kick_predator_punchangle 6 "your view gets tilted by this amount when receiving stomach kicks"\r
 set g_balance_vore_kick_prey_punchangle 6 "your view gets tilted by this amount when dealing stomach kicks"\r
 set g_balance_vore_kick_cutregurgitate 0.75 "probability that a stomach kick will cause the predator to lose a scheduled regurgitation"\r
index f3967b45ec7d257597205df900c05c3feb2d1e86..e3cef54eb806dd7a4299fa881a304e8bbbc2a8c5 100644 (file)
@@ -260,7 +260,7 @@ void Vore_SwallowStep(entity e)
        {\r
                float fill;\r
                fill = cvar("g_balance_vore_swallow_speed_fill") * frametime;\r
-               if(cvar("g_balance_vore_swallow_speed_fill_playerscale")) // fill rate depends on predator size compared to prey size\r
+               if(cvar("g_balance_vore_swallow_speed_fill_scalediff")) // fill rate depends on predator size compared to prey size\r
                        fill *= (self.scale / e.scale);\r
 \r
                e.swallow_progress_prey += fill;\r
@@ -414,7 +414,7 @@ void Vore_Digest()
                damage = cvar("g_balance_vore_digestion_damage") / reduce;\r
 \r
                // apply player scale to digestion damage\r
-               if(cvar("g_balance_vore_digestion_playerscale"))\r
+               if(cvar("g_balance_vore_digestion_scalediff"))\r
                        damage *= (self.predator.scale / self.scale);\r
 \r
                Damage(self, self.predator, self.predator, damage, DEATH_DIGESTION, self.origin, '0 0 0');\r
@@ -466,7 +466,7 @@ void Vore_StomachKick()
                force = v_forward * cvar("g_balance_vore_kick_force");\r
 \r
                // apply player scale to the damage / force of the kick\r
-               if(cvar("g_balance_vore_kick_playerscale"))\r
+               if(cvar("g_balance_vore_kick_scalediff"))\r
                {\r
                        damage *= (self.scale / self.predator.scale);\r
                        force *= (self.scale / self.predator.scale);\r