Exemple #1
0
        public StreamMode(ModifierType _type, ModifierParams.Default _modifierParams, ModifierParams.StreamMode _streamModeParams)
        {
            type                   = _type;
            defaultParams          = _modifierParams;
            unhookChainsParams     = _streamModeParams;
            defaultParams.duration = _streamModeParams.duration;
            defaultParams.cooldown = _streamModeParams.cooldown;

            //speedToTicks.Add(64, 30);
            //speedToTicks.Add(48, 40);
            speedToTicks.Add(32, 60);

            speedToTicks.Add(30, 80);
            speedToTicks.Add(28, 80);
            speedToTicks.Add(26, 80);
            speedToTicks.Add(24, 80);

            speedToTicks.Add(22, 120);
            speedToTicks.Add(20, 120);
            speedToTicks.Add(18, 120);
            speedToTicks.Add(16, 120);

            speedToTicks.Add(14, 160);
            speedToTicks.Add(12, 160);

            speedToTicks.Add(10, 240);
            speedToTicks.Add(8, 240);

            speedToTicks.Add(6, 320);

            speedToTicks.Add(4, 480);
        }
Exemple #2
0
 private static void AssignValues()
 {
     generalParams          = new ModifierParams.General(enableCountdown, showOnScoreOverlay, allowScoreDisablingMods, useChannelPoints, cooldownBetweenModifiers, enableTwitchModifiers, maxActiveModifiers, showModStatus, disableForOst);
     speedParams            = new ModifierParams.Speed(speedEnabled, speedDuration, speedCooldown, minSpeed, maxSpeed);
     aimParams              = new ModifierParams.AimAssist(aimAssistEnabled, aimAssistDuration, aimAssistCooldown, minAimAssist);
     psychadeliaParams      = new ModifierParams.Psychedelia(psychedeliaEnabled, psychedeliaDuration, psychedeliaCooldown, minPsychedeliaSpeed, maxPsychedeliaSpeed);
     mineParams             = new ModifierParams.Mines(minesEnabled, minesDuration, minesCooldown);
     wobbleParams           = new ModifierParams.Wobble(wobbleEnabled, wombleEnabled, woobleEnabled, wroblEnabled, wobbleDuration, wobbleCooldown, wobbleMinSpeed, wobbleMaxSpeed);
     invisGunsParams        = new ModifierParams.InvisGuns(invisibleGunsEnabled, invisibleGunsDuration, invisibleGunsCooldown);
     particlesParams        = new ModifierParams.Particles(particlesEnabled, particlesDuration, particlesCooldown, minParticles, maxParticles);
     zOffsetParams          = new ModifierParams.ZOffset(zoffsetEnabled, zoffsetDuration, zoffsetCooldown, minZoffset, maxZoffset);
     betterMeleesParams     = new ModifierParams.BetterMelees(betterMeleesEnabled, betterMeleesDuration, betterMeleesCooldown);
     randomOffsetParams     = new ModifierParams.RandomOffset(randomOffsetEnabled, randomOffsetDuration, randomOffsetCooldown, minRandomOffsetX, maxRandomOffsetX, minRandomOffsetY, maxRandomOffsetY);
     scaleParams            = new ModifierParams.Scale(scaleEnabled, scaleDuration, scaleCooldown, minScale, maxScale);
     randomColorParams      = new ModifierParams.RandomColors(randomColorsEnabled, randomColorsDuration, randomColorsCooldown);
     colorSwapParams        = new ModifierParams.ColorSwap(colorSwapEnabled, colorSwapDuration, colorSwapCooldown);
     streamModeParams       = new ModifierParams.StreamMode(streamModeEnabled, streamModeDuration, streamModeCooldown, maxStreamSpeed);
     hiddenTelegraphsParams = new ModifierParams.HiddenTelegraphs(hiddenTelegraphsEnabled, hiddenTelegraphsDuration, hiddenTelegraphsCooldown);
     unifyColorsParams      = new ModifierParams.UnifyColors(unifyColorsEnabled, unifyColorsDuration, unifyColorsCooldown);
     //timingAttackParams = new ModifierParams.TimingAttack(timingAttackEnabled, timingAttackDuration, timingAttackCooldown);
     //nukeParams = new ModifierParams.Nuke(nukeEnabled, nukeDuration, nukeCooldown);
     stutterChainParams = new ModifierParams.StutterChains(stutterChainsEnabled, stutterChainsDuration, stutterChainsCooldown, stutterChainsMin, stutterChainsMax);
     //bopModeParams = new ModifierParams.BopMode(bopModeEnabled, bopModeDuration, bopModeCooldown);
 }