Monthly Target: $400 Donations: $140
 35% 

Notices

[DoDS]Bonus Round Fun v1.13


Post New Thread Reply   
 
Thread Tools Display Modes
Author
strontiumdog
Veteran Member
Join Date: Jan 2007
Location: BC, Canada
Plugin ID:
411
Plugin Version:
1.13
Plugin Category:
Fun Stuff
Plugin Game:
Day of Defeat: Source
Plugin Dependencies:
    Servers with this Plugin:
    22 
    Plugin Description:
    The losing team turn into random objects to help them hide from the enemy!
    Old 06-03-2008 , 23:06   [DoDS]Bonus Round Fun v1.13
    Reply With Quote #1

    The bonus round can be a slap in the face when, after a long hard battle, defenceless losing players get gunned down, with no weapons to defend themselves!
    Dog's Bonus Round plugin allows the losing team to hide, as they turn into random objects and try to blend in....hoping the winning team pass them by.
    Sometimes it works, sometimes it doesn't!

    This is a conversion from my EventScripts plugin.

    Servers running this plugin

    Retsam has provided many additions and improvements to the plugin.

    Installation
    • Copy dog_bonus_round.smx to addons/sourcemod/plugins

    Configuration
    • sv_bonus_round_third_person <0 | 1> - default: 1
    If enabled, players are given a third person view of themselves which can help them blend in, better.

    Changelog
    Version 1.07
    SourceMod release.

    Version 1.08
    + Fixed the bad ragdoll problem by making players return to the normal model if they get shot or killed.
    + Added 8 more models
    + Fixed a bug where dead players were included in the model change routine

    Version 1.09
    +Fixed a bug where players who get returned to their normal model, assume the "Jesus position". Players are given a pistol.

    Version 1.10
    Plugin edited by retsam
    - Config is auto-created by plugin(plugin.propbonusround.cfg). Because of the cvars, this makes life a little easier.
    - I removed some of his original models I did not like personally. These were some of the larger more obscene ones such as all the vehicles, boat, huge rock, large tree's etc... If its a problem, its fairly easy for someone to copy and paste from the original back. Just change the model count as well... The model count is now 26 instead of the orginal 33 if that matters.....
    - Added many cvars for more control. Cvars to enable/disable plugin, to force thirdperson on players, enable client triggers, and removing models on hit. Note: By default, I have disabled removal of prop on hit and force thirdperson view. Some may want these enabled by default, so youd have to change them.
    - Added cvar for client controlled SM triggers for thirdperson. The triggers only work on the losing team (props) and only during bonus round.
    - Removed the code for stripping weapons. I think the reason for this was to make sure the weapons dont show up on prop'd players. Instead, I decided to make them invisible so you dont have to worry giving them back a 'pistol' when their model is set back. Also, if SM was old or offsets were ever changed before server could restart, that would crash the server.
    - Various other small changes that arnt worth talking about......

    Version 1.11
    Plugin edited by retsam
    - I found a problem related to the regconsolecmd code in the plugin. Looks like it kept duplicating itself on map changes. My bad. It is now fixed, but you wont be able to change the triggers(not that you should be anyways) until a plugin-reload happens. Ill have to figure out a smarter way to recode that...
    - Cleaned up a bit of unnecessary code.
    - Added a centertext msg for model name.


    Version 1.12
    Plugin edited by retsam
    -Added admin only & flag cvars. Now able to set it for admins only.(will need to delete previous config to get updated cvars.)

    Version 1.13
    Plugin edited by retsam
    -Fixed Thirdperson


    Screenshots
    This piano has just lost the round!



    The flower pot on the right is a soldier......

    Attached Files
    File Type: sp Get Plugin or Get Source (dog_bonus_round.sp - 1369 views - 13.4 KB)
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - Left4DoD

    Last edited by strontiumdog; 06-03-2010 at 11:41.
    strontiumdog is offline
    INsane_dod
    Member
    Join Date: Mar 2008
    Old 06-04-2008 , 04:26   Re: [DoDS]Bonus Round Fun
    Reply With Quote #2

    All righty then... dog in the house!

    Will try it out on linux and report back!
    INsane_dod is offline
    franzcis066
    Member
    Join Date: Nov 2007
    Old 06-04-2008 , 05:58   Re: [DoDS]Bonus Round Fun
    Reply With Quote #3

    Cool ThirdPerson!
    franzcis066 is offline
    Mosalar
    Senior Member
    Join Date: Jul 2004
    Location: Tampa Fl
    Old 06-04-2008 , 06:48   Re: [DoDS]Bonus Round Fun
    Reply With Quote #4

    /me cheers!
    Mosalar is offline
    strontiumdog
    Veteran Member
    Join Date: Jan 2007
    Location: BC, Canada
    Old 06-04-2008 , 12:06   Re: [DoDS]Bonus Round Fun
    Reply With Quote #5

    Quote:
    Originally Posted by INsane_dod View Post
    All righty then... dog in the house!

    Will try it out on linux and report back!
    rofl!
    Hi INsane!

    We've been running it for the last couple of days on our DoDSBeta linux server and it's been very stable
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - Left4DoD
    strontiumdog is offline
    Banjo Boy
    Member
    Join Date: Apr 2008
    Old 06-05-2008 , 13:55   Re: [DoDS]Bonus Round Fun
    Reply With Quote #6

    Dude I love it, how you made it go thirdperson. How are you able to do that? I've been looking for a plugin that allows you to go thirdperson by typing /thirdperson for sourcemod for awhile.
    __________________
    Banjo Boy is offline
    strontiumdog
    Veteran Member
    Join Date: Jan 2007
    Location: BC, Canada
    Old 06-05-2008 , 14:43   Re: [DoDS]Bonus Round Fun
    Reply With Quote #7

    The trouble with thirdperson is when you change observer mode, you can't change weapons...you keep your primary.
    The crosshairs also remain but at least the gun shoots where the crosshairs are!

    Another problem is with TF2. If you change observer mode, and then turn off the model drawing (to get rid of the gun on screen), the player model often disappears as well. It works better in DoDS and CSS.

    This is why I was asking about trying to find the handle of a player in the Scripting forum.
    In Eventscripts there is a command that lets you find the handle of a player. This is very useful as it tags which weapon belongs to which player. It is also useful when setting thirdperson so you set the observer target to the player handle.

    As I'm relatively new to SourceMod, I was wondering if such a command existed...

    Anyway, the bonus round plugin is a good application of third person...it's fun running down the street as a flowerpot, trying to find a hiding place and watching the enemy run past. As DoDS' bonus round only lasts 15 seconds, it adds a 15 secs of fun!
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - Left4DoD

    Last edited by strontiumdog; 06-05-2008 at 14:50.
    strontiumdog is offline
    disconnect81
    Senior Member
    Join Date: Jul 2006
    Location: Ottawa, ON, Canada
    Old 06-15-2008 , 21:09   Re: [DoDS]Bonus Round Fun
    Reply With Quote #8

    Very happy to see this as the ES version always caused me problems. I hope this one is smooth hehe.

    One request, it would be awesome to be able to choose whether or not it goes to 3rd person or 1st person.

    Thanks & GJ!
    disconnect81 is offline
    strontiumdog
    Veteran Member
    Join Date: Jan 2007
    Location: BC, Canada
    Old 06-15-2008 , 21:15   Re: [DoDS]Bonus Round Fun
    Reply With Quote #9

    Quote:
    Originally Posted by disconnect81 View Post
    Very happy to see this as the ES version always caused me problems. I hope this one is smooth hehe.

    One request, it would be awesome to be able to choose whether or not it goes to 3rd person or 1st person.

    Thanks & GJ!
    You mean per player?
    Or as a variable for the server?

    The server one is done (sv_bonus_round_third_person <1 or 0>) - but I could look at doing one per player....
    __________________
    Plugins | TheVille
    Zombie Mod for DoD:S - Left4DoD
    strontiumdog is offline
    disconnect81
    Senior Member
    Join Date: Jul 2006
    Location: Ottawa, ON, Canada
    Old 06-15-2008 , 23:51   Re: [DoDS]Bonus Round Fun
    Reply With Quote #10

    sv_bonus_round_third_person <1 or 0> is EXACTLY what i meant lol. Awesome job!
    disconnect81 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 01:50.


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