#base robot_giant.pop #base robot_standard.pop // This is an example mission with vscript and popextensions // Functions provided by popextensions are defined at the end of the file WaveSchedule { StartingCurrency 1200 RespawnWaveTime 2 CanBotsAttackWhileInSpawnRoom 1 Wave { StartWaveOutput { Target wave_start_relay Action Trigger } DoneOutput { Target wave_finished_relay Action Trigger } InitWaveOutput { Target wave_start_relay // gamerules or tf_gamerules, depending on the map Action RunScriptCode Param " EntFire(`oleada4`, `Trigger`) IncludeScript(`popextensions_main`, getroottable()) MissionAttrs({ `WaveStartCountdown`: 3 `ExtraTankPath`: [ [`0 -160 444`, `0 -800 444`, `4 -863 444`, `16 -924 444`,`36 -984 444`, `64 -1040 444`, `99 -1092 444`, `141 -1139 444`, `188 -1181 444`,`240 -1216 444`,`296 -1244 444`,`356 -1264 444`,`416 -1276 444`,`480 -1280 444`,`1283 -1281 444`], [`36 -984 444`, `64 -1040 444`, `99 -1092 444`, `141 -1139 444`, `188 -1181 444`] ] `SoundOverrides` : { //overrides teamplay_broadcast_audio sounds `Announcer.MVM_Get_To_Upgrade`: null `music.mvm_end_last_wave`: null `Game.YourTeamWon`: null } }) PopExt.SetWaveIconsFunction(function() { PopExt.SetWaveIconSpawnCount(`monorail_tank`, MVM_CLASS_FLAG_MINIBOSS | MVM_CLASS_FLAG_NORMAL, 1) }) PopExt.AddTankName(`monotank*`, { OnDeath = function(tank, params) { PopExt.DecrementWaveIconSpawnCount(`monorail_tank`, MVM_CLASS_FLAG_MINIBOSS | MVM_CLASS_FLAG_NORMAL, 1) } Scale = 1 DisableSmoke = true }) PopExt.AddCustomTankIcon(`monorail_tank`, 1, true, false, false, false) PopExt.AddTankName(`mono1`, { IsBlimp = true StartTrack = `monorail_tank_path_B` //this is only required for blimps so the func_tracktrain knows where to go CritImmune = false NoScreenShake = false CrushDamageMult = 0 Team = 3 Model = { Default = `models/monorail_tank.mdl` Damage1 = `models/monorail_tank_damage1.mdl` Damage2 = `models/monorail_tank_damage2.mdl` Damage3 = `models/monorail_tank_damage3.mdl` } SoundOverrides = { Ping = `)npc/combine_gunship/ping_search.wav` Start = `ui/chime_rd_2base_pos.wav` EngineLoop = `npc/combine_gunship/dropship_engine_distant_loop1.wav` Destroy = `ui/chime_rd_2base_neg.wav` Deploy = `ui/chime_rd_2base_neg.wav` } }) " } // WaveSpawn // { // Name "Wave1" // Where spawnbot // TotalCount 50 // MaxActive 5 // SpawnCount 5 // WaitBeforeStarting 999 // TotalCurrency 200 // TFBot // { // Class Pyro // } // } WaveSpawn { Name monorail_1 TotalCurrency 75 TotalCount 1 MaxActive 1 SpawnCount 1 // WaitBeforeStarting 6.6 WaitBetweenSpawns 10 FirstSpawnWarningSound "misc/doomsday_cap_open.wav" Where spawnbot_A_route // FirstSpawnOutput // { // Target panic_subwave_incoming // Action Trigger // } Tank { Health 8000 Speed 75 Name "mono1" StartingPathTrackNode monorail_tank_path_B OnBombDroppedOutput { Target boss_deploy_relay Action Trigger } } } } }