AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CSS] Christmasification (https://forums.alliedmods.net/showthread.php?t=203906)

MPQC 12-24-2012 18:04

[CSS] Christmasification
 
1 Attachment(s)
http://i.imgur.com/cDsOo.png

Description
Allows you to add Christmas lights to any map, and saves any lights added so they are automatically loaded. It's a bit late to be releasing this, but better late then never.

How To Use
sm_christmasification / !christmasification / /christmasification
-> By default requires the ban flag. Override as desired.

Cvars
None

Requirements
SDKTools
SQLite Database (see below)

SQLiteDatabase
Code:

"christmasification"
{
        "driver"            "sqlite"
        "host"                "localhost"
        "database"            "christmasification"
}



Installation
-> Add the above to databases.cfg
-> Place christmasification.smx in addons/plugins folder

Screenshots
Screenshot
Screenshot 2
Screenshot 3

Special Thanks
psychonic (Helping me with ent data)
Mitchell (Maker of LAZERZZZZZZZ)
SexualHarassmentPanda (For making the logo)


Changelog
1.0.3 - Fixed a bracket not being closed.
1.0.2 - Fixed being able to draw the menu to client 0.

TnTSCS 12-24-2012 18:48

Re: [CSS] Christmasification
 
neat :)

KyleS 12-24-2012 23:56

Re: [CSS] Christmasification
 
OnMapStart is always called after OnPluginStart (and is always called). You should probably also check the state of the client (not the console, client's ingame) before drawing a menu, but besides that, looks cool! Nice Job :p

Sreaper 12-25-2012 00:07

Re: [CSS] Christmasification
 
Cool. Is there any reason this is CS:S specific?

shavit 12-25-2012 00:42

Re: [CSS] Christmasification
 
Nice idea. Modified it to Hanukkah candles :)

Azik 12-25-2012 11:49

Re: [CSS] Christmasification
 
Good :D
Can you put a Christmas hat on the heads of all the world in the plugins ?

MPQC 12-25-2012 11:55

Re: [CSS] Christmasification
 
Quote:

Originally Posted by KyleS (Post 1859971)
OnMapStart is always called after OnPluginStart (and is always called). You should probably also check the state of the client (not the console, client's ingame) before drawing a menu, but besides that, looks cool! Nice Job :p

Ah. I put within OnPluginStart as well since I thought OnMapStart wasn't called when the plugin is first loaded (sm plugins load christmasification), while the game is running. If that's not so I'll remove it. Thanks :wink:. I'll have it fixed soon.

Quote:

Originally Posted by Sreaper (Post 1859978)
Cool. Is there any reason this is CS:S specific?

Mainly because I don't have a server running any other games so I'm really not sure if it works. While I'm pretty sure it actually will work on other games, I'm not 100%. If you have a server, it'd be great if you could try it out and see.

Quote:

Originally Posted by Azik (Post 1860222)
Good :D
Can you put a Christmas hat on the heads of all the world in the plugins ?

https://forums.alliedmods.net/showthread.php?t=174714

I recall seeing some Christmas hats on gamebanana. :)

CuriousG 12-25-2012 13:48

Re: [CSS] Christmasification
 
This sorta works for TF2 Beta. I can add the lights. There are a couple of problems I've run into so far. One is even though I save the lights, after I restart the server to see if it retains the lights, there are no lights. The other issue is with the clear all lights option, it appears to visually only clear the last light that was set.

I checked the data directory and it appears to have the christmasification.sq3 file.

vodka00 12-25-2012 17:57

Re: [CSS] Christmasification
 
nice job MP!

Skryn 12-27-2012 11:26

Re: [CSS] Christmasification
 
Good Job.


All times are GMT -4. The time now is 05:59.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.