From 2db4c2be433a02665bbfc596b5500e63038a2cac Mon Sep 17 00:00:00 2001 From: MirceaKitsune Date: Thu, 2 Sep 2010 16:49:12 +0300 Subject: [PATCH] Regurgitation force. Players "rocket out" at the specified speed when thrown up. --- data/balance.cfg | 1 + data/qcsrc/server/vore.qc | 1 + 2 files changed, 2 insertions(+) diff --git a/data/balance.cfg b/data/balance.cfg index 65a20b25..b0d74c50 100644 --- a/data/balance.cfg +++ b/data/balance.cfg @@ -184,6 +184,7 @@ set g_balance_vore_swallow_limit 3 "how many players can fit inside a stomach, s set g_balance_vore_swallow_delay 0.5 "how many seconds must pass before you can swallow someone again" set g_balance_vore_regurgitate_delay 0.135 "regurgitation delay" set g_balance_vore_regurgitate_velocitylimit 1200 "when a predator is going faster than this, the prey is squeezed out of them" +set g_balance_vore_regurgitate_force 500 "regurgitated players rocket out at this speed when released" set g_balance_vore_digestion_damage 4 "amount of damage applied to victims during digestion" set g_balance_vore_digestion_vampire 1 "amount of health you gain from each enemy during digestion" set g_balance_vore_digestion_vampire_stable 150 "you stop gaining health past this point (best to keep equal or lower than g_balance_health_rotstable)" diff --git a/data/qcsrc/server/vore.qc b/data/qcsrc/server/vore.qc index 8dcf2a9b..45f1eeb3 100644 --- a/data/qcsrc/server/vore.qc +++ b/data/qcsrc/server/vore.qc @@ -104,6 +104,7 @@ void Vore_Regurgitate(entity e) e.solid = e.vore_oldsolid; e.alpha = 0; // best way of hiding / showing the eaten player e.view_ofs_z *= 2; // best positioning for the stomach model + e.velocity = randomvec() * cvar("g_balance_vore_regurgitate_force"); e.stat_eaten = FALSE; PlayerSound(e.eater, playersound_regurgitate, CHAN_PAIN, VOICETYPE_PLAYERSOUND); -- 2.39.2