Team Fortress 2

Team Fortress 2

39 valoraciones
Fun Scripts and Console Commands
Por DeGoon
   
Premiar
Favoritos
Favorito
Quitar
Intro
A list of fun scripts and console commands, feel free to leave ideas for new scripts in the comments (requires sv_cheats 1, copy and paste all scripts into your autoexec file before using in-game)
Banana
alias banana "ent_create prop_dynamic model models/items/banana/plate_banana.mdl defaultanim idle; ent_create info_particle_system effect_name mvm_pow_test start_active 1"
-spawns a banana
-type banana in console to spawn
Tiny Desk Engineer
alias engie "ent_create prop_dynamic solid 0 modelscale 0.3 model models/player/engineer.mdl defaultanim taunt01 targetname engie; ent_create ambient_generic health 100 message vo/engineer_cheers01.mp3"
-spawns a tiny engineer
-plays engie's "woo wee!" voiceline
Ka-boom!
alias kaboom "ent_create ambient_generic health 25 message vo/demoman_specialcompleted11.mp3 radius 5000; ent_create npc_handgrenade; ent_create info_particle_system effect_name bonk_text start_active 1"
-spawns explosion where the player is aiming
-explosion deals 100 damage
-plays demo's "Ka-boom!" voiceline
-type kaboom in console to use
Spawn Red Dispenser
alias dis1 "ent_create info_particle_system effect_name powerup_supernova_explode_red start_active 1; ent_create info_particle_system effect_name utaunt_aestheticlogo_teamcolor_red start_active 1"
alias dis2 "ent_create obj_dispenser teamnum 2 defaultupgrade 2; ent_create ambient_generic health 25 message player\taunt_medic_heroic.wav"
alias dis3 "wait 1000; ent_remove_all medic; ent_remove_all info_particle_system"
alias reddispenser "dis1;dis2;dis3"

-spawns a red dispenser
- type reddispenser in console to spawn
Spawn Blue Dispenser
alias dis4 "ent_create info_particle_system effect_name powerup_supernova_explode_blue start_active 1; ent_create info_particle_system effect_name utaunt_aestheticlogo_teamcolor_blue start_active 1"
alias dis5 "ent_create obj_dispenser teamnum 3 defaultupgrade 2; ent_create ambient_generic health 25 message player\taunt_medic_heroic.wav"
alias dis3 "wait 1000; ent_remove_all medic; ent_remove_all info_particle_system"
alias bludispenser "dis4;dis5;dis3"

-spawns blue level 3 dispenser
-type bludispenser in console to spawn
Fast Tank
alias fasttank "ent_create tank_boss modelscale 0.5 health 3000 speed 10000"
-creates really fast tank with 3000 health
-type fasttank in console to use
Giant Doll
alias doll "ent_create prop_physics model models/props_c17/doll01.mdl modelscale 5"
-spawns giant doll
-type doll in console to use
Halloween Bosses
alias boss "ent_create merasmus; wait 300; ent_create eyeball_boss teamnum 5; wait 300; ent_create headless_hatman"
-spawns all halloween bosses
-type boss in console to use
Giant Dr. Breen
alias breen "ent_create prop_dynamic model models/breen.mdl modelscale 3 defaultanim crouchRUNALL1 targetname engie; ent_create ambient_generic health 100 message vo\citadel\br_youneedme.wav preset 14"
-spawns giant breen
-plays breen's "you need me" voiceline in a low pitch
-type breen in console to spawn
Huntsman Arrow
alias arrow "ent_create archer_proxy modelscale 3"
-spawns big huntsman arrow that shoot arrows at players
-type arrow in console to spawn
Explosive Archimedes
alias bird "ent_create entity_bird modelscale 1"
-spawns a bird that explodes when touched
-type bird in console to spawn
Engineer Intel Briefcase
alias engieintel "tf_testrr TLK_PLAYER_DISPENSERHERE; ent_fire !picker sethealth 100000; ent_create item_teamflag teamnum 0 gametype 4 flag_model models/player/engineer.mdl; ent_fire !picker setmodelscale 0.1"
-creates an intel briefcase with an engineer as its model
-can be picked up by both teams
-type engieintel in console to use
TANK 🗣️🔥🔥
alias instakill "ent_create ambient_generic health 25 message Halloween.PlayerScream; ent_create tank_boss; ent_create info_particle_system effect_name yikes_text start_active 1; wait 5; ent_remove_all tank_boss"
-spawns a tank that instantly kills the player your aiming at
-tank automatically deletes itself after half a second
-type instakill in console to use
Powerplay
alias powerplay "addcond 72; addcond 56; addcond 55; addcond 73; addcond 34; addcond 108; addcond 49; addcond 58; addcond 59; addcond 60; addcond 91; addcond 94; removecond 108"
-grants all vaccinator resistances
-gives guaranteed crits
-increases movement speed
-increases firing speed
-doubles max ammo and metal
-gives overheal
-gives infinite jumps
-doesn't work properly if activated while in a respawn room
-type powerplay in console to use
Bumper Cart
bind KEY "+cart"
alias +cart "addcond 82; addcond 74"
alias -cart "removecond 82; removecond 74"

