Resource icon

give_tf_wearable 1.1

  • Site Migration: See bugs? Report them here. Want something changed or have an idea? Suggest it here.

give_tf_wearable 1.1

Create any wearables, using model path or item index

Creates a custom wearable, either by model path or by item index.

2.png


Since these cosmetics aren't deleted by default, a function is used to delete them on player respawn and touching the resupply cabinet.

This file provides two examples:
  1. How to create the Meet the Pyro grenade bottles based on model path.
  2. How to create a football helmet based on item definition index (or items_game.txt ID).
Comes with three files:
  1. give_tf_wearable/code.nut -- Code needed for the below examples.
  2. give_tf_wearable/create_mtp_bottles.nut -- Example of how to create a wearable based on model path.
  3. give_tf_wearable/create_football_helmet.nut -- Example of how to create a wearable based on ItemID.
If there is anything I can improve or you have any comments, feel free to post them.

...
Branch from the give_tf_weapon script
License
Free to use and modify. Credit is appreciated but not required.
Author
Yaki
Downloads
112
Views
601
First release
Last update
Category
VScript

More downloads from Yaki

Latest updates

  1. 1.1

    Changed Wearable_Cleanup function to use "FindByNameWithin" instead of "FindByName" Should be able to find wearables more easily and reliably.