View Single Post
Plugin Info:     Modification:          Category:          Approver:   HamletEagle (36)
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 12-22-2015 , 12:12   AIO: Winter Plugin
Reply With Quote #1


AIO (All-In-One) Winter Plugin


Description

After researching a lot on a variety of forums, I could not find what i needed to customize my server for Winter. Instead of installing 100 plugins, I created an AIO one!
With this plugin you can bring the Christmas Environment to your Counter Strike server! Very customizable, this plugin unique style is beyond all the existing Christmas plugins here.
I know there are a LOT of plugins for winter here, but most of them aren't complete, or they contain bugs. Well in this plugin I tried to create an All-In-One Winter plugin that includes almost all the functionalities for a Christmas Server! Merry Christmas everyone!

What does this plugin contains?
  • Gun Snowball Bullets
  • Custom Sky name for the Christmas Environment
  • Custom Darkness on the map, to make it more Environmental (enables mp_flashlight server cvar)
  • Custom Christmas Bomb Sounds (Planted, Exploded, Defused)
  • Custom BOMB replacement
  • Weather Menu (For those who do not have cl_weather cvar enabled. Plugin offers to set it up for the user, asking USER PERMISSION. No slow-hacking)

  • An AWESOME coloured musical tree on each team spawn that plays music and have lightning styles (YEAH!)
  • Santa Hat for each player, or Admin only.
  • Picking up presents, somethimes you get GLOW on your SANTA HAT (HECK YEAH!)
  • Better models, a variety of customizations and model replacements (Christmas Themed, Grenades, Knife, Bomb)
  • Candy Cane knife replacement with player model ! WOAH.
  • Players will drop Presents when they die!
  • Support for maps that has rain built in! (adding snow environment instead of rain)
  • FUN! FUN! FUN!
  • A variety of configurations, including it's own config file!
  • To see what kind of presents you can pick up, read the configuration file!
  • Grenade glow and trails, customizable by 3 different types: 1. All grenades trail/glow is white, 2. HE has red glow/trail, FB has blue glow/trail and SG has green trail/glow. 3. All grenades have random glow/trail colours


Why is it so unique?
  • Has a lot of Half-Life resources
  • Up to date
  • Own configuration file, with a variety of customizable cvars
  • Different Christmas models, new and unique
  • Musical Christmas Trees, on every map, located to each team spawns!
  • 2 different models for Christmas Trees, Santa Hats!
  • Unseen new snowball models for grenades, with trail and glow effects!
  • 3 different models for presents
  • 2 different unique models for the BOMB replacement




Cvars:

PHP Code:
// --| -------------------------------------------------------------
// --| AIO (All-In-One) Winter plugin by: tuty
// --| Feel free to modify the configuration file as you please
// --| Special thanks to: xPaw, Alka, ConnorMcLeod, VEN, v3x and others
// --| -------------------------------------------------------------

// --| When player shoots with his weapon on the wall, it will leave white snowflakes 
// --| Value: 1 / 0
// --| Explanation: Enabled / Disabled
aio_winter_gun_snowball "1"

// --| If Snowballs are enabled, for how long will snowflakes stay alive?
// --| Value: < your amount > in seconds. Must be a floating point number
// --| Explanation: aio_winter_gun_snowball_duration "10.0" - snowflakes will stay alive for 10 seconds
aio_winter_gun_snowball_duration "5.0"

// --| Change the server sky texture to "space" ( Nice themed christmas sky )
// --| Value: 1 / 0
// --| Explanation: Enabled / Disabled
aio_winter_changesky "1"

// --| Set a nice darkness effect on the map, also enabling player flashlights (Christmas night theme)
// --| Value: 1 / 0
// --| Explanation: Enabled / Disabled
aio_winter_darkness "1"

// --| Enabled custom themed bomb event sounds ( Planted, Exploded, Defused )
// --| Value: 1 / 0
// --| Explanation: Enabled / Disabled
aio_winter_bombsounds "1"

// --| Some clients does not have "cl_weather" variable set to 1, 2 or 3 in their main game client
// --| After they entered the server, yhis will enable a menu, reminding/teaching them how to enable snow effects on their client
// --| Has an option to auto set-up for them, WITH THEIR PERMISSION !
// --| Value: 1 / 0
// --| Explanation: Enabled / Disabled
aio_winter_weathermenu "1"

// --| If the previous cvar is set as Enabled, after how long will display the menu to the player?
// --| Value: < x seconds > in seconds. Must be a floating point number
// --| Explanation: aio_winter_weathermenu "10.0" - Will display the menu after 10 seconds
aio_winter_weathermenu "8.0"

// --| Bomb model replacement with a shiny Snow-Man
// --| Value: 1 / 0
// --| Explanation: Enabled / Disabled
aio_winter_custombomb "1"

// --| A shiny, AWESOME musical tree with custom lights, effects and christmas themed song!
// --| Spawned on each side of CT/T spawns.
// --| Value: 1 / 0 - NOTE: Cvars are affected after map change!
// --| Explanation: Enabled / Disabled
aio_winter_tree "1"

