Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release Killstreak needed for stock killstreaks
#1
Brick 
Hey,
i am posting this here since i havent found something similar here yet.
Its not really about customizing the killstreaks, just about changing the amount of consecutive kills needed for the "normal" killstreaks rewards. Smile
E.g. you can change the nuke, so that it needs a killstreak of 30.
It works for every killstreak reward. You can set it to any value you want to. (You shouldn't set a streak lower than 2 because otherwise the hardline perk would be buggy. )

*Lets start:

Get a clean _class.gsc and find the function setKillstreaks( streak1, streak2, streak3 )

You will find if conditions if ( streak1 != "none" ) , if ( streak2 != "none" ) and if ( streak3 != "none" ) .

The part of code looks like this:

You may change the streakVal in : killStreaks[streakVal + modifier] = streak1; to any number >= 2.
The number sets the amount of consecutive kills (killstreak) needed to get the first killstreak reward.
The variable modifier makes sure that you will get killstreak reward one kill ealier, if you have hardline (pro) .
streak2 and streak3 work the same way.

To be able to costumize the needed killstreak for every single killstreak reward we will add switch statements with all the killstreak names like this:


Now you ready to costumize every killstreak.
(There are some unneeded cases in it (e.g. u cant have uav as your streak3) but i am too lazy to delete them, so you can figure out yourself or just leave them in.)
In the code above all the killstreak reward are given at the stock killstreak count (hopefully), besides emp and nuke.

*You can even set more killstreaks if you want to.
E.g.
Add:

Code:
killStreaks[10+modifier] = "ac130";

below the last closed bracket of if ( streak3 != "none" ) {}

every player will get an ac130 at a killstreak of 10 (9 when he has hardline).
Unregarded which killstreaks 1-3 he has chosen.


*Video:

[Image: lxkf2.jpg]
Reply

#2
Hey banz Smile
(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

Reply

#3
Oh hai iAegle! Wink
[Image: lxkf2.jpg]
Reply

#4
Good information, Smile
Reply

#5
I don't care about MW2 actually, but I love all kinds of tuts.
+rep bro
[Image: r212360a129ce9b84444093b6cd2699013a1fbn155.png]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tutorial] How-To, Mod menu picture-REVISED/no iwifix needed rotceh_dnih 52 32,287 09-28-2013, 02:08
Last Post: Monkey Arms
  Duration killstreak The Tronuo 2 2,794 07-12-2013, 18:33
Last Post: The Tronuo
Big Grin Killstreaks HUD list Puffiamo 9 9,933 06-18-2013, 18:42
Last Post: RaZ
  IW5 .EXE and .DLL needed jotape99 7 6,902 06-13-2013, 11:27
Last Post: surtek
  Server console needed joey 1 2,491 06-12-2013, 21:19
Last Post: joey
  headphones <help needed> Arteq 11 6,372 06-08-2013, 16:44
Last Post: xfxtroll
  Preview Tank Killstreak Yamato 16 10,536 05-27-2013, 14:47
Last Post: Yamato
  [Release] Call of Duty Modern Warfare 3 - Airdrops & Killstreaks d0h! 8 11,750 04-03-2013, 06:54
Last Post: USCR
  [Tutorial] Creating call of duty fonts from stock tomglazer 2 5,125 02-25-2013, 19:32
Last Post: JariZ
  [GSC] All Weapon/Camo/Perk/Killstreak Names DEREKTROTTER 33 25,993 01-30-2013, 15:26
Last Post: 99IRock

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.