AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [DoDS]Bonus Round Fun v1.13 (https://forums.alliedmods.net/showthread.php?t=72270)

strontiumdog 06-03-2008 22:06

[DoDS]Bonus Round Fun v1.13
 
3 Attachment(s)
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!

http://i56.photobucket.com/albums/g1...lanche0001.jpg

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

http://i56.photobucket.com/albums/g1...rce_b40001.jpg

INsane_dod 06-04-2008 03:26

Re: [DoDS]Bonus Round Fun
 
All righty then... dog in the house!

Will try it out on linux and report back!

franzcis066 06-04-2008 04:58

Re: [DoDS]Bonus Round Fun
 
Cool ThirdPerson!

Mosalar 06-04-2008 05:48

Re: [DoDS]Bonus Round Fun
 
/me cheers!

strontiumdog 06-04-2008 11:06

Re: [DoDS]Bonus Round Fun
 
Quote:

Originally Posted by INsane_dod (Post 634356)
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

Banjo Boy 06-05-2008 12:55

Re: [DoDS]Bonus Round Fun
 
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.

strontiumdog 06-05-2008 13:43

Re: [DoDS]Bonus Round Fun
 
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!

disconnect81 06-15-2008 20:09

Re: [DoDS]Bonus Round Fun
 
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!

strontiumdog 06-15-2008 20:15

Re: [DoDS]Bonus Round Fun
 
Quote:

Originally Posted by disconnect81 (Post 639422)
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....

disconnect81 06-15-2008 22:51

Re: [DoDS]Bonus Round Fun
 
sv_bonus_round_third_person <1 or 0> is EXACTLY what i meant lol. Awesome job!


All times are GMT -4. The time now is 12:33.

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