// --| Enable santa hats for each players! Yoinnkss!
// --| Value: 1 / 0
// --| Explanation: Enabled / Disabled
aio_winter_hat "1"

// --| If Santa Hats are enabled, are them only for ADMINS ?
// --| Value: 1 / 0
// --| Explanation: Admin Only / Everyone
aio_winter_hat_adminonly "0"

// --| Spawn Christmas presents on dead enemies. Can be picked up by anyone!
// --| When picked up, you will be granted with a random gift.
// --| Gifts:
// --| * Armor
// --| * Armor + Helmet
// --| * Some Ammunition
// --| * Bonus Health
// --| * Random Grenade (HE, FB, SG)
// --| * Bonus Frag/s
// --| * Invisibility (for a certain amount of time)
// --| * Random Glow
// --| * Random Glow on your Santa Hat (lasts one round, only if hats are enabled)
// --| * Defuser Kit (for CT only)
// --| * Camouflage: [You look like enemy until you die]
// --| * Money ( a certain amount )
// --| Value: 1 / 0
// --| Explanation: Enabled / Disabled
aio_winter_presents "1"

// --| If the gifts are enabled, when you pick up the "Bonus Health", how much HP should be added to player?
// --| Value: < x amount > - from 0 to 99999?
// --| Explanation aio_winter_bonus_health_amount "250" - Adds additional 250 HP to the player
aio_winter_bonus_health_amount "50"

// --| If the gifts are enabled, when you pick up the "Armor" or "Armor + Helmet" how much AP should be added to player?
// --| Value: < x amount > - from 0 to 99999?
// --| Explanation: aio_winter_gift_armor "250" - Adds additional 250 AP to the player
aio_winter_gift_armor "100"

// --| If the gifts are enabled, when you pick up the "Bonus Frag/s" how many frags should be added to player?
// --| Value: < x amount > - from 0 to 99999?
// --| Explanation: aio_winter_bonus_frag "5" - 5 Frags will be added to the player
aio_winter_bonus_frag "2"

// --| If the gifts are enabled, when you pick up the "Invisibility" for how long shall be enabled?
// --| Value: < x amount > - from 0 to 99999?
// --| Explanation: aio_winter_invis_duration "5" - Invisiblity lasts 5 seconds
aio_winter_invis_duration "15"

// --| If the gifts are enabled, when you pick up the "Money" how much cash shall be added to player?
// --| Value: < x amount > - from 0 to 99999?
// --| Explanation: aio_winter_gift_money "1500" - $1500 will be added to the player
aio_winter_gift_money "1500"

// --| Enable support for rainy maps. Removing rain from it and replacing it with snow
// --| Value: 1 / 0
// --| Explanation: Enabled / Disabled
aio_winter_rainymap_support "1"

// --| Replace the default knife model with a candy cane!
// --| Value: 1 / 0
// --| Explanation: Candy Cane / Default Knife
aio_winter_candyknife "1"

// --| Replace all grenades ( Flashbang, He, Smoke ) with a custom Christmas themed model
// --| Also adds render and trail for each of them
// --| Value: 1 / 0
// --| Explanation: Custom Grenades / Default Grenades
aio_winter_grenade "1"

// --| If the previous cvar is enabled, we have three options to set up this one, to differentiate the grenades between them.
// --| Value: 0 / 1 / 2
// --| Explanation: 0 - All grenades has a white glow/trail
// --|             1 - HE Grenade has a red glow/trail, FB Grenade has a blue glow/trail and SG Grenade has a green glow/trail
// --|             2 - All grenades has random glow/trail        
// --| -------------------------------------------------------------------------
aio_winter_grenade_type "0" 




Requirements:
  • I would recomment a sv_downloadurl for fast downloading, since this plugin contains a "few" resources
  • Client side cvar enabled: cl_weather 1/2/3
  • Latest AMX Mod X Version



Installation Guide:
  • Place the AIO_Winter.cfg file into addons/amxmodx/configs folder
  • Place the aio_winter sounds folder into cstrike/sounds/ server directory
  • Place the aio_winter models folder into cstrike/models/ server directory
  • Place the AIO_Winter.amxx file into cstrike/addons/amxmodx/plugins/ server directory
  • Open plugins.ini file located into addons/amxmodx/configs/plugins.ini and add AIO_Winter.amxx then save it.
  • Done.




Credits:
  • xPaw
  • Alka
  • ConnorMcLeod
  • VEN
  • v3x
  • HamletEagle
  • Others





Modules:
  • cstrike
  • engine
  • fakemeta
  • fun
  • hamsandwich





Video Demonstration:

It is a 10 minutes gameplay with bots, you can skip thorough it and see new additions along with the demonstration of this plugin
Video has been uploaded now, so until youtube renders to high quality, expect 360p


https://youtu.be/0HKGO07QhwA

.
Attached Files
File Type: zip resources.zip (2.24 MB, 1988 views)
File Type: cfg AIO_Winter.cfg (5.8 KB, 1611 views)
File Type: sma Get Plugin or Get Source (AIO_Winter.sma - 3267 views - 34.8 KB)

Last edited by tuty; 12-26-2015 at 13:12.
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty