Skocz do zawartości

Nowy szablon forum

mygo.pl

Stworzyliśmy dla Was nowy wygląd forum. Z pewnością znajdziesz rzeczy, które wg Ciebie mogą zostać zmienione - wspomnij o tym w specjalnym wątku.

Czytaj więcej

Jak założyć własną sieć

serwerów CS

Zastanawiasz się nad prowadzeniem własnej sieci serwerów? Przeczytaj podstawowe informacje, na które należy zwrócić uwagę, przy takim projekcie.

Czytaj więcej

Tworzymy spis sieci

dodaj swoją

Dodaj sieć do której należysz, pozwoli to na promocję i budowę ogólnopolskiej bazy sieci CS.

Czytaj więcej

RSSGameplay Countdown v2.0


MYGO.pl
 Udostępnij

Rekomendowane odpowiedzi

  • RSSy
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
- Turn off and on what you want
- Adds sounds and music
- Change the display order of the colors
- Add you own colors
- Change size/style of the text
- 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 - 11.6 KB)
File Type: zip Countdown.zip (7.37 MB)

Przeczytaj cały wpis

Odnośnik do komentarza
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...