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
mNo edit summary
Line 18: Line 18:


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