03-28-2010, 03:29 PM | #1 |
Join Date: Sep 2007
Posts Rated Helpful 5 Times
|
kill sound q.
Anyone know if it's possible to cycle through different death sounds at random in-game? I kinda don't think so since you can only choose one in the fortress options, but was wondering if it was possible. This way, there could be a few different sounds put in there for fun.
Last edited by be_; 03-28-2010 at 03:29 PM. |
|
03-28-2010, 09:09 PM | #2 |
Stuff Do-er
Lua Team
Wiki Team Fortress Forever Staff |
You could write a script to simulate this.
Something like: Code:
alias attackbeep1 "+attack; wait; cl_killbeepsound deathbeep1; bind MOUSE1 attackbeep2" alias attackbeep2 "+attack; wait; cl_killbeepsound deathbeep2; bind MOUSE1 attackbeep3" ... alias attackbeep8 "+attack; wait; cl_killbeepsound deathbeep8; bind MOUSE1 attackbeep1" bind MOUSE1 attackbeep1
__________________
#FF.Pickup ¤ Fortress-Forever pickups My Non-official Maps Released FF_DM_Squeek - FF_2Mesa3_Classic - FF_Siege_Classic Beta FF_Myth - FF_Redlight_Greenlight Sick of the people on the internet, always moanin'. They just moan. - Karl Pilkington Last edited by squeek.; 03-28-2010 at 09:10 PM. |
|
03-29-2010, 12:19 AM | #3 |
Join Date: Sep 2007
Posts Rated Helpful 5 Times
|
I tried this but no such luck. Thank you though; that does make it seem possible.
|
|
03-30-2010, 09:00 PM | #4 |
Blacknight's Test Guy
D&A Member
Join Date: Mar 2010
Class/Position: Scoot Gametype: Capture the Flag Affiliations: [Brik], F-in-S, [HelpStar] Posts Rated Helpful 4 Times
|
I've tested that script in-game, and, you are correct, it does not work. I've tried a few other things as well.
It doesn't seem that the command itself is what's breaking the script. I entered the command on its own and it registered fine. I then tried a continuous loop of aliases running to switch out the killbeep every 40 seconds or so, but that resulted in a crash. What I'd suggest would be binding 'cl_killbeepsound x' to your movement keys in addition to the appropriate movement direction. This is what I've got running, using 4 custom killbeeps bound to spacebar, a, s, and d, since w would reset it all too often. |
|
03-30-2010, 11:51 PM | #5 |
Who the fuck is this guy?
D&A Member
Beta Tester Join Date: Mar 2007
Class/Position: O Preferred Gametype: AvD Affiliations: [AE] Asseaters Posts Rated Helpful 2 Times
|
You can't make infinite loops, they'll always crash.
Changing the fire key doesn't work for you guys? It seems like what Squeek posted should work fine. |
|
03-31-2010, 12:25 AM | #6 |
Blacknight's Test Guy
D&A Member
Join Date: Mar 2010
Class/Position: Scoot Gametype: Capture the Flag Affiliations: [Brik], F-in-S, [HelpStar] Posts Rated Helpful 4 Times
|
The problem is that the syntax for the cl_killbeepsound command bugs out if there's a semicolon at the end of 'deathsound x', which is required for that script.
|
|
03-31-2010, 12:55 AM | #7 |
Stuff Do-er
Lua Team
Wiki Team Fortress Forever Staff |
Maybe alias the deathbeep changes too?
Code:
alias deathbeep1 "cl_killbeepsound deathbeep1" alias deathbeep2 "cl_killbeepsound deathbeep2" ... alias deathbeep8 "cl_killbeepsound deathbeep8" Code:
alias attackbeep1 "+attack; wait; deathbeep1; bind MOUSE1 attackbeep2" alias attackbeep2 "+attack; wait; deathbeep2; bind MOUSE1 attackbeep3" ... alias attackbeep8 "+attack; wait; deathbeep8; bind MOUSE1 attackbeep1" bind MOUSE1 attackbeep1
__________________
#FF.Pickup ¤ Fortress-Forever pickups My Non-official Maps Released FF_DM_Squeek - FF_2Mesa3_Classic - FF_Siege_Classic Beta FF_Myth - FF_Redlight_Greenlight Sick of the people on the internet, always moanin'. They just moan. - Karl Pilkington |
|
03-31-2010, 01:01 AM | #8 |
Blacknight's Test Guy
D&A Member
Join Date: Mar 2010
Class/Position: Scoot Gametype: Capture the Flag Affiliations: [Brik], F-in-S, [HelpStar] Posts Rated Helpful 4 Times
|
Nope. Doesn't like apostrophes either. And also, it needs to be +attackbeep1, etc., otherwise, it's stuck in an attack.
|
|
03-31-2010, 01:30 AM | #9 |
Who the fuck is this guy?
D&A Member
Beta Tester Join Date: Mar 2007
Class/Position: O Preferred Gametype: AvD Affiliations: [AE] Asseaters Posts Rated Helpful 2 Times
|
This seemed to work to me. I'd have to check it again on a quiet server with no background noise, but I didn't hear my usual doot.
I missed my doot. Code:
// Killbeep randomizer // This script changes the killbeep noise every time you fire // Giving a nice psuedo-random effect to the deathbeep noise // To use: Place file in cfg folder, add exec random_db to your autoexec // or just manually call it each time you play! // Note: If Copy + Pasting, you should name it random_db.cfg :P // Aliases to change death beep alias db1 "cl_killbeepsound deathbeep1" alias db2 "cl_killbeepsound deathbeep2" alias db3 "cl_killbeepsound deathbeep3" alias db4 "cl_killbeepsound deathbeep4" alias db5 "cl_killbeepsound deathbeep5" alias db6 "cl_killbeepsound deathbeep6" alias db7 "cl_killbeepsound deathbeep7" alias db8 "cl_killbeepsound deathbeep8" // Aliases for Attack alias +ab1 "+attack; wait; db1" alias -ab1 "-attack; wait; bind mouse1 +ab2" alias +ab2 "+attack; wait; db2" alias -ab2 "-attack; wait; bind mouse1 +ab3" alias +ab3 "+attack; wait; db3" alias -ab3 "-attack; wait; bind mouse1 +ab4" alias +ab4 "+attack; wait; db4" alias -ab4 "-attack; wait; bind mouse1 +ab5" alias +ab5 "+attack; wait; db5" alias -ab5 "-attack; wait; bind mouse1 +ab6" alias +ab6 "+attack; wait; db6" alias -ab6 "-attack; wait; bind mouse1 +ab7" alias +ab7 "+attack; wait; db7" alias -ab7 "-attack; wait; bind mouse1 +ab8" alias +ab8 "+attack; wait; db8" alias -ab8 "-attack; wait; bind mouse1 +ab1" // Bind to Mouse1 bind mouse1 +ab1 Last edited by Hawk Eye; 03-31-2010 at 01:31 AM. |
|
03-31-2010, 01:50 AM | #10 |
Blacknight's Test Guy
D&A Member
Join Date: Mar 2010
Class/Position: Scoot Gametype: Capture the Flag Affiliations: [Brik], F-in-S, [HelpStar] Posts Rated Helpful 4 Times
|
You smart, smart man.
|
|
03-31-2010, 01:54 AM | #11 |
Stuff Do-er
Lua Team
Wiki Team Fortress Forever Staff |
Nice job Hawk.
__________________
#FF.Pickup ¤ Fortress-Forever pickups My Non-official Maps Released FF_DM_Squeek - FF_2Mesa3_Classic - FF_Siege_Classic Beta FF_Myth - FF_Redlight_Greenlight Sick of the people on the internet, always moanin'. They just moan. - Karl Pilkington |
|
03-31-2010, 05:21 AM | #12 |
Who the fuck is this guy?
D&A Member
Beta Tester Join Date: Mar 2007
Class/Position: O Preferred Gametype: AvD Affiliations: [AE] Asseaters Posts Rated Helpful 2 Times
|
Glad I could help.
|
|
03-31-2010, 08:23 PM | #13 |
Join Date: Sep 2007
Posts Rated Helpful 5 Times
|
Ya! It works perfectly guys. Thank you very much
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|