// Do merge templates #base robot_giant.pop #base robot_standard.pop WaveSchedule { StartingCurrency 3000 RespawnWaveTime 4 // BEGIN SCHEDULE MODS // =================== // ++ KVs ++ // --------- WaveStartCountdown 1 StandableHeads 1 RobotLimit 26 // ++ Blocks - Map ++ // ------------------ PointTemplates { dispenser_shoot_template { OnSpawnOutput // Delete all old dispensers { Target "_dispenser" Action RemoveHealth Param "777" } OnSpawnOutput { Target "dispenser_maker" Action ForceSpawn Delay 0.1 } OnSpawnOutput { Target "dispenser_maker" Action Kill Delay 0.11 } OnSpawnOutput { Target "_dispenser" Action SetBuilder Delay 0.2 } env_entity_maker { "targetname" "dispenser_maker" "EntityTemplate" "dispenser_template" } } dispenser_template { NoFixup 1 OnSpawnOutput { Target "player" Action $DisplayTextChat Param "dispenser spawned" } obj_dispenser { "targetname" "_dispenser" "teamnum" "2" "defaultupgrade" "2" "SolidToPlayer" "2" "origin" "64 0 0" // connections "OnObjectHealthChanged" "player,$DisplayTextChat,,0,-1" // gives m_flHealth as 'param' } } } PlayerShootTemplate { Name "dispenser_shoot_template" ItemName "The Crusader's Crossbow" } // ================= // END SCHEDULE MODS Wave // Wave 1 { // BEGIN WAVE MODS // =============== ItemAttributes { Classname "tf_weapon_medigun" // Are these case-insensitive? "medic machinery beam" 1 } Explanation { Line "{green}'medic machinery beam'" Line "{grey}ISSUE:" Line "{grey}- Attribute loses all health healed when building takes damage? Needs investigation." Line "{blue}TOOLS:" Line "{blue}- Medic's Crossbows spawns a dispenser on 'fire'." Line "{blue}- Medic's Mediguns can already heal buildings." } // ============= // END WAVE MODS StartWaveOutput { Target wave_start_relay Action Trigger } DoneOutput { Target wave_finished_relay Action Trigger } WaveSpawn { Where spawnbot_m TotalCount 100 MaxActive 1 Support Limited WaitBetweenSpawns 5 TotalCurrency 50 TFBot { Class Soldier ClassIcon hellmet_blank Skill Expert WeaponRestrictions MeleeOnly Attributes DisableDodge ItemAttributes { ItemName "TF_WEAPON_SHOVEL" "fire rate penalty" 0.5 "gesture speed increase" 0.75 } CharacterAttributes { "move speed penalty" 0.7 "no_jump" 1 } // Mods ExtAttr IgnorePlayers ExtAttr TargetStickies Action Mobber } } WaveSpawn { TotalCount 1 WaitBeforeStarting 9999 TFBot { Class Scout ClassIcon hellmet_blank } } } }