float autocvar_g_vehicle_racer_rocket_locking_releasetime;
float autocvar_g_vehicle_racer_rocket_locked_time;
-
float autocvar_g_vehicle_racer_respawntime;
float autocvar_g_vehicle_racer_collision_multiplier;
+float autocvar_g_vehicle_racer_blowup_radius;
+float autocvar_g_vehicle_racer_blowup_coredamage;
+float autocvar_g_vehicle_racer_blowup_edgedamage;
+float autocvar_g_vehicle_racer_blowup_forceintensity;
+
var vector racer_force_from_tag(string tag_name, float spring_length, float max_power);
void racer_align4point()
self.deadflag = DEAD_DEAD;
self.vehicle_exit(VHEF_NORMAL);
- // FIXME dont use hardcoded damage/force
- RadiusDamage (self, self, 250, 15, 250, world, 250, DEATH_WAKIBLOWUP, world);
+ RadiusDamage (self, self, autocvar_g_vehicle_racer_blowup_coredamage,
+ autocvar_g_vehicle_racer_blowup_edgedamage,
+ autocvar_g_vehicle_racer_blowup_radius, world,
+ autocvar_g_vehicle_racer_blowup_forceintensity,
+ DEATH_WAKIBLOWUP, world);
self.alpha = -1;
self.nextthink = time + autocvar_g_vehicle_racer_respawntime;
set g_vehicle_racer_rocket_locking_time 0.5
set g_vehicle_racer_rocket_locking_releasetime 0.5
set g_vehicle_racer_rocket_locked_time 1
+
+set g_vehicle_racer_blowup_radius 250
+set g_vehicle_racer_blowup_coredamage 250
+set g_vehicle_racer_blowup_edgedamage 15
+set g_vehicle_racer_blowup_forceintensity 250
+