Plugin Info:
|
Modification: Counter-Strike
Category: Gameplay
|
Senior Member
|
09-06-2021
, 18:36
Gameplay Countdown v2.0
|
#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!
Last edited by AnimalMonster; 09-06-2021 at 18:58.
|
|
|
|