#base robot_giant.pop #base robot_standard.pop #base robot_gatebot.pop population { StartingCurrency 200 RespawnWaveTime 6 CanBotsAttackWhileInSpawnRoom no ExtendedUpgradesOnly 1 Templates { } ExtraSpawnPoint //Adds spawn points on specified location { Name "assistspawn" StartDisabled 1 // If the spawn point starts disabled (Default: 0) TeamNum 3 // 2 - Red team 3 - Robots. If you are adding spawn for reprogrammed robots, use team 3 X "4512" Y "-4512" Z "204" } PointTemplates { buyableally { NoFixup 1 logic_relay { "targetname" "Ally1Relay" "OnTrigger" "assistspawn,Enable,,0,-1" } logic_relay { "targetname" "Ally1DisableRelay" "OnTrigger" "assistspawn,Disable,,0,-1" } } } SpawnTemplate buyableally ExtendedUpgrades { upgrade { Name "Purchase an ally" Attribute "heal rate penalty" Cap 0.999 Increment -0.001 Cost 200 Description "Ally Test" // Additional description line AllowPlayerClass Scout AllowPlayerClass Soldier AllowPlayerClass Pyro AllowPlayerClass Demoman AllowPlayerClass Heavyweapons SecondaryAttributes //Secondary attributes applied when upgrade is applied, for each upgrade level { "fire rate bonus" -0.1 } OnUpgrade // On upgrade output. Format: target,action,parameter,delay. If parameter is empty, the upgrade level is passed instead as parameter { Output "Ally1Relay,Trigger,,0,-1" } OnApply // Output fired when the upgrade is being applied (the upgrade being bought, the player changing classes or weapons). Format: target,action,parameter,delay // If parameter is empty, the upgrade level is passed instead as parameter { Output "!activator,$displaytextchat,You have purchased a robot!,0" } OnDowngrade // Output fired when the upgrade is being downgraded (undo upgrades or refund button). Format: target,action,parameter,delay. //If parameter is empty, the upgrade level is passed instead as parameter { Output "Ally1DisableRelay,Trigger,,0,-1" Output "!activator,$displaytextchat,You have refunded a robot!,0" } } } Wave { Explanation { Line "{00ff00}This is a test mission to see if it is possible to fire a map trigger through rafmod upgrades." Line "{ffff00}This mission test is a success! A map relay can cetainly be triggered by an upgrade!" Line "{ffff00}If you want a copy of the pop to do this yourself let me know if you're in the potato.tf discord! -Conga Dispenser" } WaitWhenDone 65 Checkpoint Yes StartWaveOutput { Target wave_start_relay Action Trigger } DoneOutput { Target wave_finished_relay Action Trigger } WaveSpawn { TotalCurrency 400 TotalCount 10 MaxActive 10 SpawnCount 2 Where assistspawn WaitBeforeStarting 0 WaitBetweenSpawns 2 TFBot { Health 15 Name "Scout" Class Scout Skill Normal WeaponRestrictions MeleeOnly CharacterAttributes { "move speed penalty" 4 } ItemAttributes { ItemName tf_weapon_bat "damage penalty" 0 } } } } Wave { WaitWhenDone 65 Checkpoint Yes StartWaveOutput { Target wave_start_relay Action Trigger } DoneOutput { Target wave_finished_relay Action Trigger } WaveSpawn { TotalCurrency 400 TotalCount 10 MaxActive 6 SpawnCount 2 Where assistspawn WaitBeforeStarting 0 WaitBetweenSpawns 2 TFBot { Health 15 Name "Scout" Class Scout Skill Normal WeaponRestrictions MeleeOnly CharacterAttributes { "move speed penalty" 4 } ItemAttributes { ItemName tf_weapon_bat "damage penalty" 0 } } } } }