Raised This Month: $299 Target: $400
 74% 

Gameplay Countdown v2.0


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
AnimalMonster
Senior Member
Join Date: May 2020
Old 09-06-2021 , 18:36   Gameplay Countdown v2.0
Reply With Quote #1

Gameplay Countdown v2.0
_____________________________________________ ____

Here i'm presenting you the plugin "[Any Mod] Gameplay Countdown" by DeclineD(me)
where i made a pretty customizable plugin with .ini files, lang file, .cfg file
and cvars.


This plugin has 17 cvars which will let you customize the countdown the way you want and
also has compatibility for Zombie Plague (4.3/5.0) (ask me in private if you want me to
add compatibility to a mod).

And if you wonder why is this version 2.0, well, before this plugin i've had another plugin
with the same idea and even posted here but it was and it is pretty trashy comparing it
to this verison
where i rewrited the whole plugin and added a lot of new stuff, so technically
this is the reborn of that plugin. (im proud of myself )


Description: This plugin adds to your server a countdown which:
- You can change it's colors
- You can turn off and on what you want
- Adds sounds and music
- Adds Effects
- Let's you choose when the effects
start and change their how effective they'll be
- Freeze players any second you want and release
them after a while
- Freeze any team you want
- You can change the display order of the colors
- You can add you own colors
- You can change size/style of the text
- You can change the text


Instalation
__________________________________

Unzip the Countdown.zip and put the files inside cstrike folder and
when compiling the plugin, if you're using Zombie Plague, open the
sma file and there you'll see two lines
PHP Code:
//#define ZP40_ON
//#define ZP50_ON 
delete "//" from the line that has the Zombie Plague
version you use.



Customization
__________________________________


Cvars

gc_countdown_seconds <amount>
#How many seconds to count (default: 20)

gc_countdown_sounds <0/1>
#Turn off/on the 10-1 countdown sounds (default: 1)

gc_display_type <0-3>
* 0 - off
* 1 - small text (sync hudmessage) (default)
* 2 - big text (dhud)
* 3 - center text (like the "Bomb has been planted", "Terrorists Win")


gc_message_color_order <0-1>
* 0 - in the order you put in Countdown1.ini
* 1 - colors from Countdown1.ini randomized


gc_release_start <second>
#Which second to freeze the player (default: 20)

gc_release_after <float amount>
#After how many seconds will you unfreeze the player?(default: 10.0)

gc_release_hold_team <0-2>
#Which team to freeze
* 0 - all (default)
* 1 - Terrorists
* 2 - Counter-Terrorists


gc_round_music <0/1>
#Turn off/on the round music (default: 1)

gc_countdown_music <0/1>
#Turn off/on the countdown music (default: 1)

gc_shake_effect <0/1>
#Turn off/on the shake effect (default: 1)

gc_color_effect <0/1>
#Turn off/on the color(ScreenFade) effect (default: 1)

gc_coloreffect_start <second>
#Which second to start the color effect (default: 10)

gc_shake_power <amount>
#The power of the shake effect (default: 5)

gc_shake_power2 <amount>
#The power2 of the shake effect (default: 10)

gc_shake_start <second>
#Which second to start the shake effect

gc_coloreffect_order <0-4>
* 0 - in the order you put in Countdown2.ini
* 1 - colors from Countdown2.ini randomized
* 2 - in the order you put in Countdown1.ini
* 3 - colors from Countdown1.ini randomized
* 4 - same color as the message (gc_display_type
between 0 and 3 or else it will be black
)

gc_coloreffect_transparency <0-255>
#How transparent will your color effect be (default: 200)


INI

The ini files are generated automatically by the plugin, if they don't exist, so
don't worry if you accidentally delete them!


To add colors firstly you'll need to open the ini file and write 3 numbers with "" and space between them
and to choose the colors you want you can use this
be aware that if you put "0 0 0" in "countdown_msgcolor.ini" you'll get a random color
for your messsage but if you put "0 0 0" in "countdown_fadecolor.ini"
you'll get black color for the color effect.




Info
________

Don't bother yourself to restart the server after changing something in .cfg file or .ini files,
at every round start the cvars and colors from ini are freshly taken!

I've tested everything on amxx 1.8.3 and pretty sure this plugin works the same on 1.8.2, didn't test the Zombie Plague support
but i didn't use any of the natives of zp
but forwards so don't worry about getting any errors + i've left y'all 4 round start
music files which 2 of them are perfect for the default settings!



_____________________________________________ _____________________________________________
Enjoy!

Attached Files
File Type: sma Get Plugin or Get Source (GameplayCountdown.sma - 60 views - 11.6 KB)
File Type: zip Countdown.zip (7.37 MB, 92 views)

Last edited by AnimalMonster; 09-06-2021 at 18:58.
AnimalMonster is offline
Levi2288
AlliedModders Donor
Join Date: Apr 2019
Old 09-06-2021 , 20:45   Re: Gameplay Countdown v2.0
Reply With Quote #2

Rly good job bro, keep up! Thanks for sharing
__________________
Levi2288 is offline
AnimalMonster
Senior Member
Join Date: May 2020
Old 09-06-2021 , 21:29   Re: Gameplay Countdown v2.0
Reply With Quote #3

Quote:
Originally Posted by Levi2288 View Post
Rly good job bro, keep up! Thanks for sharing
Thanks
AnimalMonster is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 09-07-2021 , 14:15   Re: Gameplay Countdown v2.0
Reply With Quote #4

This may just be me(so feel free to ignore), but having the text centered like this makes it so much harder to read.
__________________
HamletEagle is offline
AnimalMonster
Senior Member
Join Date: May 2020
Old 09-07-2021 , 14:17   Re: Gameplay Countdown v2.0
Reply With Quote #5

Quote:
Originally Posted by HamletEagle View Post
This may just be me(so feel free to ignore), but having the text centered like this makes it so much harder to read.
I agree, that's why i put the messages above the crosshair.
AnimalMonster is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 09-07-2021 , 14:19   Re: Gameplay Countdown v2.0
Reply With Quote #6

Quote:
Originally Posted by AnimalMonster View Post
I agree, that's why i put the messages above the crosshair.
I meant the text from your post. Should have made it more clear.
__________________
HamletEagle is offline
AnimalMonster
Senior Member
Join Date: May 2020
Old 09-07-2021 , 14:21   Re: Gameplay Countdown v2.0
Reply With Quote #7

Quote:
Originally Posted by HamletEagle View Post
I meant the text from your post. Should have made it more clear.
Oh.. but i still agree a little but at the same time it kinda looks good, maybe if i make the text bigger would help?
AnimalMonster is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 09-07-2021 , 14:44   Re: Gameplay Countdown v2.0
Reply With Quote #8

Quote:
Originally Posted by HamletEagle View Post
This may just be me(so feel free to ignore), but having the text centered like this makes it so much harder to read.
Ditto
__________________
"It's not the actual programming that's interesting. But it's what you can accomplish with the end results that are important." -Dennis Ritchie
"Mathematics, rightly viewed, possesses not only truth, but supreme beauty a beauty cold and austere, like that of sculpture..." -Bertrand Russell
DJEarthQuake 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 09:20.


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