float autocvar_g_vehicle_bumblebee_blowup_coredamage;
float autocvar_g_vehicle_bumblebee_blowup_edgedamage;
float autocvar_g_vehicle_bumblebee_blowup_forceintensity;
+var vector autocvar_g_vehicle_bumblebee_bouncepain;
var float autocvar_g_vehicle_bumblebee = 0;
pointparticles(particleeffectnum("explosion_medium"), findbetterlocation(self.origin, 16), '0 0 0', 1);
}
+void bumb_impact()
+{
+ if(autocvar_g_vehicle_bumblebee_bouncepain_x)
+ vehilces_impact(autocvar_g_vehicle_bumblebee_bouncepain_x,
+ autocvar_g_vehicle_bumblebee_bouncepain_y,
+ autocvar_g_vehicle_bumblebee_bouncepain_z);
+}
void bumb_spawn(float _f)
{
dprint(" ------- ^1gettaginfo_name^2(",ftos(i),") ^3=", gettaginfo_name, "\n");
}
*/
-
if(!self.gun1)
{
// for some reason, autosizing of the shiled entity refuses to work for this one so set it up in advance.
self.vehicle_shield = autocvar_g_vehicle_bumblebee_shield;
self.solid = SOLID_BBOX;
self.movetype = MOVETYPE_BOUNCEMISSILE;
+ self.vehicle_impact = bumb_impact;
setorigin(self, self.origin + '0 0 25');
}
set g_vehicle_bumblebee_blowup_radius 500
set g_vehicle_bumblebee_blowup_coredamage 500
set g_vehicle_bumblebee_blowup_edgedamage 100
-set g_vehicle_bumblebee_blowup_forceintensity 600
\ No newline at end of file
+set g_vehicle_bumblebee_blowup_forceintensity 600
+set g_vehicle_bumblebee_bouncepain "1 100 200"
\ No newline at end of file