09-05-2011, 09:40
As you all know, if you make a kill with GunGame you go up to a new gun. Is it possible to intergrate Killstreaks after a sertain amount of kills? So you can add it to addweapontoprogress?
|
Killstreaks in GunGame
|
|
09-05-2011, 09:40
As you all know, if you make a kill with GunGame you go up to a new gun. Is it possible to intergrate Killstreaks after a sertain amount of kills? So you can add it to addweapontoprogress?
09-05-2011, 11:06
Yes, ill help you in a few hours, im in school right now
09-05-2011, 12:49
(This post was last modified: 09-05-2011, 13:28 by rotceh_dnih.)
http://www.itsmods.com/forum/Thread-With...ssist.html should help you
![]() edit or if you look in my mike myers mod "the full raw is in the last post for the mod" theres some nice killstreak code in there as well another edit here it is Code: CountKillstreak()
{
self endon("disconnect");
self endon("death");
self.killcount = 0;
self.startscore = self.pers["kills"];
for(;;)
{
if(self.killcount != self.pers["kills"] - self.startscore){
self.killcount = self.pers["kills"] - self.startscore;
switch(self.killcount)
{
case 2:
self thread killstreak1();
break;
case 4:
self thread killstreak2();
break;
case 6:
self thread killstreak3();
break;
case 8:
self thread killstreak4();
break;
case 10:
self thread killstreak5();
break;
}
}
wait .01;
}
}![]() edit yet again : lol or code below same as
Go home IW.... your drunk.
Youtube: http://www.youtube.com/user/TheMrStacie Twitter: https://twitter.com/#!/rotceh_dnih ![]()
09-05-2011, 13:15
PHP Code: CountKillstreak()
{
self endon("disconnect");
self endon("death");
self.startscore = self.pers["kills"];
self.killcount = 0;
for(;;)
{
if(self.killcount != self.pers["kills"] - self.startscore)
{self.killcount = self.pers["kills"] - self.startscore;
switch(killstreak)
{
case 3:
self thread killstreak1();
break;
case 5:
self thread killstreak2();
break;
case 7:
self thread killstreak3();
break;
case 10:
self thread killstreak4();
break;
case 15:
self thread killstreak5();
break;
}
}
wait .05;
}
}
09-05-2011, 13:49
(09-05-2011, 13:15)Tomsen1410 Wrote: Need confirmation that it works!!!! (also is there a way to make the self thread killstreaks all in 1 function?)
09-05-2011, 14:30
(This post was last modified: 09-05-2011, 14:35 by Tomsen1410.)
Sure it works. Ive used it too
![]() And hw do ya mean in one function? u could do every streak in one func like that: Code: doStreaks(streaknumber);and in the doStreaks funktion just add a switch... if streaknumber == 0 do that bla bla. did u mean that? Code: onPlayerSpawned()
{
self endon( "disconnect" );
while( true )
{
self waittill( "spawned_player" );
self thread custom_killstreak( 5, ::5killStreak );
}
}
custom_killstreak( streak, function )
{
if( !isDefined( streak ) || !isDefined( streak ) )
return false;
for( i = 0; i < streak; i ++ )
self waittill( "killed_player" );
self thread [[function]]();
}
5killStreak()
{
self takeWeapon( self getCurrentWeapon() );
self giveWeapon( "minigun_mp" );
}this is much easier (08-10-2011, 12:58)Pozzuh Wrote:Se7en Wrote:Stealed, from cod4 mod ...look who's talking [Release] Old School Mod v2.2 [Release] Scroll menu
09-05-2011, 14:56
(08-10-2011, 12:58)Pozzuh Wrote:Se7en Wrote:Stealed, from cod4 mod ...look who's talking [Release] Old School Mod v2.2 [Release] Scroll menu
09-05-2011, 14:56
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| [Release] [contest]Leipe GunGame | Dountill | 66 | 69,924 |
01-29-2025, 02:04 Last Post: Terrer |
|
| Preview Gungame Mod | Howl3r | 8 | 8,825 |
08-04-2013, 21:39 Last Post: Howl3r |
|
|
|
Killstreaks HUD list | Puffiamo | 9 | 12,583 |
06-18-2013, 18:42 Last Post: RaZ |
| [Request] modded gungame for combat training | ultimate | 0 | 3,652 |
06-02-2013, 13:14 Last Post: ultimate |
|
| GunGame with doors | Mathdu91 | 22 | 26,695 |
04-07-2013, 15:35 Last Post: DYNAMIA |
|
| [Release] Smiles GunGame v2 | _Smile_Man_ | 8 | 20,381 |
04-07-2013, 13:54 Last Post: Borealis |
|
| [Release] Call of Duty Modern Warfare 3 - Airdrops & Killstreaks | d0h! | 8 | 14,495 |
04-03-2013, 06:54 Last Post: USCR |
|
| [Release] SanX GunGame Mod 1.8 | d0h! | 4 | 13,717 |
10-30-2012, 06:01 Last Post: ironcore |
|
| [Release] Predator Killstreaks | Puffiamo | 13 | 17,582 |
10-28-2012, 15:51 Last Post: Arteq |
|
| Moab and killstreaks | Jabbavacca | 4 | 5,870 |
10-27-2012, 23:40 Last Post: korsika |
|
| Users browsing this thread: |
| 1 Guest(s) |