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 77: Line 77:
:: {{code|passtime_ball}}
:: {{code|passtime_ball}}
:: {{code|force_not_used}}
:: {{code|force_not_used}}
{{code|preset=3|"model_player"}}
: The model used in first person.
{{code|preset=3|"model_world"}}
: The model used in third person. If this parameter is absent from the item entry, the game will automatically use the model defined in the {{code|preset=3|"model_player"}} parameter.
{{code|preset=3|"image_inventory"}}
: The icon used in the loadout menu and bucket.
{{code|preset=3|"attach_to_hands"}}
: This parameter controls what model's animations are used. If set to 1, the class' c_arms will be used for the animations. If set to 2, the weapon model's animations will be used instead.


== Adding attributes ==
== Adding attributes ==