Support us on Patreon to keep GamingOnLinux alive. This ensures all of our main content remains free for everyone. Just good, fresh content! Alternatively, you can donate through PayPal. You can also buy games using our partner links for GOG and Humble Store.
We do often include affiliate links to earn us some pennies. See more here.

Not only has Team Fortress 2 been updated but it seems like quite a huge one thanks to the addition of VScript, and you can now run Linux inside it. That's right, TF2 came to Linux back in 2013 and now TF2 itself can run Linux. What a time to be alive.

Developer Joshua Ashton, who also works on DXVK and VKD3D-Proton (part of Steam Play Proton) has been busy it seems, helping out with other Valve projects like TF2 adding in VScript which enables map makers to do some pretty wild stuff. Here's the main changes:

  • Implemented VScript
    • VScript allows mappers to embed script code (Squirrel3) into maps. This system is already being used for L4D2 and CS:GO maps.
      • Interface with entities and the world like regular Hammer logic
      • Simplify things that were previously incredibly complicated/tedious in Hammer logic
      • Interact with and control bots, bosses, player attributes, entities, and game state closely, allowing for enhanced, modified or entirely custom game modes
      • React to game events and change the outcome of certain things, such as damage calculations
    • More technical info about VScript for Team Fortress 2 is available on the Valve Developer Community
      • https://developer.valvesoftware.com/wiki/VScript
      • https://developer.valvesoftware.com/wiki/List_of_TF2_Script_Functions
  • Added the ability to change the skybox dynamically using the skybox_swapper entity or SetSkyboxTexture
  • Added support for custom MvM upgrade files packed into the map
  • Added point_worldtext, an entity that can show text dynamically, with support for multiple SDF (signed distance field) fonts, multiple colors and a rainbow mode
  • Exposed several movement related ConVars
  • Implemented support for func_monitor and cameras
  • Implemented logic_eventlistener for listening to game events from Hammer logic
  • Added the ability to pass parameters and delay to MvM populator actions
  • Improved compile time with VRAD
  • Special thanks to Jakub and everyone on the GitHub VScript Mega Issue for testing, providing feedback, and submitting requests

Ashton even did a little video, to show Linux running inside Team Fortress 2 and you can find the code behind it on GitHub. It's quite fascinating, and probably means it won't be long before someone puts Doom inside TF2 if they haven't already somehow.

YouTube Thumbnail
YouTube videos require cookies, you must accept their cookies to view. View cookie preferences.
Accept Cookies & Show   Direct Link

Want to actually know more about it and what it can possibly do? YouTuber shounic, who I imagine you already know if you're into TF2, did a video on the Beta version of this which you can see below and explains it many times better than I could hope to for you:

YouTube Thumbnail
YouTube videos require cookies, you must accept their cookies to view. View cookie preferences.
Accept Cookies & Show   Direct Link
Article taken from GamingOnLinux.com.
17 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly checked on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly. You can also follow my personal adventures on Bluesky.
See more from me
The comments on this article are closed.
All posts need to follow our rules. For users logged in: please hit the Report Flag icon on any post that breaks the rules or contains illegal / harmful content. Guest readers can email us for any issues.
12 comments

fagnerln Dec 2, 2022
Errrr... Is that secure? The game already has cheating issues, what can go wrong when someone execute an OS on it?
uzay Dec 2, 2022
Does that mean you can run Linux inside TF2 through Proton in Linux? 🤔
StoneColdSpider Dec 2, 2022
Does that mean you can run Linux inside TF2 through Proton in Linux? 🤔
Yo Dawg! I heard you like Linux......
Renzatic Gear Dec 2, 2022
Does that mean you can run Linux inside TF2 through Proton in Linux? 🤔

Someone needs to try this NOW!

I'd do it, but I'm lazy.
Philadelphus Dec 3, 2022
Does that mean you can run Linux inside TF2 through Proton in Linux? 🤔
And then run TF2 natively on that Linux inside TF2! 🤣
Eike Dec 3, 2022
View PC info
  • Supporter Plus
Time to register LinuxOnGaming.com!
Liam Dawe Dec 3, 2022
Time to register LinuxOnGaming.com!
LinuxInsideGames.com
Eike Dec 3, 2022
View PC info
  • Supporter Plus
Does that mean you can run Linux inside TF2 through Proton in Linux? 🤔
And then run TF2 natively on that Linux inside TF2! 🤣

This is not true without Doom somewhere in the chain!
Kuduzkehpan Dec 3, 2022
can we install steam inside of it too ?
minidou Dec 3, 2022
Errrr... Is that secure? The game already has cheating issues, what can go wrong when someone execute an OS on it?

And rampant bot issue.
a0kami Dec 3, 2022
But why ..
MayeulC Dec 4, 2022
Wow, that is awesome!

This will make TF2 able to compete with Garry's mod :)

Halo Infinite also has a pretty impressive forge mode... I'm glad developers embrace fan-made creations more and more.

Also, that shouldn't be an issue cheating-wise. Those scripts are part of the map, everybody gets them. Also, there is nothing new that you couldn't do client-side before. It's just easier distribution-wise.

Want to play a minigolf game? Just connect to the right server, it will DL the map. No mods to install client-side.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.