Creating custom weapons - basics: Difference between revisions
From TF2 Classified Wiki
More actions
Added some attribute info |
No edit summary |
||
| Line 11: | Line 11: | ||
To begin, create a file named {{code|custom_items_game.txt}} in the {{code|<SteamUserDir>\Team Fortress 2 Classified\tf2classified\custom\<Mod Name>\scripts}} directory. This is the file that will contain all of the information regarding your custom weapons. Please note that you cannot have multiple ''custom_items_game.txt'' files loaded simultaneously, so any other mod folders that contain them should be placed in {{code|tf2classified\custom\disabled}} to allow the new custom item schema to load. | To begin, create a file named {{code|custom_items_game.txt}} in the {{code|<SteamUserDir>\Team Fortress 2 Classified\tf2classified\custom\<Mod Name>\scripts}} directory. This is the file that will contain all of the information regarding your custom weapons. Please note that you cannot have multiple ''custom_items_game.txt'' files loaded simultaneously, so any other mod folders that contain them should be placed in {{code|tf2classified\custom\disabled}} to allow the new custom item schema to load. | ||
= Misc info to be added to the | = Ideal final list of contents = | ||
* Getting started | |||
** Creating a custom item schema | |||
** Setting up the schema | |||
* Creating your first weapon | |||
** Defining important stuff | |||
** Attributes | |||
** Models and sounds | |||
** Using the weapon in-game | |||
* Advanced weapon creation | |||
** Custom models and sounds / soundscripts | |||
** Customising visual effects | |||
** Making custom attributes | |||
** VScript | |||
* WIP | |||
= Misc info to be added to the finished sections (TEMP!)= | |||
* It should be noted that custom weapons don't currently show up in the loadout on the main menu. To view them, you need to load into a map first.{{note|rei note! if using a items_game instead of a custom_items_game they will load on the main menu. however this means you are more prone to schema breakage between game versions and you gotta constantly update your copy anytime they update the item schema}} | * It should be noted that custom weapons don't currently show up in the loadout on the main menu. To view them, you need to load into a map first.{{note|rei note! if using a items_game instead of a custom_items_game they will load on the main menu. however this means you are more prone to schema breakage between game versions and you gotta constantly update your copy anytime they update the item schema}} | ||