-puts player in bumper cart your bind is held down
-makes player huge when your bind is held down
-player can type +cart or -cart in console to avoid using a bind
Turn player into sentry buster (host only)
alias setmodelbuster "ent_fire !picker setcustommodelwithclassanimations models/bots/demo/bot_sentry_buster.mdl; ent_fire !picker setmodelscale 1.5; ent_setname sentry_buster"

alias busteralert "ent_create ambient_generic health 25 message vo/MVM_Sentry_Buster_Alerts01.mp3; ent_create ambient_generic health 25 message mvm/sentrybuster/MVM_SentryBuster_Loop.wav targetname bust"

alias busterexplode "busterignite; wait 300; plr; wait 6; grenade; tf_always_loser 0"

alias plr "ent_fire sentry_buster setcustommodel ""; wait 5; ent_setname player"

alias makebuster "tf_always_loser 1; setmodelbuster; busteralert; wait 2000; busterexplode"

alias busterignite "ent_remove_all bust; ent_fire sentry_buster ignite; ent_create ambient_generic health 25 message mvm/sentrybuster/MVM_SentryBuster_Spin.wav"

alias grenade "ent_create npc_handgrenade;ent_create npc_handgrenade;ent_create npc_handgrenade;ent_create npc_handgrenade"


-changes the model of the player your aiming at to a sentry buster
-after 15 seconds the player explodes, damaging anything around it
-type makebuster in console while aiming at the player to use
Nuke
alias nk1 "ent_create ambient_generic health 25 message mvm/ambient_mp3/MVM_Siren.mp3; tf_always_loser 1; wait 2500; ent_create tank_boss modelscale 100000; wait 9; ent_remove_all tank_boss"

alias nk2 "ent_create ambient_generic health 25 message Announcer.SD_TheyAreAboutToLaunch; wait 700; tf_testrr HalloweenLongFall"

alias explosion "ent_create info_particle_system effect_name hightower_explosion start_active 1; ent_create ambient_generic health 25 message MVM.BombExplodes"

alias explosion2 "ent_create info_particle_system effect_name flash_doomsday start_active 1; ent_create ambient_generic health 25 message MVM.BombExplodes"

alias explosion3 "ent_create info_particle_system effect_name base_destroyed_smoke_doomsday start_active 1; ent_create ambient_generic health 25 message MVM.BombExplodes"

alias explosion4 "ent_create info_particle_system effect_name dooms_nuke_collumn start_active 1; ent_create ambient_generic health 25 message MVM.BombExplodes"

