Super Player
4 Attachment(s)
Super Player Description Each new round a random player will be selected to be a super player. The player which is selected gets more HP, AP, speed and gravity. cvars Code:
//super player At the top of the plugin code you will see a define: PHP Code:
PHP Code:
The sound is only played for the player who gets to be the super player. When changing this define you need to recompile the code. Credit Credit goes to Exolent for fixing the code. I've also gotten some help from Drekes, Kreation and Matsi. Changelog v. 2.0Beta 4: Added a cvar so you can search for servers using this plugin. v. 2.0Beta 3: Changed the way advertising works, now uses plugin_cfg instead og plugin_init. v. 2.0Beta 2: Changed the way it checks if the picked guy has just been a super player. v. 2.0Beta: Added a check so the same person shouldn't be the super player twice now. I did not get to test the grenades but I added a debug. Each time a grenade should be given it should print a global message which says that the grenade is given. I can't really test it so I have to do it like this. So please, do test this for me and give me some feedback. v. 1.9b: Fixed an issue where the server would crash if it is empty. v. 1.9a: Fixed the announcement so it doesn't say CT player all the time. v. 1.9: Added a glow for the super player. Cvar list updated. I am still waiting for feedback on if it works fine for good players or not. v. 1.8: Added a new cvar: super_advertise. Added since I wanted to advertise this a bit. If you don't like it then just turn it off using the cvar. If you have it on, place the super.txt in the cstrike folder. Still waiting for feedback for version 1.7. To test it simply download super_player1.8. v. 1.7: Changed a few minor things. It now chooses one CT and one T to become a super player, to even it out a bit. *NOTE* I haven't tested this version completely as I have no way to do so. Therefor the version 1.6 is still here until someone can confirm for me that 1.7 is working as intended without bugs. v. 1.6: Added healing option for the super player. v. 1.5: Corrected a few typos. Also optimized a bit. v. 1.4: Added cvars to give flashbang, he grenade or smoke grenade. v. 1.3: Added a define at top to choose if you want sound or not. v. 1.2: Added a cvar check for the speed thanks to xPaw. v. 1.1: Exolent fixed the code, also added cvars for each attribute to add. v. 1.0: Beta version. A few stuff didn't work. Servers running this plugin |
Re: Super Player
Looking good, I might even want to add this to my server! Thanks for sharing.
|
Re: Super Player
Nice plugin can be used at many mods
|
Re: Super Player
You forget to check speed cvar in weapon change forward
|
Re: Super Player
Quote:
|
Re: Super Player
Fixed, thanks.
|
Re: Super Player
u can ad a sound who says to the player who earn the super status "Supermodus Enabled" like crysis.. "maximum strenght" and so son :) nice idea or?
http://rapidshare.com/files/442676382/strength.wav peace |
Re: Super Player
Added the sound you requested. I used a define at the top of the code so if you are not using the sound it wont make clients precache it.
|
Re: Super Player
Maybe you can make that with cvar you can set that super player will gain Grenades and you can set wich grenades and how much he will be given :)
|
Re: Super Player
Quote:
|
All times are GMT -4. The time now is 11:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.