Surprise! We've been running on hardware provided by BuyVM for a few months and wanted to show them a little appreciation.
Running a paste site comes with unique challenges, ones that aren't always obvious and hard to control. As such, BuyVM offered us a home where we could worry less about the hosting side of things and focus on maintaining a clean and useful service! Go check them out and show them some love!
Submitted on November 20, 2014 at 11:30 PM

Section 1 (Text)

        public ActionResult nodescales(double headscale, double shoulderscale, double legscale, double waistscale, double breastscale)
        {
            //HEAD SCALING

            var head_x              = 1 + headscale;
            var head_cme_head_scale = head_x;

            //SHOULDER SCALING

            var should_x            = 1 + shoulderscale;
            var should_npcspine2    = should_x;//1 + shoulderscale;
            var should_head         = head_cme_head_scale / should_x;
            var should_wea_back     = 1 / should_x;
            var should_wea_bow      = 1 / should_x;
            var should_quiver       = 1 / should_x;
            var should_npcroot      = 120.5 / (29.1 * should_x + 91.4);

            //LEGS SCALING

            var leg_x       =   1 + legscale;
            var leg_lthigh  =   leg_x;
            var leg_rthigh  =   leg_x;
            var leg_lcalf   =   ((leg_x - 1) * 0.2 + 1);
            var leg_rcalf   =   leg_lcalf;
            var leg_pelv    =   leg_x;
            var leg_wea_dag =   leg_x;
            var leg_wea_axe =   leg_x;
            var leg_wea_swo =   leg_x;
            var leg_wea_mac =   leg_x;
            var leg_npc_com =   leg_x;
            var leg_npcroot =   should_npcroot + legscale;

            if (leg_x < 1)
            {
                leg_pelv = leg_x;
                leg_wea_dag = leg_x;
                leg_wea_axe = leg_x;
                leg_wea_swo = leg_x;
                leg_wea_mac = leg_x;
                leg_npc_com = (68.9113 / (Math.Pow(leg_x, 3) * 9.7 + Math.Pow(leg_x, 2) * 59.2113));
                leg_npcroot = (Math.Pow(leg_npcroot, 2) * 125 / (Math.Pow(leg_npcroot, 3) * 9.7 + Math.Pow(leg_npcroot, 2) * 59.2113 + 56.0887));
            }
            else
            {
                leg_pelv = 1;
                leg_wea_dag = 1;
                leg_wea_axe = 1;
                leg_wea_swo = 1;
                leg_wea_mac = 1;
                leg_npc_com = (68.9113 / (Math.Pow(leg_x, 2) * 9.7 + leg_x * 59.2113));
                leg_npcroot = (leg_npcroot * 125 / (Math.Pow(leg_npcroot, 2) * 9.7 + leg_npcroot * 59.2113 + 56.0887));
            }

            //WAIST SCALING

            var wai_x           =   1 + waistscale;
            var wai_cme_spi     =   wai_x;
            var wai_cme_spi_tx  =   (-waistscale) * (0);
            var wai_cme_spi_ty =    (-waistscale) * (15);
            var wai_cme_spi_tz =    (-waistscale) * (8.7487);
            var wai_cme_spi2    =   (1 / wai_x);
            var wai_cme_spi2_tx =   (-waistscale / (waistscale + 1)) * (0);
            var wai_cme_spi2_ty =   (-waistscale / (waistscale + 1)) * (-15);
            var wai_cme_spi2_tz =   (-waistscale / (waistscale + 1)) * (2);

            //BREAST SCALING

            var bre_x   =   1 + breastscale;
            var bre_l   =   bre_x;
            var bre_r   =   bre_x;


            ViewBag.head        =   head_cme_head_scale;
            ViewBag.spine2      =   should_npcspine2;
            ViewBag.head        =   should_head;
            ViewBag.weaback     =   should_wea_back;
            ViewBag.weabow      =   should_wea_bow;
            ViewBag.quiver      =   should_quiver;
            ViewBag.root        =   leg_npcroot;
            ViewBag.lthigh      =   leg_lthigh;
            ViewBag.rthigh      =   leg_rthigh; 
            ViewBag.lcalf       =   leg_lcalf;  
            ViewBag.rcalf       =   leg_rcalf;
            ViewBag.pelv        =   leg_pelv;
            ViewBag.wea_dag     =   leg_wea_dag;
            ViewBag.wea_axe     =   leg_wea_axe;
            ViewBag.wea_swo     =   leg_wea_swo;
            ViewBag.wea_mac     =   leg_wea_mac;
            ViewBag.npc_com     =   leg_npc_com;
            ViewBag.cme_spi     =   wai_cme_spi;
            ViewBag.cme_spi_tx  =   wai_cme_spi_tx;
            ViewBag.cme_spi_ty  =   wai_cme_spi_ty;
            ViewBag.cme_spi_tz  =   wai_cme_spi_tz;
            ViewBag.cme_spi2    =   wai_cme_spi2;
            ViewBag.cme_spi2_tx =   wai_cme_spi2_tx;
            ViewBag.cme_spi2_ty =   wai_cme_spi2_ty;
            ViewBag.cme_spi2_tz =   wai_cme_spi2_tz;
            ViewBag.bre_l       =   bre_l;
            ViewBag.bre_r       =   bre_r;

            return View("/Views/Forms/nodescales.cshtml");
        }