Creating custom weapons - basics: Difference between revisions
From TF2 Classified Wiki
More actions
mNo edit summary |
mNo edit summary |
||
| Line 21: | Line 21: | ||
: This line is responsible for merging the data from the custom item schema into TF2C's main item schema. Without this, none of TF2C's items, prefabs or attributes will load, which isn't very ideal. | : This line is responsible for merging the data from the custom item schema into TF2C's main item schema. Without this, none of TF2C's items, prefabs or attributes will load, which isn't very ideal. | ||
{{code|preset=3|"items_game"}} | {{code|preset=3|"items_game"}} | ||
: | : The parameter that contains everything unique to the item schema. Whilst not particularly interesting, it's vital for the item schema to run. | ||
{{code|preset=3|"items"}} | {{code|preset=3|"items"}} | ||
: | : The parameter that contains item data. This is where you should make weapons that don't internally change between classes. | ||
{{code|preset=3|"prefabs"}} | {{code|preset=3|"prefabs"}} | ||
: | : The parameter that contains prefabs, which will be explained later. | ||
{{code|preset=3|"attributes"}} | {{code|preset=3|"attributes"}} | ||
: | : The parameter that contains attributes, which will also be explained later. | ||
= Creating your first weapon = | = Creating your first weapon = | ||
== The essentials == | == The essentials == | ||