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
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"}}
: TEMPTEXT No idea what to call the <parameter> { } thing, but it's basically that and it contains the other important shite.
: 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"}}
: TEMPTEXT The <parameter> { } thing for all of the weapons
: 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"}}
: TEMPTEXT The <parameter> { } thing for prefabs
: The parameter that contains prefabs, which will be explained later.
{{code|preset=3|"attributes"}}
{{code|preset=3|"attributes"}}
: TEMPTEXT The <parameter> { } thing for attributes
: The parameter that contains attributes, which will also be explained later.
= Creating your first weapon =
= Creating your first weapon =
== The essentials ==
== The essentials ==