I am getting errors which prevent my mvm mission from starting

Discussion in 'Mapping Questions & Discussion' started by Asd417, May 30, 2017.

  1. Asd417

    aa Asd417 L1: Registered

    Messages:
    645
    Positive Ratings:
    450
    This is the error log
    Code:
    KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file scripts/population/robot_celnium.pop
    WaveSchedule, templates, T_TFBot_Pyro_Beesmoker, ItemAttributes,
    KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file scripts/population/robot_celnium.pop
    WaveSchedule, templates, T_TFBot_Giant_Pyro_Beesmoker, ItemAttributes,
    KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file scripts/population/robot_celnium.pop
    WaveSchedule, templates, T_TFBot_Heavy_Hardworking, ItemAttributes,
    KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file scripts/population/robot_celnium.pop
    WaveSchedule, templates, T_TFBot_Giant_Heavy_Hardworking, ItemAttributes,
    KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file
    WaveSchedule, (*mission*), (*wave*), (*WaveSpawn*), (*TFBot*), (*template*), (*OnBombDroppedOutput*),
    Invalid Where argument 'spawnbot_mission_sentrybuster'
    Unknown attribute 'where' in Mission definition.
    Invalid Where argument 'spawnbot_mission_sniper'
    Unknown attribute 'where' in Mission definition.
    Invalid Where argument 'spawnbot_mission_spy'
    
    And this is the pop file
    Code:
    WaveSchedule
    {
        Templates
        {
            T_TFBot_Soldier_Cowboy
            {
                Name "Cowboy Soldier"
                Class Soldier
                Skill Hard
                Health 200
                ClassIcon soldier_d
                WeaponRestrictions MeleeOnly
                Item "The Disciplinary Action"
                Item "The Hat with no name"
                ItemAttributes
                {
                    ItemName "The Disciplinary Action"
                    "damage bonus" 2
                }
            }
            T_TFBot_Giant_Soldier_Cowboy
            {
                Name "Giant Cowboy Soldier"
                Class Soldier
                Skill Expert
                Health 5000
                ClassIcon soldier_d_giant
                WeaponRestrictions MeleeOnly
                Item "The Disciplinary Action"
                Item "The Hat with no name"
                Attributes MiniBoss
                ItemAttributes
                {
                    ItemName "The Disciplinary Action"
                    "critboost on kill" 5
                    "damage bonus" 2
                }
                CharacterAttributes
                {
                    "move speed bonus" 1.1
                }
            }
            T_TFBot_Pyro_Beesmoker
            {
                Name "Bee Smoker Pyro"
                Class Pyro
                Skill Hard
                Health 175
                ClassIcon pyro
                WeaponRestrictions PrimaryOnly
                Item "The Hive Minder"
                ItemAttributes
                {
                    ItemName "TF_WEAPON_FLAMETHROWER"
                    "clip size bonus" 3
                    "airblast disabled"
                }
            }
            T_TFBot_Giant_Pyro_Beesmoker
            {
                Name "Giant Bee Smoker Pyro"
                Class Pyro
                Skill Hard
                Health 5000
                ClassIcon pyro_giant
                WeaponRestrictions PrimaryOnly
                Item "The Hive Minder"
                Attributes MiniBoss
                ItemAttributes
                {
                    ItemName "TF_WEAPON_FLAMETHROWER"
                    "damage bonus" 1.5
                    "clip size bonus" 3
                    "airblast disabled"
                }
            }
            T_TFBot_Heavy_Hardworking
            {
                Name "Hard-Working Heavy"
                Class Heavy
                Skill Hard
                Health 300
                ClassIcon heavy_champ
                WeaponRestrictions MeleeOnly
                MaxVisionRange 600
                Item "The Toss-proof Towel"
                ItemAttributes
                {
                    ItemName "TF_WEAPON_FISTS"
                    "damage bonus" 1.1
                    "heal on kill"
                }
            }
            T_TFBot_Giant_Heavy_Hardworking
            {
                Name "Giant Hard-Working Heavy"
                Class Heavy
                Skill Hard
                Health 5000
                ClassIcon heavy_champ_giant
                WeaponRestrictions MeleeOnly
                MaxVisionRange 600
                Item "The Toss-proof Towel"
                Attributes MiniBoss
                ItemAttributes
                {
                    ItemName "TF_WEAPON_FISTS"
                    "damage bonus" 1.1
                    "heal on kill"
                }
                CharacterAttributes
                {
                    "move speed bonus" 1.1
                }
            }
            T_TFBot_Engineer_Sentryfarmer
            {
                Name "Sentry Farmer Engineer"
                Class Engineer
                Skill Hard
                Health 125
                ClassIcon engineer
                Item "The Last Straw"
                Item "The Grizzled Growth"
            }
            T_TFBot_Demoman_Gentleman
            {
                Name "Gentle'Demo'man"
                Class Demoman
                Health 175
                ClassIcon demoman
                Item "The Scotsmans's Stove Pipe"
            }
            T_TFBot_Giant_Demoman_Gentleman
            {
                Name "More Gentle'Demo'man"
                Class Demoman
                Health 5000
                ClassIcon demoman
                Item "The Scotsmans's Stove Pipe"
                Attributes MiniBoss
            }
        }
    }
    When I load in my map, it does not show the bot icons.
    Can you figure out what is wrong with my code?
    Thanks
     
  2. taxicat

    taxicat L1: Registered

    Messages:
    43
    Positive Ratings:
    86
    This is just a guess; have you tried changing

    Code:
    "airblast disabled"
    ...
    "heal on kill"
    to
    Code:
    "airblast disabled" 1
    ...
    "heal on kill" 5000 // or some amount
     
    • Thanks Thanks x 1
  3. Freyja

    aa Freyja But why?

    Messages:
    2,772
    Positive Ratings:
    4,434
    Also giving a bonus clip size to the pyros with the flamethrower won't do anything, bots get unlimited ammo as it is
     
    • Thanks Thanks x 1
  4. Asd417

    aa Asd417 L1: Registered

    Messages:
    645
    Positive Ratings:
    450
    I've done what you've said and it surely did clean up number of errors but there are still some errors.
    Code:
    Dead end link: tank_right_spawn15
    KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file
    WaveSchedule, (*mission*), (*wave*), (*WaveSpawn*), (*TFBot*), (*template*), (*OnBombDroppedOutput*),
    Invalid Where argument 'spawnbot_mission_sentrybuster'
    Unknown attribute 'where' in Mission definition.
    Invalid Where argument 'spawnbot_mission_sniper'
    Unknown attribute 'where' in Mission definition.
    Invalid Where argument 'spawnbot_mission_spy'
    Unknown attribute 'where' in Mission definition.
    Unknown attribute 'wave' in Mission definition.
    Unknown attribute 'wave' in Mission definition.
    Unknown attribute 'wave' in Mission definition.
    Unknown attribute 'wave' in Mission definition.
    Unknown attribute 'wave' in Mission definition.
    Unknown attribute 'wave' in Mission definition.
    Unknown attribute 'wave' in Mission definition.
    Unknown attribute 'wave' in Mission definitio
    The script is same but with the modifications you've suggested.
    The wave still does not work
     
  5. Asd417

    aa Asd417 L1: Registered

    Messages:
    645
    Positive Ratings:
    450
    Code:
    Mission
        {
            where spawnbot
            Objective Engineer
            InitialCooldown 30
            BeginAtWave 7
            RunForThisManyWaves 2
            CooldownTime 15
            DesiredCount 2
           
            TFBot
            {
                Template T_TFBot_Engineer_Sentryfarmer
            }
       
        Wave
        {
            StartWaveOutput
            {
    캡처.PNG


    캡처1.PNG

    thanks guys
     
  6. Asd417

    aa Asd417 L1: Registered

    Messages:
    645
    Positive Ratings:
    450
    btw Are there specific names of spawnpoints I need to use?
    For example, when I put spawnbot_topleft as a spawnpoint, bots dont spawn but when I put it as spawnbot it works.
    Where can I find the list of names I need to use for spawnpoints?
     
  7. henke37

    aa henke37

    Messages:
    1,737
    Positive Ratings:
    380
    You are free to name the spawnpoints in the map anything you like. Just match it up in the population script.
     
  8. Asd417

    aa Asd417 L1: Registered

    Messages:
    645
    Positive Ratings:
    450
    I got a new issue
    Its a long pop file but if you could find me the errors, I would be grateful

    This is the error log
    Code:
    KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file scripts/population/robot_ripe.pop
    WaveSchedule, templates, T_TFBot_Sniper_Pissmaker, 30, (*CharacterAttributes*),
    KeyValues Error: LoadFromBuffer: missing { in file scripts/population/robot_ripe.pop
    (*WaveSchedule*), (*T_TFBot_Medic_Rural_Doctor_Blast*), (*ItemAttributes*), (*damage penalty*), (*CharacterAttributes*),
    KeyValues Error: RecursiveLoadFromBuffer:  got } in key in file
    WaveSchedule, wave, WaveSpawn, nav_prefer_middle, (*RandomChoice*), (*TFBot*),
    KeyValues Error: LoadFromBuffer: missing { in file
    (*wave*), (*WaveSpawn*), (*Squad*), (*TFBot*), (*template*), (*CharacterAttributes*),
    TFBotSpawner: Unknown field '{'
    Warning reading TFBot spawner definition
    Unknown attribute 'TFBot' in Mission definition.
    TFBotSpawner: Unknown field '{'
    Warning reading TFBot spawner definition
    Unknown attribute 'TFBot' in Mission definition.
    Invalid Where argument 'spawnbotbot_mission_engineer'
    Unknown attribute 'Where' in Mission definition.
    Unknown attribute '3' in WaveSpawn definition.
    Unknown attribute '2' in WaveSpawn definition.
    Unknown attribute '10' in WaveSpawn definition.
    Unknown attribute '20' in WaveSpawn definition.
    Unknown attribute '1' in WaveSpawn definition.
    Unknown attribute '280' in WaveSpawn definition.
    Unknown attribute '{' in WaveSpawn definition.
    Unknown attribute 'T_TFBot_Giant_Pyro_Beesmoker' in WaveSpawn definition.
    Unknown attribute 'nav_prefer_middle' in WaveSpawn definition.
    Invalid populator 'T_TFBot_Medic_Rural_Doctor_Bullet'
    Parse Failed in CPopulationManager::Initialize for scripts/population/mvm_ripe_a4.pop

    here's robot_ripe.pop
    Code:
    WaveSchedule
    {
        Templates
        {
            T_TFBot_Soldier_Cowboy
            {
                Name "Cowboy Soldier"
                Class Soldier
                Skill Hard
                Health 200
                ClassIcon soldier
                WeaponRestrictions MeleeOnly
                Item "The Disciplinary Action"
                ItemAttributes
                {
                    ItemName "The Disciplinary Action"
                    "damage bonus" 2
                }
            }
            T_TFBot_Giant_Soldier_Cowboy
            {
                Name "Ace-High Cowboy Soldier"
                Class Soldier
                Skill Expert
                Health 5000
                ClassIcon soldier_giant
                WeaponRestrictions MeleeOnly
                Item "The Disciplinary Action"
                Item "The Hat with no name"
                Attributes MiniBoss
                ItemAttributes
                {
                    ItemName "The Disciplinary Action"
                    "critboost on kill" 5
                    "damage bonus" 2
                }
                CharacterAttributes
                {
                    "damage force reduction" 0.4
                    "airblast vulnerability multiplier" 0.4
                    "override footstep sound set" 3
                }
            }
            T_TFBot_Pyro_Beesmoker
            {
                Name "Bee Smoker Pyro"
                Class Pyro
                Skill Hard
                Health 175
                ClassIcon pyro
                WeaponRestrictions PrimaryOnly
                Item "The Hive Minder"
                ItemAttributes
                {
                    ItemName "TF_WEAPON_FLAMETHROWER"
                    "airblast disabled" 1
                }
            }
            T_TFBot_Giant_Pyro_Beesmoker
            {
                Name "Giant Bee Smoker Pyro"
                Class Pyro
                Skill Hard
                Health 5000
                ClassIcon pyro_giant
                WeaponRestrictions PrimaryOnly
                Item "The Hive Minder"
                Attributes MiniBoss
                ItemAttributes
                {
                    ItemName "TF_WEAPON_FLAMETHROWER"
                    "damage bonus" 1.5
                    "airblast disabled" 1
                    "move speed bonus" 0.4
                    "damage force reduction" 0.4
                    "airblast vulnerability multiplier" 0.4
                    "override footstep sound set" 3
                }
            }
            T_TFBot_Heavy_Hardworking
            {
                Name "Hard-Working Heavy"
                Class Heavy
                Skill Hard
                Health 300
                ClassIcon heavy_champ
                WeaponRestrictions MeleeOnly
                MaxVisionRange 600
                Item "The Titanium Towel"
                ItemAttributes
                {
                    ItemName "TF_WEAPON_FISTS"
                    "damage bonus" 1.1
                    "heal on kill" 3000
                }
            }
           
            T_TFBot_Giant_Heavy_Hardworking
            {
                Name "Giant Hard-Working Heavy"
                Class Heavy
                Skill Hard
                Health 5000
                ClassIcon heavy_champ_giant
                WeaponRestrictions MeleeOnly
                MaxVisionRange 600
                Item "The Titanium Towel"
                Attributes MiniBoss
                ItemAttributes
                {
                    ItemName "TF_WEAPON_FISTS"
                    "damage bonus" 1.1
                    "heal on kill" 4000
                    "move speed bonus" 0.4
                    "damage force reduction" 0.4
                    "airblast vulnerability multiplier" 0.4
                    "override footstep sound set" 3
                }
                CharacterAttributes
                {
                    "move speed bonus" 1.1
                }
            }
           
            T_TFBot_Engineer_Sentryfarmer
            {
                Name "Sentry Farmer Engineer"
                Class Engineer
                Skill Hard
                Health 125
                ClassIcon engineer
                Item "The Last Straw"
                Item "The Grizzled Growth"
            }
           
            T_TFBot_Heavy_Graywolf
            {
                Name "Gray Wolf Heavy"
                Class Heavy
                Skill Hard
                Health 300
                ClassIcon heavy
                Item "The K-9 Mane"
                ItemAttributes
                {
                    ItemName "TF_WEAPON_MINIGUN"
                    "weapon spread penalty" 50
                }   
            }
           
            T_TFBot_Heavy_Graywolf_Giant
            {
                Name "Alpha Wolf Heavy"
                Class Heavy
                Health 50000
                Skill Hard
                ClassIcon heavy_giant
                Item "The K-9 Mane"
                Item "The Die Regime-Panzerung"
                Attributes UseBossHealthBar
                Attributes MiniBoss
                WeaponRestrictions PrimaryOnly
                ItemAttributes
                {
                    ItemName "TF_WEAPON_MINIGUN"
                    "weapon spread penalty" 50
                    "damage bonus" 0.5   
                }   
                CharacterAttributes
                {
                    "move speed bonus"    0.5
                    "damage force reduction" 0.4
                    "airblast vulnerability multiplier" 0.4
                    "override footstep sound set" 3
                    "increase buff duration"    9.0
                    "airblast vertical vulnerability multiplier" 0.1
                    "rage giving scale"    0.1
                }
            }
       
            T_TFBot_Soldier_Airsupport
            {
                Name "Air Support Soldier"
                Class Soldier
                Skill Hard
                Health 200
                ClassIcon Soldier
                Item "The Jumper's Jeepcap"
                Item "The B.a.s.e Jumper"
            }
           
            T_TFBot_Sniper_Pissmaker
            {
                Name "The PissMaker"
                Class Sniper
                Skill Expert
                Health 125
                ClassIcon sniper_sydneysleeper
                Item "The Sydney Sleeper"
                {
                    ItemName "The Sydney Sleeper"
                    "damage penalty" 0.1
                    "fire rate penalty" 30
                }
            }
           
            T_TFBot_Medic_Rural_Doctor_Bullet
            {
                Name "Rural Doctor"
                Class Medic
                Skill Expert
                ClassIcon medic_bullet
                Item "The Vaccinator MVM"
                Item "The Virus Doctor"
                Item "The Byte'd Beak"
                Attributes SpawnWithFullCharge
                Attributes VaccinatorBullets
                CharacterAttributes
                {
                    "ubercharge rate bonus" 25
                    "heal rate bonus" 1 //Leaving default for now
                    "uber duration bonus" 100
                    "medigun bullet resist passive" 1
                    "medigun bullet resist deployed" 1
                }
                ItemAttributes
                {
                    ItemName "TF_WEAPON_SYRINGEGUN_MEDIC"
                    "damage penalty" 0.1
                }
            }
            T_TFBot_Medic_Rural_Doctor_Blast
            {
                Name "Rural Doctor"
                Class Medic
                Skill Expert
                ClassIcon medic_blast
                Item "The Vaccinator MVM"
                Item "The Virus Doctor"
                Item "The Byte'd Beak"
                Attributes SpawnWithFullCharge
                Attributes VaccinatorBlast
                CharacterAttributes
                {
                    "ubercharge rate bonus" 25
                    "heal rate bonus" 1 //Leaving default for now
                    "uber duration bonus" 100
                    "medigun blast resist passive" 1
                    "medigun blast resist deployed" 1
                }
                ItemAttributes
                {
                    ItemName "TF_WEAPON_SYRINGEGUN_MEDIC"
                    "damage penalty" 0.1
                }
            }
        }
    }
    Here's mvm_ripe_a4.pop
    Code:
    #base robot_giant.pop
    #base robot_standard.pop
    #base robot_ripe.pop
    
    WaveSchedule
    {
    
        StartingCurrency        400
        RespawnWaveTime         7
        CanBotsAttackWhileInSpawnRoom no
        Advanced    1
    
        Mission // sentry buster
        {
            Objective DestroySentries
    
            InitialCooldown 5
            Where spawnbot
            BeginAtWave 1
            RunForThisManyWaves 8
    
            CooldownTime 20           
    
            TFBot
            {
                Template T_TFBot_SentryBuster
            }
        }
        Mission // Sniper - wave 4
        {
            Objective Sniper
    
            InitialCooldown 35
            Where spawnbot_mission_sniper
            BeginAtWave 4
            RunForThisManyWaves 1
            CooldownTime 35
            DesiredCount 5
    
            TFBot
            {
                Class Sniper
                Skill Expert
                Name Sniper
                MaxVisionRange 3000
            }
        }   
        Mission // Sniper - wave 6 - 7
        {
            Objective Sniper
    
            InitialCooldown 35
            Where spawnbot_mission_sniper
            BeginAtWave 6
            RunForThisManyWaves 2
            CooldownTime 35
            DesiredCount 5
    
            TFBot
            {
                Template T_TFBot_Sniper_Pissmaker
            }
        }       
        Mission // Sniper - wave 8
        {
            Objective Sniper
    
            InitialCooldown 35
            Where spawnbot_mission_sniper
            BeginAtWave 8
            RunForThisManyWaves 1
            CooldownTime 10
            DesiredCount 2
    
            TFBot
            {
                Template T_TFBot_Sniper_Pissmaker
            }
        }       
        Mission // Spy - wave 2
        {
            Objective Spy 
    
            InitialCooldown 5
            Where spawnbot_mission_spy
            BeginAtWave 2
            RunForThisManyWaves 1
            CooldownTime 15
            DesiredCount 4
    
            TFBot
            {
                Class Spy
                Skill Expert
                Name Spy
            }
        }   
        Mission // Spy - wave 4
        {
            Objective Spy 
    
            InitialCooldown 35
            Where spawnbot_mission_spy
            BeginAtWave 4
            RunForThisManyWaves 1
            CooldownTime 30
            DesiredCount 4
    
            TFBot
            {
                Class Spy
                Skill Expert
                Name Spy
            }
        }       
        Mission // Spy - wave 6
        {
            Objective Spy 
    
            InitialCooldown 25
            Where spawnbot_mission_spy
            BeginAtWave 6
            RunForThisManyWaves 1
            CooldownTime 60
            DesiredCount 4
    
            TFBot
            {
                Class Spy
                Skill Expert
                Name Spy
            }
        }
        Mission // Engineer - wave 3
        {
            Objective Engineer
           
            InitialCooldown 30
            Where spawnbotbot_mission_engineer
            BeginAtWave 3
            RunForThisManyWaves 1
            DesiredCount 3
           
            TFBot
            {
                Template T_TFBot_Engineer_Sentryfarmer
            }
        }
        //WAVE 1 //Currency 600 ///////////////////////////////////////////////////////////////////////////////////////////////////////
        Wave
        {
            StartWaveOutput
            {
                Target wave_start_relay
                Action Trigger
            }
            DoneOutput                   
            {
                Target wave_finished_relay
                Action trigger
            }
            WaitWhenDone 65
            Checkpoint Yes
           
            WaveSpawn 
            {
                Where spawnbot_middle
                Name w1_1
                TotalCount 8
                MaxActive 8
                WaitBeforeStarting 0
                WaitBetweenSpawns 0
                SpawnCount 8
                TotalCurrency 20
    
                TFBot
                {
                    Template T_TFBot_Pyro_Beesmoker
                    Tag nav_prefer_middle
                }
            }
            WaveSpawn
            {
                Where spawnbot_right
                Name w1_2
                TotalCount 80
                MaxActive 22
                WaitBeforeStarting 15
                WaitBetweenSpawns 2
                SpawnCount 2
                TotalCurrency 300
               
                RandomChoice
                {
                    TFBot
                    {
                        Template T_TFBot_Pyro_Beesmoker
                        Tag nav_prefer_middle
                    }
                    TFBot
                    {
                        Template T_TFBot_Pyro_Beesmoker
                        Tag nav_prefer_middle
                    }
                    TFBot
                    {
                        Template T_TFBot_Pyro_Beesmoker
                        Tag nav_prefer_middle
                    }
                    TFBot
                    {
                        Template T_TFBot_Pyro_Beesmoker
                        Tag nav_prefer_middle
                    }
                    TFBot
                    {
                        Template T_TFBot_Heavy_Hardworking
                        Skill Hard
                        Tag nav_prefer_flank_right
                        BehaviorModifiers push
                    }
                    TFBot
                    {
                        Template T_TFBot_Heavy_Hardworking
                        Tag nav_prefer_flank_right
                        BehaviorModifiers push
                    }
                    TFBot
                    {
                        Template T_TFBot_Heavy_Hardworking
                        Skill Hard
                        Tag nav_prefer_flank_left
                        BehaviorModifiers push
                    }
                    TFBot
                    {
                        Template T_TFBot_Heavy_Hardworking
                        Skill Hard
                        Tag nav_prefer_flank_left
                        BehaviorModifiers push
                    }
                }
            }
            WaveSpawn
            {
                Where spawnbot_giant
                Name
                TotalCount 3
                MaxActive 2
                WaitBeforeStarting 10
                WaitBetweenSpawns 20
                SpawnCount 1
                TotalCurrency 280
    
                TFBot
                {
                    Template T_TFBot_Giant_Pyro_Beesmoker
                    Tag nav_prefer_middle
                }
            }
        }
        //WAVE 2 //Currency 600 ///////////////////////////////////////////////////////////////////////////////////////////////////////
        Wave
        {
            StartWaveOutput
            {
                Target wave_start_relay
                Action Trigger
            }
            DoneOutput                   
            {
                Target wave_finished_relay
                Action trigger
            }
            WaitWhenDone 65
            Checkpoint Yes
           
            WaveSpawn
            {
                Where spawnbot
                TotalCount 96
                MaxActive 16
                SpawnCount 8
                WaitBeforeStarting 0
                WaitBetweenSpawns 1
                TotalCurrency 600
               
                RandomChoice
                {
                    TFBot
                    {
                        Template T_TFBot_Sniper_Huntsman
                    }
                    TFBot
                    {
                        Template T_TFBot_Sniper_Huntsman
                    }
                    TFBot
                    {
                        Template T_TFBot_Sniper_Huntsman
                        Tag nav_prefer_flank_right
                        BehaviorModifiers push
                    }
                    TFBot
                    {
                        Template T_TFBot_Sniper_Huntsman
                        Tag nav_prefer_flank_left
                        BehaviorModifiers push
                    }
                }
            }
        }
        //WAVE 3 //Currency 450 ///////////////////////////////////////////////////////////////////////////////////////////////////////
        Wave
        {
            StartWaveOutput
            {
                Target wave_start_relay
                Action Trigger
            }
            DoneOutput                   
            {
                Target wave_finished_relay
                Action trigger
            }
            WaitWhenDone 65
            Checkpoint Yes   
    
            WaveSpawn
            {
                Where spawnbot
                TotalCount 48
                MaxActive 12
                SpawnCount 12
                WaitBeforeStarting 5
                TotalCurrency 350
               
                RandomChoice
                {
                    TFBot
                    {
                        Class Soldier
                        Skill Easy
                    }
                    TFBot
                    {
                        Class Soldier
                        Skill Easy
                    }
                    TFBot
                    {
                        Class Soldier
                        Skill Easy
                    }
                    TFBot
                    {
                        Class Soldier
                        Skill Easy
                    }
                    TFBot
                    {
                        Class Soldier
                        Skill Easy
                    }
                    TFBot
                    {
                        Class Soldier
                        Skill Easy
                    }
                    TFBot
                    {
                        Class Soldier
                        Skill Easy
                        Tag nav_prefer_flank_right
                        BehaviorModifiers push
                    }
                    TFBot
                    {
                        Class Soldier
                        Skill Easy
                        Tag nav_prefer_flank_left
                        BehaviorModifiers push
                    }
                }
            }
            WaveSpawn
            {
               
                Where spawnbot
                TotalCount 6
                MaxActive 2
                WaitBeforeStarting 0
                WaitBetweenSpawns 20
                TotalCurrency 100       
               
                TFBot
                {
                    Template T_TFBot_Giant_Scout_Fast
                }
            }
        }
        //WAVE 4 //Currency 400 ///////////////////////////////////////////////////////////////////////////////////////////////////////
        Wave
        {
            StartWaveOutput
            {
                Target wave_start_relay
                Action Trigger
            }
            DoneOutput                   
            {
                Target wave_finished_relay
                Action trigger
            }
            WaitWhenDone 65
            Checkpoint Yes   
           
            WaveSpawn
            {
                Where spawnbot_single_flag
                TotalCount 1
                MaxActive 1
                SpawnCount 1
                WaitBetweenSpawns 1
                WaitBeforeStarting 0
                TotalCurrency 5
               
                TFBot
                {
                    Template T_TFBot_Heavyweapons_Heavyweight_Champ           
                }
            }   
            WaveSpawn
            {
                Where spawnbot_giant
                TotalCount 8
                MaxActive 4
                SpawnCount 4
                WaitBetweenSpawns 10
                WaitBeforeStarting 15
                TotalCurrency 40
               
                TFBot
                {
                    Template T_TFBot_Heavy_Graywolf_Giant       
                }
            }
            WaveSpawn
            {
                Where spawnbot_invasion
                TotalCount 79
                MaxActive 16
                SpawnCount 1
                WaitBetweenSpawns 1
                WaitBeforeStarting 1
                RandomSpawn 1
                TotalCurrency 355
               
                TFBot
                {
                    Template T_TFBot_Heavyweapons_Heavyweight_Champ           
                }
            }
        }
        //WAVE 5 //Currency 450 ///////////////////////////////////////////////////////////////////////////////////////////////////////
        Wave
        {
            StartWaveOutput
            {
                Target wave_start_relay
                Action Trigger
            }
            DoneOutput                   
            {
                Target wave_finished_relay
                Action trigger
            }
            WaitWhenDone 65
            Checkpoint Yes
           
            WaveSpawn
            {
                TotalCount 1
                WaitBeforeStarting 0
                TotalCurrency 200
    
                FirstSpawnOutput                                                                                                                                                           
                {
                    Target boss_spawn_relay                                           
                    Action Trigger                         
                }
    
                Tank
                {
                    Health 50000
                    Speed 75
                    Name "boss"
                    StartingPathTrackNode "tank_right_spawn"
    
                    OnKilledOutput                                 
                    {
                        Target boss_dead_relay
                        Action Trigger                         
                    }
                   
                    OnBombDroppedOutput                             
                    {
                        Target boss_deploy_relay
                        Action Trigger                         
                    }
    
                }           
            }   
            WaveSpawn
            {
                Where spawnbot
                TotalCount 24
                MaxActive 6
                SpawnCount 6
                WaitBeforeStarting 6
                TotalCurrency 100
               
                Support 1
               
                RandomChoice
                {
                    TFBot
                    {
                        Class Soldier
                        Skill Easy
                    }
                    TFBot
                    {
                        Class Soldier
                        Skill Easy
                    }
                    TFBot
                    {
                        Class Soldier
                        Skill Hard
                        Tag nav_prefer_flank_left
                        BehaviorModifiers push
                    }
                }
            }
            WaveSpawn
            {
                Where spawnbot
                TotalCount 8
                MaxActive 4
                Spawncount 2
                WaitBeforeStarting 5
                WaitBetweenSpawns 20
                TotalCurrency 150
    
                Squad
                {
                    TFBot
                    {
                        Template T_TFBot_Giant_Soldier_Spammer
                    }
                    TFBot
                    {
                        Template T_TFBot_Medic_Rural_Doctor_Blast                             
                    }
                }       
            }
        }
        //WAVE 6 //Currency 1200 //////////////////////////////////////////////////////////////////////////////////////////
        Wave
        {
            StartWaveOutput
            {
                Target wave_start_relay
                Action Trigger
            }
            DoneOutput                   
            {
                Target wave_finished_relay
                Action trigger
            }
            WaitWhenDone 65
            Checkpoint Yes
           
            WaveSpawn
            {
                TotalCount 1
                WaitBeforeStarting 0
                TotalCurrency 600
    
                FirstSpawnOutput                                                                                                                                                           
                {
                    Target boss_spawn_relay                                           
                    Action Trigger                         
                }
    
                Tank
                {
                    Health 25000
                    Speed 75
                    Name "boss"
                    StartingPathTrackNode "boss_path_b1"
    
                    OnKilledOutput                                 
                    {
                        Target boss_dead_relay
                        Action Trigger                         
                    }
                   
                    OnBombDroppedOutput                             
                    {
                        Target boss_deploy_relay
                        Action Trigger                         
                    }
    
                }           
            }   
            WaveSpawn
            {
                Where spawnbot
                TotalCount 12
                MaxActive 12
                SpawnCount 4
                WaitBeforeStarting 0
                WaitBetweenSpawns 25
                TotalCurrency 600
               
                Squad
                {
                    TFBot
                    {
                        Template T_TFBot_Giant_Soldier_Crit
                    }
                    TFBot
                    {
                        Template T_TFBot_Medic_Rural_Doctor_Bullet                                       
                    }
                    TFBot
                    {
                        Template T_TFBot_Medic_Rural_Doctor_Blast                             
                    }
                }
            }
        }
        //WAVE 7 //Currency 2000 ///////////////////////////////////////////////////////////////////////////////////////////////////////
        Wave
        {   
            StartWaveOutput
            {
                Target wave_start_relay
                Action Trigger
            }
            DoneOutput
            {
                Target wave_finished_relay
                Action trigger
            }
            WaitWhenDone 65
            Checkpoint Yes
    
            WaveSpawn
            {
                Where spawnbot_left
                TotalCount 55
                MaxActive 11
                SpawnCount 11
                WaitBeforeStarting 0
                TotalCurrency 300
               
                Support 1
               
                RandomChoice
                {
    
                    TFBot
                    {
                        Template T_TFBot_Soldier_Buff_Banner
                    }
                    TFBot
                    {
                        Template T_TFBot_Heavy_Graywolf
                    }
                    TFBot
                    {
                        Class Demoman
                        Skill Easy
                    }
                }
            }
            WaveSpawn
            {
                Where spawnbot_giant
                TotalCount 10
                MaxActive 2
                SpawnCount 2
                WaitBeforeStarting 10
                WaitBetweenSpawns 30
                TotalCurrency 1600
               
                RandomChoice
                {
                    TFBot
                    {
                        Template T_TFBot_Giant_Scout_Fast
                    }
                    TFBot
                    {
                        Template T_TFBot_Giant_Scout_Fast
                    }
                    TFBot
                    {
                        Template T_TFBot_Giant_Scout_Fast
                    }
                    TFBot
                    {
                        Template T_TFBot_Giant_Scout_Fast
                    }
                }
            }
            WaveSpawn
            {
                Where spawnbot_invasion
                TotalCount 30
                MaxActive 4
                SpawnCount 4
                WaitBeforeStarting 25
                RandomSpawn 1
                TotalCurrency 100
               
                Support 1
    
                TFBot
                {
                    Class Scout
                    Skill Expert
                }
            }
        }
        //WAVE 8 //Currency 1200 /////////////////////////////////////////////////////////////////////////////////////////
        Wave //SUUUPPPAAAA LOOOOONGGGGG
        {
            StartWaveOutput
            {
                Target wave_start_relay
                Action Trigger
            }
            Checkpoint Yes   
           
            WaveSpawn
            {
                TotalCount 1
                WaitBeforeStarting 0
                TotalCurrency 200
    
                FirstSpawnOutput                                                                                                                                                           
                {
                    Target boss_spawn_relay                                           
                    Action Trigger                         
                }
    
                Tank
                {
                    Health 80000
                    Speed 75
                    Name "boss"
                    StartingPathTrackNode "tank_left_spawn"
    
                    OnKilledOutput                                 
                    {
                        Target boss_dead_relay
                        Action Trigger                         
                    }
                   
                    OnBombDroppedOutput                             
                    {
                        Target boss_deploy_relay
                        Action Trigger                         
                    }
    
                }           
            }   
            WaveSpawn
            {
                WaitForAllSpawned "primarywaveheavy"
               
                TotalCount 1
                WaitBeforeStarting 65
                TotalCurrency 100
    
                FirstSpawnOutput                                                                                                                                                           
               
                {
                    Target boss_spawn_relay                                           
                    Action Trigger                         
                }
                Tank
                {
                    Health 80000
                    Speed 75
                    Name "boss"
                    Skin 1
                    StartingPathTrackNode "tank_right_spawn"
                    OnKilledOutput                                 
                    {
                        Target boss_dead_relay
                        Action Trigger                         
                    }
                    OnBombDroppedOutput                             
                    {
                        Target boss_deploy_relay
                        Action Trigger                         
                    }
                }           
            }   
            WaveSpawn
            {
                Name "primarywaveheavy"
               
                Where spawnbot
                TotalCount 5
                MaxActive 2
                SpawnCount 1
                WaitBeforeStarting 0
                WaitBetweenSpawns 5
                TotalCurrency 100
               
                TFBot
                {
                    Template T_TFBot_Giant_Heavyweapons
                }
    
            }   
            WaveSpawn
            {
                WaitForAllSpawned "primarywaveheavy"
               
                Where spawnbot
                TotalCount 12
                MaxActive 6
                SpawnCount 3
                WaitBeforeStarting 45
                WaitBetweenSpawns 25
                TotalCurrency 100
               
                Squad
                {
                    TFBot
                    {
                        Template T_TFBot_Giant_Heavyweapons
                    }
                    TFBot
                    {
                        Class Medic
                        ClassIcon medic_uber
                        Skill Normal
                        CharacterAttributes
                        {
                            "ubercharge rate bonus" 5
                            "heal rate bonus" 0.1
                        }                                             
                    }
                    TFBot
                    {
                        Class Medic
                        ClassIcon medic_uber
                        Skill Normal
                        Attributes SpawnWithFullCharge
                        CharacterAttributes
                        {
                            "ubercharge rate bonus" 5
                            "heal rate bonus" 0.1
                        }                                             
                    }
                }
            }
            WaveSpawn
            {
                Name "primarywavecritsoldier"
               
                Where spawnbot
                TotalCount 5
                MaxActive 2
                SpawnCount 1
                WaitBeforeStarting 0
                WaitBetweenSpawns 25
                TotalCurrency 100
    
                TFBot
                {
                    Template T_TFBot_Giant_Soldier_Crit
                }
            }
            WaveSpawn
            {
                WaitForAllSpawned "primarywavecritsoldier"
               
                Where spawnbot_right
                Name aftercrit
                TotalCount 8
                MaxActive 4
                SpawnCount 2
                WaitBeforeStarting 45
                WaitBetweenSpawns 25
                TotalCurrency 100
               
                Squad
                {
                    TFBot
                    {
                        Template T_TFBot_Giant_Soldier_Crit
                    }
                    TFBot
                    {
                        Class Medic
                        ClassIcon medic_uber
                        Skill Normal
                        Attributes SpawnWithFullCharge
                        CharacterAttributes
                        {
                            "ubercharge rate bonus" 5
                            "heal rate bonus" 0.1
                        }                                             
                    }
                }
            }
            WaveSpawn
            {
                Where spawnbot_Invasion
                TotalCount 24
                MaxActive 3
                SpawnCount 3
                WaitBeforeStarting 25
                WaitBetweenSpawns 10
                TotalCurrency 100
               
                Support 1
               
                TFBot
                {
                    Class Heavy
                    Skill Hard
                }
            }
            WaveSpawn
            {
                WaitForAllSpawned aftercrit
                Where spawnbot_right
                TotalCount 24
                MaxActive 3
                SpawnCount 3
                WaitBeforeStarting 25
                WaitBetweenSpawns 10
                TotalCurrency 100
               
                Support 1
               
                TFBot
                {
                    Class Demoman
                    Skill Hard
                }
            }
            WaveSpawn
            {
                WaitForAllSpawned aftercrit
                Where spawnbot_left
                TotalCount 24
                MaxActive 3
                SpawnCount 3
                WaitBeforeStarting 25
                WaitBetweenSpawns 10
                TotalCurrency 100
               
                Support 1
               
                TFBot
                {
                    Class Heavy
                    Skill Hard
                }
            }
            WaveSpawn
            {
                WaitForAllSpawned aftercrit
                Where spawnbot_middle
                TotalCount 24
                MaxActive 3
                SpawnCount 3
                WaitBeforeStarting 25
                WaitBetweenSpawns 10
                TotalCurrency 100
               
                Support 1
               
                TFBot
                {
                    Class Heavy
                    Skill Hard
                }
            }
            WaveSpawn
            {
                WaitForAllSpawned aftercrit
                Where spawnbot_giant
                TotalCount 3
                MaxActive 3
                SpawnCount 3
                WaitBeforeStarting 30
                WaitBetweenSpawns 10
                TotalCurrency 100
                Squad
                {
                    TFBot
                    {
                        Template T_TFBot_Heavy_Graywolf_Giant
                    }
                    TFBot
                    {
                        Template T_TFBot_Medic_Rural_Doctor_Blast
                    }
                    TFBot
                    {
                        Template T_TFBot_Medic_Rural_Doctor_Bullet
                    }
                    TFBot
                    {
                        Template T_TFBot_Medic_Rural_Doctor_Blast
                    }
                    TFBot
                    {
                        Template T_TFBot_Medic_Rural_Doctor_Bullet
                    }
                }   
            }
        }
    }
     
  9. Freyja

    aa Freyja But why?

    Messages:
    2,772
    Positive Ratings:
    4,434
    You're missing a curly bracket somewhere again.

    Also, your vaccinator medics won't work. They will have a regular medigun with infinite uber. Do them like this:

    Code:
    	T_TFBot_Blast_Vaccinator
    	{
    		Name "Blast Vaccinator Medic"
    		Class Medic
    		Skill Expert
    		ClassIcon medic_blast
    		WeaponRestrictions SecondaryOnly
    		Item "The Vaccinator"
    		Attributes SpawnWithFullCharge
    		Attributes VaccinatorBlast
    		ItemAttributes
    		{
    			ItemName "The Vaccinator"
    			"heal rate bonus" 10
    			"medigun blast resist deployed" 2
    			"medigun blast resist passive" 2
    			"medigun charge is resists" 4
    		}
    
    	}
    
    
     
    • Thanks Thanks x 1
  10. Asd417

    aa Asd417 L1: Registered

    Messages:
    645
    Positive Ratings:
    450
    I fixed the wave not spawning problem and I will fix the vaccinator thanks
     
  11. pikachufan163

    pikachufan163 L1: Registered

    Messages:
    3
    Positive Ratings:
    0
    I'm kinda new to the whole mvm wave editing and I've got a "infinite support" wave set up but the problem is that most of the time a lot of the bots just won't spawn

    Here's my pop file: mvm_decoy_BluFunGame.pop

    Please could someone tell me where I'm going wrong?
     

    Attached Files:

  12. Yabayabayaba

    Yabayabayaba L5: Dapper Member

    Messages:
    231
    Positive Ratings:
    64
    you can only have so many bots on screen at once, keep that in mind
     
  13. Fillmore

    Fillmore L2: Junior Member

    Messages:
    77
    Positive Ratings:
    76
    22 is the hard cap of robots you can have out on the field and mvm servers are run at 32 players for that reason. You have a single Wavespawn of Scouts that are at MaxActive 32 and all of your wavespawns begin as active so your slots fill out near-instantly.
     
  14. pikachufan163

    pikachufan163 L1: Registered

    Messages:
    3
    Positive Ratings:
    0
    Okay well I've now set that scout's max active to 1 and I've tested it but no robots (apart from the mission spies) are spawning at all. The only errors that are showing are the ones related to the bomb scout. And it seems that the only time they do spawn is when I switch to spectator.

    Update: Oh wait so I should set some up for like 10 seconds then 20 seconds etc.?
     
  15. Fillmore

    Fillmore L2: Junior Member

    Messages:
    77
    Positive Ratings:
    76
    You have the following Wavespawns running at once (MaxActives listed unless said wavespawns are kinda funny):
    • 2 Mission Spies
    • 2 Flying Scouts
    • 1 Soldier
    • 1 Bomb Scout
    • Spawncount 3, MaxActive 1(?) Demomen (this is just wrong)
    • 2 Medics
    • Spawncount 3, MaxActive 1 Snipers
    • 2 Pyros
    • Tanks with Where set (this is entirely unnecessary)
    • 2 Heavies
    • 1 Sniper (Snipers with rifles don't wanna work if they're not Mission support)
    • 1 Soldier
    • 1 Scout
    • 1 Pyro
    • 2 Heavies
    • 2 Pyros
    • 2 Soldiers
    • 2 Demos
    = 27 bots (your remaining 5 will just wait until one of the active bots dies, then they'll spawn immediately)

    You also have a typo on a BehaviorModifiers (Iddler) which breaks that wavespawn completely (Idler also doesn't exist anymore, hence why it gives you errors) and it is that exact bad wavespawn that breaks all wavespawns below it (essentially the entire mission)
    As a last mention and easiest way to tell mvm.tf missions: Your Heavy and Demo icons show pink checkerboards :D
     
    • Thanks Thanks x 1
  16. pikachufan163

    pikachufan163 L1: Registered

    Messages:
    3
    Positive Ratings:
    0
    Okay so I've got that sorted out but I don't want the bomb scout to move at all (except jumping) so how could I make that work because I've tried to put 100 decreased move speed on him

    And yes I'm a noob for using mvm.tf ^_^'

    Update: never mind I fixed it

    And the sniper with the awp is for bot control servers
     
    Last edited: Jun 19, 2017
  17. Fillmore

    Fillmore L2: Junior Member

    Messages:
    77
    Positive Ratings:
    76
    You've got "move speed penalty" 100 set to that Bomb Scout and the Attributes List lists that as an inverted percentage (which is why instead of going slow he is the Sanic-bot)

    Usually when folks have done really slow bots, they've used "move speed penalty" instead (I think 0.9 would make that bot slow as molasses but it could also be the other one, I tend to forget how these attributes work)
     
    • Thanks Thanks x 1