Playing With Fire: Flame Where You Aim
October 13, 2024 - Nitoandthefunkybunch
Tags:
development
fun
Many experienced Pyro players coming into TF2 Classic have reported flames feeling off. This is often chalked up to the flames in TF2 Classic being slower than their Live TF2 counterparts, and it's true that they are. There is way more going on behind the scenes, however. When you are moving and shooting, flames will inherit your velocity; if you move forward/backward, they will move faster/slower. While this does not increase or decrease your range, it also means that moving to the side causes your flames to move to the side. They veer off course, which results in situations like the following:
Fixing this serverside was easy: you simply calculate a relative velocity in the direction the Pyro is looking. For the client this is a much trickier issue. Source particles are handled at an engine level, which we don't have access to, and there is no existing function to calculate the relative velocity. This also means we have no easy way to line the flames up with the hitboxes directly, like in Live TF2.
We had to get a bit creative, and after pursuing several options (one of which involved a floating nail that would send its speed to the flames), we discovered that if we simply edit a set of coordinates every frame, and send that to the particle, then the particle can treat it as a velocity value and send the flames in the correct direction. So, in Update 2.2, flames will have new physics that reward leading your shots and sporadic movement. Here is a diagram of the difference:
That's all for this series of posts! Don't worryβyou'll be hearing from us again soon!
Fixing this serverside was easy: you simply calculate a relative velocity in the direction the Pyro is looking. For the client this is a much trickier issue. Source particles are handled at an engine level, which we don't have access to, and there is no existing function to calculate the relative velocity. This also means we have no easy way to line the flames up with the hitboxes directly, like in Live TF2.
We had to get a bit creative, and after pursuing several options (one of which involved a floating nail that would send its speed to the flames), we discovered that if we simply edit a set of coordinates every frame, and send that to the particle, then the particle can treat it as a velocity value and send the flames in the correct direction. So, in Update 2.2, flames will have new physics that reward leading your shots and sporadic movement. Here is a diagram of the difference:
That's all for this series of posts! Don't worryβyou'll be hearing from us again soon!
Community Discord Roundup
August 2, 2024 - hunterbunney
Tags:
community
fun
Whoever said Discord was "the embodiment of chaos" and "a demigod of mischief and trickery" and "voiced by John de Lancie" may have been two-thirds onto something. That said, Discord is also a great tool for community organization β something we struggled (and failed) to spotlight in our community roundups, which have mostly featured Gamebanana uploads or creative work sent to us directly.
To reattain balance (and hopefully close the book on this "monthly roundup" thing so we can make them more irregular, and thus more impactful), let's talk about two of our big ones.
TF2C Competitive (link)
Yes, there's a TF2 Classic competitive scene! 6s, Highlander, and MGE (under maintenance, so I'm told) are all on the table, marrying traditional comp gamerules with the bespoke features and vastly improved game-feel of TF2C.The only negative thing to be said about competitive TF2C is there often aren't enough players β so that's your responsibility to fix. Pick-up games are hosted irregularly each week based on availability (but usually on Fridays or weekends), and what this subcommunity needs more than anything are some warm, eager bodies. If you're in North America and are seeing this the day it was posted, there might be a game's worth of people ready to go.
TF2C Mapping Community (link)
Our broader level-design community also hosts weekly games (EU and NA) through its Discord. That is to say, you're welcome to join as just a now-and-then playtester, even if you have no interest in making maps.Veteran mapmakers, and Hammer-teurs alike, operate in the TF2C Mapping server, and there's an emphasis on how TF2C level design diverges from live TF2 β both in terms of exclusive gamemodes, and designing around our unique weapons and traversal tools that Valve couldn't have anticipated.
Here's a quick rundown of a few maps in their test shuffle:
- Dynamo (Capture the Flag), a visual overhaul of Turbine where the main item of review is the slick artpass;
- Ember (Payload), a single-stage payload map in a seaside town, with an emphasis on ground-level cover in wide fightyards;
- Mirages (Medieval Mode/Control Points), where narrow walkways lend the Brick's knockback some devastating utility;
- Bloinkus (Four Team/Arena), whose nauseatingly tight layout circles in on itself like a racetrack, blending the teams up into chaotic four-way brawls;
- and Export (Four Team/Domination), which splits four teams across three points β RED and BLU fight over theirs, GRN and YLW fight over theirs, and the real prize is the point in the middle.
Give each of these servers a shot! Joining is free. The worst you can do is lurk, right?
Community Roundup: June 2024
June 28, 2024 - hunterbunney
Tags:
community
fun
Pull through, blogheads! It's time for another feature, eleventh hour be damned.
As a reminder, even if you don't plan on playing it now, you can install RR now and keep those assets pre-loaded in your TF2C files, in the event that a kindly "network guy" hosts a public match. In fact, there's really no reason not to install it.
Our hosts at VaultF4 β the unfortunate dog to the ringworm infestation that is our mod β have a 30-person PropHunt server, alive and kicking, here in TF2C. The gamemode port is in beta, so expect the requisite level of jank, but if you're on the fence about pretending to be a traffic cone in a class shooter, you might not be the PropHunt type in the first place. Truly, the community roundup is wasted on you.
Learn more about PropHunt and the port here, and look out for it in the server browser! Be the brave boy that joins an empty lobby. Start the wave.
Renaissance Revival Version 2.1
Last month's spotlight, the Renaissance Revival pack, has gotten an update! Dozens of new staves, glaives, and other fantasy-historical weapons await you (as long as you install the pack, convince your friends to install the pack, and pester your Discord server's "network guy" to mount it to a server β network guys act begrudging, but they secretly love chores like this).As a reminder, even if you don't plan on playing it now, you can install RR now and keep those assets pre-loaded in your TF2C files, in the event that a kindly "network guy" hosts a public match. In fact, there's really no reason not to install it.
PropHunt
We at TF2 Classic are known for our Christ-like acceptance of sinners, harlots, and all sorts of wretches whom the live TF2 community won't abide β including those who enjoy alternative gamemodes like Dodgeball, Randomizer, and now PropHunt.Our hosts at VaultF4 β the unfortunate dog to the ringworm infestation that is our mod β have a 30-person PropHunt server, alive and kicking, here in TF2C. The gamemode port is in beta, so expect the requisite level of jank, but if you're on the fence about pretending to be a traffic cone in a class shooter, you might not be the PropHunt type in the first place. Truly, the community roundup is wasted on you.
Learn more about PropHunt and the port here, and look out for it in the server browser! Be the brave boy that joins an empty lobby. Start the wave.