Monthly Target: $400 Donations: $147
 36% 

[TF2] Pregame Slaughter 1.0.7


Post New Thread Reply   
 
Thread Tools Display Modes
Author
BrutalGoerge
SourceMod Donor
Join Date: Jul 2007
Plugin ID:
2214
Plugin Version:
1.0.7
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    21 
    Plugin Description:
    Frag your teammates before the round starts!
    Old 02-06-2011 , 14:47   [TF2] Pregame Slaughter 1.0.7
    Reply With Quote #1

    Description:
    Well I wasn't sure if I was going to release this, since there is another similar plugin out there, but due to interest, I am.
    This mod during the 'waiting for players' period in TF2 will enable friendly fire, and disable clipping through teammates. It will randomly choose melee weapons, mini crits, or full crits. It counts how many team-kills you get, and at the end displays a panel of the top 3 team killers for each team.

    Credits:
    ratty for the original concept

    Cvars:
    tf2_pregame_timelimit "60" -- Controls the time of the pregame round (essentially is mp_waitingforplayers_time)
    tf2_pregame_stats "1" -- Enable/disable the little pregame round stats
    tf2_pregame_crits "3" -- Control if the players are given mini, full, random, or no crits
    tf2_pregame_melee "2" -- Control if the players are limited to melee weapons, or random setting
    tf2_pregame_doors "2" -- Control if the doors are opened, closed, randomly opened/closed or dont mess with doors.

    Ideas/Plans:
    - More configurable

    Changes:
    Code:
    1.0.7
    -Add convar tf2_pregame_crits
    -Add convar tf2_pregame_melee
    -Add convar tf2_pregame_doors
    -Make use of pretty forwards that were added since I last updated to control when pregame starts :D
    
    1.0.6
    update compiler
    
    1.0.5
    - 3 people on each team before the top 3 panel timer is called
    
    1.0.4
    - fix crash bug 
    
    1.0.3
    - fix error from panel creator when there are < 3 people on either team
    - fix error from panel handle closing. lol lazy
    
    1.0.2
    - block logging of deaths during (<3 psychonic)
    
    1.0.1
    - add var to disable stats tracking during
    - add Askpluginload2 to disable on the map when loaded late
    Attached Files
    File Type: sp Get Plugin or Get Source (tf2_pregame.sp - 118 views - 17.6 KB)
    __________________
    My Pluggies If you like, consider to me.

    Last edited by BrutalGoerge; 02-28-2015 at 10:02.
    BrutalGoerge is offline
    Sir Jake
    Senior Member
    Join Date: Jan 2009
    Old 02-06-2011 , 16:10   Re: [TF2] Pregame Slaughter
    Reply With Quote #2

    Noticed stats are tracked for this when running, if you're able to disable them for this that'd be great.

    Thanks for releasing this.
    A note for others don't load it before map change, I did this and it was stuck on lol

    Thanks for the fix
    Another edit, when I said stats I meant hlstats the mini one on there is nice.

    YAY! Thank you very much, now people should be much more happy.
    You rock Goerge

    Last edited by Sir Jake; 02-06-2011 at 20:37.
    Sir Jake is offline
    Send a message via MSN to Sir Jake
    BrutalGoerge
    SourceMod Donor
    Join Date: Jul 2007
    Old 02-06-2011 , 17:32   Re: [TF2] Pregame Slaughter
    Reply With Quote #3

    lol oops, well, i think theres a setting in the hlstats config to disable hlstats until its normalround time. not sure what I can do. maybe block the death events so they arent picked up by hlstats?
    __________________
    My Pluggies If you like, consider to me.
    BrutalGoerge is offline
    Sir Jake
    Senior Member
    Join Date: Jan 2009
    Old 02-06-2011 , 21:42   Re: [TF2] Pregame Slaughter
    Reply With Quote #4

    How does this plugin respawn players? I noticed the first two it was 1-4 seconds everyone would respawn just now it looks like default time on the respawns.
    Thanks for the stats fix works great!

    I also seen another thing someplace on this site that let pyro's do friendly fire, think it had to have something turn it on and off, I'll see if I can find a link for it. Might be something extra that people might like.

    Noticed a few people ask me why it never worked. Had to tell them valve has it disabled.
    Sir Jake is offline
    Send a message via MSN to Sir Jake
    Polaris117
    Member
    Join Date: Dec 2009
    Location: France
    Old 02-07-2011 , 07:23   Re: [TF2] Pregame Slaughter
    Reply With Quote #5

    Very interesting! I already the ratty's plugin on my server, but yours will be updated, and if you could add the pyro's FF, it would be REALLY amazing!
    Polaris117 is offline
    Sir Jake
    Senior Member
    Join Date: Jan 2009
    Old 02-08-2011 , 18:56   Re: [TF2] Pregame Slaughter
    Reply With Quote #6

    After testing a few things out we noticed if only one person was on the server for the warm up round the server would crash, tried it with a person on each team and everything was okay.

    Disabled it and tried just a round and killing oneself and no more crashes, in the log files this is all I can see.

    Code:
    L 02/07/2011 - 23:20:06: [SM]   [0]  Line 361, /home/groups/alliedmodders/forums/files/2/9/4/0/9/81891.attach::Panel_Callback()
    L 02/07/2011 - 23:20:06: [SM] Native "CloseHandle" reported: Handle 0 is invalid (error 4)
    L 02/07/2011 - 23:20:06: [SM] Displaying call stack trace for plugin "tf2_pregame.smx

    Going to put it on a test server later today and do a few more tests and see whats going on.
    Sir Jake is offline
    Send a message via MSN to Sir Jake
    BrutalGoerge
    SourceMod Donor
    Join Date: Jul 2007
    Old 02-08-2011 , 18:58   Re: [TF2] Pregame Slaughter
    Reply With Quote #7

    beat ya to it, look at the latest changelog
    hehe
    __________________
    My Pluggies If you like, consider to me.
    BrutalGoerge is offline
    Sir Jake
    Senior Member
    Join Date: Jan 2009
    Old 02-08-2011 , 19:30   Re: [TF2] Pregame Slaughter 1.0.3
    Reply With Quote #8

    <3 Thank you very much.
    Going to load it back on there right meow!
    Sir Jake is offline
    Send a message via MSN to Sir Jake
    crazydog
    SourceMod Donor
    Join Date: Jan 2006
    Old 02-09-2011 , 04:10   Re: [TF2] Pregame Slaughter 1.0.3
    Reply With Quote #9

    Suggestion!

    Add two more modes: crit + minicrt melee only!
    crazydog is offline
    BrutalGoerge
    SourceMod Donor
    Join Date: Jul 2007
    Old 02-09-2011 , 07:27   Re: [TF2] Pregame Slaughter 1.0.3
    Reply With Quote #10

    yeh it does that. tho i may have not explained it well.
    It 'randomly' chooses normal damage, mini crit, or random crit
    And it 'randomly' chooses melee or all weapons

    so you can get melee with crits melee with minis, or just plain melee
    __________________
    My Pluggies If you like, consider to me.
    BrutalGoerge 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 02:44.


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