I've noticed when I have this plugin active, its stops some of my server.cfg working correctly. I it set to spawn mobs every 15 seconds, although when this plugin is load, it appears just to default everything.
Why is that?
Caused by too many server cvars being read, you need to use my Cvar Configs Updater plugin to fix the problem by commenting out all default cvars. See the plugin thread: http://forums.alliedmods.net/showthread.php?t=188756
i want to add 'Snow' instead of 'Rain' on EVERY map (=Christmas Special ). How can i do this?
here's my config file: (iam sure its wrong):
Spoiler
PHP Code:
"storms" { // ==================================================================================================== // MAIN SECTION: // ==================================================================================================== // The "main" section will create a storm on ALL maps with these settings, or it can be randomized with predefined configurations that you can create in custom SECTIONS.
"main" { // Attempts to load data from the section name you put as the "use_section" value. // If the Value is set to "all" it will load settings from the "all" section. // After the "use_section" data loads, map specific data will load and any set values will override.
// This allows standard weather settings from the "use_section" and custom settings for specific maps. // "" =Off, this is the default value which will disable loading custom information. // "Default: "" "use_section" "random" }
// ==================================================================================================== // CUSTOM "all" SECTION: // ==================================================================================================== // This is the "all" section, a custom section which can be configured to be your default settings. All the available keys (except use_section") are listed here.
"all" { // The chance out of 100 to load weather on the map. // Default: "100" "chance" "100"
// ""=Map default. Changes the skybox clouds. Once applied, resetting the plugin cannot remove and only reconnecting/reloading the map can change. // If you have changed the skybox but not reconnected you will see the old skybox, while new players who connect will see the new one. // // BUG: Users with "low" shader settings will see the black and purple missing texture image if you use a skybox from Valve maps // "c1" - "c5" on maps "c8" - "c12". Skyboxes from "c6" - "c13" will do the same on maps "c1" - "c5". // "c6", "c7" and "c13" display a blue (or other solid color) background instead of the missing texture image. // The "docks_hdr" skybox works fine on all maps for all users. // // Accepted values and pictures of each skybox can be found here: http://developer.valvesoftware.com/wiki/Left_4_Dead_2_Sky_List // "sky_l4d_c1_1_hdr" Dead Center c1m1. // "sky_l4d_c1_2_hdr" Dead Center c1m2. // "sky_l4d_c2m1_hdr" Dark Carnival. // "sky_l4d_night02_hdr" Swamp Fever. // "sky_l4d_predawn02_hdr" Swamp Finale c3m4. // "sky_l4d_c4m1_hdr" Hard Rain Start. // "sky_l4d_c4m4_hdr" Hard Rain Storm. // "sky_l4d_c5_1_hdr" The Parish. // "sky_l4d_c6m1_hdr" The Passing. // "river_hdr" The Sacrifice. // "sky_l4d_urban01_hdr" No Mercy. // "test_moon_hdr" No Mercy (same as above?). // "sky_day01_09_hdr" Death Toll. // "urbannightburning_hdr" Dead Air. // "sky_l4d_rural02_hdr" Blood Harvest. // "docks_hdr" Docks (Not used). // "sky_coldstream_1_hdr" Cold Stream. // "sky_coldstream_2_hdr" Cold Stream. // Default: "" "skybox" "docks_hdr"
// ""=Map default. Affects overall map brightness. "a" is the darkest. "z" is the brightest. // Causes 0.2 seconds of low FPS three times, only on the player who spawns for the first time, this forces the client to refresh the maps lighting. // Bugs: 1. Does not always affect everything. 2. Takes between 5 and 10 seconds to take affect after spawning for the first time on each map. // More info and accepted values: http://developer.valvesoftware.com/wiki/Light#Appearances // Default: "" "light_style" "c"
// ""=Map default. Changes the skybox to ground color. Recommend setting this to the same value as the "fog_color". Three values between 0 and 255 separated by spaces. Color255 - Red Green Blue. "background" "10 15 20"
// ""=Map default. Sets the fog color. Recommend setting this the same value as the "background" color. Three values between 0 and 255 separated by spaces. Color255 - Red Green Blue. // Default: "" "fog_color" "10 15 20"
// -1=Off/Map default. The number of seconds to transition fog states between idle and storm. // Default: "-1" "fog_blend" "4"
// 0=Disables creating fog. Set the fog end distance. How far players can see while the weather is idle. "fog_idle" "1200"
// 0=Disables creating fog. Set the fog end distance. How far players can see while the weather is raging. "fog_storm" "600"
// 0=Map default. Set the fog start distance. How far players can see while the weather is idle. "fog_idle_start" "-512"
// 0=Map default. Set the fog start distance. How far players can see while the weather is raging. "fog_storm_start" "-512"
// 0.0=Off/Map default. Values between 0.01 and 1.0. Low values make the fog transparent, high values make it opaque. // Default: "0.0" "fog_opaque_idle" "0.900000"
// 0.0=Off/Map default. Values between 0.0 and 1.0. Low values make the fog transparent, high values make it opaque. // Default: "0.0" "fog_opaque_storm" "1.000000"
// This setting is used for optimizing your map. Anything beyond this distance (in world units) will not be rendered. // It is recommended to keep this number higher then your "fog_idle" value and "fog_opaque_idle" set to "1.0". // WARNING: Setting a value can cause visual bugs, such as the background showing when it should not. // 0=Default, disables setting far z values. // "far_z_idle" "6000"
// This setting is used for optimizing your map. Anything beyond this distance (in world units) will not be rendered. // It is recommended to keep this number higher then your "fog_storm" value and "fog_opaque_storm" set to "1.0". // WARNING: Setting a value can cause visual bugs, such as the background showing when it should not. // 0=Default, disables setting far z values. // "far_z_storm" "1000"
// ""=Map Default. Put "0" to turn off the sun. Otherwise set three values between 0 and 255 separated by spaces. Color255 - Red Green Blue. // Default: "" "sun" "55 75 100"
// 0=Off. 1=Creates cloud particles and background lightning. "clouds" "1"
// 0=Off. 1=Enables lightning during the storm weather state. "lightning" "1"
// 0=Off. 1=Create fire where lightning strikes and damage players by this much each second when they stand in the fire. "lightning_damage" "1"
// How long fires burn when lightning strikes the ground, if "lightning_damage" key is non-zero. "lightning_time" "5"
// 0=Off. 1=Creates a screen flash overlay when lightning strikes. "lightning_flash" "0"
// Enables snow. "snow" "1"
// Enables snow. 0=Off. Turn on snow when the weather is idle? "snow_idle" "1"
// Enables snow. 0=Off. Turn on snow when the weather is storming? "snow_storm" "1"
// 0=Off. Values 1-8 specify how many rain entities are created. Enables rain sounds and falling rain particles on the map. // BUG: Large maps and open areas will cause the game to crash, especially with lower hardware specs. // The error message is: "Engine error: too many indicies for index buffer. . tell a programer (42432>32768)". // DO NOT report this problem, you can minimise the chances of the crash by setting rain to "1" or "0" on some maps. Or lower the maps z far clip. "rain" "1"
// The render amount, how visible is the rain when the storm is idle. "rain_idle" "0"
// The render amount, how visible is the rain when the weather is storming. "rain_storm" "250"
// 0=Off. 1=Plays wind sounds and makes foliage such as trees will sway. "wind" "1"
// 0=Off. 1=Sets the weather to the storm state and never idle. Overrides the duration and trigger options (does not create triggers etc). "forever" "0"
// 0=Turns off min/max duration. The maximum duration of the storm state before returning to idle. "duration_max" "40"
// 0=Turns off min/max duration. The minimum duration of the storm state before returning to idle. "duration_min" "20"
// 0=Off. Do not set the weather state to storm for this many seconds after the storm ended. "timeout" "45"
// 0=Off. Set the weather state to storm every set number of seconds. "trigger_timer" "180"
// 0=Off. The chance out of 100 to set the weather state to storm when the finale rescue vehicle is arriving. "trigger_finale" "25"
// 0=Off. The chance out of 100 to set the weather state to storm 5 seconds before the director creates a horde. "trigger_horde" "25"
// 0=Off. The chance out of 100 to set the weather state to storm when a panic event is created. "trigger_panic" "25"
// 0=Off. The chance out of 100 to set the weather state to storm when a Tank spawns. "trigger_tank" "25"
// 0=Off. The chance out of 100 to set the weather state to storm when a Tank dies. "trigger_tank_death" "25"
// 0=Off. The chance out of 100 to set the weather state to storm when a Witch is startled. "trigger_witch_alert" "25"
// 0=Off. The chance out of 100 to set the weather state to storm when a Witch dies. "trigger_witch" "25"
// 0=Off. Set the weather state to storm when a Witch is crowned and not killed by other means. "trigger_witch_head" "0" }
// ==================================================================================================== // RANDOM STORM SELECTION: // ==================================================================================================== // This a the custom "random" section. You can set up many custom storm types to be chosen at random when the map loads. // You can have as many preset storms as you like by simply adding or adjusting the count number and names that you see below.
"random" { // Setting a value for the COUNT key below will allow the plugin to choose a random number that is listed below, to be chosen as a random storm. // The values listed should point to an existing section, for example "all" and "defaults". The plugin will read settings from that randomly selected section. "count" "8" "1" "Sunny" "2" "SunnyRainy" "3" "DarkRainy" "4" "ForeverStorm" "5" "Foggy" "6" "DarkFoggy" "7" "all" "8" "defaults" }
// ==================================================================================================== // CUSTOM STORM SECTIONS: // ==================================================================================================== // These configurations will match the "random" section and the "count" key values, and can include any of the settings listed below to edit. // If key values are set to "" and the specific storm is chosen at random, the setting will be set to the map default. // If any settings below are removed from the specific storm, the setting will be read from the ***ALL SECTION***.
// ==================================================================================================== // DEFAULT VALUES // ==================================================================================================== // This is the custom "defaults" section. Listed are all the accepted keys. This causes maps to load their default weather settings.
// ==================================================================================================== // MAP SPECIFIC SECTIONS: // ==================================================================================================== // Dead Center - Map specific section. No rain; default skybox, fog and background. This is because the background skybox image will not blend with different a skybox, fog or background color.
// Hard Rain - Map specific section. Does not load any Storm data since the "null" section is not defined in the config. "c4m1_milltown_a" { "use_section" "null" } "c4m2_sugarmill_a" { "use_section" "null" } "c4m3_sugarmill_b" { "use_section" "null" } "c4m4_milltown_b" { "use_section" "null" } "c4m5_milltown_escape" { "use_section" "null" }
I think it would be amazing if there was a way to set it so we could have day cycles, like make it so we have this certain weather/lighting for this amount of time then it automatically changes to a desired one. Like have mornings, evenings, noon, midnight and so on.
Nice plugin, I used it a lot of times before and it work well. However on my new window 8 computer, the game crashes 1 minute from server start. The error message is from microsoft C++ saying runtime error r6025 and then game quits. Any idea whats the cause of this? I lowered page memory and render settings but had no luck.
Quote: The error is shown when your application calls a “pure virtual function” in a context that is not valid for the function
I'm assuming your trying to run the Steam Dedicated server (srcds). Never had this problem before and don't run Windows 8. But you say you used it before and it worked ok but not now with your new W8 machine. Is it possible to run it in compatibility mode, in particular Windows Server 2008 or 2012 if its available as this is often used for rented dedicated servers. Sorry cant help anymore than that
Quote: The error is shown when your application calls a “pure virtual function” in a context that is not valid for the function"
I'm assuming your trying to run the Steam Dedicated server (srcds). Never had this problem before and don't run Windows 8. But you say you used it before and it worked ok but not now with your new W8 machine. Is it possible to run it in compatibility mode, in particular Windows Server 2008 or 2012 if its available as this is often used for rented dedicated servers. Sorry cant help anymore than that
Oh.. this plugins is good with window 7? Will this weather control plugins lag the system? Plan to test it.
Quote: The error is shown when your application calls a “pure virtual function” in a context that is not valid for the function"
I'm assuming your trying to run the Steam Dedicated server (srcds). Never had this problem before and don't run Windows 8. But you say you used it before and it worked ok but not now with your new W8 machine. Is it possible to run it in compatibility mode, in particular Windows Server 2008 or 2012 if its available as this is often used for rented dedicated servers. Sorry cant help anymore than that
Thanks, but I am running a Listen/Local server. Is it possible that this was caused by other plugins? or maybe system overload?