08-30-2012, 14:27
I've got the deathstreak fully working now:
It a simple fix to get it working all you do is open up _damage.gsc and remove the */ from the start of this code and the end.
Then replace anything in the code which has c4Death_mp with c4_mp. The c4death_mp weapon trigger doesn't exist even if precached so you need to use the c4_mp.
Once this is done then just add the deathstreak to your class, death streak is called specialty_c4death.
This is my first release on this site.
It a simple fix to get it working all you do is open up _damage.gsc and remove the */ from the start of this code and the end.
Code:
/*
else if ( self _hasPerk( "specialty_c4death" ) )
{
self.lastStandParams = lastStandParams;
self takeAllWeapons();
self giveWeapon( "c4Death_mp", 0, false );
self switchToWeapon( "c4Death_mp" );
self _disableUsability();
self.inC4Death = true;
//self thread dieAfterTime( 7 );
self thread lastStandTimer( 10, false );
self thread detonateOnUse();
//self thread detonateOnDeath();
}
*/
Then replace anything in the code which has c4Death_mp with c4_mp. The c4death_mp weapon trigger doesn't exist even if precached so you need to use the c4_mp.
Once this is done then just add the deathstreak to your class, death streak is called specialty_c4death.
This is my first release on this site.