User talk:Randomname90001

From Team Fortress Wiki
Jump to: navigation, search

Hello, Randomname90001!

Welcome to the Official Team Fortress Wiki!

Here are a few links to get you started:

  • If you're not too familiar with editing wikis, you might like to start with Help:Editing.
  • If you already are familiar with wikiediting, you might want to try Help:Style guide.
  • Recent Changes will let you see others' contributions as they happen.
    • To make Recent Changes more useful for all users, remember to provide an edit summary in the "Summary" field before you save your changes.
    • You can set the wiki to prompt you for a summary in your preferences.
  • When posting on an article's Talk page you should add four tilde symbols or ~~~~ onto the end.
    • This will add a signature and timestamp to your comment so others can easily tell who posted it.
    • Any new sections on an article's Talk page should be added to the bottom of the page and not to the top.
    • When editing normal article pages, don't sign your contributions.
    • You can use the Signature Icon.png button in the editing toolbar to quickly add a signature.
  • If you have any questions or need any help, please feel free to leave a message for a staff member.
  • If you have trouble with anything on the wiki or you're not sure about a specific topic, feel free to join the IRC.
  • You can also customize your user page if you like.
    • When uploading images for use on your user page, please add the prefix User Randomname90001 to the file's name.
    • Additionally, if you would like to add any self-made content to the wiki, please do so by adding the prefix User:Randomname90001/ to the page title when you create the page.

Once again, welcome to the Team Fortress Wiki!


-- WelcomeBOT (talk) 05:12, 27 February 2024 (UTC)

Code edits

Hi there,

Do you happen to know where the code for attributes is stored?
BLU Wiki Cap.png | s | GrampaSwood Praise the Sun! (talk) (contribs) 18:23, 11 June 2024 (UTC)


The code for attributes isn't really in one place, "game/shared/econ/attribute_manager.cpp" has information about how they are applied, specifically at line 580, but most are found in weapon and player code, along with their functionality. "game/shared/tf/tf_weaponbase.cpp" has most of the non-weapon class specific attributes, like-wise "game/shared/tf/tf_player_shared.cpp" has a lot of the player attributes.
Randomname90001 (talk) 18:36, 11 June 2024 (UTC)

Thank you, I noticed for some weapons they're in the .cpp for the base weapon, but when I looked for the boost-on-kill attribute for the Big Earner it wasn't present in the knife .cpp. I'll take a look in those files.
BLU Wiki Cap.png | s | GrampaSwood Praise the Sun! (talk) (contribs) 18:47, 11 June 2024 (UTC)

Unusual percentage

Hey, currently the Unusual page says that there is a less than 1% chance of obtaining an Unusual quality item through crates and cases. With the tooltip saying it's roughly 0.66% or 1/150. Would it be possible to verify the actual chance of an unusual via the source code? The source given for the 0.66% chance is an analysis of unboxings from 2013. Would be nice to have an actual concrete source if possible. You seem pretty good at digging through the code so I figured I'd ask you. Mediarch User Mediarch PFP.pngTalkMy Edits 13:40, 2 July 2024 (UTC)

It is not, this code is not included in the 2020 leak.
BLU Wiki Cap.png | s | GrampaSwood Praise the Sun! (talk) (contribs) 13:40, 2 July 2024 (UTC)
Darn Mediarch User Mediarch PFP.pngTalkMy Edits 13:43, 2 July 2024 (UTC)

I see you added a section in your sandbox but I am stupid and can't see where you're getting the 1 in 215 from. The comment only says one out of this many and I don't see anything in the schema relating to the mentioned crates that would give information about unusual rates. Jh34ghu43gu (talk) 10:43, 10 July 2024 (UTC)

First thing, I put the wrong crate, should've been Director's Cut Reel, not Audition Reel, my apologies. I probably should've specified what lines they are found at in the schema in my original edit, but they are found at line 184420 for the Mann Co. Stockpile Crate, and 184718 for the Mann Co. Director's Cut Reel. The comment says that the chance is one out of the attribute's ("random drop line item unusual chance") value, so that's where I got that from, with the attribute's value being 215 in the item schema. Randomname90001 (talk) 18:21, 10 July 2024 (UTC)

Endless mode MvM

Hi there,

Does this mode still function when enabled?
BLU Wiki Cap.png | s | GrampaSwood Praise the Sun! (talk) (contribs) 11:54, 11 July 2024 (UTC)

Yes, but it can't be enabled normally through the developer console and has to be done with SourceMod or the SetValue() function in VScript. Randomname90001 (talk) 17:55, 11 July 2024 (UTC)