Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Creating custom weapons - basics: Difference between revisions

From TF2 Classified Wiki
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 slots:
: The loadout slot that the weapon is located in. Below is a list of functional item_slot values:
:: Primary
:: {{code|primary}}
:: Secondary
:: {{code|secondary}}
:: Melee
:: {{code|melee}}
:: PDA
:: {{code|pda}}
:: PDA2
:: {{code|pda2}}
:: Building
:: {{code|building}}
:: Action {{note|Not visible in the loadout menu}}
:: {{code|action}} {{note|Not visible in the loadout menu}}
:: Utility {{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 ==