Pelipoika / TF2-Bot-Control

Allows players to take over a robot in Mann vs Machine
GNU General Public License v3.0
6 stars 4 forks source link

Fixed glow not appearing and fixed some issues. #8

Closed Kenzzer closed 7 years ago

Kenzzer commented 7 years ago

Everything should be fine from now .

I couldn't test the code yesterday, but I did today, and everything is working fine. And here some screenies: the sentry is being placed for the 1st time the sentry has been placed the sentry has been placed, and now it's now carried placing a mini sentry for the 1st time, while the main sentry is built the mini has been placed carrying a mini sentry that has been placed, while the main sentry is built final screenshot, showing the glow is reapplied fine to the mini sentry, and not to the main sentry

That pull request should also fix issue #6, I couldn't test it, but according to valve's code, it looks if the bot was either killed by a sniper holding a bow/sniper, or look for the attribute "force_distribute_currency_ondeath", but those attributes with "", can't be hooked by TF2Attributes, hopefully I only saw that attribute being applied to bots only so far, so I don't think there's any point to worry about that attribute.