CCG/Kind: Product

From TrainzOnline
< CCG
Revision as of 12:07, 2 June 2011 by Pev (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

KIND: PRODUCT & KIND: PRODUCT-CATEGORY

OVERVIEW

Products are the commodities that TRS compatible rolling stock and industry assets process. TRS released products fall under one of four product-categories... Liquid Load, Bulk load, Container or Passenger.

This document description is not only to give you the list of products and product categories, but to also give you a better understanding of how the products are used. As product-categories are fundamentally different to products, so too are they dealt with differently. A rolling stock item may be able to pick up anything that falls under a product-category or be limited to one or a few products only.

For example, passenger cars can only take passengers, where-as a gondola may be set up to take any bulk load available.


IN-GAME VISUALISATION OF PRODUCTS

In TRS, products can be displayed in a few ways:


An animated load representation.

This technique is used for bulk-category loads such as coal or woodchip products both in industry and rolling stock assets and for liquid loads through indicators adjacent to storage tanks. The animation is non-looping.

Say we have an industry bulk load animation with the frames running from 0 to 30. Empty will be at frame 0 and full will be at frame 30.

Texture swapping is possible for some rolling stock bulk loading assets. Details of how the texture swapping is set up is available on Page 375.


Mesh attachment representation.

This technique is used for container-category loads such.20ft and 40ft Containers, General Goods, Lumber and Logs all use this technique. If a piece of rolling stock has the potential to carry several product types (such as a flat car), it is possible to set up the loads to be mutually exclusive through it's config. That is, if it has capacity of one load, it cannot load any other product types.


'View details' Driver information window display

This (of course) can be used for all rolling stock items, but specifically, it is the means to see the load of rolling stock that cannot otherwise visually display it's load. i.e.. Tank Cars and enclosed Box Cars.

Box cars can be setup to take General Goods but are constructed without load attachments.

Note: Tank cars and tenders may use a separate animated `loader' mesh to visualise the loading of liquids. This is set up through the industry asset's script and the rolling stock item's config. For script reference please refer to the API Programmer's Reference Manual: http://www.auran.com/TRS2004/trssp4dl/dfile.php?FileID=10

Refer to KIND TRAINCAR for links to in-game examples, descriptions and source files of the various types of product compatible rolling stock.


TRS RELEASED PRODUCT-CATEGORY LIST

(kind product-category)

Container      <KUID:-3:10042>
Bulk Load      <KUID:-3:10040>
Liquid Load    <KUID:-3:10044>                                         
Passenger      <KUID:-3:10091>


Container Category Config.txt

kind product-category
kuid <KUID:-3:10042>
username Container"


Passenger Category Config.txt

kind product-category
kuid <KUID:-3:10091>
username "Passenger"


Bulk Load Category Config.txt

kind product-category
kuid <KUID:-3:10040>
username "Bulk Load"


Liquid Load Category Config.txt

kind product-category
kuid <KUID:-3:10044>
username "Liquid Load"


TRS RELEASED PRODUCT LIST

(kind product)

Product Category Container:

20ft Container    <KUID:-3:10014>
40ft Container    <KUID:-3:10041>
General Goods     <KUID:-3:10013>
Log               <KUID:-3:10001>
Lumber            <KUID:-3:10003>


Product Category Bulk Load:

Coal              <KUID:44179:60013>
Woodchips         <KUID:-3:10002>


Product Category Liquid Load:

Aviation Fuel     <KUID:-3:10045>
Crude Oil         <KUID:-3:10010>
Diesel Fuel       <KUID:-3:10011>
Petrol Fuel       <KUID:-3:10012>
Water             <KUID:-3:10004>


Product Category Passenger:

Passenger         <KUID:-3:10060>


Return to CCG Index

Content Creator's Guide

Personal tools