Difference between revisions of "User talk:Randomname90001"

From Team Fortress Wiki
Jump to: navigation, search
(Code edits)
(Unusual percentage: new section)
Line 34: Line 34:
  
 
: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.<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 18:47, 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.<br>[[File:BLU Wiki Cap.png|20px|link=List of Wiki Cap owners]] {{!}} [[Help:Group rights|<span style="color:green;font-family:TF2 Build;">s</span>]] {{!}} [[User:GrampaSwood|<font color="DB9C1F">GrampaSwood</font>]] [[File:PraisetheSun.png|20px|alt=Praise the Sun!]] ([[User talk:GrampaSwood|<font color="DB9C1F">talk</font>]]) ([[Special:Contributions/GrampaSwood|<font color="DB9C1F">contribs</font>]]) 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. [[User:Mediarch|<font color="ec5c69">'''Mediarch'''</font>]] [[File:User Mediarch PFP.png|25px]][[User:Mediarch|<font color="#ff66cc"> ♥ </font>]][[User talk:Mediarch|<font color="ec5c69">'''Talk'''</font>]][[User:Mediarch|<font color="#ff66cc"> ♥ </font>]][[Special:Contributions/Mediarch|<font color="ec5c69">'''My Edits'''</font>]] 13:40, 2 July 2024 (UTC)

Revision as of 13:40, 2 July 2024

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)