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

◆ GetDefaultWeatherPresetsParams()

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

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

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

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