Day/Night Effect V1.3
2 Attachment(s)
--=Day/Night Effect 1.3=--
Discripcion: Change the light and sky of map,according to the time. Credits: Gladius Idea Changelogs: 1.1:Add Lights 1.2: Existent file check 1.3: Optimization,Dynamic configuration Cvars: amx_dn_sky_on // on/off changing sky amx_dn_lights_on // on/off light change sky register: Create a file ". Ini." skys the name. Code:
;sky.ini Sorry for my English, I use translator. Someone would be so kind as to correct the translation. Thanks |
Re: Effect Day/Night V1.1
Good!
|
Re: Effect Day/Night V1.1
Quote:
|
Re: Effect Day/Night V1.1
Quote:
@EDIT Updated |
Re: Effect Day/Night V1.2
Nice Destro! GJ :P
|
Re: Effect Day/Night V1.2
There is something to optimize?
|
Re: Effect Day/Night V1.2
Code:
num_str_sky = "1" Code:
case 0..4: { Code:
case 0..4,23: { Code:
g_skyname[0] = ' ' The function set_effect does not need to be public. Should use log_amx instead of log_to_file. Instead of using a variable sky_load on line 122, you could simply check if g_skyname is empty or not. You could also attempt to move the functions load_sky and set_effect into plugin_precache, assuming that you can alter sv_skyname and use set_lights during that time, instead of during plugin_init. You use charsmax in several spots, would be better if you used it throughout the plugin. Also work on your whitespace. People prefer lines like this: Code:
if(!file_exists(file)){ Code:
if ( !file_exists( file ) ) Suggestions: Have the plugin check every hour for what sky should be present. (Some servers remain on a map for longer than an hour) Allow the skys.ini to specify a sky for certain hours, and not your 1 to 6 method. Also allow skys.ini to specify a light level for the matching sky. I would personally rename the plugin something along the lines of "hourly", "skys" and "lights". |
Re: Effect Day/Night V1.2
Quote:
pd: Quote:
|
Re: Effect Day/Night V1.3
change the version in .sma code because it's 1.1 i see the plugin is 1.3
|
Re: Effect Day/Night V1.3
In a hurry.:(
|
Re: Effect Day/Night V1.3
i see a fault in the idea of this plugin... You probably have people from different time zones that play in your server :twisted:
|
Re: Effect Day/Night V1.3
Also thetime.And many other plugins
|
Re: Effect Day/Night V1.3
where can i find the normal skynames with a preview. or without preview :)
|
Re: Effect Day/Night V1.3
Approved. Sorry for the delay.
|
Re: Effect Day/Night V1.3
Thanks :).
Today was a good day,new session in Spanish. |
Re: Effect Day/Night V1.3
Quote:
|
Re: Day/Night Effect V1.3
^ Go to your cstrike/gfx/env folder, all skies are in there. Each sky has 6 images, one for each side of the box, with different 2-letter suffixes. When typing the sky name, ignore these suffixes. E.g: for backalleybk.tga, backalleydn.tga, backalleyft.tga (...), the name is backalley.
|
Re: Day/Night Effect V1.3
Can we also use:
sky_name: off So it will use the maps itself sky? |
Re: Day/Night Effect V1.3
Hmm.. :DD It could be better!
But it's good anyway... -_-' |
Re: Effect Day/Night V1.3
Quote:
Sky textures: here > http://www.kk3d.de/counter-strike/skies/index.htm |
Re: Day/Night Effect V1.3
Weather effects would be nice too :)
|
Re: Day/Night Effect V1.3
Quote:
|
Re: Day/Night Effect V1.3
Quote:
RainySnowy 2.0y |
Re: Day/Night Effect V1.3
And how do i make this work?. nothing is changing, is the clock the time in-game?. do u have to set timelimit on round to 19 min. or is it timelimit on map?. dont get it.
|
Re: Day/Night Effect V1.3
apparently, it's using the time of the machine where the server (HLDS) is hosted. if it's not working for you.. maybe the new updates disabled something or the problem is in your server versions and installed plugins.
|
Re: Day/Night Effect V1.3
Here's a video demoing this very cool plugin. Set the night effect not too dark. hours past by the seconds only so as to show the day to night effect much faster.
https://www.youtube.com/watch?v=extE9JMhi_k |
Re: Day/Night Effect V1.3
Quote:
but now it's without visual effects |
Re: Day/Night Effect V1.3
Hello . its nice plugin but it for 1 round . i use it in my jailbreak server . when round end we have no night in server . how i can add this always night ?
|
Re: Day/Night Effect V1.3
This plugin does not have it from what I can see. Night can be permanent in other plugins. Element is one.
|
All times are GMT -4. The time now is 09:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.