So, I've seen many doodies writing posts about eb, so i thought it would be good to release the source code.
I dont know if this alrdy is released..But u know, YOLO
Code:
ExplosiveBullets()
{
self endon ( "death" );
for(;;)
{
self waittill ( "weapon_fired" );
forward = self getTagOrigin("j_head");
end = self thread vector_scal(anglestoforward(self getPlayerAngles()),1000000);
SPLOSIONlocation = BulletTrace( forward, end, 0, self )[ "position" ];
level.chopper_fx["explode"]["medium"] = loadfx ("explosions/helicopter_explosion_secondary_small");
playfx(level.chopper_fx["explode"]["medium"], SPLOSIONlocation);
RadiusDamage( SPLOSIONlocation, 100, 500, 100, self );
}
}
vector_scal(vec, scale)
{
vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
return vec;
}
Installation:
Go to _rank.gsc ==> OnPlayerSpawned() and below of "self waittill("spawned_player");" paste it
Hope this helped all of the ? out there