Skip to content

It's not unusual to crash the hat market

Pre-release
Pre-release
Compare
Choose a tag to compare
@nosoop nosoop released this 12 Sep 08:10
· 35 commits to master since this release

This release finally adds basic support for unusual particles.

CUtlRBTrees are still a massive pain to parse the disassembly of (and I still don't quite understand how they work), but the utility functions I wrote three months ago to deal with traversal of them (which I wrote to extract entity class sizes from the entity factories) makes it a lot easier to deal with.

I could add support for all the other values the schema parses for these particles, but I don't think most people care about those.

Added

  • Native TF2Econ_GetParticleAttributeSystemName, which returns the particle system name for a given particle attribute value. You could pull the particle value from a player's item with TF2Attributes, but really, I think more people care about finding out what values are valid. Speaking of:
  • Native TF2Econ_GetParticleAttributeList returns an ArrayList of valid particle attribute values. You can specify whether you want all of them or only the ones for taunts / weapons / cosmetics.
  • Native TF2Econ_GetParticleAttributeAddress for those raw value accesses.