- Apr 5, 2019
- 3
- 0
I was creating a custom mvm mission on mvm.tf and everything loaded up fine at first. Then I went and changed some attributes and missions and everything broke. I was getting errors like"unknown attribute in wavespawn" so I moved a few brackets and that fixed most of the errors. However, now I have a new error that I don't know what is causing so can anyone help me?
Console log
Pop file
Console log
Code:
Population, mission, mission, mission, mission, mission, wave, WaveSpawn, 2, (*Squad*), (*TFBot*), (*item*), (*ItemAttributes*),
Population, mission, (*mission*), (*wave*), (*WaveSpawn*), (*Squad*), (*TFBot*), (*item*), (*CharacterAttributes*), (*move speed penalty*), (*Squad*), (*TFBot*), (*item*), (*ItemAttributes*),
Population, (*mission*), (*mission*), (*wave*), (*WaveSpawn*), (*Squad*), (*TFBot*), (*item*), (*CharacterAttributes*), (*move speed penalty*), (*Squad*), (*TFBot*), (*item*), (*ItemAttributes*),
Unknown attribute 'mission' in Mission definition.
Warning: SetCheckpoint() called with invalid wave number 0
Population, mission, mission, mission, mission, mission, wave, WaveSpawn, 2, (*Squad*), (*TFBot*), (*item*), (*ItemAttributes*),
Population, mission, (*mission*), (*wave*), (*WaveSpawn*), (*Squad*), (*TFBot*), (*item*), (*CharacterAttributes*), (*move speed penalty*), (*Squad*), (*TFBot*), (*item*), (*ItemAttributes*),
Population, (*mission*), (*mission*), (*wave*), (*WaveSpawn*), (*Squad*), (*TFBot*), (*item*), (*CharacterAttributes*), (*move speed penalty*), (*Squad*), (*TFBot*), (*item*), (*ItemAttributes*),
Unknown attribute 'mission' in Mission definition.
Pop file
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 10
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 10
TFBot
{
Template T_TFBot_Spy
}
Mission
{
Objective Spy
Where spawnbot_mission_spy
BeginAtWave 4
RunForThisManyWaves 1
InitialCooldown 15
CooldownTime 20
DesiredCount 10
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 20
SpawnCount 20
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 heavyweapons
Health 300
Name Putin
Class HeavyWeapons
Skill Normal
Item "iron curtain"
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 Bonk
Class Scout
Skill Normal
BehaviorModifiers Mobber
WeaponRestrictions MeleeOnly
Item "frying pan"
}
}
}
WaveSpawn
{
Name Uber Medic
TotalCurrency 250
TotalCount 10
MaxActive 10
SpawnCount 2
WaitBeforeStarting 60
WaitBetweenSpawns 0
Where spawnbot_giant
Squad
{
TFBot
{
ClassIcon heavyweapons
Health 5000
Name "Mother Russia"
Scale 1.7
Class HeavyWeapons
Skill Hard
Tag "bot_giant"
Attributes "MiniBoss"
ItemAttributes
{
ItemName "iron curtain"
"damage bonus" 2
"fire rate bonus" 2
}
CharacterAttributes
{
"move speed penalty" 0.25
}
Item "iron curtain"
Item "the u-clank-a"
}
TFBot
{
Template T_TFBot_Medic
}
}
}
}
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 5
SpawnCount 20
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 2
SpawnCount 2
WaitBeforeStarting 30
WaitBetweenSpawns 20
Where spawnbot_giant
Squad
{
TFBot
{
ClassIcon soldier
Health 4000
Name CRITS
Scale 1.7
Class Soldier
Skill Hard
WeaponRestrictions PrimaryOnly
Tag "bot_giant"
Attributes "AlwaysCrit"
Attributes "HoldFireUntilFullReload"
Attributes "MiniBoss"
ItemAttributes
{
ItemName tf_weapon_rocketlauncher
"damage bonus" 1.5
"clip size bonus" 1.5
"projectile spread angle penalty" 5
"Projectile speed decreased" 0.50
}
CharacterAttributes
{
"move speed penalty" 0.25
}
}
TFBot
{
Template T_TFBot_Medic
}
}
}
WaveSpawn
{
TotalCurrency 400
TotalCount 3
MaxActive 2
SpawnCount 2
WaitBeforeStarting 0
WaitBetweenSpawns 0
Where spawnbot_giant
Squad
{
TFBot
{
ClassIcon heavy_heater
Health 5000
Name "Firestorm Heavy"
Scale 1.7
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.25
}
Item "the huo long heatmaker"
Item "dragonborn helmet"
}
TFBot
{
Template T_TFBot_Medic
}
}
}
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
BehaviorModifiers Mobber
WeaponRestrictions SecondaryOnly
ItemAttributes
{
ItemName tf_weapon_pipebomblauncher
"damage penalty" 90
"clip size bonus" 3
"fire rate bonus" 3
"sticky arm time bonus" 2
"stickybomb charge rate" 2
}
}
}
}
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"
ItemAttributes
{
ItemName "the family business"
"damage bonus" 10
"clip size penalty" 0.875
"weapon spread bonus" 3
}
CharacterAttributes
{
"move speed penalty" 0.25
}
Item "the family business"
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 "Rich Kid"
Class Scout
Skill Normal
BehaviorModifiers Mobber
WeaponRestrictions MeleeOnly
Item "gold frying pan"
}
}
}
}
}
//This file has been generated by http://mvm.tf