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

◆ GetDefaultWeatherPresetsParams()

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

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

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

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