Killstreak Sounds
Rack up the kills and be satisfied doin' it!
Last updated
Rack up the kills and be satisfied doin' it!
Last updated
I wrote killstreaks mainly with in mind. That being said, they're fairly easy to set up.
NOTE: These killstreaks will only reset upon death, they have no time limit.
Killstreaks use the file located in:
englishclient_mp_common.bsp.pak000_dir/scripts/vscripts/client/cl_obituary.gnut
Establish an integer variable at the beginning of the gnut named killstreak:
This should be around line 253.
Right under these strings, add the following code for killstreaks:
If you already have custom killsounds, you can simply put them in the same if-statement.
If you also want to keep a killstreak for how many player titans you've killed (either auto-titan or titan with a player using it) you can write this (you need to establish titanstreak at the beginning of the gnut too):
To get your killstreaks to reset when you die, write this:
Again, if you have custom deathsounds, you can just put them in the same if-statement.
The neat thing with this code is that, once added, you don't even have to go back and change something if you want to add more killstreak sounds or move them around. You simply need to name your custom sounds properly and edit the autoexec.
If you want your killstreaks to loop back around after a certain point, you can write this inside of your killsound/killstreak if-statement:
Where [number] is the amount of kills you wish for your killstreak to be reset. (usually the same as your highest killstreak number) Of course, you can do the same for titanstreak inside of your titanstreak if-statement.
Place the killstreaks/titanstreaks you'll be using in the Titanfall2>r2>media folder.
For naming, you would put killstreak
[amount of kills]
_
[RandomInt number]
Remember that the lowest RandomInt roll is 0, not 1.
To call the killstreaks in the autoexec, write them out like so:
Where [kills] is the amount of kills you need in one life for that sound to play, and [number] is the chosen integer from RandomInt (starting from 0)
If you're doing killstreaks and titanstreaks, your autoexec should look something like this:
Just like with ...
Scroll through cl_obituary.gnut until you find the first appearance of:
string attackerString
string weaponString
string victimString
Replace [number] with however many variations of killstreaks you plan on using. Note that this randomizes every time it runs through. If you want the random pick to be more consistent, check . Otherwise, just make this 1.