Monthly Target: $400 Donations: $340
 85% 

[TF2] Kill-Streak Tracker and Sounds 3.2 *Sql support!


Post New Thread Reply   
 
Thread Tools Display Modes
Author
BrutalGoerge
SourceMod Donor
Join Date: Jul 2007
Plugin ID:
868
Plugin Version:
3.3.2
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Approver:
    Plugin Description:
    Kind of like quake sounds, but with tf2 sounds. Tracks kill-streaks, Optional sql support
    Servers with this Plugin:
    87 
    Old 03-24-2009 , 15:46   [TF2] Kill-Streak Tracker and Sounds 3.2 *Sql support!
    Reply With Quote #1

    Polish Translation + English Fixes : Zuko

    Uses Colors.inc

    THANKS EXVEL!!
    http://forums.alliedmods.net/showthread.php?t=96831

    r5053 for the n1g script, helped me a lot to understand sql and sourcemod.
    DarthNinja for Fish kill fix

    Versions: (full changelog in plugin source code)

    3.3.2
    - fix sounds to use new mp3 voice overs
    - fix derpy bug that disabled sounds when they should be enabled and vise versa

    3.1
    - add convar to disable sound

    3.0
    - add sql support
    - recode crap
    3.1
    - add clientpref support to allow clients to disable sounds and hint messages
    - add enable/disable convar
    - add convar to control how many players need to be connected before it will record scores to the database
    3.2
    - add convar to decide whether or not to count bots in deciding how many people are playing
    3.2.1
    - fix database resetting
    - fix say command doing stuff when console uses it
    3.3.0
    - Moved DarthNinja's fish kill fix to the main post
    - Disable particle attachment to spies

    SQL Support


    Keep track of who has achieved the highest streak

    The plugin will search for a database config called "orgasm" for mysql and multiple servers, if not, then it will try to use a sqlite database for local storage.

    The plugin should work fine if the database convar is disabled.

    If the database convar is enabled, and it cannot connect to a database, then it will enter fail-state.

    say StreakTop or TopStreak to display to the top menu.

    clients are deleted after a set amount of days (def 15)

    ROOT COMMAND sm_orgasm_reset resets the database.

    Description:
    Kinda like a simple TF2 style quake sounds.
    - players first blood sound to all
    - plays sounds to client on certain intervals

    Kill streaks reset on death and spawn.

    Databases.cfg entry (for global streak tracking)... no configuration required for local storage
    Code:
        "orgasm"
        {
            "driver"            "mysql"
            "host"                "<< my address >>"
            "database"            "<< my database name>>"
            "user"                "<< my user name>>"
            "pass"                "<< my password>>"
            //"timeout"            "0"
            "port"            "3306"
        }
    plans:
    - make a better menu
    - add some kind of reward
    - add preference so people can choose whether or not to have the sounds play to them
    Attached Files
    File Type: txt orgasm.phrases.txt (4.2 KB, 2382 views)
    File Type: sp Get Plugin or Get Source (orgasm.sp - 23 views - 30.7 KB)
    File Type: smx orgasm.smx (23.3 KB, 27 views)
    __________________
    My Pluggies If you like, consider to me.

    Last edited by BrutalGoerge; 03-12-2015 at 23:55.
    BrutalGoerge is offline
    Zuko
    SourceMod Donor
    Join Date: Sep 2006
    Location: Poland
    Old 03-29-2009 , 12:14   Re: [TF2] Kill-Streak Orgasms 1.0.1
    Reply With Quote #2

    EDIT:
    translation file: (en + pl)
    http://forums.alliedmods.net/attachm...7&d=1245708676

    ------------
    old post:
    If you kill yourself kill streak still counting.
    __________________

    Last edited by Zuko; 06-22-2009 at 18:12.
    Zuko is offline
    Send a message via ICQ to Zuko
    BrutalGoerge
    SourceMod Donor
    Join Date: Jul 2007
    Old 03-29-2009 , 16:58   Re: [TF2] Kill-Streak Orgasms 1.0.1
    Reply With Quote #3

    hmm, i took out the player_spawn hook, that might have still been needed.

    i'll take a looksie.


    edit i see the problem, thanks for the post!
    __________________
    My Pluggies If you like, consider to me.

    Last edited by BrutalGoerge; 03-29-2009 at 17:17.
    BrutalGoerge is offline
    BrutalGoerge
    SourceMod Donor
    Join Date: Jul 2007
    Old 05-05-2009 , 01:19   Re: [TF2] Kill-Streak Orgasms 1.0.6
    Reply With Quote #4

    lawl omg i updated this for sexy colorz
    __________________
    My Pluggies If you like, consider to me.
    BrutalGoerge is offline
    DontWannaName
    Veteran Member
    Join Date: Jun 2007
    Location: VALVe Land, WA
    Old 05-05-2009 , 03:00   Re: [TF2] Kill-Streak Orgasms 1.0.6
    Reply With Quote #5

    Im so glad I could be an inspiration for your truly beautiful work of art.
    __________________

    DontWannaName is offline
    retsam
    Veteran Member
    Join Date: Aug 2008
    Location: so-cal
    Old 05-06-2009 , 01:49   Re: [TF2] Kill-Streak Orgasms 1.0.6
    Reply With Quote #6

    Great plugin man. I was just testing it and I think im gonna put it on all my tf2 servers. Anyways...awesome work.

    I did have one question. I didnt like a couple of the sound files used and im changing a couple around. Those vo/ files under case1 case2 etc, are those played in order or random? It looks like its random after looking at it.

    Also you might consider adding more cases. I like the "crazed killer and maniac" sound files. (announcer_am_killstreak10.wav & announcer_am_killstreak11.wav respectively) I already added 2 more cases to the one im gonna put on my server. I just didnt think 4 was enough.

    EDIT: I have a few ideas for ya.

    1)
    I did have one idea, which maybe others can chime in on. What if you made the sound files play in order instead of random? Kinda like the quake plugin? Im not sure which is the better idea.

    2) The other idea related to above is, instead of making it completely random, or very linear, how bout doing it in stages? In other words, for the first kill streak msg, it plays a random of 2 specified files. Second stage, random of another 2 files, third another 2, etc... It would be cool to have the crazed killer and maniac as part of like 5 kill streak messages or maybe 4 I dont know.

    3) If you didnt want to do the above in like stages like that, can you just make it so after like 4 or 5 kill streak messages, it then starts playing maniac and crazed killer sounds/msg's? Something to consider. It would be nice to have some unique sound that isnt part of the normal randoms when you get high enough you know? Something to work to?

    4) Firstblood? While, I realize this is approaching similarity to quake sounds plugin, there are first blood sound files as well. Try these out (announcer_am_firstblood01.wav,announcer_am_f irstblood02.wav)
    You could have it emit a sound from the player for whoever gets the first kill each round.

    5) Lastly.....if you wanted to get crazy with this, ive been dabbling a bit in attaching particles to players in one of my own plugins lately. If you did consider doing like, the maniac/crazied killer idea for the super streak messages, you could attach a "fireworks" particle that emits from the players feet when they hit the "crazyd killer or maniac" streak.... Just an idea I had. Its a pretty cool particle. Its the one when you get an achievement, but its just the little fireworks effects.

    Anyhow, just some ideas. Maybe you will like a few.

    Last edited by retsam; 05-06-2009 at 02:42.
    retsam is offline
    BrutalGoerge
    SourceMod Donor
    Join Date: Jul 2007
    Old 05-06-2009 , 02:57   Re: [TF2] Kill-Streak Orgasms 1.0.6
    Reply With Quote #7

    holy shit that's a lot of ideas
    When i started this thing i was super nub at this, and I was just glad it all worked, and didn't somehow blow up the internet.

    1. Possibly, i like the random ones, but they do kind of have a natural order to them, short YES yell, I love this, Lonng yes, then YES YES YES

    2. Thought of it, but was lazy

    3. kinda ties with 2

    4. easy enough

    5. neat shit, should let me see it
    __________________
    My Pluggies If you like, consider to me.

    Last edited by BrutalGoerge; 05-06-2009 at 13:41.
    BrutalGoerge is offline
    retsam
    Veteran Member
    Join Date: Aug 2008
    Location: so-cal
    Old 05-06-2009 , 05:51   Re: [TF2] Kill-Streak Orgasms 1.0.6
    Reply With Quote #8

    1. Yeah exactly. Like one says "Yes yell" and "well done" seems like more of a first streak sounds. Then theres the other ones which get longer like you said. Then of course theres the other ones you didnt use like "Maniac" and "crazed killer." It does kind of have a natural succession.


    For the rest of them ya. First blood should be easy. If you didnt want to do the rest, it would still be nice if you could make something that plays the maniac or crazed killer after like 3 or 4 streak triggers? Or something like that. Maybe thats specified by a cvar.

    As for the particles, that would obviously only work if you did want to do another level for what I talked about above. However if you wanted to see what the the particle that I was thinking about looks like. CrimsonGt made a plugin to play particles. http://forums.alliedmods.net/showthr...article&page=2

    Its close to the bottom. Load that up and then in game, in your console type "particle mini_fireworks" This is of course for tf2. So...if this plugin is intended for multiple games, you may have to specify the game in it. Anyhow, thats the particle I had in mind.

    So it didnt get played too often, may want to have a separate cvar to specify how often the higher level killer streak initiates. Like after some # of kill streaks you hit the crazyed killer/maniac, then it takes double the amount of kills to trigger. Something like that. Or perhaps maybe so it just plays upon the first time hitting the higher level? Just tossing out ideas.... ANyways.......

    If you did do it



    EDIT: One last thing. I do have one small request if you change nothing else. Can you make the hud hint msg pop up only on each streak notice? Not each kill? Its kinda spammy. It also interferes with other plugins on the server. Or at least tell me how I might edit that heh. I dont think its needed to show each kill. Just have it pop up each time it plays the sound file.

    Last edited by retsam; 05-06-2009 at 06:32.
    retsam is offline
    BrutalGoerge
    SourceMod Donor
    Join Date: Jul 2007
    Old 05-06-2009 , 13:49   Re: [TF2] Kill-Streak Orgasms 1.0.6
    Reply With Quote #9

    just a quickie little update for that last part..
    sm_orgasm_showallkills 0/1 enable disable the hint thingy for all streaks
    __________________
    My Pluggies If you like, consider to me.
    BrutalGoerge is offline
    retsam
    Veteran Member
    Join Date: Aug 2008
    Location: so-cal
    Old 05-06-2009 , 17:29   Re: [TF2] Kill-Streak Orgasms 1.0.6
    Reply With Quote #10

    Sweet. Thx.
    retsam is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 10:26.


    Powered by vBulletin®
    Copyright ©2000 - 2015, vBulletin Solutions, Inc.
    Theme made by Freecode