alias nuke "nk1;nk2; wait 2500; explosion;explosion2;explosion3;explosion4;tf_always_loser 0;wait 1000; ent_create ambient_generic health 25 message vo\announcer_sd_monkeynaut_end_crash02.mp3"

-kills everyone on the server
-type nuke in console to use
Demoman Mating Call
alias demomatingcall "ent_remove_all ambient_generic; ent_create ambient_generic health 25 message music\cossack_sandvich.wav preset 10; ent_create ambient_generic health 10 message vo/Demoman_LaughLong02.mp3 preset 10"
-plays a distorted version of demo's laugh
-plays a distorted version of the kazotsky kick music
-type demomatingcall in console to use
Engie Mating Call
alias engiematingcall "ent_remove_all ambient_generic; ent_create ambient_generic health 1 message music\fortress_reel.wav preset 10; ent_create ambient_generic health 10 message vo\engineer_cheers07.mp3 preset 10"
-plays a distorted version of engineer's "woo wee!" voiceline
-plays a distorted version of the square dance music
-type engiematingcall in console to use
GET BEHIND ME DOCTOR
alias n40 "ent_create ambient_generic health 999 message ui\gamestartup6.mp3"
alias n41 "ent_create ambient_generic health 999 message Heavy.SpecialCompleted04; wait 800; ent_create ambient_generic health 999 message Heavy.ActivateCharge03"
alias n42 "wait 500; ent_create ambient_generic health 999 message Medic.Yes02; wait 500; ent_create ambient_generic health 999 message Medic.Yes01"
alias n43 "wait 1300; ent_create ambient_generic health 999 message Medic.PainSevere02 preset 10; ent_create ambient_generic health 999 message Heavy.PainSevere03 preset 10"
alias getbehindme "n40;n41;n42;n43"

-get behind me doctor!
-jawohl!
-charge me!
-yeah!
-*sex*
-type getbehindme in console to use
A gargoyle has arrived!
alias noise5 "ent_create ambient_generic health 100 message sf15.Merasmus.Gargoyle.Spawn preset 10; ent_create ambient_generic health 100 message music\bump_in_the_night.wav preset 10"
alias gargoyle "ent_create prop_dynamic model models/props_halloween/gargoyle_ghost.mdl defaultanim spin modelscale 3; noise5"

-spawns a giant soul gargoyle
-type gargoyle in console to use
Server Crash
alias hoovy "ent_create prop_dynamic model models/player/heavy.mdl skin 5 targetname hoovy; quit; ent_create ambient_generic health 25 message vo/Heavy_SpecialCompleted08.mp3 preset 14; wait 1850; ent_remove_all hoovy"
alias crash "hoovy; wait 1850; ent_create ambient_generic health 100 message misc/jingle_bells/jingle_bells_nm_01.wav; wait 300; ent_remove users"

-crashes the server
-trust me it works
-type crash in console to use
Vortex
alias tele_d1 "ent_remove_all tele1_loser; wait 5; ent_create info_target targetname tele1_loser; ent_create ambient_generic health 99 message items\battery_pickup.wav"

alias tele_e1 "ent_create hightower_teleport_vortex lifetime 5 target_base_name tele1"


tele_d1 - creates vortex exit
tele_e1 - creates vortex entrance
Huntsman Bot
alias archer "ent_create bot_npc_archer targetname archer; ent_fire archer setmodel models/bots/sniper/bot_sniper.mdl; ent_remove_all base_boss; ent_create base_boss"
-creates sniper bot with huntsman equipped
Blackout (host only)
alias blkt1 "ent_create ambient_generic health 999 message mvm.robo_stun_lp; ent_create ambient_generic health 999 message Announcer.SecurityAlert; wait 4300; ent_create ambient_generic health 999 message harbor.red_whistle"

alias blkt2 "ent_fire fog_controller setcolor 0; ent_fire fog_controller setstartdist -10000000; wait 4300; ent_fire fog_controller setstartdist 100"

