User talk:Randomname90001
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 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?
| s | GrampaSwood (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.
| s | GrampaSwood (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 ♥ Talk ♥ My Edits 13:40, 2 July 2024 (UTC)
- It is not, this code is not included in the 2020 leak.
| s | GrampaSwood (talk) (contribs) 13:40, 2 July 2024 (UTC)