Trainz/tags/category-class tag
| |||
|
|||
|
Category-class Tags
editThe "category-class" tag of the TrainzBaseSpec is a classification and searching parameter defining what or how the human content creator meant for the new asset to be used and thought about. Content Manager will warn the user if the tag is not present when committing. In some cases, it's mandatory—particularly in those assets further refining and defining KIND specifications, for the two work hand in hand.
When encountered in the TrainzBaseSpec or Config.txt files, this is a sometimes nebulous and confusing parameter requiring a new user to develop a degree of mental agility, for example, a 'house' asset might be classified (Coded by some asset creator) as scenery, building, industry, or even something as wildly inappropriate as 'fauna'.
- In part this oddity is sometimes driven by the Trainz Data Model, which for example defines a kind (kind mocrossing which has the property of having attached track, so for the occasional need, like a harbor pier, the mocrossing kind is used to implement the creators vision. But the creator is thinking of the asset as a pier/industry asset so the category-class was born to give insights as to how the creator thought of the asset. Each Trainz asset's category-class tag helps describe the 'intent' of the Asset in the game, as opposed to the internal structure of the Asset.[1] The Content Creator's Guide Appendix states the tag classes represent a standardized system for referring to the various types of Locos, Rolling stock, Scenery, Spline and Industry assets.<ref name="TC3CCGpdf">"The pdf file version of the 'Content Creators' Guide for Trainz Classics', Chapter 11, pp397, Appendix-A, said
"the classes represent a standardized system for referring to the various types of Locos, Rolling stock, Scenery, Spline and Industry assets." - Another reason the assigned classification 'may seem less than obvious' is the mindset of the creator, and the overall scheme (prototyping a complex of buildings perhaps) he was working on. Then there are cases when the memory fails and two letters are transposed.
- In the final analysis, this tag can be defined just about any way for scenery assets where it has little importance in affecting what other tags or containers might be used legally. A more thoughtful definition is important in the way CM categorizes and groups searching in filters, and is especially in rolling stock.
The kind KIND specification defines which other (data type) entries are needed in that particular asset's config.txt file. It is the entry which defines the asset's type, scope, and needs and the very important parameter that tells TRAINZ how to process and render the specific asset item correctly, error check against the standard for the category-class, and render it into 3D graphics models.
Each Trainz asset's category-class tag helps describe the 'intent' of the Asset in the game, as opposed to the internal structure of the Asset. The Content Creators' Guide for Trainz Classics said these classes represent a standardized system for referring to the various types of Locos, Rolling stock, Scenery, Spline and Industry assets. The Category-class classification codes become important to all Trainzers when searching and/or filtering for suitable assets to make into content in a session or route (layout).
- Trainz Base Specification
- (all config.txt files can contain all these entries)TrainzBaseSpec
- Figure: 1 TrainzBaseSpec for quick reference
Category-class code notes
editNew users should be aware that these codes listed below are not the direct ContentManager.exe category sort by classifications as a simple comparison of lists will reveal, but they do affect what is displayed within such a sort filter selection.
- For example: Set a search filter for 'Location>Local + Category>Flora'. (TS12 equivalent: Instally>TRUE + Category>Flora) [Sometimes you have to speak geek, returning the simple and clear 'Local' has been requested, but TS12's CM has geek thinking built into the search filters.]
- In the base installed content of TRS2006-SP0 this search will yield diverse assets such as the set of {Flora types: SOME few trees, Betonbridge (1,2,&3 tracks), crop splines, sidewalks, road types}
- but the sort will also list a much larger type group, the set of {Scenery: retaining wall splines (Arkaden...), LOADS of trees and Shrubs including Laubbaum with birds (and sound), grasses (textures?), Logs} and so forth.
In that search you will also find electrified railroad centenary parts and the occasional animal. The result of such a search will be no better in new Trainz versions, which means the new Trainzer needs to cultivate a certain mental agility when searching for suitable content. No one has the man-power, deep pockets, nor copyright authority to systematically fix such foibles. You as a user, can clone such items and change the classification to something more sensible to yourself. That however, is not an asset you can upload to the Download Station without a copyright clearance from the original asset creator. The Trainz community is severe in policing copyrights violations!
|
Rejoice in the positive, they are essentially free and cost you nothing but a bit of puzzlement. Free is good! Having them is better.
The Category Classes are:
edit- There's a little tongue-in cheek humor in them thar spellings!
Class "A" Motive Power Class "B" Buildings and Structures Class "C" Cabeese Class "D" Defence Class "E" Environment Class "F" Foliage Class "G" Ground Class "H" Mesh Class "I" Product Class "J" Texture Class "L" Light Rail & Monorail Class "M" Maintenance Of Way Class "O" Organism Class "P" Passenger & Mail Cars Class "R" Railcars & Multiple Unit Sets Class "S" Splines Class "T" Track Class "V" Vehicles Class "W" Wayside Class "X" Freight Cars Class "Y" Maps and Scenarios Class "Z" Train Parts
- Figure 02: Base category-class prefixes
Each Category Class may have a number of subcategories as listed below. Please choose the most appropriate Category Class for your item. Select the Class from the Content Creator Plus drop down menu box - only one class may be selected for an asset.
Selecting a correct Category Class is important since Trainz will allow users to use the Category Class as a sort and selection criteria.
Class A: MOTIVE POWERedit
Class B: BUILDINGS & STRUCTURESedit
Class C: CABEESEedit
Class D: DEFENCEedit
Class E: ENVIRONMENTedit
Class F: FOLIAGEedit
Class G: GROUNDedit
Class H: MESHESedit
Class I: PRODUCTedit
Class J: TEXTURESedit
Class L: LIGHT RAIL & MONORAILedit
Class M: MAINTENANCE of WAYedit
Class O: ORGANISMedit
Class P: PASSENGER & MAIL CARSedit
|
Class R: RAILCARS & MULTIPLE UNIT SETSedit
Class S: SPLINESedit
Class T: TRACKedit
Class V: VEHICLESedit
Class W: WAYSIDEedit
Class X: FREIGHT CARSedit
Class Y: MAPS & SCENARIOSedit
Class Z: TRAIN PARTSedit
|
This reference page is adapted from the TrainzOnline Wiki under the CC-BY-SA 3.0 License. This page will likely include more textual explanations, exposition, history, and/or examples than the source page on the same topic. The TrainzOnline Wiki is for the most part maintained by the programmers or knowledgeable content creators and may have newer more up-to-date information on the current trainz-build code standards, which have some tendency to change as features are added to the software. |
- ↑ %22Category-class%22_tag, Lead paras, 2014-0807
"Each Trainz asset's category-class tag helps describe the 'intent' of the Asset in the game, as opposed to the internal structure of the Asset."