Beispiel #1
0
 public void Start()
 {
     lineDrawer           = new LineDrawer(0.02f);
     lineDrawer2          = new LineDrawer(0.02f);
     lineDrawer3          = new LineDrawer(0.02f);
     uiBox                = ModMenu.Instance.RegisterModMaker("ghfear", "GHFear");
     uiLabelRealisticVert = uiBox.AddLabel(LabelType.Toggle, "Realistic Vert (V)", Side.left, () => Main.enabled, Main.settings.realisticVert && Main.enabled, (b) => Main.settings.realisticVert = b, 1);
 }
Beispiel #2
0
 public void Start()
 {
     uiBox = ModMenu.Instance.RegisterModMaker("com.kiwi", "Kiwi");
     uiLabelRespawnNearBail = uiBox.AddLabel("respawn-near-bail", LabelType.Toggle, "Respawn Near Bail (R)", Side.left,
                                             () => Main.enabled, Main.settings.RespawnNearBail && Main.enabled,
                                             (b) => {
         Main.settings.RespawnNearBail = b;
         XLShredDataRegistry.SetData("kiwi.XLShredRespawnNearBail", "isRespawnNearBailActive", b);
     }
                                             );
 }
Beispiel #3
0
        public void Start()
        {
            uiBox             = ModMenu.Instance.RegisterModMaker("kubas121", "kubas121");
            uiLabelAutoSlowmo = uiBox.AddLabel(LabelType.Toggle, "Auto Slow Motion (S)", Side.left, () => Main.enabled, Main.settings.autoSlowmo && Main.enabled, (b) => Main.settings.autoSlowmo = b);

            ModMenu.Instance.RegisterTimeScaleTarget(Main.modId, () => {
                if (Main.enabled && Main.settings.autoSlowmo && !PlayerController.Instance.boardController.AllDown)
                {
                    return(0.6f);
                }
                return(1f);
            });
        }
Beispiel #4
0
        public void Start()
        {
            uiBox             = ModMenu.Instance.RegisterModMaker("commander_klepto", "Commander Klepto");
            uiLabelSlowMotion = uiBox.AddLabel(LabelType.Toggle, "Slow Motion (LB)", Side.right, () => Main.enabled, Main.settings.fixedSlowmo && Main.enabled, (b) => Main.settings.fixedSlowmo = b);

            ModMenu.Instance.RegisterTimeScaleTarget(Main.modId, () => {
                if (Main.enabled && Main.settings.fixedSlowmo)
                {
                    return(0.6f);
                }
                return(1f);
            });
        }
Beispiel #5
0
        public void AddLabel(String text, Side side, IsEnabled isEnabled, int priority = 0)
        {
            ModUILabel uiLabel = new ModUILabel {
                text      = text,
                isEnabled = isEnabled,
                priority  = priority
            };

            if (side == Side.left)
            {
                labelsLeft.Add(uiLabel);
            }
            else
            {
                labelsRight.Add(uiLabel);
            }
        }
 public void Start()
 {
     uiBox = ModMenu.Instance.RegisterModMaker("rafahel_mello", "Rafahel Mello");
     uiLabelDynamicCamera = uiBox.AddLabel(LabelType.Toggle, "Dynamic Camera (C)", Side.left, () => Main.enabled, Main.settings.CameraModActive && Main.enabled, (b) => Main.settings.CameraModActive = b, 0);
 }
Beispiel #7
0
 public void Start()
 {
     uiBox = ModMenu.Instance.RegisterModMaker("com.kiwi", "Kiwi");
     uiLabelDisablePushReduction = uiBox.AddLabel(LabelType.Toggle, "Disable Push Reduction (P)", Side.left, () => Main.enabled, Main.settings.disablePushReduction && Main.enabled, (b) => Main.settings.disablePushReduction = b);
 }
Beispiel #8
0
 public void Start()
 {
     uiBox = ModMenu.Instance.RegisterModMaker("rafahel_mello", "Rafahel Mello");
     uiLabelFixedSwitchFlipPositions = uiBox.AddLabel("switch-flip-trick-positions", LabelType.Toggle, "Switch Flip Trick Positions (M)", Side.right, () => Main.enabled, Main.settings.fixedSwitchFlipPositions && Main.enabled, (b) => Main.settings.fixedSwitchFlipPositions = b, 1);
     uiLabelRealisticFlipTricks      = uiBox.AddLabel("realistic-flip-tricks", LabelType.Toggle, "Realistic Flip Tricks (N)", Side.left, () => Main.enabled, Main.settings.realisticFlipTricks && Main.enabled, (b) => Main.settings.realisticFlipTricks = b, 1);
 }
Beispiel #9
0
 public void Start()
 {
     uiBox = ModMenu.Instance.RegisterModMaker("ghfear", "GHFear");
     uiLabelDisableAutocatch = uiBox.AddLabel("disable-autocatch", LabelType.Toggle, "Disable Autocatch (A)", Side.right, () => Main.enabled, Main.settings.disableAutocatch && Main.enabled, (b) => Main.settings.disableAutocatch = b, 0);
 }
 public void Start()
 {
     uiBox = ModMenu.Instance.RegisterModMaker("ghfear", "GHFear");
     uiLabelRealisticVert = uiBox.AddLabel("realistic-vert", LabelType.Toggle, "Realistic Vert (V)", Side.left, () => Main.enabled, Main.settings.realisticVert && Main.enabled, (b) => Main.settings.realisticVert = b, 1);
 }
 public void Start()
 {
     uiBox = ModMenu.Instance.RegisterModMaker("com.kiwi", "Kiwi");
     uiLabelRespawnNearBail = uiBox.AddLabel(LabelType.Toggle, "Respawn Near Bail (R)", Side.left, () => Main.enabled, Main.settings.respawnNearBail && Main.enabled, (b) => Main.settings.respawnNearBail = b);
 }
Beispiel #12
0
 public void Start()
 {
     uiBox = ModMenu.Instance.RegisterModMaker("rafahel_mello", "Rafahel Mello");
     uiLabelFasterGrindSpin = uiBox.AddLabel("faster-grind-spin", LabelType.Toggle, "Faster Grind Spin (G)", Side.left, () => Main.enabled, Main.settings.grindSpinVelocityEnabled && Main.enabled, (b) => Main.settings.grindSpinVelocityEnabled = b, 2);
     uiLabelFasterBodySpin  = uiBox.AddLabel("faster-body-spin", LabelType.Toggle, "Faster Body Spin (L)", Side.right, () => Main.enabled, Main.settings.spinVelocityEnabled && Main.enabled, (b) => Main.settings.spinVelocityEnabled = b, 2);
 }