[TF2] How can I change cosmetic styles with scripting?
I'd like to change the style of a cosmetic style of the Team Fortress 2 'Caped Crusader' cosmetic from 'Vigilante' to 'Team Playa'. In other words, change the color of Batman's cape from black to team color. However, I have no idea how to do it since it requires a change in the style. Can you help?
I thought this piece of code might do it but I was wrong: PHP Code:
PHP Code:
Update: I received this piece of code from Lugui on the AlliedModders Discord: PHP Code:
Good News: I tested the code snippet provided by Lugui and it does work when there is a different model used by the style, such as the Pest's Pads cosmetic for the Scout. I'll leave this post as unsolved since I would still like to know how to change the style on the Caped Crusader with code. |
Re: [TF2] How can I change cosmetic styles with scripting?
Have you tried using the attribute "item style override"?
|
Re: [TF2] How can I change cosmetic styles with scripting?
Quote:
:bacon!: |
| All times are GMT -4. The time now is 21:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.