|
|
| Line 200: |
Line 200: |
|
| |
|
| [[Category:Guides]] | | [[Category:Guides]] |
|
| |
| = Misc info to be added to the finished sections (TEMP!)=
| |
|
| |
| * Prefab info
| |
| ** Prefabs work as templates. Load order is important; Prefab at the top means you want to overwrite the prefab, Prefab at the bottom means you want prefab to overwrite you
| |
| ** List based parameters (like visuals and static attrs) will get merged. Single value parameters (like bucket or attach to hands) will get overwritten.
| |
| ** Prefabs cannot have spaces in the name. This is because spaces are used as a delimiter to apply multiple prefabs. (eg, {{code|prefab "prefab1 prefab2"}} will make the weapon inherit the parameters from both {{code|prefab1}} and {{code|prefab2}})
| |
|
| |
| * {{code|item_name_color}} and {{code|custom_color}} allow weapon names and attributes respectively to be coloured with RGB values.
| |
|
| |
| * {{code|custom_level_sounds.txt}} can be used to create custom soundscripts for weapons. Please correct this if there's a better way of doing this!
| |
|
| |
| * Localization strings in {{code|tf2c_english.txt}}
| |
|
| |
| * {{code|baseitem}} sets an item as the default in its slot. Rather finicky, so avoid using.
| |
|
| |
| * Attribute info
| |
| ** Quite a few weapon attributes have interesting behavior if set to additive mode
| |