Creating custom weapons - basics: Difference between revisions
From TF2 Classified Wiki
More actions
No edit summary |
No edit summary |
||
| Line 51: | Line 51: | ||
: The item class to be used as a base for your weapon. A list of available item classes can be found [[List of TF2C item classes|here]]. | : The item class to be used as a base for your weapon. A list of available item classes can be found [[List of TF2C item classes|here]]. | ||
{{code|preset=3|"item_slot"}} | {{code|preset=3|"item_slot"}} | ||
: The loadout slot that the weapon is located in. Below is a list of functional | : The loadout slot that the weapon is located in. Below is a list of functional item_slot values: | ||
:: | :: {{code|primary}} | ||
:: | :: {{code|secondary}} | ||
:: | :: {{code|melee}} | ||
:: | :: {{code|pda}} | ||
:: | :: {{code|pda2}} | ||
:: | :: {{code|building}} | ||
:: | :: {{code|action}} {{note|Not visible in the loadout menu}} | ||
:: | :: {{code|utility}} {{note|Not visible in the loadout menu}} | ||
{{code|preset=3|"anim_slot"}} | |||
: The third-person and (if applicable) c_model animations to use. If absent, the item will use the default animations for its class. Below is a list of functional anim_slot values: | |||
:: {{code|primary}} | |||
:: {{code|primary2}} | |||
:: {{code|secondary}} | |||
:: {{code|secondary2}} | |||
:: {{code|melee}} | |||
:: {{code|melee_allclass}} | |||
:: {{code|pda}} | |||
:: {{code|pda2}} | |||
:: {{code|building}} | |||
:: {{code|item1}} | |||
:: {{code|item2}} | |||
:: {{code|item3}} | |||
:: {{code|item4}} | |||
:: {{code|passtime_ball}} | |||
:: {{code|force_not_used}} | |||
== Adding attributes == | == Adding attributes == | ||