// Spawn Menu Key Bind Toggle
alias +toggle_spawnmenu "debugsystemui"
alias -toggle_spawnmenu "debugsystemui 0"

// Single line tools
alias "vsm_ignite"  "ent_setname igniteobject;ent_fire igniteobject IgniteLifetime 15;exec ToolTips/ignite;wait;wait;wait;wait;ent_setname origname"
alias "vsm_ragdoll_dance"  "ent_setname prop_dancer;exec ToolTips/rdance;ent_fire prop_dancer StartRagdollBoogie 0 0;ent_fire prop_dancer StartRagdollBoogie 0 5;ent_fire prop_dancer StartRagdollBoogie 0 10;ent_fire prop_dancer StartRagdollBoogie 0 15;ent_fire prop_dancer StartRagdollBoogie 0 20;ent_fire prop_dancer StartRagdollBoogie 0 25;ent_fire prop_dancer StartRagdollBoogie 0 30;ent_fire prop_dancer StartRagdollBoogie 0 35;ent_fire prop_dancer StartRagdollBoogie 0 40;wait 5;ent_setname origname"
alias "vsm_ragdoll_fade"  "ent_setname fading_ragdoll;exec ToolTips/rfade;ent_fire fading_ragdoll FadeAndRemove 2"
alias "vsm_phys_freeze"  "ent_setname freezeobject;ent_fire freezeobject disablemotion;wait;wait;wait;wait;ent_setname origname"
alias "vsm_phys_unfreeze"  "ent_setname freezeobject;ent_fire freezeobject enablemotion;wait;wait;wait;wait;ent_setname origname"

// Weld Tool
alias "SetWeldEnt1"    "ent_setname weldent1;exec ToolTips/weld1; alias WeldToggle SetWeldEnt2"
alias "SetWeldEnt2"	 "ent_setname weldent2;ent_create phys_constraint targetname weldent attach1 weldent1 attach2 weldent2 forcelimit 0 torquelimit 0;wait;wait;wait;wait;exec Misc/weldfixnames;exec ToolTips/weld2; alias WeldToggle SetWeldEnt1"
alias "WeldToggle" "SetWeldEnt1"

// Ballsocket Tool
alias "SetBallsocketEnt1"    "ent_setname ballsocketent1;exec ToolTips/ballsocket1; alias BallsocketToggle SetBallsocketEnt2"
alias "SetBallsocketEnt2"	 "ent_setname ballsocketent2;ent_create phys_ballsocket targetname ballsocketent attach1 ballsocketent1 attach2 ballsocketent2 forcelimit 0 torquelimit 0;wait;wait;wait;wait;exec Misc/ballsocketfixnames;exec ToolTips/ballsocket2; alias BallsocketToggle SetBallsocketEnt1"
alias "BallsocketToggle" "SetBallsocketEnt1"

// Parent Tool
alias "SetParent"    "ent_setname parentent;exec ToolTips/parent1; alias ParentToggle SetChild"
alias "SetChild"	 "ent_setname childent;exec ToolTips/parent2;ent_fire childent setparent parentent;wait;wait;wait;wait;exec Misc/parentfixnames; alias ParentToggle SetParent"
alias "ParentToggle" "SetParent"

// Cannister Tool
alias "vsm_spawn_cannister"  "exec Misc/spawncannister"
alias "CannisterOn"    "ent_fire physcan Activate; alias vsm_toggle_cannisters CannisterOff"
alias "CannisterOff"	 "ent_fire physcan Deactivate; alias vsm_toggle_cannisters CannisterOn"
alias "vsm_toggle_cannisters" "CannisterOn"

// Camera Tool
alias "CameraOn"    "ent_fire camera_tool enable;exec ToolTips/cameratoggle; alias ToggleCamera CameraOff"
alias "CameraOff"	 "ent_fire camera_tool disable;exec ToolTips/cameratoggle; alias ToggleCamera CameraOn"
alias "ToggleCamera" "CameraOn"

alias "SetCameraTarget" "exec Misc/camerachangename;exec ToolTips/cameratarget;wait;wait;wait;wait;ent_setname camtarg;exec Misc/setcameratarget"
alias "SpawnCameraPoint" "ent_remove_all camerapoint;exec ToolTips/camerapoint;wait;wait;wait;wait;ent_create info_target targetname camerapoint;exec Misc/setcamerapoint"

