DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ GetDefaultWeatherPresetsParams()

array< ref CfgParam > PluginConfigHandler::GetDefaultWeatherPresetsParams ( )
inlineprotected

См. определение в файле PluginConfigDebugProfile.c строка 534

535 {
536 array<ref CfgParam> params = new array<ref CfgParam>;
537 CfgParamArray presetParam;
538 CfgParamString paramName;
539 CfgParamFloat paramOvercast, paramRain, paramSnow, paramFog, paramWindMagnitude, paramWindDirection, paramVolFogDD, paramVolFogHD, paramVolFogHB;
540
541 // Chernarus - Clear
542 presetParam = new CfgParamArray("");
543 paramName = new CfgParamString("Name");
544 paramName.SetValue("Chernarus - Clear");
545 paramOvercast = new CfgParamFloat("Overcast");
546 paramOvercast.SetValue(0);
547 paramRain = new CfgParamFloat("Rain");
548 paramRain.SetValue(0);
549 paramSnow = new CfgParamFloat("Snow");
550 paramSnow.SetValue(0);
551 paramFog = new CfgParamFloat("Fog");
552 paramFog.SetValue(0.04);
553 paramWindMagnitude = new CfgParamFloat("WindMagnitude");
554 paramWindMagnitude.SetValue(10);
555 paramWindDirection = new CfgParamFloat("WindDirection");
556 paramWindDirection.SetValue(-1);
557 paramVolFogDD = new CfgParamFloat("VolFogDD");
558 paramVolFogDD.SetValue(0.005);
559 paramVolFogHD = new CfgParamFloat("VolFogHD");
560 paramVolFogHD.SetValue(0.9);
561 paramVolFogHB = new CfgParamFloat("VolFogHB");
562 paramVolFogHB.SetValue(50);
563
564 presetParam.InsertValue(paramName);
565 presetParam.InsertValue(paramOvercast);
566 presetParam.InsertValue(paramRain);
567 presetParam.InsertValue(paramSnow);
568 presetParam.InsertValue(paramFog);
569 presetParam.InsertValue(paramWindMagnitude);
570 presetParam.InsertValue(paramWindDirection);
571 presetParam.InsertValue(paramVolFogDD);
572 presetParam.InsertValue(paramVolFogHD);
573 presetParam.InsertValue(paramVolFogHB);
574 params.Insert(presetParam);
575
576 // Chernarus - Cloudy
577 presetParam = new CfgParamArray("");
578 paramName = new CfgParamString("Name");
579 paramName.SetValue("Chernarus - Cloudy");
580 paramOvercast = new CfgParamFloat("Overcast");
581 paramOvercast.SetValue(0.4);
582 paramRain = new CfgParamFloat("Rain");
583 paramRain.SetValue(0);
584 paramSnow = new CfgParamFloat("Snow");
585 paramSnow.SetValue(0);
586 paramFog = new CfgParamFloat("Fog");
587 paramFog.SetValue(0.04);
588 paramWindMagnitude = new CfgParamFloat("WindMagnitude");
589 paramWindMagnitude.SetValue(10);
590 paramWindDirection = new CfgParamFloat("WindDirection");
591 paramWindDirection.SetValue(-2.2);
592 paramVolFogDD = new CfgParamFloat("VolFogDD");
593 paramVolFogDD.SetValue(0.013);
594 paramVolFogHD = new CfgParamFloat("VolFogHD");
595 paramVolFogHD.SetValue(0.94);
596 paramVolFogHB = new CfgParamFloat("VolFogHB");
597 paramVolFogHB.SetValue(50);
598
599 presetParam.InsertValue(paramName);
600 presetParam.InsertValue(paramOvercast);
601 presetParam.InsertValue(paramRain);
602 presetParam.InsertValue(paramSnow);
603 presetParam.InsertValue(paramFog);
604 presetParam.InsertValue(paramWindMagnitude);
605 presetParam.InsertValue(paramWindDirection);
606 presetParam.InsertValue(paramVolFogDD);
607 presetParam.InsertValue(paramVolFogHD);
608 presetParam.InsertValue(paramVolFogHB);
609 params.Insert(presetParam);
610
611 // Chernarus - Bad
612 presetParam = new CfgParamArray("");
613 paramName = new CfgParamString("Name");
614 paramName.SetValue("Chernarus - Bad");
615 paramOvercast = new CfgParamFloat("Overcast");
616 paramOvercast.SetValue(0.7);
617 paramRain = new CfgParamFloat("Rain");
618 paramRain.SetValue(0.3);
619 paramSnow = new CfgParamFloat("Snow");
620 paramSnow.SetValue(0);
621 paramFog = new CfgParamFloat("Fog");
622 paramFog.SetValue(0.04);
623 paramWindMagnitude = new CfgParamFloat("WindMagnitude");
624 paramWindMagnitude.SetValue(12);
625 paramWindDirection = new CfgParamFloat("WindDirection");
626 paramWindDirection.SetValue(1.5);
627 paramVolFogDD = new CfgParamFloat("VolFogDD");
628 paramVolFogDD.SetValue(0.015);
629 paramVolFogHD = new CfgParamFloat("VolFogHD");
630 paramVolFogHD.SetValue(0.97);
631 paramVolFogHB = new CfgParamFloat("VolFogHB");
632 paramVolFogHB.SetValue(50);
633
634 presetParam.InsertValue(paramName);
635 presetParam.InsertValue(paramOvercast);
636 presetParam.InsertValue(paramRain);
637 presetParam.InsertValue(paramSnow);
638 presetParam.InsertValue(paramFog);
639 presetParam.InsertValue(paramWindMagnitude);
640 presetParam.InsertValue(paramWindDirection);
641 presetParam.InsertValue(paramVolFogDD);
642 presetParam.InsertValue(paramVolFogHD);
643 presetParam.InsertValue(paramVolFogHB);
644 params.Insert(presetParam);
645
646 // Chernarus - Storm
647 presetParam = new CfgParamArray("");
648 paramName = new CfgParamString("Name");
649 paramName.SetValue("Chernarus - Storm");
650 paramOvercast = new CfgParamFloat("Overcast");
651 paramOvercast.SetValue(0.9);
652 paramRain = new CfgParamFloat("Rain");
653 paramRain.SetValue(0.55);
654 paramSnow = new CfgParamFloat("Snow");
655 paramSnow.SetValue(0);
656 paramFog = new CfgParamFloat("Fog");
657 paramFog.SetValue(0.04);
658 paramWindMagnitude = new CfgParamFloat("WindMagnitude");
659 paramWindMagnitude.SetValue(15);
660 paramWindDirection = new CfgParamFloat("WindDirection");
661 paramWindDirection.SetValue(1.2);
662 paramVolFogDD = new CfgParamFloat("VolFogDD");
663 paramVolFogDD.SetValue(0.011);
664 paramVolFogHD = new CfgParamFloat("VolFogHD");
665 paramVolFogHD.SetValue(0.99);
666 paramVolFogHB = new CfgParamFloat("VolFogHB");
667 paramVolFogHB.SetValue(50);
668
669 presetParam.InsertValue(paramName);
670 presetParam.InsertValue(paramOvercast);
671 presetParam.InsertValue(paramRain);
672 presetParam.InsertValue(paramSnow);
673 presetParam.InsertValue(paramFog);
674 presetParam.InsertValue(paramWindMagnitude);
675 presetParam.InsertValue(paramWindDirection);
676 presetParam.InsertValue(paramVolFogDD);
677 presetParam.InsertValue(paramVolFogHD);
678 presetParam.InsertValue(paramVolFogHB);
679 params.Insert(presetParam);
680
681 // Chernarus - Heavy Storm
682 presetParam = new CfgParamArray("");
683 paramName = new CfgParamString("Name");
684 paramName.SetValue("Chernarus - Heavy Storm");
685 paramOvercast = new CfgParamFloat("Overcast");
686 paramOvercast.SetValue(1);
687 paramRain = new CfgParamFloat("Rain");
688 paramRain.SetValue(0.9);
689 paramSnow = new CfgParamFloat("Snow");
690 paramSnow.SetValue(0);
691 paramFog = new CfgParamFloat("Fog");
692 paramFog.SetValue(0.04);
693 paramWindMagnitude = new CfgParamFloat("WindMagnitude");
694 paramWindMagnitude.SetValue(17);
695 paramWindDirection = new CfgParamFloat("WindDirection");
696 paramWindDirection.SetValue(1.2);
697 paramVolFogDD = new CfgParamFloat("VolFogDD");
698 paramVolFogDD.SetValue(0.007);
699 paramVolFogHD = new CfgParamFloat("VolFogHD");
700 paramVolFogHD.SetValue(1);
701 paramVolFogHB = new CfgParamFloat("VolFogHB");
702 paramVolFogHB.SetValue(50);
703
704 presetParam.InsertValue(paramName);
705 presetParam.InsertValue(paramOvercast);
706 presetParam.InsertValue(paramRain);
707 presetParam.InsertValue(paramSnow);
708 presetParam.InsertValue(paramFog);
709 presetParam.InsertValue(paramWindMagnitude);
710 presetParam.InsertValue(paramWindDirection);
711 presetParam.InsertValue(paramVolFogDD);
712 presetParam.InsertValue(paramVolFogHD);
713 presetParam.InsertValue(paramVolFogHB);
714 params.Insert(presetParam);
715
716 //------------------------------------------------------------------------
717
718 // Livonia - Clear
719 presetParam = new CfgParamArray("");
720 paramName = new CfgParamString("Name");
721 paramName.SetValue("Livonia - Clear");
722 paramOvercast = new CfgParamFloat("Overcast");
723 paramOvercast.SetValue(0);
724 paramRain = new CfgParamFloat("Rain");
725 paramRain.SetValue(0);
726 paramSnow = new CfgParamFloat("Snow");
727 paramSnow.SetValue(0);
728 paramFog = new CfgParamFloat("Fog");
729 paramFog.SetValue(0.1);
730 paramWindMagnitude = new CfgParamFloat("WindMagnitude");
731 paramWindMagnitude.SetValue(3);
732 paramWindDirection = new CfgParamFloat("WindDirection");
733 paramWindDirection.SetValue(-2);
734 paramVolFogDD = new CfgParamFloat("VolFogDD");
735 paramVolFogDD.SetValue(0.012);
736 paramVolFogHD = new CfgParamFloat("VolFogHD");
737 paramVolFogHD.SetValue(0.91);
738 paramVolFogHB = new CfgParamFloat("VolFogHB");
739 paramVolFogHB.SetValue(170);
740
741 presetParam.InsertValue(paramName);
742 presetParam.InsertValue(paramOvercast);
743 presetParam.InsertValue(paramRain);
744 presetParam.InsertValue(paramSnow);
745 presetParam.InsertValue(paramFog);
746 presetParam.InsertValue(paramWindMagnitude);
747 presetParam.InsertValue(paramWindDirection);
748 presetParam.InsertValue(paramVolFogDD);
749 presetParam.InsertValue(paramVolFogHD);
750 presetParam.InsertValue(paramVolFogHB);
751 params.Insert(presetParam);
752
753 // Livonia - Cloudy
754 presetParam = new CfgParamArray("");
755 paramName = new CfgParamString("Name");
756 paramName.SetValue("Livonia - Cloudy");
757 paramOvercast = new CfgParamFloat("Overcast");
758 paramOvercast.SetValue(0.4);
759 paramRain = new CfgParamFloat("Rain");
760 paramRain.SetValue(0);
761 paramSnow = new CfgParamFloat("Snow");
762 paramSnow.SetValue(0);
763 paramFog = new CfgParamFloat("Fog");
764 paramFog.SetValue(0.1);
765 paramWindMagnitude = new CfgParamFloat("WindMagnitude");
766 paramWindMagnitude.SetValue(9);
767 paramWindDirection = new CfgParamFloat("WindDirection");
768 paramWindDirection.SetValue(-1.2);
769 paramVolFogDD = new CfgParamFloat("VolFogDD");
770 paramVolFogDD.SetValue(0.14);
771 paramVolFogHD = new CfgParamFloat("VolFogHD");
772 paramVolFogHD.SetValue(0.94);
773 paramVolFogHB = new CfgParamFloat("VolFogHB");
774 paramVolFogHB.SetValue(170);
775
776 presetParam.InsertValue(paramName);
777 presetParam.InsertValue(paramOvercast);
778 presetParam.InsertValue(paramRain);
779 presetParam.InsertValue(paramSnow);
780 presetParam.InsertValue(paramFog);
781 presetParam.InsertValue(paramWindMagnitude);
782 presetParam.InsertValue(paramWindDirection);
783 presetParam.InsertValue(paramVolFogDD);
784 presetParam.InsertValue(paramVolFogHD);
785 presetParam.InsertValue(paramVolFogHB);
786 params.Insert(presetParam);
787
788 // Livonia - Bad
789 presetParam = new CfgParamArray("");
790 paramName = new CfgParamString("Name");
791 paramName.SetValue("Livonia - Bad");
792 paramOvercast = new CfgParamFloat("Overcast");
793 paramOvercast.SetValue(0.7);
794 paramRain = new CfgParamFloat("Rain");
795 paramRain.SetValue(0.3);
796 paramSnow = new CfgParamFloat("Snow");
797 paramSnow.SetValue(0);
798 paramFog = new CfgParamFloat("Fog");
799 paramFog.SetValue(0.1);
800 paramWindMagnitude = new CfgParamFloat("WindMagnitude");
801 paramWindMagnitude.SetValue(10);
802 paramWindDirection = new CfgParamFloat("WindDirection");
803 paramWindDirection.SetValue(-0.3);
804 paramVolFogDD = new CfgParamFloat("VolFogDD");
805 paramVolFogDD.SetValue(0.019);
806 paramVolFogHD = new CfgParamFloat("VolFogHD");
807 paramVolFogHD.SetValue(0.97);
808 paramVolFogHB = new CfgParamFloat("VolFogHB");
809 paramVolFogHB.SetValue(170);
810
811 presetParam.InsertValue(paramName);
812 presetParam.InsertValue(paramOvercast);
813 presetParam.InsertValue(paramRain);
814 presetParam.InsertValue(paramSnow);
815 presetParam.InsertValue(paramFog);
816 presetParam.InsertValue(paramWindMagnitude);
817 presetParam.InsertValue(paramWindDirection);
818 presetParam.InsertValue(paramVolFogDD);
819 presetParam.InsertValue(paramVolFogHD);
820 presetParam.InsertValue(paramVolFogHB);
821 params.Insert(presetParam);
822
823 // Livonia - Storm
824 presetParam = new CfgParamArray("");
825 paramName = new CfgParamString("Name");
826 paramName.SetValue("Livonia - Storm");
827 paramOvercast = new CfgParamFloat("Overcast");
828 paramOvercast.SetValue(0.85);
829 paramRain = new CfgParamFloat("Rain");
830 paramRain.SetValue(0.55);
831 paramSnow = new CfgParamFloat("Snow");
832 paramSnow.SetValue(0);
833 paramFog = new CfgParamFloat("Fog");
834 paramFog.SetValue(0.1);
835 paramWindMagnitude = new CfgParamFloat("WindMagnitude");
836 paramWindMagnitude.SetValue(12);
837 paramWindDirection = new CfgParamFloat("WindDirection");
838 paramWindDirection.SetValue(0);
839 paramVolFogDD = new CfgParamFloat("VolFogDD");
840 paramVolFogDD.SetValue(0.018);
841 paramVolFogHD = new CfgParamFloat("VolFogHD");
842 paramVolFogHD.SetValue(0.985);
843 paramVolFogHB = new CfgParamFloat("VolFogHB");
844 paramVolFogHB.SetValue(170);
845
846 presetParam.InsertValue(paramName);
847 presetParam.InsertValue(paramOvercast);
848 presetParam.InsertValue(paramRain);
849 presetParam.InsertValue(paramSnow);
850 presetParam.InsertValue(paramFog);
851 presetParam.InsertValue(paramWindMagnitude);
852 presetParam.InsertValue(paramWindDirection);
853 presetParam.InsertValue(paramVolFogDD);
854 presetParam.InsertValue(paramVolFogHD);
855 presetParam.InsertValue(paramVolFogHB);
856 params.Insert(presetParam);
857
858 // Livonia - Heavy Storm
859 presetParam = new CfgParamArray("");
860 paramName = new CfgParamString("Name");
861 paramName.SetValue("Livonia - Heavy Storm");
862 paramOvercast = new CfgParamFloat("Overcast");
863 paramOvercast.SetValue(1);
864 paramRain = new CfgParamFloat("Rain");
865 paramRain.SetValue(0.9);
866 paramSnow = new CfgParamFloat("Snow");
867 paramSnow.SetValue(0);
868 paramFog = new CfgParamFloat("Fog");
869 paramFog.SetValue(0.1);
870 paramWindMagnitude = new CfgParamFloat("WindMagnitude");
871 paramWindMagnitude.SetValue(18);
872 paramWindDirection = new CfgParamFloat("WindDirection");
873 paramWindDirection.SetValue(0.6);
874 paramVolFogDD = new CfgParamFloat("VolFogDD");
875 paramVolFogDD.SetValue(0.005);
876 paramVolFogHD = new CfgParamFloat("VolFogHD");
877 paramVolFogHD.SetValue(1);
878 paramVolFogHB = new CfgParamFloat("VolFogHB");
879 paramVolFogHB.SetValue(170);
880
881 presetParam.InsertValue(paramName);
882 presetParam.InsertValue(paramOvercast);
883 presetParam.InsertValue(paramRain);
884 presetParam.InsertValue(paramSnow);
885 presetParam.InsertValue(paramFog);
886 presetParam.InsertValue(paramWindMagnitude);
887 presetParam.InsertValue(paramWindDirection);
888 presetParam.InsertValue(paramVolFogDD);
889 presetParam.InsertValue(paramVolFogHD);
890 presetParam.InsertValue(paramVolFogHB);
891 params.Insert(presetParam);
892
893 //------------------------------------------------------------------------
894
895 // Sakhal - Clear
896 presetParam = new CfgParamArray("");
897 paramName = new CfgParamString("Name");
898 paramName.SetValue("Sakhal - Clear");
899 paramOvercast = new CfgParamFloat("Overcast");
900 paramOvercast.SetValue(0.07);
901 paramRain = new CfgParamFloat("Rain");
902 paramRain.SetValue(0);
903 paramSnow = new CfgParamFloat("Snow");
904 paramSnow.SetValue(0);
905 paramFog = new CfgParamFloat("Fog");
906 paramFog.SetValue(0);
907 paramWindMagnitude = new CfgParamFloat("WindMagnitude");
908 paramWindMagnitude.SetValue(2);
909 paramWindDirection = new CfgParamFloat("WindDirection");
910 paramWindDirection.SetValue(0);
911 paramVolFogDD = new CfgParamFloat("VolFogDD");
912 paramVolFogDD.SetValue(0.002);
913 paramVolFogHD = new CfgParamFloat("VolFogHD");
914 paramVolFogHD.SetValue(1);
915 paramVolFogHB = new CfgParamFloat("VolFogHB");
916 paramVolFogHB.SetValue(0);
917
918 presetParam.InsertValue(paramName);
919 presetParam.InsertValue(paramOvercast);
920 presetParam.InsertValue(paramRain);
921 presetParam.InsertValue(paramSnow);
922 presetParam.InsertValue(paramFog);
923 presetParam.InsertValue(paramWindMagnitude);
924 presetParam.InsertValue(paramWindDirection);
925 presetParam.InsertValue(paramVolFogDD);
926 presetParam.InsertValue(paramVolFogHD);
927 presetParam.InsertValue(paramVolFogHB);
928 params.Insert(presetParam);
929
930 // Sakhal - Cloudy
931 presetParam = new CfgParamArray("");
932 paramName = new CfgParamString("Name");
933 paramName.SetValue("Sakhal - Cloudy");
934 paramOvercast = new CfgParamFloat("Overcast");
935 paramOvercast.SetValue(0.4);
936 paramRain = new CfgParamFloat("Rain");
937 paramRain.SetValue(0);
938 paramSnow = new CfgParamFloat("Snow");
939 paramSnow.SetValue(0.35);
940 paramFog = new CfgParamFloat("Fog");
941 paramFog.SetValue(0);
942 paramWindMagnitude = new CfgParamFloat("WindMagnitude");
943 paramWindMagnitude.SetValue(9);
944 paramWindDirection = new CfgParamFloat("WindDirection");
945 paramWindDirection.SetValue(1.1);
946 paramVolFogDD = new CfgParamFloat("VolFogDD");
947 paramVolFogDD.SetValue(0.058);
948 paramVolFogHD = new CfgParamFloat("VolFogHD");
949 paramVolFogHD.SetValue(1);
950 paramVolFogHB = new CfgParamFloat("VolFogHB");
951 paramVolFogHB.SetValue(0);
952
953 presetParam.InsertValue(paramName);
954 presetParam.InsertValue(paramOvercast);
955 presetParam.InsertValue(paramRain);
956 presetParam.InsertValue(paramSnow);
957 presetParam.InsertValue(paramFog);
958 presetParam.InsertValue(paramWindMagnitude);
959 presetParam.InsertValue(paramWindDirection);
960 presetParam.InsertValue(paramVolFogDD);
961 presetParam.InsertValue(paramVolFogHD);
962 presetParam.InsertValue(paramVolFogHB);
963 params.Insert(presetParam);
964
965 // Sakhal - Bad
966 presetParam = new CfgParamArray("");
967 paramName = new CfgParamString("Name");
968 paramName.SetValue("Sakhal - Bad");
969 paramOvercast = new CfgParamFloat("Overcast");
970 paramOvercast.SetValue(0.7);
971 paramRain = new CfgParamFloat("Rain");
972 paramRain.SetValue(0);
973 paramSnow = new CfgParamFloat("Snow");
974 paramSnow.SetValue(0.65);
975 paramFog = new CfgParamFloat("Fog");
976 paramFog.SetValue(0);
977 paramWindMagnitude = new CfgParamFloat("WindMagnitude");
978 paramWindMagnitude.SetValue(12);
979 paramWindDirection = new CfgParamFloat("WindDirection");
980 paramWindDirection.SetValue(-1.6);
981 paramVolFogDD = new CfgParamFloat("VolFogDD");
982 paramVolFogDD.SetValue(0.139);
983 paramVolFogHD = new CfgParamFloat("VolFogHD");
984 paramVolFogHD.SetValue(1);
985 paramVolFogHB = new CfgParamFloat("VolFogHB");
986 paramVolFogHB.SetValue(0);
987
988 presetParam.InsertValue(paramName);
989 presetParam.InsertValue(paramOvercast);
990 presetParam.InsertValue(paramRain);
991 presetParam.InsertValue(paramSnow);
992 presetParam.InsertValue(paramFog);
993 presetParam.InsertValue(paramWindMagnitude);
994 presetParam.InsertValue(paramWindDirection);
995 presetParam.InsertValue(paramVolFogDD);
996 presetParam.InsertValue(paramVolFogHD);
997 presetParam.InsertValue(paramVolFogHB);
998 params.Insert(presetParam);
999
1000 // Sakhal - Storm
1001 presetParam = new CfgParamArray("");
1002 paramName = new CfgParamString("Name");
1003 paramName.SetValue("Sakhal - Storm");
1004 paramOvercast = new CfgParamFloat("Overcast");
1005 paramOvercast.SetValue(0.9);
1006 paramRain = new CfgParamFloat("Rain");
1007 paramRain.SetValue(0);
1008 paramSnow = new CfgParamFloat("Snow");
1009 paramSnow.SetValue(0.85);
1010 paramFog = new CfgParamFloat("Fog");
1011 paramFog.SetValue(0);
1012 paramWindMagnitude = new CfgParamFloat("WindMagnitude");
1013 paramWindMagnitude.SetValue(19);
1014 paramWindDirection = new CfgParamFloat("WindDirection");
1015 paramWindDirection.SetValue(2.5);
1016 paramVolFogDD = new CfgParamFloat("VolFogDD");
1017 paramVolFogDD.SetValue(0.283);
1018 paramVolFogHD = new CfgParamFloat("VolFogHD");
1019 paramVolFogHD.SetValue(1);
1020 paramVolFogHB = new CfgParamFloat("VolFogHB");
1021 paramVolFogHB.SetValue(0);
1022
1023 presetParam.InsertValue(paramName);
1024 presetParam.InsertValue(paramOvercast);
1025 presetParam.InsertValue(paramRain);
1026 presetParam.InsertValue(paramSnow);
1027 presetParam.InsertValue(paramFog);
1028 presetParam.InsertValue(paramWindMagnitude);
1029 presetParam.InsertValue(paramWindDirection);
1030 presetParam.InsertValue(paramVolFogDD);
1031 presetParam.InsertValue(paramVolFogHD);
1032 presetParam.InsertValue(paramVolFogHB);
1033 params.Insert(presetParam);
1034
1035 // Sakhal - Heavy Storm
1036 presetParam = new CfgParamArray("");
1037 paramName = new CfgParamString("Name");
1038 paramName.SetValue("Sakhal - Heavy Storm");
1039 paramOvercast = new CfgParamFloat("Overcast");
1040 paramOvercast.SetValue(1);
1041 paramRain = new CfgParamFloat("Rain");
1042 paramRain.SetValue(0);
1043 paramSnow = new CfgParamFloat("Snow");
1044 paramSnow.SetValue(1);
1045 paramFog = new CfgParamFloat("Fog");
1046 paramFog.SetValue(0);
1047 paramWindMagnitude = new CfgParamFloat("WindMagnitude");
1048 paramWindMagnitude.SetValue(20);
1049 paramWindDirection = new CfgParamFloat("WindDirection");
1050 paramWindDirection.SetValue(3);
1051 paramVolFogDD = new CfgParamFloat("VolFogDD");
1052 paramVolFogDD.SetValue(0.35);
1053 paramVolFogHD = new CfgParamFloat("VolFogHD");
1054 paramVolFogHD.SetValue(1);
1055 paramVolFogHB = new CfgParamFloat("VolFogHB");
1056 paramVolFogHB.SetValue(0);
1057
1058 presetParam.InsertValue(paramName);
1059 presetParam.InsertValue(paramOvercast);
1060 presetParam.InsertValue(paramRain);
1061 presetParam.InsertValue(paramSnow);
1062 presetParam.InsertValue(paramFog);
1063 presetParam.InsertValue(paramWindMagnitude);
1064 presetParam.InsertValue(paramWindDirection);
1065 presetParam.InsertValue(paramVolFogDD);
1066 presetParam.InsertValue(paramVolFogHD);
1067 presetParam.InsertValue(paramVolFogHB);
1068 params.Insert(presetParam);
1069
1070 return params;
1071 }

Используется в PluginConfigDebugProfile().