#base robot_standard.pop #base robot_giant.pop waveschedule { StartingCurrency 30000 CanBotsAttackWhileInSpawnRoom no RespawnWaveTime 1 FixedRespawnWaveTime 1 WaveStartCountdown 1 ExtendedUpgrades { shield { Name "name" Description "description" Attribute "counts as assister is some kind of pet this update is going to be awesome" Cap 3 Increment 1 Cost 1 AllowedWeapons { ClassName "TF_WEARABLE_DEMOSHIELD" } DisallowedWeapons { ItemName DemoShieldComicallySmall ItemName DemoShieldLvl1 ItemName DemoShieldLvl2 } OnApply { //upgrade bought -> apply //switch weapon -> apply Output "!activator,RunScriptFile,demomanm2shield.nut,0" Output "!activator,$VScriptFunc$UpgradeCheck,,0" } OnDowngrade { Output "!activator,RunScriptCode,RemoveUpgrade(),0" } OnRestore { //this kills thinks in certain situations where OnDowngrade doesn't work Output "!activator,$VScriptFunc$UpgradeCheck,,0" } } } CustomWeapon { DemoShieldComicallySmall { OriginalItemName "The Chargin' Targe" "special item description" "description" } DemoShieldLvl1 { OriginalItemName "The Chargin' Targe" "special item description" "description" } DemoShieldLvl2 { OriginalItemName "The Chargin' Targe" "special item description" "description" } } ExtraLoadoutItems { Demoman { Secondary "DemoShieldComicallySmall" Secondary "DemoShieldLvl1" Secondary "DemoShieldLvl2" } } PointTemplates { ComicallySmallEquip { OnSpawnOutput { //these two blocks are in each pt Target "!activator" Action "RunScriptFile" Param "demomanm2shield.nut" } OnParentKilledOutput { Target "!activator" Action "RunScriptCode" Param "RemoveUpgrade()" } OnSpawnOutput { Target "!activator" Action "RunScriptCode" Param "UpgradeCheck(1)" Delay 0.1 } } Lvl1Equip { OnSpawnOutput { Target "!activator" Action "RunScriptFile" Param "demomanm2shield.nut" } OnParentKilledOutput { Target "!activator" Action "RunScriptCode" Param "RemoveUpgrade()" } OnSpawnOutput { Target "!activator" Action "RunScriptCode" Param "UpgradeCheck(2)" Delay 0.1 } } Lvl2Equip { OnSpawnOutput { Target "!activator" Action "RunScriptFile" Param "demomanm2shield.nut" } OnParentKilledOutput { Target "!activator" Action "RunScriptCode" Param "RemoveUpgrade()" } OnSpawnOutput { Target "!activator" Action "RunScriptCode" Param "UpgradeCheck(3)" Delay 0.1 } } } PlayerItemEquipSpawnTemplate { ItemName "DemoShieldComicallySmall" Name ComicallySmallEquip } PlayerItemEquipSpawnTemplate { ItemName "DemoShieldLvl1" Name Lvl1Equip } PlayerItemEquipSpawnTemplate { ItemName "DemoShieldLvl2" Name Lvl2Equip } wave { StartWaveOutput { Target wave_start_relay Action Trigger } DoneOutput { Target wave_finished_relay Action Trigger } wavespawn { Where spawnbot totalcount 1 spawncount 1 maxactive 1 tfbot { template T_TFBot_Giant_DemoMan_PrinceTavish SpawnTemplate ComicallySmallEquip action mobber } } wavespawn { Where spawnbot totalcount 1 spawncount 1 maxactive 1 tfbot { template T_TFBot_Demoman_Samurai action mobber FireInput { Target "!activator" Action "RunScriptFile" Param "demomanm2shield.nut" Delay 0 Repeats 1 } FireInput { Target "!activator" Action "RunScriptCode" Param "UpgradeCheck(3)" Delay 0.1 Repeats 1 } FireInput { Target "!activator" Action "RunScriptCode" Param "SetTerminateOnDeath(true)" Delay 0.1 Repeats 1 } } } wavespawn { Where spawnbot totalcount 1 spawncount 1 maxactive 1 tfbot { template T_TFBot_Demoman_Knight SpawnTemplate Lvl1Equip action mobber } } } wave { StartWaveOutput { Target wave_start_relay Action Trigger } DoneOutput { Target wave_finished_relay Action Trigger } wavespawn { maxactive 1 spawncount 1 totalcount 1 Where spawnbot_front tfbot { Class engineer //action idle attributes ignoreenemies health 10000 addcond { Name "TF_COND_REPROGRAMMED" } addcond { index 51 } ExtAttr BuildDispenserAsSentryGun } } wavespawn { maxactive 1 spawncount 1 totalcount 1 Where spawnbot LastSpawnOutput { target wave_start_relay action runscriptcode param " for(local i = 1; i <= MaxClients().tointeger(); i++) { local player = PlayerInstanceFromIndex(i) if (player == null) continue if (!IsPlayerABot(player)) continue if(player.HasBotTag(`ferry`) && NetProps.GetPropInt(player, `m_lifeState`) == 0) { EntFireByHandle(player, `RunScriptFile`, `ferry.nut`, -1, null, null) break } } " } tfbot { Class Demoman Skill Expert Name "The Ferryman" tag ferry health 18500 scale 1.35 ClassIcon soldier_jug_market_electric DesiredAttackRange 100 Action Mobber //Be not afraid, sinner. Your devotion to God shows goodness in you; plentiful indeed. The heart is willing but the body must rest, lest you squander one of the Lord’s creations. WeaponResist //Multiplies damage received from weapons listed below { "TF_WEAPON_MINIGUN" 0.8 } attributes MiniBoss Attributes usebosshealthbar Attributes AirChargeOnly UseCustomModel "models/bots/demo/bot_demo.mdl" Action Mobber UseHumanAnimations 1 Item "The Market Gardener" Item "The Splendid Screen" // EPIC FERRYMAN DRIP Item "The Nunhood" Item "Ramses' Regalia" ItemAttributes { ItemName "The Market Gardener" "attack not cancel charge" 1 "mult dmg while midair" 1.5 "melee range multiplier" 1.1 "dmg current health" 0.15 //do 15% of your health on top, fuckj heavy } ItemAttributes { ItemName "The Splendid Screen" "custom item model" "models/empty.mdl" "charge recharge rate increased" 3 } ItemAttributes { ItemName "TF_WEAPON_GRENADELAUNCHER" "custom kill icon" "purgatory" "custom item model" "models/empty.mdl" "projectile trail particle" "drg_wrenchmotron_teleport" "explosion particle" "drg_cow_explosion_sparkles_charged_blue" "override projectile type" 17 "fuse bonus" 0.001 "blast radius increased" 2.25 "damage bonus" 2.25 "Projectile speed decreased" 0.01 "Projectile range decreased" 0.01 "grenade no spin" 1 "grenade no bounce" 1 "clip size bonus" 0.25 "fire rate bonus" 5 "disable buildings on hit" 5 "dmg bonus vs buildings" 1.5 } CharacterAttributes { "increased jump height" 1.5 "rage giving scale" 0.1 "blast dmg to self increased" 0.01 "mult stun resistance" 0.1 "damage bonus" 1.1 "move speed bonus" 0.9 "cancel falling damage" 1 "damage force reduction" 0.01 "override footstep sound set" 4 "airblast vulnerability multiplier" 0.01 "airblast vertical vulnerability multiplier" 0.1 "dmg pierces resists absorbs" 1 } } } } }