// Scale Tool
alias "ScaleUp"    "exec ScaleTool/ScaleUp;exec ToolTips/scale; alias ScaleToggle ScaleUp2"
alias "ScaleUp2"    "exec ScaleTool/ScaleUp2; alias ScaleToggle ScaleUp3"
alias "ScaleUp3"    "exec ScaleTool/ScaleUp3; alias ScaleToggle ScaleUp4"
alias "ScaleUp4"    "exec ScaleTool/ScaleUp4; alias ScaleToggle ScaleDown"
alias "ScaleDown"    "exec ScaleTool/ScaleDown; alias ScaleToggle ScaleDown2"
alias "ScaleDown2"    "exec ScaleTool/ScaleDown2; alias ScaleToggle ScaleNormal"
alias "ScaleNormal"  "exec ScaleTool/ScaleNormal; alias ScaleToggle ScaleUp"
alias "ScaleToggle" "ScaleUp"

// Swap Color Tool
alias "SwapRed"    "exec ColorSwap/Red;exec ToolTips/colorswap; alias SwapColor SwapBlue"
alias "SwapBlue"    "exec ColorSwap/Blue; alias SwapColor SwapGreen"
alias "SwapGreen"    "exec ColorSwap/Green; alias SwapColor SwapOrange"
alias "SwapOrange"    "exec ColorSwap/Orange; alias SwapColor SwapYellow"
alias "SwapYellow"    "exec ColorSwap/Yellow; alias SwapColor SwapPink"
alias "SwapPink"    "exec ColorSwap/Pink; alias SwapColor SwapPurple"
alias "SwapPurple"  "exec ColorSwap/Purple; alias SwapColor SwapBrown"
alias "SwapBrown"  "exec ColorSwap/Brown; alias SwapColor SwapBlack"
alias "SwapBlack"  "exec ColorSwap/Black; alias SwapColor SwapNormal"
alias "SwapNormal"  "exec ColorSwap/Normal; alias SwapColor SwapRed"
alias "SwapColor" "SwapRed"

// Swap Model
alias "SwapKleiner"    "cl_playermodel models/kleiner.mdl; alias SwapModel SwapGman"
alias "SwapGman"	 "cl_playermodel models/gman.mdl; alias SwapModel SwapBreen"
alias "SwapBreen"	 "cl_playermodel models/breen.mdl; alias SwapModel SwapBarney"
alias "SwapBarney"	 "cl_playermodel models/barney.mdl; alias SwapModel SwapEli"
alias "SwapEli"	 "cl_playermodel models/eli.mdl; alias SwapModel SwapMonk"
alias "SwapMonk"	 "cl_playermodel models/monk.mdl; alias SwapModel SwapOdessa"
alias "SwapOdessa"	 "cl_playermodel models/odessa.mdl; alias SwapModel SwapAlyx"
alias "SwapAlyx"	 "cl_playermodel models/alyx.mdl; alias SwapModel SwapMossman"
alias "SwapMossman"	 "cl_playermodel models/mossman.mdl; alias SwapModel SwapCop"
alias "SwapCop"	 "cl_playermodel models/police.mdl; alias SwapModel SwapSoldier"
alias "SwapSoldier"	 "cl_playermodel models/combine_soldier.mdl; alias SwapModel SwapGuard"
alias "SwapGuard"	 "cl_playermodel models/Combine_Soldier_PrisonGuard.mdl; alias SwapModel SwapElite"
alias "SwapElite"	 "cl_playermodel models/combine_Super_Soldier.mdl; alias SwapModel SwapMale07"
alias "SwapMale07"	 "cl_playermodel models/humans/group03/male_07.mdl; alias SwapModel SwapMale09"
alias "SwapMale09"	 "cl_playermodel models/humans/group03/male_09.mdl; alias SwapModel SwapFemale01"
alias "SwapFemale01"	 "cl_playermodel models/humans/group03/female_01.mdl; alias SwapModel SwapFemale06"
alias "SwapFemale06"	 "cl_playermodel models/humans/group03/female_06.mdl; alias SwapModel SwapKleiner"
alias "SwapModel" "SwapKleiner"