How to get percentages higher than 99 in with inverted percentage

Mountern

L1: Registered
Apr 5, 2019
3
0
I was editing my pop file and I wanted the Demomen to fire 3 times faster, however since fire rate bonus is an inverted percentage I couldn't figure out a way for the formula of (1.0 - x) * 100 to get a value higher than 99% since (1.0 - 0.01) * 100 equals 0.99 and you cant you much higher without using negative numbers. So I tried to put negative numbers into the attributes however that causing the firing speed to go spastic and fire like 100x faster. Can someone tell me how to get percentages higher than 99% using inverted percentages?

Code:
//This file has been generated by http://mvm.tf
//Copy this file in your tf/scripts/population folder
#base robot_giant.pop
#base robot_standard.pop
#base robot_gatebot.pop
population
{
    StartingCurrency    400
    RespawnWaveTime    6
    CanBotsAttackWhileInSpawnRoom    no
    AddSentryBusterWhenDamageDealtExceeds    10000
    Templates
    {
    }
    Mission
    {
        Objective    Spy
        Where    spawnbot
        BeginAtWave    1
        RunForThisManyWaves    1
        InitialCooldown    20
        CooldownTime    20
        DesiredCount    5
        TFBot
        {
                    Template    T_TFBot_Spy
        }
    }
    Mission
    {
        Objective    Sniper
        Where    spawnbot_mission_sniper
        BeginAtWave    3
        RunForThisManyWaves    1
        InitialCooldown    20
        CooldownTime    20
        DesiredCount    4
        TFBot
        {
                    Template    T_TFBot_Sniper
        }
    }
    Mission
    {
        Objective    Spy
        Where    spawnbot_mission_spy
        BeginAtWave    6
        RunForThisManyWaves    1
        InitialCooldown    20
        CooldownTime    20
        DesiredCount    5
        TFBot
        {
                    Template    T_TFBot_Spy
        }
    }
    Mission
    {
        Objective    Spy
        Where    spawnbot_mission_spy
        BeginAtWave    4
        RunForThisManyWaves    1
        InitialCooldown    15
        CooldownTime    20
        DesiredCount    5
        TFBot
        {
            Template    T_TFBot_Spy
        }
    }
    Mission
    {
        Objective    Sniper
        Where    spawnbot_mission_sniper
        BeginAtWave    6
        RunForThisManyWaves    1
        InitialCooldown    15
        CooldownTime    20
        DesiredCount    4
        TFBot
        {
            Template    T_TFBot_Sniper
        }
    }
    Wave
    {
        WaitWhenDone    65
        Checkpoint    Yes
        StartWaveOutput
        {
            Target    wave_start_relay
            Action    Trigger
        }
        DoneOutput
        {
            Target    wave_finished_relay
            Action    Trigger
        }
        WaveSpawn
        {
            Name    "Scunt"
            TotalCurrency    250
            TotalCount    50
            MaxActive    10
            SpawnCount    10
            WaitBeforeStarting    0
            WaitBetweenSpawns    10
            Where    spawnbot
            Squad
            {
                TFBot
                {
                    ClassIcon    scout
                    Health    125
                    Name    Scunt
                    Class    Scout
                    Skill    Expert
                    MaxVisionRange    500
                    BehaviorModifiers    Mobber
                    WeaponRestrictions    PrimaryOnly
                    Attributes    "AlwaysFireWeapon"
                    Item    "the force-a-nature"
                }
            }
        }
        WaveSpawn
        {
            Name    "Black Box"
            TotalCurrency    400
            TotalCount    20
            MaxActive    10
            SpawnCount    5
            WaitBeforeStarting    45
            WaitBetweenSpawns    10
            Where    spawnbot
            Squad
            {
                TFBot
                {
                    ClassIcon    soldier_blackbox
                    Health    200
                    Name    "Soldier Boyfriend"
                    Class    Soldier
                    Skill    Normal
                    WeaponRestrictions    PrimaryOnly
                    Attributes    "HoldFireUntilFullReload"
                    ItemAttributes
                    {
                        ItemName    "the black box"
                        "damage penalty"    0.33
                        "clip size bonus"    2
                        "projectile spread angle penalty"    3
                        "fire rate bonus"    2
                        "faster reload rate"    2
                    }
                    Item    "the black box"
                }
            }
        }
    }
    Wave
    {
        WaitWhenDone    65
        Checkpoint    Yes
        StartWaveOutput
        {
            Target    wave_start_relay
            Action    Trigger
        }
        DoneOutput
        {
            Target    wave_finished_relay
            Action    Trigger
        }
        WaveSpawn
        {
            TotalCurrency    400
            TotalCount    20
            MaxActive    10
            SpawnCount    4
            WaitBeforeStarting    20
            WaitBetweenSpawns    10
            Where    spawnbot
            Squad
            {
                TFBot
                {
                    ClassIcon    pyro
                    Health    175
                    Name    "WM1"
                    Class    Pyro
                    Skill    Normal
                    WeaponRestrictions    PrimaryOnly
                    Attributes    "SpawnWithFullCharge"
                    Item    "the phlogistinator"
                }
            }
        }
        WaveSpawn
        {
            TotalCurrency    400
            TotalCount    20
            MaxActive    10
            SpawnCount    4
            WaitBeforeStarting    45
            WaitBetweenSpawns    10
            Where    spawnbot
            Squad
            {
                TFBot
                {
                    ClassIcon    heavy_heater
                    Health    300
                    Name    "Putin"
                    Class    HeavyWeapons
                    Skill    Normal
                    Item    "the huo long heater"
                    Item    "the u-clank-a"
                }
            }
        }
        WaveSpawn
        {
            TotalCurrency    250
            TotalCount    50
            MaxActive    20
            SpawnCount    10
            WaitBeforeStarting    0
            WaitBetweenSpawns    10
            Where    spawnbot
            Squad
            {
                TFBot
                {
                    ClassIcon    scout
                    Health    125
                    Name    "Darth Vader"
                    Class    Scout
                    Skill    Normal
                    BehaviorModifiers    Mobber
                    WeaponRestrictions    MeleeOnly
                    Item    "batsaber"
                }
            }
        }
        WaveSpawn
        {
            TotalCurrency    250
            TotalCount    1
            MaxActive    1
            SpawnCount    1
            WaitBeforeStarting    60
            WaitBetweenSpawns    0
            Where    spawnbot_giant
            Squad
            {
                TFBot
                {
                    ClassIcon    heavy_crits
                    Health    5000
                    Name    "Mother Russia"
                    Scale    1.5
                    Class    HeavyWeapons
                    Skill    Hard
                    Tag    "bot_giant"
                    Attributes    "MiniBoss"
                    ItemAttributes
                    {
                        ItemName    "the iron curtain"
                        "damage bonus"    2
                        "fire rate bonus"    2
                    }
                    CharacterAttributes
                    {
                        "move speed penalty"    0.5
                    }
                    Item    "the iron curtain"
                    Item    "the u-clank-a"
                }
            }
        }
        WaveSpawn
        {
            TotalCurrency    50
            TotalCount    5
            MaxActive    5
            SpawnCount    5
            WaitBeforeStarting    60
            WaitBetweenSpawns    0
            Where    spawnbot_giant
            Squad
            {
                TFBot
                {
                    ClassIcon    medic_uber
                    Health    150
                    Name    "Medic Girlfriend"
                    Scale    1
                    Class    Medic
                    Skill    Normal
                    Attributes   "SpawnWithFullCharge"
                    ItemAttributes
                    {
                        ItemName    tf_weapon_medigun
                        "ubercharge rate bonus"   5
                        "uber duration bonus"     -3
                    }
                    ItemAttributes
                    {
                        ItemName    tf_weapon_syringegun_medic
                        "damage penalty"    0.1
                    }
                    CharacterAttributes
                    {
                        "heal rate bonus"  0.1
                    }
                }
            }
        }
    }
    Wave
    {
        WaitWhenDone    65
        Checkpoint    Yes
        StartWaveOutput
        {
            Target    wave_start_relay
            Action    Trigger
        }
        DoneOutput
        {
            Target    wave_finished_relay
            Action    Trigger
        }
        WaveSpawn
        {
            TotalCurrency    500
            TotalCount    1
            MaxActive    1
            SpawnCount    1
            WaitBeforeStarting    0
            WaitBetweenSpawns    10
            Where    spawnbot
            Squad
            {
                Tank
                {
                    Health    20000
                    Name    "M1 Abrams"
                    Speed    75
                    OnKilledOutput
                    {
                        Target    boss_dead_relay
                        Action    Trigger
                    }
                    OnBombDroppedOutput
                    {
                        Target    boss_deploy_relay
                        Action    Trigger
                    }
                }
            }
        }
        WaveSpawn
        {
            TotalCurrency    400
            TotalCount    10
            MaxActive    10
            SpawnCount    10
            WaitBeforeStarting    20
            WaitBetweenSpawns    10
            Support    1
            Where    spawnbot
            Squad
            {
                TFBot
                {
                    ClassIcon    scout
                    Health    125
                    Name    Minions
                    Class    Scout
                    Skill    Normal
                    BehaviorModifiers    Mobber
                }
            }
        }
    }
    Wave
    {
        WaitWhenDone    65
        Checkpoint    Yes
        StartWaveOutput
        {
            Target    wave_start_relay
            Action    Trigger
        }
        DoneOutput
        {
            Target    wave_finished_relay
            Action    Trigger
        }
        WaveSpawn
        {
            TotalCurrency    400
            TotalCount    4
            MaxActive    4
            SpawnCount    1
            WaitBeforeStarting    30
            WaitBetweenSpawns    20
            Where    spawnbot_giant
            Squad
            {
                TFBot
                {
                    ClassIcon    soldier
                    Health    4000
                    Name    "CRITS"
                    Scale    1.5
                    Class    Soldier
                    Skill    Hard
                    WeaponRestrictions    PrimaryOnly
                    Tag    "bot_giant"
                    Attributes    "AlwaysCrit"
                    Attributes    "HoldFireUntilFullReload"
                    Attributes    "MiniBoss"
                    ItemAttributes
                    {
                        ItemName    tf_weapon_rocketlauncher
                        "damage bonus"    2
                        "clip size bonus"    3
                        "projectile spread angle penalty"    5
                        "Projectile speed decreased"    0.50
                        "fire rate bonus"    -1
                    }
                    CharacterAttributes
                    {
                        "move speed penalty"    0.25
                    }
                }
                TFBot
                {
                    ClassIcon    medic_uber
                    Health    150
                    Name    "Medic Girlfriend"
                    Scale    1
                    Class    Medic
                    Skill    Normal
                    Attributes   "SpawnWithFullCharge"
                    ItemAttributes
                    {
                        ItemName    tf_weapon_medigun
                        "ubercharge rate bonus"   5
                        "uber duration bonus"     -3
                    }
                    ItemAttributes
                    {
                        ItemName    tf_weapon_syringegun_medic
                        "damage penalty"    0.1
                    }
                    CharacterAttributes
                    {
                        "heal rate bonus"  0.1
                    }
                }
            }
        }
        WaveSpawn
        {
            TotalCurrency    400
            TotalCount    3
            MaxActive    3
            SpawnCount    1
            WaitBeforeStarting    0
            WaitBetweenSpawns    20
            Where    spawnbot_giant
            Squad
            {
                TFBot
                {
                    ClassIcon    heavy_heater
                    Health    5000
                    Name    "Firestorm Heavy"
                    Scale    1.5
                    Class    HeavyWeapons
                    Skill    Hard
                    WeaponRestrictions    PrimaryOnly
                    Tag    "bot_giant"
                    Attributes    "MiniBoss"
                    ItemAttributes
                    {
                        ItemName    "the huo long heatmaker"
                        "dmg taken from fire reduced"    0.25
                        "damage bonus"    2
                        "fire retardant"    1
                        "set damagetype ignite"   1
                    }
                    CharacterAttributes
                    {
                        "move speed penalty"    0.5
                    }
                    Item    "the huo long heatmaker"
                    Item    "dragonborn helmet"
                }
                TFBot
                {
                    ClassIcon    medic_uber
                    Health    150
                    Name    "Medic Girlfriend"
                    Scale    1
                    Class    Medic
                    Skill    Normal
                    Attributes   "SpawnWithFullCharge"
                    ItemAttributes
                    {
                        ItemName    tf_weapon_medigun
                        "ubercharge rate bonus"   5
                        "uber duration bonus"     -3
                    }
                    ItemAttributes
                    {
                        ItemName    tf_weapon_syringegun_medic
                        "damage penalty"    0.1
                    }
                    CharacterAttributes
                    {
                        "heal rate bonus"  0.1
                    }
                }
            }
        }
        WaveSpawn
        {
            TotalCurrency    400
            TotalCount    50
            MaxActive    10
            SpawnCount    4
            WaitBeforeStarting    0
            WaitBetweenSpawns    10
            Where    spawnbot
            Squad
            {
                TFBot
                {
                    ClassIcon    demo_burst
                    Health    175
                    Name    "SPAM"
                    Class    Demoman
                    Skill    Normal
                    WeaponRestrictions    PrimaryOnly
                    Attributes "HoldFireUntilFullReload"
                    ItemAttributes
                    {
                        ItemName    tf_weapon_grenadelauncher
                        "damage penalty"    0.5
                        "clip size bonus"    5
                        "fire rate bonus"   -1
                        "faster reload rate"   -1
                        "projectile spread angle penalty"   5
                    }
                }
            }
        }
        WaveSpawn
        {
            TotalCurrency    250
            TotalCount    20
            MaxActive    2
            SpawnCount    4
            WaitBeforeStarting    30
            WaitBetweenSpawns    10
            Where    spawnbot
            Squad
            {
                TFBot
                {
                    Name    "I can fly"
                    Template    T_TFBot_Soldier_RocketPush
                }
            }
        }
    }
    Wave
    {
        WaitWhenDone    65
        Checkpoint    Yes
        StartWaveOutput
        {
            Target    wave_start_relay
            Action    Trigger
        }
        DoneOutput
        {
            Target    wave_finished_relay
            Action    Trigger
        }
        WaveSpawn
        {
            TotalCurrency    500
            TotalCount    3
            MaxActive    3
            SpawnCount    1
            WaitBeforeStarting    20
            WaitBetweenSpawns    20
            Where    spawnbot
            Squad
            {
                Tank
                {
                    Health    30000
                    Name    "Sherman"
                    Speed    75
                    Skin    1
                    OnKilledOutput
                    {
                        Target    boss_dead_relay
                        Action    Trigger
                    }
                    OnBombDroppedOutput
                    {
                        Target    boss_deploy_relay
                        Action    Trigger
                    }
                }
            }
        }
        WaveSpawn
        {
            TotalCurrency    400
            TotalCount    50
            MaxActive    4
            SpawnCount    5
            WaitBeforeStarting    0
            WaitBetweenSpawns    5
            Support    1
            Where    spawnbot
            Squad
            {
                TFBot
                {
                    ClassIcon    scout
                    Health    125
                    Name    "Darth Vader"
                    Class    Scout
                    Skill    Normal
                    BehaviorModifiers    Mobber
                    WeaponRestrictions    MeleeOnly
                    Item    "batsaber"
                }
            }
        }
    }
    Wave
    {
        WaitWhenDone    65
        Checkpoint    Yes
        StartWaveOutput
        {
            Target    wave_start_relay
            Action    Trigger
        }
        DoneOutput
        {
            Target    wave_finished_relay
            Action    Trigger
        }
        WaveSpawn
        {
            TotalCurrency    1000
            TotalCount    1
            MaxActive    1
            SpawnCount    1
            WaitBeforeStarting    0
            WaitBetweenSpawns    10
            Where    spawnbot_giant
            Squad
            {
                TFBot
                {
                    ClassIcon    heavy_shotgun
                    Health    60000
                    Name    "Big Boris"
                    Scale    2.1
                    Class    HeavyWeapons
                    Skill    Expert
                    WeaponRestrictions    SecondaryOnly
                    Tag    "bot_giant"
                    Attributes    "MiniBoss"
                    Attributes  "UseBossHealthBar"
                    ItemAttributes
                    {
                        ItemName    tf_weapon_shotgun_hwg
                        "damage bonus"    21
                        "clip size upgrade atomic"    -5
                        "weapon spread bonus"    -4
                        "reload time increased hidden"   5
                    }
                    CharacterAttributes
                    {
                        "move speed penalty"    0.25
                    }
                    Item    "daily duel winner reward hat"
                }
            }
        }
        WaveSpawn
        {
            TotalCurrency    400
            TotalCount    20
            MaxActive    1
            SpawnCount    10
            WaitBeforeStarting    15
            WaitBetweenSpawns    10
            Support    1
            Where    spawnbot
            Squad
            {
                TFBot
                {
                    ClassIcon    scout
                    Health    125
                    Name    "Darth Vader"
                    Class    Scout
                    Skill    Normal
                    BehaviorModifiers    Mobber
                    WeaponRestrictions    MeleeOnly
                    Item    "batsaber"
                }
            }
        }
    }
}
//This file has been generated by http://mvm.tf
 

Coding Ethan

L2: Junior Member
Oct 12, 2014
93
109
I don't know if I worked this out right, but I used Excel's goal seek (under What-If Analysis) and it came to an answer 0.97.
upload_2019-4-6_10-29-29.png


Edit: I re-ran it looking for 300 because I think I misunderstood and it says -2.
 

Trotim

aa
Jul 14, 2009
1,195
1,045
0.33 is 3x as fast, because it's a multiplier of the time inbetween shots