Support us on Patreon to keep GamingOnLinux alive. This ensures all of our main content remains free for everyone with no article paywalls. Just good, fresh content! Alternatively, you can donate through PayPal or Buy us a Coffee. 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.

Team Fortress 2 update adds VScript and you can now run Linux inside it

By - | Views: 25,907

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 came back to check 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.
See more from me
12 comments
Page: «2/2
  Go to:

a0kami 3 Dec, 2022
But why ..
MayeulC 4 Dec, 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 with no article paywalls. We also don't have tons of adverts, there's also no tracking and we respect your privacy. Just 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!
Login / Register

Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.