From: Samual Lenks Date: Tue, 24 Jul 2012 00:33:49 +0000 (-0400) Subject: Even newer debug prints X-Git-Tag: xonotic-v0.8.0~152^2~408^2~43 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=11a353e10679aba32d88d9f736f0c30861834e5a;p=xonotic%2Fxonotic-data.pk3dir.git Even newer debug prints --- diff --git a/qcsrc/server/w_laser.qc b/qcsrc/server/w_laser.qc index ac3a5fdd5..9fe4d51b7 100644 --- a/qcsrc/server/w_laser.qc +++ b/qcsrc/server/w_laser.qc @@ -139,7 +139,7 @@ void W_Laser_Shockwave(void) final_damage = (autocvar_g_balance_laser_primary_damage * multiplier); Damage(aim_ent, self, self, final_damage, WEP_LASER, aim_ent.origin, final_force); - print("DIRECT HIT: multiplier = ", ftos(multiplier), strcat(", damage = ", ftos(final_damage), ", force = ", ftos(vlen(final_force))),"... multiplier_from_accuracy = ", ftos(multiplier_from_accuracy), ", multiplier_from_distance = ", ftos(multiplier_from_distance), ".\n"); + print("debug: DIRECT HIT: multiplier = ", ftos(multiplier), strcat(", damage = ", ftos(final_damage), ", force = ", ftos(vlen(final_force))),"... multiplier_from_accuracy = ", ftos(multiplier_from_accuracy), ", multiplier_from_distance = ", ftos(multiplier_from_distance), ".\n"); } // now figure out if I hit anything else than what my aim directly pointed at... @@ -180,7 +180,7 @@ void W_Laser_Shockwave(void) final_damage = (autocvar_g_balance_laser_primary_damage * multiplier + autocvar_g_balance_laser_primary_edgedamage * (1 - multiplier)); Damage(head, self, self, final_damage, WEP_LASER, head.origin, final_force); - print("EDGE HIT: multiplier = ", ftos(multiplier), strcat(", damage = ", ftos(final_damage), ", force = ", ftos(vlen(final_force))),"... multiplier_from_accuracy = ", ftos(multiplier_from_accuracy), ", multiplier_from_distance = ", ftos(multiplier_from_distance), ".\n"); + print("debug: EDGE HIT: multiplier = ", ftos(multiplier), strcat(", damage = ", ftos(final_damage), ", force = ", ftos(vlen(final_force))),"... multiplier_from_accuracy = ", ftos(multiplier_from_accuracy), ", multiplier_from_distance = ", ftos(multiplier_from_distance), ".\n"); //pointparticles(particleeffectnum("rocket_guide"), w_shotorg, w_shotdir * 1000, 1); //SendCSQCShockwaveParticle(autocvar_g_balance_laser_primary_spread, trace_endpos);