alias blkt3 "ent_fire player ignite; ent_fire obj_sentrygun ignite; ent_fire obj_dispenser ignite; ent_fire obj_teleporter ignite; ent_fire player sethudvisibility 0"

alias blkt4 "ent_fire player ignitelifetime 0; ent_fire obj_sentrygun ignitelifetime 0; ent_fire obj_dispenser ignitelifetime 0; ent_fire obj_teleporter ignitelifetime 0; ent_fire player sethudvisibility 1"

alias blackout "tf_always_loser 1;blkt1;blkt2;blkt3; ent_create ambient_generic health 25 message ambient\lightson.wav;wait 4300;blkt4;tf_always_loser 0"


-makes everything dark
-starts burning all players and engineer buildings
-may not work on certain maps
Lightning bolt
alias remove "ent_remove; ent_create info_particle_system effect_name drg_wrenchmotron_teleport start_active 1; ent_create ambient_generic health 25 message ambient_mp3\medieval_thunder2.mp3 radius 25000"
-creates a lightning bolt that strikes wherever you aim
-deletes whatever your aiming at
Umbrella Man
alias interloper "ent_create prop_dynamic model models/player.mdl targetname blk; ent_create ambient_generic health 100 message misc/jingle_bells/jingle_bells_nm_01.wav; wait 300; ent_remove_all blk"

alias crash "interloper; wait 400; ent_create ambient_generic health 25 message mvm.robo_stun_lp preset 25; wait 100;ent_remove_all player

-based off the umbrella man from interloper
-deletes everyone on the server
Make object red, green, or blue (host only)
alias makeblu "ent_fire !picker color "0 0 255""

alias makered "ent_fire !picker color "255 0 0""

alias makegrn "ent_fire !picker color "0 255 0""

-changes the color of the object you aim at
Jarate
alias jarate "ent_create tf_projectile_jar; ent_create ambient_generic health 25 message Sniper.JarateToss01 spawnflags 1"
-soaks whoever you aim at in jarate
-plays sniper's "Jarate!" voiceline
Engineer curse (host only)
alias engcrs1 "ent_create prop_dynamic model models/player/engineer.mdl targetname engie; wait 1; ent_create info_target targetname target"
alias engcrs2 "ent_fire target setparent host; wait 1; ent_fire engie setparent target"
alias engie_curse "ent_remove_all target; ent_remove_all engie; engcrs1; wait 5; engcrs2"

-creates an a-posing engineer that follows your crosshair and never leaves
9 comentarios
phil swift (real) 29 JUN a las 22:52 
Very fun indeed
XJ58 13 MAY a las 18:42 
so cool, thank you
mrswormsweat 9 MAY a las 16:59 
The Tiny Desk Engineer taunt should have its defaultanim keyvalue set to taunt_russian so it's the Kazotsky Kick as the keyvalue in the guide is currently taunt01. Another reason to have the keyvalue set to taunt_russian is that the animation loops more smoothly than taunt01.
mrswormsweat 9 MAY a las 16:48 
It's used in servers created through the create server dialog in the game's main menu. Make sure to have Use Steam Networking unchecked or if other players are to join, have the server password protected through the sv_password console variable otherwise server crashing bots will likely join some time after sv_cheats is set to 1. Also, sv_cheats being set to 1 isn't going to cause an anti-cheat ban.
local dumbass 9 MAY a las 13:43 
Cuz imma get banned otherwise and I don't exactly want that 😅
local dumbass 9 MAY a las 13:42 
Uuuhhhhhh... I assume use this in trade servers only?
mrswormsweat 9 MAY a las 3:14 
Your Nuke script in the guide executes "ent_create a mbient_generic health 25 message MVM.BombExplodes". There is a space in the entity's classname so it attempts to create an unknown entity as the game prints "Attempted to create unknown entity type a!" to the console upon executing.
Nitrobenzene 9 MAY a las 1:05 
Nice!
Mr. Virus 4 MAY a las 10:39 
This is gonna be fun