"The game needs to reconstruct what a Scout is"
That sounded really terrifying.
Considering spy's class is existing just due to a bug so I'm not surprised he has so much spaghetti code
@@pedropradacarciofi2517 back in the original team fortress there was a bug that caused a class to have the appearance of another class, and that gave the devs the idea to make a disguising class
edit: everyone is saying the bug is caused by quake, not the TF mod
@@Archimedes.5000 Is it really? Think about DotA and Warcraft 3. Same thing right? Just a mod?
@@tappajaav well what about "glitch in the original team fortress mod for quake"
heavy with the knife sticking out of the sleeve might be one of the most cursed tf2 things I've seen
"don’t disguise as the soldier, pyro, heavy, or engineer."
ok then
I think it's more like "don't disguise your weapon to match any stock shotgun held by any class" tho
It’s amazing how a game coded like this can function so well
well you say that, but if for every time i got thrown off Hassle Castle's play area by random misplaced trigger_hurt i got a nickel, i'd have two nickels. Which isn't much, but it's weird that it's happened twice.
To us, it seemed to function well. Remember that back in 2007 most didn't care much for how the game fucntioned. All they knew was that "this class does this, now go kill the enemy!" But as time progressed, more and more people began to pay attention to the inconsistencies and glitches that happened until recently with the source code leak, the game's actual messy code is now blown wide open.
This gives me an excuse to disguise now, I'm really tempted to walk around as a soldier holding a knife, it looks so funny.
And if you get the version of the glitch where your disguise enters the reference pose, you can then just spam silly voice commands and pretend to be a Civilian friendly. No one will notice.
Spy: I am sp-Soldier...
Soldier: what’s that?
Spy: disguises*
Soldier: looks at hands* what’s tha- AHHHHHHHHHH I AM HOLDING A KNIFE
Spy: I am the spy.
I have no idea why I wrote this
Send help.
I predict that he's going to talk about cloaking spaghetti next
"Cloaking on 2fort breaks the universe"
Or
"Cloaking on the payload aborts the spy"
Cloaking on 2fort will send your hit box to the enemy spawn, at which point the game will decide that you are on blu and auto balance you
Fair. Disguising does kinda suck.
I find it sometimes works when walking backwards
Also completely useless if theres a pyro
I can fool people most of the time.
I disguise as a Heavy from my team (better if he has the Sandvich), crouch and display melee weapond while I'm holding the death ringer, get to feign and kill people from behind
@@kittencorp.3295 If his dead ringer got triggered that means his enemies are shooting at what they thought was a hoovy, which is a valid reason for war
@@csharp-animemusic6558 Indeed, killing a non-combatant is what I seek to penalty
At least this seems like an easy fix, however it is also a good reminder for creating naming schemes and applying them.
I personally don't see why there isn't a specific file that's checked to generate the stock weapons for a non-present spy disguise. That way it'd be more efficient (a file that's maybe a few KB over 5MB) and you'd not have the issue of the two file's weapon names not matching.
@@legatelaurie Or, alternatively, just remove the entire schema file and replace the IDs with the internal names altogether.
Yeah, this is your pretty standard data redundancy error, one of the main sources of glitches in general.
@@ryan-levy in this day and age there is 0 reason for your code to use magic number ids to represent object types at all, hell there probably wasnt even really a reason to do it about 14 to 15 years ago when the game was in development. compilers all pretty much universally will scrub out your lengthy variable names on their own when compiling your code
@@Templarfreak You're forgetting that in many cases, these weapons might be comprised more of data, not code. Lots of logic about how a gun aims and fires are so generic it might as well be ingrained into the core of the Source engine itself, and the weapons could just be a table with a weapon name, model path to load and weapon stats (fire rate, recoil, bullet count & spread for shotguns, status effects, damage), with maybe one or two action overrides.
The problem here is that there are two tables, they are not consistent, and the Spy references the wrong data. That and the disguise data doesn't persist after the original player it's referencing disconnects. It doesn't make a copy of the loadout, it just references the original player.
2:38
Heavy please don't
He looks like joseph joestar moments before slitting his wrist to find a baby
So... Try to disguise as a class that is actually on the enemy team.
This reminded me that Upward spies who are always disguise as scout while we don't have any.
But if the player you're disguised as disconnects, then every class is an invalid disguise.
Not even that, really - given the lack of friendly fire or any other consequences for spychecking, anyone remotely suspicious gets attacked and in the end there's really no point to using a disguise to fool a player. The max I can think of regarding it is you absolutely needing a disguise to approach a sentry and looking like a team member at the corner of someone's eye, since they'll only see the matching colour for a bit and not think much of it. Pretty much every nemesis spy I have at this point in my playtime is someone who actually stays out of my sight, because the disguise is often obvious and free of consequences to undo, so the spy is always at a massive disadvantage if they try playing like a spy. Those who play like ninjas with revolvers and don't care about being seen are the ones who do the real damage to a team.
@@maxwellsterling true, but people start actively spy-checking only after encountering one personally. Before that you've got an element of surprise on your side. This makes Spy great off-class, which you can switch to mid-game, wreck some havoc behind enemy lines and switch back to your main. But of course, if you'll act too suspicious and weird you still get yourself spy-checked.
me: *sees scout holding a pistol* wait a minute... *inspects pistol closer* this is... the engineers pistol! SPY DISGUISED AS SCOUT!
**Doesn't notice decreased speed, can clearly determine the correct pistol**
@@thatcooldudeisawesome876 I swear disguising as scout makes you move faster, just like how disguising as heavy makes you move slower
1:08 love how the devs just called heavy as hwg (heavy weapons guy)
HWG was the normal shorthand for Heavy Weapons Guy back in the Team Fortress Classic days. "Heavy" only caught on after TF2.
@@luckyducky7819 It is yes, but how many people insist on referring to the class as only that and never anything shorter?
What about when a Spy runs around undisguised with a Flamethrower in his revolver hand?
I found that disguising as a demo then pulling out your melee weapon is the best way for tricking the Enemy.
@@CarmenLCyeah but be honest have you ever inspected a sniper closely?
“Spy. Thanks, and have fun” -GabeN 2006
"BONUS spaget..."
wait, so how does something like a strange shotgun or festive shotgun work? how does the game know to always give the soldier or pyro that shotgun if it mistakes it for something else?
That would explain why my smissmas sweter shotgun disappeared
Modified shotguns are tied to a player, so this bug never happens with them.
It's the year 2050, and everyone's 4 key is now a "place a dispenser here" bind
I thought that was a feature.
I thought sometimes disguises just failed and held the spy's weapon instead
I thought it was a feature, but it was a bug.
I wonder how many features are actually just really big bugs?
@@volkanik3070 Explosive jumping was never a bug in TF. It was a physics exploit in Quake, and was kept intentionally when Valve ported it to TFC and TF2. iD software also kept it in later Quake games.
Now the disguise kit is just the spycrab enabler
They... actually fixed these. Against all odds, the Source spaghetti monster has been successfully fought back for another day. Still shocked it actually happened.
Here's how I believe the shotgun problem happened: They wanted Heavy, Pyro, Engineer, and Soldier to have different ammo counts for shotgun. But since the ammo count is tied to the weapon itself and not the class, they had to create different shotguns for each class.
The reason item schema doesn't take this into account is because the primary purpose of the item schema is to define items for the backpack. Of course, they did not want to confuse the player by displaying 4 separate shotguns in their inventory so they added a single shotgun entry to the item schema that covers all 4 of them.
This is all completely fine. It's just standard game dev hijinks. The problem comes from Spy's diguise (an in game mechanic) being tied to the item schema (a database for backpack)
very belatedly, the actual reason is because those four all have different hands
see, back at launch, the hud models you see in game weren't combinations of the weapon's actual model and a model of your current class's arms. they were just one model, containing both the weapon and the arms - because most source games _don't_ have guns usable by multiple characters with immediately distinguishable arms ( or, hell, multiples characters with immediately distinguishable arms to begin with ) so ... well, the engine just kinda _assumed_ that each hud model was just a single, constant model, regardless of who was using it. of course, it would look _extremely_ goofy if the hands holding the shotgun looked the same regardless of if you were playing soldier, pyro, or engie, so if them using the same shotgun would caused that, well, why not just give each of 'em their own technically unique but functionally identical shotguns?
funny thing is, though? they _weren't_ actually functionally identical. it was pretty minor, but one class - pyro, i think? - had differing reload times on their shotgun, and a likely cause for this was because a tweak to the shotgun's animations that was meant to apply to all 'em, but ended up missing that one in particular
you might be wondering, then, why the item schema doesn't have the duplicates. that's because the item schema _did not exist_ at launch, because ... there weren't items. oh, sure, the weapons that had been around since launch _became_ items once the backpack system was implemented ... but that was also around the time where baking the arms directly into the weapon hud models and having to include them in every weapon that used the same animations, and also having the have variants of the weapon hud models for each class thatcould use 'em was no long a solution that worked so well. so that's when the _actually_ shared shotgun and pistol were introduced to replace the old, class-specific ones, since by then they had implemented the tech to handle the hands _far_ more elegantly and they were no longer necessary. so they were removed, because they weren't used by anything anymore
... except for the whole thing keeping track of the default class loadout for disguises. seems like they forgot about that when they changed to the item system and continued to forget about it until very recently, leading it to reference legacy content that was no longer in the game. which led to these cornercases where if a spy disguised as a class that nobody was playing ( and _specifically_ that - even if the only disguise target was using an all-stock loadout, the fact that they _have_ the actual stock shotgun and not the old ones lets the disguise copy something that's actually in game ) then, well ...
@@hi-i-am-atan If the item schema didn't exist at launch, how would a Spy even disguise as a class that the other team doesn't have? Sure both sides have 12 players, but when one side has 4 Snipers, you might end up picking a class that wasn't there. Until this bug was fixed, a Spy trying to disguise as an Engineer when that doesn't exist on the other team will be fine as long as he tries to hold the wrench (and no one notices their team doesn't even have that class...) since the item schema and the game agree on the wrench but fails when the Spy tries to fake hold the Shotgun due to this issue. If the item schema didn't exist on launch, this shouldn't work for any of the weapons.
@@alex_zetsu very easily
at launch, the engineer had the engineer shotgun, the engineer pistol, and the wrench. the engineer _only_ had the engineer shotgun, the engineer pistol, and the wrench ( and the pdas, but that's irrelevant for disguise purposes ). so, if you disguised as an engineer, the game would give you the engineer shotgun, the engineer pistol, and the wrench, regardless of whether or not you disguised as a specific enemy engineer or as a generic engineer
the bug is literally caused by the existence of loadouts and, consequently, the item schema
@@hi-i-am-atan Oh so it worked without the item schema by making you a Engineer not _the_ Engineer of the guy you're disguised at. Well on one hand, this explains why you were always a Spy without a mask when disguising as a Spy. But then that creates a new mystery. If without the item schema the game makes you just disguise as a Scout / Soldier / Pyro / Demoman/ Engineer/ Heavy/ Medic/ Sniper/ Spy instead of the specific player, then wouldn't you not have a name?
@@alex_zetsu no it makes you the engineer of the guy you disguised as
it's just that the engineer of the guy you disguised as is exactly identical as every other engineer of the same color, barring name and avatar, so the only thing you need to copy from the player specifically is the nameplate
also, possible correction: iirc changing your disguise's weapon, while still predating items, was not actually a launch feature. so at launch, you'd just be given the engineer's shotgun, and consequently the medic and engineer disguises were kinda awful
you might think being stuck disguised as an engineer w/ his shotgun out doesn't sound _that_ awful, and to that i say: launch tf2 was 2fort and dustbowl and it was _rare_ day when you ran into an engineer that wasn't just m1ing their sentry with their wrench on intel / last
What about Demoman with no legs, or somehow Demoman armed with Pyro's flamethrower bug? I found those super hilarious.
Demo holding another class primary happens when you switch disguises from any class to a demo that has the booties equipped.
I love how, when a spy is disguised, his disguise always has such wide open, alarmed eyes.
Holy shit, this is hilarious. I don't even play anymore, but I love keeping up on the news & bugs. Thanks for posting!
yeaj, except this isn't a new bug. This has been on the game since launch and valve didn't do anything about it *sigh*
@ Nah, shame on Valve. I can't blame anyone for leaving tf2 since every round like five aimbotters will join and the game is filled with bugs. Valve doesn't care so any should hd
"Spy. Thanks and have fun."
Gabe Newell 2020
Bonus Spaget sounds like something you'd get from raiding the fridge at 4 am
Getting a 97% on my organic chem final while thinking about source spaghetti
Pro tip for dead ringer spys just disguise as someone on your own team and and run head on into the enemy, they'll think they killed a normal enemy most of the time.
@@MrNicosaure I don't remember but I wouldn't be surprised if that were true
@@MrNicosaure sometimes it does other times it doesn't plus most power don't check the bodies of the enemy team like who would do that.But other than that it's pretty easy to tell when there is a dead ringer spy in the enemy plus even if they don't know that you have the dead ringer you still have decloack noise
Today valve fixed it.
The fact Valve actually sees your videos and does things about them.. man
but this was actually a very straightforward bug in the code for a change
Shounic putting effort into the last segment is what makes me have a reason to live
this is some real spaghett going on
How are your thumbnails always so good!?
I do love myself some abstract, yet perfectly conveys the underlying energy of the topic.
I love how Shounic just starts talking in his videos. No greeting or introduction. It’s just read the video title and let’s go
"Don't disguise as soldier, pyro, heavy, or engineer"
Understandable have a great day.
I fear no man but that *heavy with spy knife * it scares me
Every single one of your videos is like a blessing.
Neat video! Thanks for uploading!
Why disguise anymore? It's useless. Just don't die lol
That's the same as saying to someone that has asthma to just breath normally
2:34 Damn, that handless Heavy with a knife is creepypasta material.
the graphic animations you make are mind-blowing
See this is why I love your channel. Your explanations are specific and concise, you get straight to the point, and you explain things well enough that it's easily understood even by the less tech-savvy of the crowd.
Damn i always wondered about the disguises holding spy weapons
2:20 nobody ever realizes the eyes lol
This is super well edited video
I love this source code analysis. Wish you could do more of this kind of thing with other games!
Sick
Can you explain why sometimes when you disguise it shows the wrong weapon? I once saw in a soundsmith video that a spy was disguised as a demo and was holding a tomislav.
It’s demoman’s boots and shield being broken with disguises. They have an actual equip region on the demo so it messes up the disguise and picks another weapon from a different player.
The most cursed one I saw is the escape plan engineer meme.
external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fi.pinimg.com%2Foriginals%2F91%2F25%2F8a%2F91258acf3e373f8956d39daa680c0769.png&f=1&nofb=1
Happens qhen changing from a disguise holding a primary wep to a demo with booties equipped
I didn't get notifications for this, anyways good video as always keep up the great work!
2:22 I love how the Spy disguise goes from looking at the Heavy to looking right at the camera when the other player disconnects. Real spooky.
Realistically if you're really trying to fool the enemy team the best all-around class to disguise as is Spy, as it'll make you appear as a disguised spy for the other team, which means you won't have any cosmetics on that could more easily give away that there's 2 of 1 person around, whilst also making it a little less suspicious when you're around your own team, since spies are supposed to be around the enemy team.
Disguises still don't work on most people and you'll just get spychecked by decent players no matter what you try, but the only benefit to the classic "Disguise as Scout" philosophy is sometimes having snipers or ambassador spies miss your head, but otherwise you're copying cosmetics of any scouts you disguise as whilst also moving slower than the Scout, so you're generally very obvious.
Just a tip to seem faster jump around like a rabbit on cocaine as spy, also will be harder for sniper to visualise where spy's head would be
Frankly being a spy of the enemy team is strangely suspicious for quite a lot of people i feel, like, nobody trusts not even their own spies, lol
In my experience (been a spy for a cosiderable amount of time, not that long but enough to see a few patterns) the best way to handle it is both simple yet not
First, the disguise is just something to add seconds of thought, players are constantly checking their backs and if they spot anything right behind them, they’ll try to attack it at least once to check almost always, because it is fast and easy, that’s why i don’t attack players that are calm and collected, it just doesn’t work if it is a good player.
The disguise shines when the player is alarmed, in the middle of a fight or something, the enemy doesn’t really have nearly as much concentration, so seeing their ally usually passes by quite often, but mostly only with long range classes, and mostly if you behave like you are said class preparing to assist with the fight
Being a medic is rather useless since people find you out awfully quick when you don’t heal, you are an slow scout so is also easy, and nobody ever trusts their engineers, i swear.
But frankly, demoman, sniper sometimes, as well as contrary to the video here, soldier, have worked the best for me in various situations of trying to gain a bit of fooling chance, i guess because these classes are expected to be with their allies so they aren’t so immediately suspicious
Also like, again, not good spy, just my experiences as spy
It got fixed lmao
The bonus spaghet makes the most sense out of all of this.
wake up babe new shounic video
Oh my God. It blows my mind how careless this bug is. Why on Earth did they feel the need to classify the shotguns each class carry as their own distinct weapons? And, larger point, how on Earth did they allow for such glaring issues in one of the integral parts of the Spy's tool kit to make it out into the public? Especially considering that the Spy is supposedly Gabe's "favorite class?"
Don't forget, this is just ONE of all the bugs that Spy players have to deal with.
Can't speak for TF2 specifically but I know multiple distinct copies of the 'same' object can make the animator's life easier (changing rotation origins etc). That might have been the case here for the shotguns.
@@maskettaman1488
I thank you for the answer, but the questions were more rhetorical than anything else, asked to point out the absurdity of this situation.
@@Sneaker3719 And I was explaining that with a little insight it's not as absurd as you think.
@@maskettaman1488
I think it's safe to say that a coding decision that results in a bug that more or less breaks one of the key features of one of the game's classes is pretty damn absurd.
I mean, it’s kind of hard to replicate the behavior of each class, too.
@bad demoman The only disguise that provides some plausible deniability is the sniper, and that doesn't work if the enemy is wondering why their sniper isn't shooting anyone, or if the enemy doesn't have any snipers. Disguising is only useful for sapping sentries.
@@MK_ULTRA420 its pretty good for going around when enemy isnt truely paying attention, and does its job of making the enemy not immediately catch you when theyre fighting others and/or just catch you in the corner of their eye, as they are less likely to spycheck because they arent truely paying attention and noticing you as long as you arent doing something outlandish. Also, it is definetly better than no disguise.
@@deadlytoaster1422 In pubs you can do whatever if you're good at spy. In competitive matches you get spy-checked just for being out of position.
@@MK_ULTRA420 yeah I was talking about pubs because i have no comp experience, nor do I plan to play a serious tf2 game. I have seen that video where people were atleast somewhat fooled by disguises, enough to for the spy to get a key pick, but id wager that those are rare, and also take good acting skill
Bro this video is the only thing I'll think about during midterms.
shounic:
*uploads*
Gaben:
*give me a break!*
Fixed!
And don't disguise as a scout. Ik Everyone knows it
Cool video!
You have a good point.
I wonder what he'll say about cloaking...
That's why I always check the bottom left corner to see what my disguise is currently holding, I recall even taking a screenshot of the one time my Engineer disguise was holding a "Syringe Gun" instead of a Shotgun
I couldn’t stop thinking about this during an exam today.
Got patched. Cool.
This just got fixed
3:02 we need a ten hour version of this
I always disguise as spy, just in case, also you have the same speed so it makes sense
12 seconds ago.
Wow
nice videos tough
I love how the heavy is called "HWG" as Heavy weapons guy
dont disguise as any class, disguise as a anime girl instead!
I say these information animations are very well done
Disguising, I’ve found anyway is really good at the start of the round and at the end. At the start you can use a disguise to deny the initial push when defending, and break the defense when attacking. At the end, it useful to disable sentries while you Uber push into final
Lmao Imagine disguising
This post was made by the cloak and dagger gang
This actually explains so much. I feel I see this so often I've wondered why a player with weird and improper weapons isn't held as a more common spycheck heuristic. Touhg granted, that stuff bugs out anyway all the time.
Damn, this is hella nerdy but fascinating at the same time
thanks
I once got a situation where, disguised as scout, I was Holding a mini gun in the melee slot
your voice is so very calming
o7
this video is officially just history as of june 21st 2022
www.teamfortress.com/post.php?id=139819
Finally, Spy is playable again!
Oh, I main Engineer?
_Damnit, fellas._
I bet this video helped it get fixed
sweet! lol. i wonder how long it was broken for
lol no... I keep finding enemy spies in these weird glitched out appearances
Just because Valve says they fixed a bug, doesn't mean they actually did
no more pahntom heavies :(