Raised This Month: $32 Target: $400
 8% 

[TF2] Prop Bonus Round (1.3)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
retsam
Veteran Member
Join Date: Aug 2008
Location: so-cal
Plugin ID:
1491
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Old 02-21-2010 , 19:21   [TF2] Prop Bonus Round (1.3)
    Reply With Quote #1

    [TF2] Prop Bonus Round (1.3)


    This is strictly a fun plugin. I thought it was way too boring and easy for the winning team to get kills with their all crits and faster speed. This makes the round-end bonus round a bit more...interesting.

    The credit for the idea goes to strontiumdog who made the DODS version of this. I also recently recoded his dods version a bit, it can be found ->> DODS version.


    Description: Pretty simple. The plugin just turns the losing team into random TF2 props. I also have a fun admin command added to allow admins to "prop" specific players for whatever reason. I hand picked all of the models. Some of the models blend in better than others. Some of them are just for fun and some may actually help escape death.

    ADMIN Command:
    sm_propplayer <#userid|name> (this is also auto-added to admin menu as "Prop player") This allows admins to manually prop players for fun during normal game.
    Admin Flag: BAN

    SM Commands:
    !third or sm_third
    !thirdperson or sm_thirdperson

    Prop players can type !third or !thirdperson to toggle themselves into thirdperson. Note: The thirdperson command currently does not show the player their model, it will just show them invisible. When I figure this issue out, ill update the plugin again.


    Install/USE:

    - Place .smx into the plugins folder of course.
    - Place propbonusround_models.txt -> addons\sourcemod\data\propbonusround_models.t xt
    - Config is auto-created --> cfg\sourcemod\plugin.propbonusround.cfg
    (All cvars are in this config)

    propbonusround_models.txt Info:
    External models file so you may edit, add, remove any models you wish. Use caution adding your own models though.

    Note: The plugin will automatically re-create the propbonusround_models.txt file if it is missing.


    Note: You can change the bonus round duration by editing 'mp_bonusroundtime' in the server.cfg if you want the bonus round to last a bit longer than the default of 15 seconds. The cvar has a max value of 30.


    Changelog:

    Code:
    11/29/10 - v1.3:
    - Rollback for previous update on the colorize code. I forgot about hat invisibility. Sorry. :)
    
    11/24/10 - v1.2:
    - Removed colorize code. Decided to allow guns to show visible. This will enable you to kinda tell what class they are if they are proped in middle of game.
    - Commented out 12 models from list as to help reduce strain on precache table that is causing crashes.
    - Did a little code maintenance....
    
    7/3/10 - v1.1 - Added check to make sure admin flag cvar isnt set to nothing. Added cvar to respawn dead team players so everyone can be propped.
    6/22/10 - v1.0 - Added stripping of all weapons to fix issue of player view models getting visual glitches with new model code when pressing attack.  
    5/24/10 - v0.9 - Possible fix for issue posted about models not being reset on players on round-start.  
    5/22/10 - v0.8 - Added round-end public announcement msg w/ cvar. Fixed plugin being broken due to valve update. Fixed incorrect post hook callbacks.  Had to remove (3) models from the models data file due to issues of them spawning in ground and no longer being able to fix that. Changed the lantern model to the "off" model without the flame effect that seemed to get stuck on the map. Thirdperson command works better, but unfortunately theres an issue with showing the player their model. Will need future update.
    v0.7 - Removed Logactivity cvar, no longer needed I dont think. Removed the precache models console spam, I suppose that was unnecessary as well.
    v0.6 - Fixed rendermode errors on non-prop entities?(no idea how that happens but..) New Addcond code to deal with demoman glowing eyes. Flagged equip timer with timer_flag_no_mapchange.
    v0.5 - Possible crash issue fixed I think(changed the prop deletion code a bit, IsValidEdict/RemoveEdict = bad mkay?). Added couple minor plugin disabled checks that were missing. No longer removing models upon disconnects due to game engine apparently taking care of this?!?
    v0.4 - Removed sm_forcethird cvar. I forgot TF2 already puts losing players into thirdperson(woops).  Changed IsValidEdict to IsValidEntity(Possible crash related?). Added 2 more models to list. 
    v0.3 - Added admin command to prop individual players. sm_propplayer <#userid|name>. Moved some code around.
    v0.2 - Added admin only and flag cvars. Added logactivity debug cvar for model related attachment stuff.  Added a few checks for things in.
    v0.1 - Initial release.


    Credits:

    - Much thanks to Antithasys for slave labor, overall general help and idiot questions of mine.
    - Thanks to strontiumdog for idea and dods version.
    Attached Files
    File Type: txt propbonusround_models.txt (1.7 KB, 1342 views)
    File Type: txt propbonusround_models_old.txt (2.4 KB, 807 views)
    File Type: sp Get Plugin or Get Source (prop_bonus_round.sp - 2603 views - 33.5 KB)

    Last edited by retsam; 12-04-2010 at 21:10. Reason: new version
    retsam is offline
     



    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:04.


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