Difference between revisions of "Module:Model path/doc"

From Team Fortress Wiki
Jump to: navigation, search
(Created page with "{{doc begin}} Fancy description heer. === Adding more models === * Edit Module:Model path/data. === Usage === * {{tlx|model path|Tough Stuff Muffs|Montreal Style}} produ...")
 
m (Usage)
 
Line 8: Line 8:
 
* {{tlx|model path|Tough Stuff Muffs|Montreal Style}} produces: {{model path|Tough Stuff Muffs|Montreal Style}}
 
* {{tlx|model path|Tough Stuff Muffs|Montreal Style}} produces: {{model path|Tough Stuff Muffs|Montreal Style}}
 
* {{tlx|model path|Tough Stuff Muffs|Boston Style}} produces: {{model path|Tough Stuff Muffs|Boston Style}}
 
* {{tlx|model path|Tough Stuff Muffs|Boston Style}} produces: {{model path|Tough Stuff Muffs|Boston Style}}
* {{tlx|model path|Tough Stuff Muffs}} produces: {{model path|Tough Stuff Muffs}}
 
* {{tlx|model path|Tough Stuff Muffs|Style 3}} produces: {{model path|Tough Stuff Muffs|Style 3}}
 
 
* {{tlx|model path|Dr. Whoa}} produces: {{model path|Dr. Whoa}}
 
* {{tlx|model path|Dr. Whoa}} produces: {{model path|Dr. Whoa}}
 +
* {{tlx|model path|Dr. Whoa|Style 2}} produces: {{model path|Dr. Whoa|Style 2}}
 
* {{tlx|model path|Hatsune Miku}} produces: {{model path|Hatsune Miku}}
 
* {{tlx|model path|Hatsune Miku}} produces: {{model path|Hatsune Miku}}
* {{tlx|model path}} produces: {{model path}}
 
  
 
=== Syntax ===
 
=== Syntax ===

Latest revision as of 19:35, 2 October 2024

Documentation for Model path/doc

Fancy description heer.

Adding more models

Usage

  • {{model path|Tough Stuff Muffs|Montreal Style}} produces: models/workshop/player/items/all_class/all_earmuffs_style1/all_earmuffs_style1_[class].mdl
  • {{model path|Tough Stuff Muffs|Boston Style}} produces: models/workshop/player/items/all_class/all_earmuffs_style2/all_earmuffs_style2_[class].mdl
  • {{model path|Dr. Whoa}} produces: models/player/items/[class]/bowtie.mdl
  • {{model path|Dr. Whoa|Style 2}} produces: Error: invalid style (style 2) and/or item name (dr. whoa). Is the model path set correctly?
  • {{model path|Hatsune Miku}} produces: Error: invalid item name (hatsune miku). Is the model path set correctly?

Syntax

{{model path|<item name>|<style name>}}

<item name> unnamed parameter 1
Item name, exactly as it is written in-game.
<style name> unnamed parameter 2
Style name, exactly as it is written in-game.