Izmayl7, через EntEd добавь
P.S. В орджин укажи свои координаты. Подойдет любая точка где-то под потолком карты.Код:{ "origin" "1047 -998 702" "classname" "env_snow" }
{
"wad" "\program files\valve\valve\halflife.wad;\program files\valve\cstrike\proptextes.wad;\program files\valve\cstrike\chateau.wad;\program files\valve\cstrike\decals.wad;\program files\valve\cstrike\czde_vostok.wad;\program files\valve\cstrike\cs_havana.wad;\program files\valve\cstrike\jos.wad;\program files\valve\cstrike\torntextures.wad;\program files\valve\cstrike\cstrike.wad;\program files\valve\cstrike\czde_dust.wad;\program files\valve\cstrike\czde_inferno.wad;\program files\valve\cstrike\czeroion.wad;\program files\valve\cstrike\de_piranesi.wad;"
"mapversion" "220"
"message" "de_energy"
"MaxRange" "4096"
"WaveHeight" "1"
"skyname" "badlands"
"classname" "worldspawn"
"classname" "worldspawn"
}
{
"rendercolor" "255 255 255"
"enddist" "1000"
"classname" "env_snow"
}
{
"origin" "-2112 371 0"
"angles" "0 336 0"
"classname" "info_player_start"
}
{
"origin" "-1984 371 0"
"angles" "0 336 0"
"classname" "info_player_start"
}
{
"origin" "-1856 371 0"
"angles" "0 336 0"
"classname" "info_player_start"
}
{
"origin" "-2112 256 0"
"angles" "0 336 0"
"classname" "info_player_start"
}
{
"origin" "-1984 256 0"
"angles" "0 336 0"
"classname" "info_player_start"
}
{
"origin" "-1856 256 0"
"angles" "0 336 0"
"classname" "info_player_start"
}
{
"origin" "-2112 128 0"
"angles" "0 336 0"
"classname" "info_player_start"
}
{
"origin" "-1984 128 0"
"angles" "0 336 0"
"classname" "info_player_start"
}
{
"origin" "-1856 128 0"
"angles" "0 336 0"
"classname" "info_player_start"
}
{
"origin" "-1728 128 0"
"angles" "0 336 0"
"classname" "info_player_start"
}
{
"origin" "-1728 256 0"
"angles" "0 336 0"
"classname" "info_player_start"
}
{
"origin" "-1728 371 0"
"angles" "0 336 0"
"classname" "info_player_start"
}
{
"origin" "-2112 0 0"
"angles" "0 336 0"
"classname" "info_player_start"
}
{
"origin" "-1984 0 0"
"angles" "0 336 0"
"classname" "info_player_start"
}
{
"origin" "-1856 0 0"
"angles" "0 336 0"
"classname" "info_player_start"
}
{
"origin" "-1728 0 0"
"angles" "0 336 0"
"classname" "info_player_start"
}
{
"model" "*1"
"skin" "-3"
"wait" "4"
"speed" "100"
"angles" "0 0 0"
"rendermode" "5"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "func_water"
}
{
"origin" "-1072 566 32"
"texture" "{siteB"
"classname" "infodecal"
}
{
"model" "*2"
"rendermode" "4"
"rendercolor" "0 0 0"
"renderamt" "255"
"classname" "func_wall"
}
{
"origin" "-1275 -1251 225"
"_cone2" "45"
"_cone" "30"
"pitch" "-90"
"angles" "0 0 0"
"_fade" "1.0"
"_light" "255 255 255 200"
"classname" "light_spot"
}
{
"origin" "-1275 -1251 229"
"rendermode" "3"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"origin" "-1275 -1251 229"
"rendermode" "5"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"origin" "-953 -1251 225"
"_cone2" "45"
"_cone" "30"
"pitch" "-90"
"angles" "0 0 0"
"_fade" "1.0"
"_light" "255 255 255 200"
"classname" "light_spot"
}
{
"origin" "-953 -1251 229"
"rendermode" "3"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"origin" "-953 -1251 229"
"rendermode" "5"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"origin" "-768 -1091 225"
"_cone2" "45"
"_cone" "30"
"pitch" "-90"
"angles" "0 0 0"
"_fade" "1.0"
"_light" "255 255 255 200"
"classname" "light_spot"
}
{
"origin" "-768 -1091 229"
"rendermode" "3"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"origin" "-768 -1091 229"
"rendermode" "5"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"origin" "-768 -760 225"
"_cone2" "45"
"_cone" "30"
"pitch" "-90"
"angles" "0 0 0"
"_fade" "1.0"
"_light" "255 255 255 200"
"classname" "light_spot"
}
{
"origin" "-768 -760 229"
"rendermode" "3"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"origin" "-768 -760 229"
"rendermode" "5"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"origin" "32 587 105"
"_cone2" "45"
"_cone" "30"
"pitch" "-90"
"angles" "0 0 0"
"_fade" "1.0"
"_light" "255 255 255 200"
"classname" "light_spot"
}
{
"origin" "32 587 109"
"rendermode" "3"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"origin" "32 587 109"
"rendermode" "5"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"origin" "32 993 105"
"_cone2" "45"
"_cone" "30"
"pitch" "-90"
"angles" "0 0 0"
"_fade" "1.0"
"_light" "255 255 255 200"
"classname" "light_spot"
}
{
"origin" "32 993 109"
"rendermode" "3"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"origin" "32 993 109"
"rendermode" "5"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"origin" "-255 1247 105"
"_fade" "1.0"
"_light" "255 255 255 200"
"classname" "light"
}
{
"origin" "-255 1247 109"
"rendermode" "3"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"origin" "-255 1247 109"
"rendermode" "5"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"origin" "-544 993 105"
"_cone2" "45"
"_cone" "30"
"pitch" "-90"
"angles" "0 0 0"
"_fade" "1.0"
"_light" "255 255 255 200"
"classname" "light_spot"
}
{
"origin" "-544 993 109"
"rendermode" "3"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"origin" "-544 993 109"
"rendermode" "5"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"origin" "-544 721 105"
"_cone2" "45"
"_cone" "30"
"pitch" "-90"
"angles" "0 0 0"
"_fade" "1.0"
"_light" "255 255 255 200"
"classname" "light_spot"
}
{
"origin" "-544 721 109"
"rendermode" "3"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"origin" "-544 721 109"
"rendermode" "5"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"origin" "-1345 161 105"
"_cone2" "45"
"_cone" "30"
"pitch" "-90"
"angles" "0 0 0"
"_fade" "1.0"
"_light" "255 255 255 200"
"classname" "light_spot"
}
{
"origin" "-1345 161 109"
"rendermode" "3"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"origin" "-1345 161 106"
"rendermode" "5"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"origin" "-607 1346 -103"
"_cone2" "45"
"_cone" "30"
"pitch" "-90"
"angles" "0 0 0"
"_fade" "0.7"
"_light" "0 64 0 200"
"classname" "light_spot"
}
{
"origin" "-607 1346 -99"
"rendermode" "3"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"origin" "-607 1346 -99"
"rendermode" "5"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"origin" "-1233 1346 -99"
"rendermode" "5"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"origin" "-1233 1346 -103"
"_cone2" "45"
"_cone" "30"
"pitch" "-90"
"angles" "0 0 0"
"_fade" "0.7"
"_light" "0 64 0 200"
"classname" "light_spot"
}
{
"origin" "-883 1346 -99"
"rendermode" "5"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"origin" "-883 1346 -103"
"_cone2" "45"
"_cone" "30"
"pitch" "-90"
"angles" "0 0 0"
"_fade" "0.7"
"_light" "0 64 0 200"
"classname" "light_spot"
}
{
"origin" "-1692 -41 247"
"_diffuse_light" "77 85 87 200"
"pitch" "-70"
"angles" "0 277 0"
"_fade" "1.0"
"_light" "255 255 255 200"
"classname" "light_environment"
}
{
"origin" "495 91 0"
"angles" "0 198 0"
"classname" "info_player_deathmatch"
}
{
"origin" "495 -37 0"
"angles" "0 198 0"
"classname" "info_player_deathmatch"
}
{
"origin" "367 -37 0"
"angles" "0 198 0"
"classname" "info_player_deathmatch"
}
{
"origin" "239 -37 0"
"angles" "0 198 0"
"classname" "info_player_deathmatch"
}
{
"origin" "367 91 0"
"angles" "0 198 0"
"classname" "info_player_deathmatch"
}
{
"origin" "239 91 0"
"angles" "0 198 0"
"classname" "info_player_deathmatch"
}
{
"origin" "111 -37 0"
"angles" "0 198 0"
"classname" "info_player_deathmatch"
}
{
"origin" "111 91 0"
"angles" "0 198 0"
"classname" "info_player_deathmatch"
}
{
"origin" "111 219 0"
"angles" "0 198 0"
"classname" "info_player_deathmatch"
}
{
"origin" "239 219 0"
"angles" "0 198 0"
"classname" "info_player_deathmatch"
}
{
"origin" "367 219 0"
"angles" "0 198 0"
"classname" "info_player_deathmatch"
}
{
"origin" "495 219 0"
"angles" "0 198 0"
"classname" "info_player_deathmatch"
}
{
"origin" "495 347 0"
"angles" "0 198 0"
"classname" "info_player_deathmatch"
}
{
"origin" "367 347 0"
"angles" "0 198 0"
"classname" "info_player_deathmatch"
}
{
"origin" "239 347 0"
"angles" "0 198 0"
"classname" "info_player_deathmatch"
}
{
"origin" "111 347 0"
"angles" "0 198 0"
"classname" "info_player_deathmatch"
}
{
"model" "*3"
"classname" "func_bomb_target"
}
{
"model" "*4"
"classname" "func_bomb_target"
}
{
"model" "*5"
"rendermode" "4"
"rendercolor" "0 0 0"
"renderamt" "255"
"classname" "func_wall"
}
{
"model" "*6"
"classname" "func_ladder"
}
{
"model" "*7"
"skin" "-1"
"rendercolor" "0 0 0"
"renderamt" "255"
"classname" "func_illusionary"
}
{
"model" "*8"
"skin" "-1"
"rendercolor" "0 0 0"
"renderamt" "255"
"classname" "func_illusionary"
}
{
"model" "*9"
"skin" "-1"
"rendercolor" "0 0 0"
"renderamt" "255"
"classname" "func_illusionary"
}
{
"model" "*10"
"skin" "-1"
"rendercolor" "0 0 0"
"renderamt" "255"
"classname" "func_illusionary"
}
{
"model" "*11"
"skin" "-1"
"rendercolor" "0 0 0"
"renderamt" "255"
"classname" "func_illusionary"
}
{
"model" "*12"
"skin" "-1"
"rendercolor" "0 0 0"
"renderamt" "255"
"classname" "func_illusionary"
}
{
"model" "*13"
"skin" "-1"
"rendercolor" "0 0 0"
"renderamt" "255"
"classname" "func_illusionary"
}
{
"model" "*14"
"skin" "-1"
"rendercolor" "0 0 0"
"renderamt" "255"
"classname" "func_illusionary"
}
{
"model" "*15"
"skin" "-1"
"rendercolor" "0 0 0"
"renderamt" "255"
"classname" "func_illusionary"
}
{
"model" "*16"
"skin" "-1"
"rendercolor" "0 0 0"
"renderamt" "255"
"classname" "func_illusionary"
}
{
"model" "*17"
"skin" "-1"
"rendercolor" "0 0 0"
"renderamt" "255"
"classname" "func_illusionary"
}
{
"model" "*18"
"skin" "-1"
"rendercolor" "0 0 0"
"renderamt" "255"
"classname" "func_illusionary"
}
{
"model" "*19"
"rendermode" "4"
"rendercolor" "0 0 0"
"renderamt" "255"
"classname" "func_wall"
}
{
"model" "*20"
"classname" "func_ladder"
}
{
"model" "*21"
"rendermode" "5"
"rendercolor" "0 0 0"
"classname" "func_wall"
}
{
"origin" "-1521 -720 158"
"texture" "{siteA"
"classname" "infodecal"
}
{
"origin" "-676 -587 75"
"_cone2" "45"
"_cone" "30"
"pitch" "-90"
"angles" "0 0 0"
"_fade" "1.0"
"_light" "255 255 255 200"
"classname" "light_spot"
}
{
"origin" "-676 -587 79"
"rendermode" "5"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"origin" "-860 -587 75"
"_cone2" "45"
"_cone" "30"
"pitch" "-90"
"angles" "0 0 0"
"_fade" "1.0"
"_light" "255 255 255 200"
"classname" "light_spot"
}
{
"origin" "-860 -587 79"
"rendermode" "5"
"scale" "0.4"
"model" "../valve/sprites/flare3.spr"
"rendercolor" "0 0 0"
"renderamt" "150"
"classname" "env_glow"
}
{
"model" "*22"
"skin" "-1"
"rendermode" "4"
"rendercolor" "0 0 0"
"renderamt" "255"
"classname" "func_illusionary"
}
{
"model" "*23"
"skin" "-1"
"rendermode" "4"
"rendercolor" "0 0 0"
"renderamt" "255"
"classname" "func_illusionary"
}
{
"origin" "-1615 -774 64"
"texture" "{target"
"classname" "infodecal"
}
{
"origin" "-1134 747 -64"
"texture" "{target"
"classname" "infodecal"
}
{
"origin" "-1626 -31 246"
"bombradius" "200"
"classname" "info_map_parameters"
}
{
"model" "*24"
"team" "2"
"classname" "func_buyzone"
}
{
"model" "*25"
"team" "1"
"classname" "func_buyzone"
}
{
"origin" "-1050 -533 166"
"angles" "0 0 0"
"deceleration" "500"
"acceleration" "500"
"wait" "10"
"classname" "trigger_camera"
}
сделать вот так?!{
"rendercolor" "255 255 255"
"enddist" "1000"
"classname" "env_snow"
}
заранее спасибо!){
"rendercolor" "255 255 255"
"enddist" "1000"
}
{
"origin" "-2112 371 0"
"classname" "env_snow"
}
сделать вот так даIzmayl7, попробуй полностью заменить. Для снега там цвет не нужен.
и убрать вот это{
"origin" "-2112 371 0"
"classname" "env_snow"
}
{
"rendercolor" "255 255 255"
"enddist" "1000"
"classname" "env_snow"
}
спасибо так и сделал!) но не проверял еще!) проверю отпишусь!)
#include <amxmodx>
#include <fakemeta>
#define PLUGIN "Snow"
#define VERSION "0.1"
#define AUTHOR "XXX"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
}
public plugin_precache()
{
engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "env_snow"))
}
public client_connect(id)
{
client_cmd(id, "cl_weather 2")
}
Данный квар принимает значение 1 или 0, но никак не 2.client_cmd(id, "cl_weather 2")
та очень странная карта... на других картах со снегом всё ок. а на этой одной такая хрень...Карта странная.. то что я делал, на всех картах работает!
0-3 значения он принимает. Чем больше число, тем выше интенсивность.Данный квар принимает значение 1 или 0, но никак не 2.