Pop file messed up.

Discussion in 'Mapping Questions & Discussion' started by -smyt+ Pootis Bird, Jul 11, 2017.

  1. -smyt+ Pootis Bird

    -smyt+ Pootis Bird L1: Registered

    Messages:
    6
    Positive Ratings:
    0
    Recently i was working with my friend on a mvm map and I tried to write a Pop file. It worked at the first edit. But somehow after a change it didnt work anymore. I´m not experienced with it at all too. Please help as soon as possible. :(
     

    Attached Files:

  2. Necrσ

    aa Necrσ

    Messages:
    201
    Positive Ratings:
    465
    I think in your second wave your missing the word template before the template name. For example it should be: Template T_TFBot_Scout_Melee, not T_TFBot_Scout_Melee
     
  3. -smyt+ Pootis Bird

    -smyt+ Pootis Bird L1: Registered

    Messages:
    6
    Positive Ratings:
    0
    Okay I will try that
     
  4. Benoist3012

    Benoist3012 L3: Member

    Messages:
    148
    Positive Ratings:
    201
    That's not the problem your forgot to close your waveschedule with "}"

    Code:
    WaveSchedule                                                                                                   
    {
    
            StartingCurrency                20000                               // How much currency each player starts with. Normally 400 is a good starting point, but increased to 20k for the purpose of this test script.
          
            RespawnWaveTime 10                                              // This is the maximum respawn time, in seconds for players when they die. Starting at 2 seconds, it grows 2 seconds per wave.
    
    --snip---
    
    //WAVE 11  ////////////////////////////////////////////////////////////////////////////////////////////////////////
    ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    // This wave demonstrates a support WaveSpawn.
    // Support WaveSpawns continue to run and output an infinite number of bots until the other non-support
    // WaveSpawns have been eliminated.
    // Currency in support WaveSpawns will be distributed amongst the first bots spawned until the TotalCount is reached.
    // After the total count, support bots will no longer drop currency.
    // If the wave ends and not all of the support currency has been dropped, that remaining currency will dropped by
    // the last support bot killed.
    ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////
            Wave
            {
                    StartWaveOutput                                                                               
                    {
                            Target wave_start_relay                                                       
                            Action Trigger                                                                         
                    }
                    DoneOutput                                                                                             
                    {
                            Target wave_finished_relay                                                     
                            Action trigger                                                                 
                    }
    
                    Checkpoint Yes                                         
    
                    WaveSpawn                                                                                               // This WaveSpawn is NOT support. When all 15 scouts are killed, the support bots will stop spawning.
                    {
                            Where spawnbot                                                 
                            TotalCount 150                                                                 
                            MaxActive 10                                                                                   
                            SpawnCount 10                                                                   
          
                            WaitBeforeStarting 0                                                           
                            WaitBetweenSpawns 8                                                           
                          
                            TotalCurrency 500                                                             
                                  
                                    TFBot
                                    {
                                            Template T_TFBot_Scout_Melee
                                    }
                    }
                    WaveSpawn                                                                                               // This is the support WaveSpawn.                                                             
                    {
                            Where spawnbot                                                 
                            TotalCount 4                                                                            // For a support WaveSpawn, this number is used to divide the currency. In this case, only the first 4 support bots will drop currency, yet an infinite number of bots may be spawned.                                 
                            MaxActive 4                                                                                   
                            SpawnCount 10                                                                 
          
                            WaitBeforeStarting 2                                                           
                            WaitBetweenSpawns 5                                                   
                          
                            TotalCurrency 350     
    
                            Support 1                                                                                       // Sets this WaveSpawn as support.
                                  
                                    TFBot
                                    {
                                            Template T_TFBot_Demoman_Knight
                                    }
                    }
           here
    here
    
     
  5. -smyt+ Pootis Bird

    -smyt+ Pootis Bird L1: Registered

    Messages:
    6
    Positive Ratings:
    0
    Well doesn´t mvm.tf not work anymore ? :?
     
  6. Da Spud Lord

    aa Da Spud Lord L0: Crappy Member

    Messages:
    837
    Positive Ratings:
    567
    Yeah, it doesn't work. old.mvm.tf works tho.
     
  7. DrSquishy

    DrSquishy L9: Fashionable Member

    Messages:
    685
    Positive Ratings:
    224
    I tried that and it completely failed. It added bots not even specified and it was all contained on 3 long lines
     
Tags: