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
Rei1556 (talk | contribs)
No edit summary
Line 54: Line 54:
** Weapon attributes are set in the {{code|attributes}} and rarely {{code|static_attrs}} parameters.
** Weapon attributes are set in the {{code|attributes}} and rarely {{code|static_attrs}} parameters.
** Attributes are defined in the attributes section of the schema using a similar system to item entries.
** Attributes are defined in the attributes section of the schema using a similar system to item entries.
** Though attributes with custom code aren't possible without VScript (correct this if wrong), variants of existing attributes can be created by making a new attribute with the same attribute class.
** Though attributes with custom code aren't possible without VScript (correct this if wrong), variants of existing attributes can be created by making a new attribute with the same attribute class. {{note|rei note! certain attributes HATE being customized and will ONLY work if the attribute is specifically the original one by name?? certain parts of the code specifically check for attribute name and not attribute class}}
** Quite a few weapon attributes have interesting behavior if set to additive mode


= See also =
= See also =