float DEATH_HEADSHOT = 10022;
-#define DEATH_VEFIRST 10030
+#define DEATH_VHFIRST 10030
#define DEATH_VHCRUSH 10030
#define DEATH_SBMINIGUN 10031
#define DEATH_SBROCKET 10032
#define DEATH_RAPTOR_CANNON 10037
#define DEATH_RAPTOR_BOMB 10038
#define DEATH_RAPTOR_DEATH 10039
-#define DEATH_VELAST 10039
+#define DEATH_VHLAST 10039
+#define DEATH_ISVEHICLE(t) ((t) >= DEATH_VHFIRST && (t) <= DEATH_VHLAST)
float DEATH_GENERIC = 10050;
return;
crosshair_trace(self.owner);
-
+//normalize(v_forward + (v_up * 0.5) + randomvec() * 0.25) * autocvar_g_vehicle_spiderbot_rocket_speed,
v = gettaginfo(self.tur_head,gettagindex(self.tur_head,"tag_fire"));
rocket = vehicles_projectile("spiderbot_rocket_explode", "weapons/rocket_impact.wav", "spiderbot_rocket_launch", "weapons/rocket_fire.wav",
- v, normalize(v_forward + (v_up * 0.5) + randomvec() * 0.25) * autocvar_g_vehicle_spiderbot_rocket_speed,
+ v, normalize(v_forward) * autocvar_g_vehicle_spiderbot_rocket_speed,
autocvar_g_vehicle_spiderbot_rocket_damage, autocvar_g_vehicle_spiderbot_rocket_radius, autocvar_g_vehicle_spiderbot_rocket_force, 1,
DEATH_SBROCKET, PROJECTILE_SPIDERROCKET, autocvar_g_vehicle_spiderbot_rocket_health);
}
self = spider;
-
+
+ //vector v;
+ //v = gettaginfo(self.tur_head,gettagindex(self.tur_head,"tag_fire"));
+ //te_lightning1(world, v, v + normalize(v_forward + (v_up * 0.5) + randomvec() * 0.25) * autocvar_g_vehicle_spiderbot_rocket_speed);
crosshair_trace(player);
//UpdateAuxiliaryXhair(player, trace_endpos, ('1 0 0' * player.vehicle_reload2) + ('0 1 0' * (1 - player.vehicle_reload2)), 2);