Pop file messed up.

  • If you're asking a question make sure to set the thread type to be a question!

-smyt+ Pootis Bird

L1: Registered
Jul 11, 2017
6
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. :(
 

Attachments

  • mvm_origins.txt
    20 KB · Views: 156

Benoist3012

L3: Member
Dec 25, 2015
148
207
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
 

Da Spud Lord

Occasionally I make maps
aa
Mar 23, 2017
1,339
994

DrSquishy

we've all had better times to die
aa
Feb 10, 2017
1,297
974
Yeah, it doesn't work. old.mvm.tf works tho.
I tried that and it completely failed. It added bots not even specified and it was all contained on 3 long lines