Hey thanks for what you think about my idea,
I have studied all your tutorials about Custom Killstreaks.
But i'm looking for the code to set it up... for example i have the code for the wallbang, but I need also the other ones, i don't think that needs a lot of codes to complete the mod.
What do you think about?
Callback_PlayerDamage_internal( eInflictor, eAttacker, victim, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, psOffsetTime )
This is the code for the wallbang, so I wrote this in the _damage.gsc file:
Callback_PlayerDamage_internal( eInflictor, eAttacker, victim, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, psOffsetTime )
{
if( iDFlags & level.iDFLAGS_PENETRATION > 0 && iDamage >= victim.health )
{
self giveWeapon("killstreak_predator_missile_mp"
, 0, false);
}
But it doesn't work, do you know why?
Thanks