VScript MvM Sticky tank template 2022-12-29
VScript MvM Sticky tank template
Sticky tank template for use in MvM game mode, originally made by hellmet
Unpack contents to tf directory
Includes custom sticky tank icon and FRONTLINE! tank turret from https://frontline.tf/
Requires https://tf2maps.net/downloads/vscript-popfile-extensions.14972/ to be previously installed
The archive contains example usage popfile
Unpack contents to tf directory
Includes custom sticky tank icon and FRONTLINE! tank turret from https://frontline.tf/
Requires https://tf2maps.net/downloads/vscript-popfile-extensions.14972/ to be previously installed
The archive contains example usage popfile
Code:
#base robot_giant.pop
#base robot_standard.pop
WaveSchedule
{
StartingCurrency 1200
RespawnWaveTime 2
CanBotsAttackWhileInSpawnRoom 0
Wave
{
// Add or replace existing InitWaveOutput with code below
InitWaveOutput
{
Target gamerules // gamerules or tf_gamerules, depending on the map
Action RunScriptCode
Param "
// The original InitWaveOutput trigger, change if necessary
EntFire(`wave_init_relay`, `Trigger`)
// Load tank scripts
IncludeScript(`hellmet_sticky_tank`)
AddCustomTankIcon(`tank_sticky_hellmet`, 4)
"
}
WaveSpawn
{
Name "Wave2"
TotalCount 4
TotalCurrency 0
FirstSpawnOutput
{
Target boss_spawn_relay
Action Trigger
}
Tank
{
Health 100
Speed 75
Name "script_sticky_tank"
StartingPathTrackNode "boss_path_a1"
OnKilledOutput
{
Target boss_dead_relay
Action Trigger
}
OnBombDroppedOutput
{
Target boss_deploy_relay
Action Trigger
}
}
}
}
}
- License
- Free to use and modify. Credit is appreciated but not required.