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
Line 8: Line 8:
Adjust the positions of the examples and text to look less messy.
Adjust the positions of the examples and text to look less messy.


If you're going to add information, put it in [[Creating custom weapons#Creating your first weapon|Creating your first weapon]] only if it's '''very''' important, and otherwise put it in [[Creating custom weapons#Advanced weapon creation|Advanced weapon creation]]. Do NOT overwhelm beginners!}}
If you're going to add information, put it in [[Creating custom weapons#Creating your first weapon|Creating your first weapon]] only if it's '''very''' important, and otherwise put it in [[Creating custom weapons - advanced]]. Do NOT overwhelm beginners!}}




'''This guide is currently incomplete, but it should suffice if you just need the basics!
'''This guide is currently incomplete, but it should suffice if you just need the very basics!


If you're here, chances are you're looking to create your own weapons for ''TF2 Classified''. Whether for use against bots or other players, this guide should hopefully cover the majority of your questions regarding custom weapon creation. If it doesn't, ask for help in the '''#modding-discussion''' channel in the [https://discord.gg/tf2classified official TF2C Discord].
If you're here, chances are you're looking to create your own weapons for ''TF2 Classified''. Whether for use against bots or other players, this guide should hopefully help you to start out with creating custom weapons. If it doesn't, consider asking for help in the '''#modding-discussion''' channel in the [https://discord.gg/tf2classified official TF2C Discord].


= Creating a custom item schema =
= Creating a custom item schema =
Line 405: Line 405:
=== Making changes ===
=== Making changes ===
If you make changes to the custom item schema, use the command {{code|cl_reload_item_schema}} to show the changes in game. {{code|sv_reload_item_schema}} can also be used to update the custom item schema for the whole server in multiplayer.
If you make changes to the custom item schema, use the command {{code|cl_reload_item_schema}} to show the changes in game. {{code|sv_reload_item_schema}} can also be used to update the custom item schema for the whole server in multiplayer.
= Advanced weapon creation =
== Prefabs ==
=== Creating prefabs ===
TEMPTEXT
=== Using prefabs ===
TEMPTEXT
== Advanced parameters ==
=== Tags ===
You can add "bots_cant_use" "1" which will make bots unable to equip them. Note that bots can still equip items that have "show_in_armory" "0" so make sure you do this too if you're trying to keep bots from equipping hidden weapons.
TODO: Add more info
=== Taunts ===
TEMPTEXT
=== Bucket ===
TEMPTEXT
=== List of visual parameters ===
TEMPTEXT
=== Team-specific visuals ===
TEMPTEXT
=== Animation replacements ===
TEMPTEXT
=== Custom text colours ===
TEMPTEXT
== Custom models and effects ==
=== Custom models ===
TEMPTEXT
=== Custom sounds ===
TEMPTEXT
=== Custom particles ===
TEMPTEXT
== VScript ==
VScript allows you to create weapons with completely custom functionality.


= See also =
= See also =
* [[Creating custom weapons - advanced]]
* [[List of TF2C item attributes]]
* [[List of TF2C item attributes]]
* [[List of TF2C item classes]]
* [[List of TF2C item classes]]