public override void OnVertexBuildHeight(PQS.VertexBuildData data)
 {
     if (data.vertHeight > finalStart && data.vertHeight < finalEnd)
     {
         if (modMode == 1)
         {
             data.vertHeight += billow.GetValue(data.directionFromCenter) * deformity;
         }
         if (modMode == 2)
         {
             data.vertHeight += hybrid.GetValue(data.directionFromCenter) * deformity;
         }
         if (modMode == 3)
         {
             data.vertHeight += perlin.GetValue(data.directionFromCenter) * deformity;
         }
         if (modMode == 4)
         {
             data.vertHeight += rigged.GetValue(data.directionFromCenter) * deformity;
         }
     }
 }
예제 #2
0
        public override void OnVertexBuildHeight(PQS.VertexBuildData data)
        {
            //Activate OCD mode.
            switch (command)
            {
            case Command.Addition:
                #region Addition
                if (modMode3 == 1.1)
                {
                    data.vertHeight += (bill1.GetValue(data.directionFromCenter) * deformity) + (bill2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 1.2)
                {
                    data.vertHeight += (bill1.GetValue(data.directionFromCenter) * deformity) + (hyb2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 1.3)
                {
                    data.vertHeight += (bill1.GetValue(data.directionFromCenter) * deformity) + (perlin2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 1.4)
                {
                    data.vertHeight += (bill1.GetValue(data.directionFromCenter) * deformity) + (rig2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 1.5)
                {
                    data.vertHeight += (bill1.GetValue(data.directionFromCenter) * deformity) + (simplex2.noise(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 1.6)
                {
                    data.vertHeight += (bill1.GetValue(data.directionFromCenter) * deformity) + (vor2.GetValue(data.directionFromCenter) * deformity);
                }



                if (modMode3 == 2.1)
                {
                    data.vertHeight += (hyb1.GetValue(data.directionFromCenter) * deformity) + (bill2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 2.2)
                {
                    data.vertHeight += (hyb1.GetValue(data.directionFromCenter) * deformity) + (hyb2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 2.3)
                {
                    data.vertHeight += (hyb1.GetValue(data.directionFromCenter) * deformity) + (perlin2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 2.4)
                {
                    data.vertHeight += (hyb1.GetValue(data.directionFromCenter) * deformity) + (rig2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 2.5)
                {
                    data.vertHeight += (hyb1.GetValue(data.directionFromCenter) * deformity) + (simplex2.noise(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 2.6)
                {
                    data.vertHeight += (hyb1.GetValue(data.directionFromCenter) * deformity) + (vor2.GetValue(data.directionFromCenter) * deformity);
                }



                if (modMode3 == 3.1)
                {
                    data.vertHeight += (perlin1.GetValue(data.directionFromCenter) * deformity) + (bill2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 3.2)
                {
                    data.vertHeight += (perlin1.GetValue(data.directionFromCenter) * deformity) + (hyb2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 3.3)
                {
                    data.vertHeight += (perlin1.GetValue(data.directionFromCenter) * deformity) + (perlin2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 3.4)
                {
                    data.vertHeight += (perlin1.GetValue(data.directionFromCenter) * deformity) + (rig2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 3.5)
                {
                    data.vertHeight += (perlin1.GetValue(data.directionFromCenter) * deformity) + (simplex2.noise(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 3.6)
                {
                    data.vertHeight += (perlin1.GetValue(data.directionFromCenter) * deformity) + (vor2.GetValue(data.directionFromCenter) * deformity);
                }



                if (modMode3 == 4.1)
                {
                    data.vertHeight += (rig1.GetValue(data.directionFromCenter) * deformity) + (bill2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 4.2)
                {
                    data.vertHeight += (rig1.GetValue(data.directionFromCenter) * deformity) + (hyb2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 4.3)
                {
                    data.vertHeight += (rig1.GetValue(data.directionFromCenter) * deformity) + (perlin2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 4.4)
                {
                    data.vertHeight += (rig1.GetValue(data.directionFromCenter) * deformity) + (rig2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 4.5)
                {
                    data.vertHeight += (rig1.GetValue(data.directionFromCenter) * deformity) + (simplex2.noise(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 4.6)
                {
                    data.vertHeight += (rig1.GetValue(data.directionFromCenter) * deformity) + (vor2.GetValue(data.directionFromCenter) * deformity);
                }



                if (modMode3 == 5.1)
                {
                    data.vertHeight += (simplex1.noise(data.directionFromCenter) * deformity) + (bill2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 5.2)
                {
                    data.vertHeight += (simplex1.noise(data.directionFromCenter) * deformity) + (hyb2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 5.3)
                {
                    data.vertHeight += (simplex1.noise(data.directionFromCenter) * deformity) + (perlin2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 5.4)
                {
                    data.vertHeight += (simplex1.noise(data.directionFromCenter) * deformity) + (rig2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 5.5)
                {
                    data.vertHeight += (simplex1.noise(data.directionFromCenter) * deformity) + (simplex2.noise(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 5.6)
                {
                    data.vertHeight += (simplex1.noise(data.directionFromCenter) * deformity) + (vor2.GetValue(data.directionFromCenter) * deformity);
                }



                if (modMode3 == 6.1)
                {
                    data.vertHeight += (vor1.GetValue(data.directionFromCenter) * deformity) + (bill2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 6.2)
                {
                    data.vertHeight += (vor1.GetValue(data.directionFromCenter) * deformity) + (hyb2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 6.3)
                {
                    data.vertHeight += (vor1.GetValue(data.directionFromCenter) * deformity) + (perlin2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 6.4)
                {
                    data.vertHeight += (vor1.GetValue(data.directionFromCenter) * deformity) + (rig2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 6.5)
                {
                    data.vertHeight += (vor1.GetValue(data.directionFromCenter) * deformity) + (simplex2.noise(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 6.6)
                {
                    data.vertHeight += (vor1.GetValue(data.directionFromCenter) * deformity) + (vor2.GetValue(data.directionFromCenter) * deformity);
                }
                #endregion
                break;

            case Command.Subtract:
                #region Subtract
                if (modMode3 == 1.1)
                {
                    data.vertHeight += (bill1.GetValue(data.directionFromCenter) * deformity) - (bill2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 1.2)
                {
                    data.vertHeight += (bill1.GetValue(data.directionFromCenter) * deformity) - (hyb2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 1.3)
                {
                    data.vertHeight += (bill1.GetValue(data.directionFromCenter) * deformity) - (perlin2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 1.4)
                {
                    data.vertHeight += (bill1.GetValue(data.directionFromCenter) * deformity) - (rig2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 1.5)
                {
                    data.vertHeight += (bill1.GetValue(data.directionFromCenter) * deformity) - (simplex2.noise(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 1.6)
                {
                    data.vertHeight += (bill1.GetValue(data.directionFromCenter) * deformity) - (vor2.GetValue(data.directionFromCenter) * deformity);
                }



                if (modMode3 == 2.1)
                {
                    data.vertHeight += (hyb1.GetValue(data.directionFromCenter) * deformity) - (bill2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 2.2)
                {
                    data.vertHeight += (hyb1.GetValue(data.directionFromCenter) * deformity) - (hyb2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 2.3)
                {
                    data.vertHeight += (hyb1.GetValue(data.directionFromCenter) * deformity) - (perlin2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 2.4)
                {
                    data.vertHeight += (hyb1.GetValue(data.directionFromCenter) * deformity) - (rig2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 2.5)
                {
                    data.vertHeight += (hyb1.GetValue(data.directionFromCenter) * deformity) - (simplex2.noise(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 2.6)
                {
                    data.vertHeight += (hyb1.GetValue(data.directionFromCenter) * deformity) - (vor2.GetValue(data.directionFromCenter) * deformity);
                }



                if (modMode3 == 3.1)
                {
                    data.vertHeight += (perlin1.GetValue(data.directionFromCenter) * deformity) - (bill2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 3.2)
                {
                    data.vertHeight += (perlin1.GetValue(data.directionFromCenter) * deformity) - (hyb2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 3.3)
                {
                    data.vertHeight += (perlin1.GetValue(data.directionFromCenter) * deformity) - (perlin2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 3.4)
                {
                    data.vertHeight += (perlin1.GetValue(data.directionFromCenter) * deformity) - (rig2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 3.5)
                {
                    data.vertHeight += (perlin1.GetValue(data.directionFromCenter) * deformity) - (simplex2.noise(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 3.6)
                {
                    data.vertHeight += (perlin1.GetValue(data.directionFromCenter) * deformity) - (vor2.GetValue(data.directionFromCenter) * deformity);
                }



                if (modMode3 == 4.1)
                {
                    data.vertHeight += (rig1.GetValue(data.directionFromCenter) * deformity) - (bill2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 4.2)
                {
                    data.vertHeight += (rig1.GetValue(data.directionFromCenter) * deformity) - (hyb2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 4.3)
                {
                    data.vertHeight += (rig1.GetValue(data.directionFromCenter) * deformity) - (perlin2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 4.4)
                {
                    data.vertHeight += (rig1.GetValue(data.directionFromCenter) * deformity) - (rig2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 4.5)
                {
                    data.vertHeight += (rig1.GetValue(data.directionFromCenter) * deformity) - (simplex2.noise(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 4.6)
                {
                    data.vertHeight += (rig1.GetValue(data.directionFromCenter) * deformity) - (vor2.GetValue(data.directionFromCenter) * deformity);
                }



                if (modMode3 == 5.1)
                {
                    data.vertHeight += (simplex1.noise(data.directionFromCenter) * deformity) - (bill2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 5.2)
                {
                    data.vertHeight += (simplex1.noise(data.directionFromCenter) * deformity) - (hyb2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 5.3)
                {
                    data.vertHeight += (simplex1.noise(data.directionFromCenter) * deformity) - (perlin2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 5.4)
                {
                    data.vertHeight += (simplex1.noise(data.directionFromCenter) * deformity) - (rig2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 5.5)
                {
                    data.vertHeight += (simplex1.noise(data.directionFromCenter) * deformity) - (simplex2.noise(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 5.6)
                {
                    data.vertHeight += (simplex1.noise(data.directionFromCenter) * deformity) - (vor2.GetValue(data.directionFromCenter) * deformity);
                }



                if (modMode3 == 6.1)
                {
                    data.vertHeight += (vor1.GetValue(data.directionFromCenter) * deformity) - (bill2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 6.2)
                {
                    data.vertHeight += (vor1.GetValue(data.directionFromCenter) * deformity) - (hyb2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 6.3)
                {
                    data.vertHeight += (vor1.GetValue(data.directionFromCenter) * deformity) - (perlin2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 6.4)
                {
                    data.vertHeight += (vor1.GetValue(data.directionFromCenter) * deformity) - (rig2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 6.5)
                {
                    data.vertHeight += (vor1.GetValue(data.directionFromCenter) * deformity) - (simplex2.noise(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 6.6)
                {
                    data.vertHeight += (vor1.GetValue(data.directionFromCenter) * deformity) - (vor2.GetValue(data.directionFromCenter) * deformity);
                }
                #endregion
                break;

            case Command.Multiply:
                #region Multiply
                if (modMode3 == 1.1)
                {
                    data.vertHeight += bill1.GetValue(data.directionFromCenter) * deformity * bill2.GetValue(data.directionFromCenter);
                }
                if (modMode3 == 1.2)
                {
                    data.vertHeight += bill1.GetValue(data.directionFromCenter) * deformity * hyb2.GetValue(data.directionFromCenter);
                }
                if (modMode3 == 1.3)
                {
                    data.vertHeight += bill1.GetValue(data.directionFromCenter) * deformity * perlin2.GetValue(data.directionFromCenter);
                }
                if (modMode3 == 1.4)
                {
                    data.vertHeight += bill1.GetValue(data.directionFromCenter) * deformity * rig2.GetValue(data.directionFromCenter);
                }
                if (modMode3 == 1.5)
                {
                    data.vertHeight += bill1.GetValue(data.directionFromCenter) * deformity * simplex2.noise(data.directionFromCenter);
                }
                if (modMode3 == 1.6)
                {
                    data.vertHeight += bill1.GetValue(data.directionFromCenter) * deformity * vor2.GetValue(data.directionFromCenter);
                }



                if (modMode3 == 2.1)
                {
                    data.vertHeight += hyb1.GetValue(data.directionFromCenter) * deformity * bill2.GetValue(data.directionFromCenter);
                }
                if (modMode3 == 2.2)
                {
                    data.vertHeight += hyb1.GetValue(data.directionFromCenter) * deformity * hyb2.GetValue(data.directionFromCenter);
                }
                if (modMode3 == 2.3)
                {
                    data.vertHeight += hyb1.GetValue(data.directionFromCenter) * deformity * perlin2.GetValue(data.directionFromCenter);
                }
                if (modMode3 == 2.4)
                {
                    data.vertHeight += hyb1.GetValue(data.directionFromCenter) * deformity * rig2.GetValue(data.directionFromCenter);
                }
                if (modMode3 == 2.5)
                {
                    data.vertHeight += hyb1.GetValue(data.directionFromCenter) * deformity * simplex2.noise(data.directionFromCenter);
                }
                if (modMode3 == 2.6)
                {
                    data.vertHeight += hyb1.GetValue(data.directionFromCenter) * deformity * vor2.GetValue(data.directionFromCenter);
                }



                if (modMode3 == 3.1)
                {
                    data.vertHeight += perlin1.GetValue(data.directionFromCenter) * deformity * bill2.GetValue(data.directionFromCenter);
                }
                if (modMode3 == 3.2)
                {
                    data.vertHeight += perlin1.GetValue(data.directionFromCenter) * deformity * hyb2.GetValue(data.directionFromCenter);
                }
                if (modMode3 == 3.3)
                {
                    data.vertHeight += perlin1.GetValue(data.directionFromCenter) * deformity * perlin2.GetValue(data.directionFromCenter);
                }
                if (modMode3 == 3.4)
                {
                    data.vertHeight += perlin1.GetValue(data.directionFromCenter) * deformity * rig2.GetValue(data.directionFromCenter);
                }
                if (modMode3 == 3.5)
                {
                    data.vertHeight += perlin1.GetValue(data.directionFromCenter) * deformity * simplex2.noise(data.directionFromCenter);
                }
                if (modMode3 == 3.6)
                {
                    data.vertHeight += perlin1.GetValue(data.directionFromCenter) * deformity * vor2.GetValue(data.directionFromCenter);
                }



                if (modMode3 == 4.1)
                {
                    data.vertHeight += rig1.GetValue(data.directionFromCenter) * deformity * bill2.GetValue(data.directionFromCenter);
                }
                if (modMode3 == 4.2)
                {
                    data.vertHeight += rig1.GetValue(data.directionFromCenter) * deformity * hyb2.GetValue(data.directionFromCenter);
                }
                if (modMode3 == 4.3)
                {
                    data.vertHeight += rig1.GetValue(data.directionFromCenter) * deformity * perlin2.GetValue(data.directionFromCenter);
                }
                if (modMode3 == 4.4)
                {
                    data.vertHeight += rig1.GetValue(data.directionFromCenter) * deformity * rig2.GetValue(data.directionFromCenter);
                }
                if (modMode3 == 4.5)
                {
                    data.vertHeight += rig1.GetValue(data.directionFromCenter) * deformity * simplex2.noise(data.directionFromCenter);
                }
                if (modMode3 == 4.6)
                {
                    data.vertHeight += rig1.GetValue(data.directionFromCenter) * deformity * vor2.GetValue(data.directionFromCenter);
                }



                if (modMode3 == 5.1)
                {
                    data.vertHeight += simplex1.noise(data.directionFromCenter) * deformity * bill2.GetValue(data.directionFromCenter);
                }
                if (modMode3 == 5.2)
                {
                    data.vertHeight += simplex1.noise(data.directionFromCenter) * deformity * hyb2.GetValue(data.directionFromCenter);
                }
                if (modMode3 == 5.3)
                {
                    data.vertHeight += simplex1.noise(data.directionFromCenter) * deformity * perlin2.GetValue(data.directionFromCenter);
                }
                if (modMode3 == 5.4)
                {
                    data.vertHeight += simplex1.noise(data.directionFromCenter) * deformity * rig2.GetValue(data.directionFromCenter);
                }
                if (modMode3 == 5.5)
                {
                    data.vertHeight += simplex1.noise(data.directionFromCenter) * deformity * simplex2.noise(data.directionFromCenter);
                }
                if (modMode3 == 5.6)
                {
                    data.vertHeight += simplex1.noise(data.directionFromCenter) * deformity * vor2.GetValue(data.directionFromCenter);
                }



                if (modMode3 == 6.1)
                {
                    data.vertHeight += vor1.GetValue(data.directionFromCenter) * deformity * bill2.GetValue(data.directionFromCenter);
                }
                if (modMode3 == 6.2)
                {
                    data.vertHeight += vor1.GetValue(data.directionFromCenter) * deformity * hyb2.GetValue(data.directionFromCenter);
                }
                if (modMode3 == 6.3)
                {
                    data.vertHeight += vor1.GetValue(data.directionFromCenter) * deformity * perlin2.GetValue(data.directionFromCenter);
                }
                if (modMode3 == 6.4)
                {
                    data.vertHeight += vor1.GetValue(data.directionFromCenter) * deformity * rig2.GetValue(data.directionFromCenter);
                }
                if (modMode3 == 6.5)
                {
                    data.vertHeight += vor1.GetValue(data.directionFromCenter) * deformity * simplex2.noise(data.directionFromCenter);
                }
                if (modMode3 == 6.6)
                {
                    data.vertHeight += vor1.GetValue(data.directionFromCenter) * deformity * vor2.GetValue(data.directionFromCenter);
                }
                #endregion
                break;

            case Command.Divide:
                #region Divide
                if (modMode3 == 1.1)
                {
                    data.vertHeight += (bill1.GetValue(data.directionFromCenter) * deformity) / (bill2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 1.2)
                {
                    data.vertHeight += (bill1.GetValue(data.directionFromCenter) * deformity) / (hyb2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 1.3)
                {
                    data.vertHeight += (bill1.GetValue(data.directionFromCenter) * deformity) / (perlin2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 1.4)
                {
                    data.vertHeight += (bill1.GetValue(data.directionFromCenter) * deformity) / (rig2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 1.5)
                {
                    data.vertHeight += (bill1.GetValue(data.directionFromCenter) * deformity) / (simplex2.noise(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 1.6)
                {
                    data.vertHeight += (bill1.GetValue(data.directionFromCenter) * deformity) / (vor2.GetValue(data.directionFromCenter) * deformity);
                }



                if (modMode3 == 2.1)
                {
                    data.vertHeight += (hyb1.GetValue(data.directionFromCenter) * deformity) / (bill2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 2.2)
                {
                    data.vertHeight += (hyb1.GetValue(data.directionFromCenter) * deformity) / (hyb2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 2.3)
                {
                    data.vertHeight += (hyb1.GetValue(data.directionFromCenter) * deformity) / (perlin2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 2.4)
                {
                    data.vertHeight += (hyb1.GetValue(data.directionFromCenter) * deformity) / (rig2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 2.5)
                {
                    data.vertHeight += (hyb1.GetValue(data.directionFromCenter) * deformity) / (simplex2.noise(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 2.6)
                {
                    data.vertHeight += (hyb1.GetValue(data.directionFromCenter) * deformity) / (vor2.GetValue(data.directionFromCenter) * deformity);
                }



                if (modMode3 == 3.1)
                {
                    data.vertHeight += (perlin1.GetValue(data.directionFromCenter) * deformity) / (bill2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 3.2)
                {
                    data.vertHeight += (perlin1.GetValue(data.directionFromCenter) * deformity) / (hyb2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 3.3)
                {
                    data.vertHeight += (perlin1.GetValue(data.directionFromCenter) * deformity) / (perlin2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 3.4)
                {
                    data.vertHeight += (perlin1.GetValue(data.directionFromCenter) * deformity) / (rig2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 3.5)
                {
                    data.vertHeight += (perlin1.GetValue(data.directionFromCenter) * deformity) / (simplex2.noise(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 3.6)
                {
                    data.vertHeight += (perlin1.GetValue(data.directionFromCenter) * deformity) / (vor2.GetValue(data.directionFromCenter) * deformity);
                }



                if (modMode3 == 4.1)
                {
                    data.vertHeight += (rig1.GetValue(data.directionFromCenter) * deformity) / (bill2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 4.2)
                {
                    data.vertHeight += (rig1.GetValue(data.directionFromCenter) * deformity) / (hyb2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 4.3)
                {
                    data.vertHeight += (rig1.GetValue(data.directionFromCenter) * deformity) / (perlin2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 4.4)
                {
                    data.vertHeight += (rig1.GetValue(data.directionFromCenter) * deformity) / (rig2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 4.5)
                {
                    data.vertHeight += (rig1.GetValue(data.directionFromCenter) * deformity) / (simplex2.noise(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 4.6)
                {
                    data.vertHeight += (rig1.GetValue(data.directionFromCenter) * deformity) / (vor2.GetValue(data.directionFromCenter) * deformity);
                }



                if (modMode3 == 5.1)
                {
                    data.vertHeight += (simplex1.noise(data.directionFromCenter) * deformity) / (bill2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 5.2)
                {
                    data.vertHeight += (simplex1.noise(data.directionFromCenter) * deformity) / (hyb2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 5.3)
                {
                    data.vertHeight += (simplex1.noise(data.directionFromCenter) * deformity) / (perlin2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 5.4)
                {
                    data.vertHeight += (simplex1.noise(data.directionFromCenter) * deformity) / (rig2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 5.5)
                {
                    data.vertHeight += (simplex1.noise(data.directionFromCenter) * deformity) / (simplex2.noise(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 5.6)
                {
                    data.vertHeight += (simplex1.noise(data.directionFromCenter) * deformity) / (vor2.GetValue(data.directionFromCenter) * deformity);
                }



                if (modMode3 == 6.1)
                {
                    data.vertHeight += (vor1.GetValue(data.directionFromCenter) * deformity) / (bill2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 6.2)
                {
                    data.vertHeight += (vor1.GetValue(data.directionFromCenter) * deformity) / (hyb2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 6.3)
                {
                    data.vertHeight += (vor1.GetValue(data.directionFromCenter) * deformity) / (perlin2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 6.4)
                {
                    data.vertHeight += (vor1.GetValue(data.directionFromCenter) * deformity) / (rig2.GetValue(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 6.5)
                {
                    data.vertHeight += (vor1.GetValue(data.directionFromCenter) * deformity) / (simplex2.noise(data.directionFromCenter) * deformity);
                }
                if (modMode3 == 6.6)
                {
                    data.vertHeight += (vor1.GetValue(data.directionFromCenter) * deformity) / (vor2.GetValue(data.directionFromCenter) * deformity);
                }
                #endregion
                break;
            }
            //Ded.
        }