Home
Content Creator`s Guide
Contents
1. Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 373 As a rolling stock item with texture replacement enabled has reference to the texture to be replaced the product has reference to the texture that will be used in its place PRODUCT EXAMPLE 1 COAL PRODUCT In the case of the coal product the texture to be used is coal tga i e if the woodchip gondola enters the coal mine to load coal the load map texture will be replaced with coal tga Coal Product Directory Structure scenarios PRODUCT EXAMPLE 2 WOODCHIP PRODUCT In the case of the woodchip product the texture to be used is woodchips tga l e If the coal hopper enters the lumber mill to load woodchips the load map texture will be replaced with woodchips tga Woodchip Product Directory Structure scenarios icon_texture texture Ext woodchips texture txt E woodchips taa ij WoodChips_icon tga Coal Product Config txt kind product kuid KUID 44179 60013 username Coal instance type resource product category lt KUID 3 10040 gt icon texture icon texture texture mass 0 860 product texture coal texture mesh table Jeol tga 4 coal texture txt Primary coal tga Tile st Woodchip Product Config txt kind product kuid lt KUID 3 10002 gt username Woodchips inst
2. RunAnimation Attach this cabin to a game object i e a locomotive Param obj Game object to attach this cabin to usually a Locomotive public void Attach GameObject obj loco cast Locomotive obj get cabin data CabinData cd loco GetCabinData if cd reset the controls from saved values PB15CabinData pbcd cast PBl5CabinData cd if fire plates fire plates SetValue pbcd fire plates val if left window left_window SetValue pbcd left_ window val if right window right window SetValue pbcd right window val if left sliding window Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 55 left sliding window SetValue pbcd left sliding window val if right sliding window right sliding window SetValue pbcd right sliding window val if seat0 seatO0 SetValue pbcd seat0 val if seatl seatl SetValue pbcd seatl val if sanding lever sanding lever SetValue pbcd sanding lever val if whistle lever whistle lever SetValue pbcd whistle lever val if regulator lever regulator lever SetValue pbcd regulator lever val if blowdown lever blowdown lever SetValue pbcd blowdown lever val else PB15CabinData pbd new PBl5CabinData loco SetCabinData pbd the default locomotive config uses kPa to describe pressure dial ranges this function converts from g m 3 into kPa above atmospheric public float GetPressureParam string
3. easily be mainsign or something more relevant to your model Setting unique names may be useful for script purposes so you can easily recognise a script reference for instance Breakdown of KIND NAME kind name The effect kind fontsize The size of the sign text fontcolor The colour of the sign text in r g b att The sign text insertion point part of the mesh The attachment point must be orientated correctly in 3dsmax or gmax The diagram shows the correct orientation of the axis Points are placed in top view in 3dsmax gmax When aligning the point in 3dsmax of gmax click on the Hierarchy Affect Pivot Only option to examine the axis direction turn off the Affect Pivot Only selection and rotate the point itself to the correct orientation Click on the Affect Pivot Only option again to check the new alignment Make sure you rotate the point not the axis Text Or Fi n z name The default text when placed When name name is specified it uses the asset s changeable name option changed through the Edit Properties icon the icon in Surveyor If name Graceland for example were used the sign would never be able to be changed even though the user may have changed the asset s name in Surveyor When you use the name tag this name will appear in the minimap In some instances the names will be hard to distinguish in a crowded map For this reason it may be advisable to limit the u
4. a otrack1 3b 0 lt kuid 3 10122 gt 0 1 out_track15 useadjoiningtracktype track vertices 0 1 out_track16 useadjoiningtracktype track vertices 0 1 out_track17 useadjoiningtracktype track vertices 0 1 out_track18 useadjoiningtracktype track vertices 0 1 out_track19 useadjoiningtracktype track vertices 0 1 mesh table default mesh Trainz Railroad Simulator 2006 The Content Creator s Guide a otrack14a a otrack14b 0 lt kuid 3 10122 gt a otrack15a a otrack15b 0 lt kuid 3 10122 gt a otrack16a a otrack16b 0 lt kuid 3 10122 gt a otrack1 7a a otrack17b 0 lt kuid 3 10122 gt a otrack18a a otrack18b 0 lt kuid 3 10122 gt a otrack19a a otrack19b trans base trans base im Version 2 0 335 auto create default night mesh trans base night trans base night im night mesh base default turntable mesh trans platform trans platform im anim trans platform anim kin turntable night mesh trans platform night trans platform night im att a platform origin att parent turntable night mesh base turntable soundscript dayloop repeat delay 0 0 distance 20 100 attachment a platform_origin sound 0 idle wav kuid table 0 lt kuid 3 10122 gt thumbnails 0 image thumb jpg width 240 height 180 Download this asset This asset i
5. Ensure we are tracking this if we are waiting for a way bill to complete in its entirety if dieseIWBRemain gt 0 dieselWBRemain diesel WBRemain report amount if report amount gt 0 1 nodiesel false SetMeshAnimationFrame default 2 StartMeshAnimationLoop default yt j thread void CoalMain void 1 Message msg wait 1 on Scriptlet Enabled 1 1 if scriptletEnabled 1 scriptletEnabled true SetProcessEnabled coal consumer true j continue j Power station is providing electricity if not already running start the on Scriptlet Enabled 0 1 if scriptletEnabled 1 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 258 scriptletEnabled false SetProcessEnabled coal consumer false j continue logs consumer process in lumber mill has started so active smoke stack particles and start the animation forklift amp conveyor on Process Start coal consumer Interface Print CoalMine LumberMain Process Start coal_consumer message received starting default animation amd smoke stack particles SendMessage me pfx 0 1 if animating only start animating if animation isn t already running StartMeshAnimationLoop default continue logs consumer process has stopped disable particle effect and stop animation on Proces
6. KIND MAX POLYCOUNT NOTES Locomotive Interiors 8 000 each Diesel or steam loco s Including all levers dials and animations amp bonnets hoods for our American friends Locomotive Body diesel 9 000 each This should be sufficient for all diesel loco s excluding bogeys pantographs etc For example the QR 2100 body currently in Trainz has less than 5000 polys Less is always better Locomotive Body steam 12 000 each This should be sufficient for very detailed steam locos excluding bogeys etc see images at bottom of page Locomotive Bogey diesel 2000 per truck Locomotive Bogey steam 5 000 per driving Including all rods and animated parts Less is always wheel set better Should be sufficient enough for most steam bogeys Pantographs 1 000 each On average pantographs will have about 400 700 polys Passenger Rolling stock 2200 each This should be sufficient for a passenger car with window cut outs a low poly interior with seats visible from the exterior and animated doors Hopper Rolling stock 1400 each This should be sufficient for most Hopper cars inclusive of load and animated doors Flat box and tank Rolling 1100 each This should be sufficient for most cars inclusive of Stock load and animated doors where applicable Rolling stock Bogeys 400 each Rolling stock bogeys must be keptto a minimum Make the bogey sides basic even alpha mapped only Level Crossing 350 each Based on a simple road track crossi
7. amp l See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS the asset in the Content Manager Plus and Content bogey Creator Plus programs kuid kuid kind trainz build data Must be behavior category class data class username data The name of the scenario class within the script file kind data script P category region data The script file gs or gse file i dii category era ata THIS KIND HAS THE FOLLOWING di mesh table CONTAINERS i default String Table Chinese String Table Czech String Table Dutch String Table French String Table German String mesh file Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete auto create data Table Thumbnails Privileges Extensions thumbnails TAGS 0 kuid trainz build category class category region category era username kind author category keyword image file class contact email contact website description description cn description cz description de description width data es description fr description it description pl description nl description ru license organisation script height data username cn username cz username de username es username fr username it username nl username pl Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 118 TAGS AND CONTAINERS The following tags are further de
8. track attached trigger container config txt industry A Trigger is a point along an attached track with a specified radius When a compatible rollingstock item enters this radius it triggers a set of commands controlled through its script attached trigger ID Po attached trigger User supplied identifier attachment helper smoke smoke block The attachment point stored in the mesh file to place the smoke effect attachment helper soundscript ID mesh object Attachment point on the object to which the sound is attached Default The sound will attach to the origin of parent object not used for ambient sound attachment points subcontainer queues ID industry List of attachment points for this queue on which products are visualised Use this OR animated mesh att parent mesh table ID mesh table ID mesh object The tag tells Trainz in which mesh the attachment point is located The insertion attachment point is located within the mesh name as listed in the config txt author string config txt general Author contact email and contact website are useful information particularly if a user has a question on your models or would like to offer help or suggestions autobrakecylinder The brake cylinder volume autobrakecylinder_start pressure engine Train brake cylinder pressure on loading the game autobrakecylindervent flowsize engine Flowsize of the automatic brake cylinde
9. Trainz Railroad Simulator 2006 Content Creator s Guide Version 2 January 2007 CopyrightO Auran Pty Ltd 2005 This Content Creator s Guide is for the Trainz TRS 2006 release There have been many changes to TRS2006 new options and the introduction of the Content Manager Plus program to manage content and the integrated Content Creator Plus module to allow the creation of in game content This document outlines the standards and procedures to create content for Trainz TRS2006 content that is suitable for uploading to the Download Station Further updates may be available from time to time on our website http www auran com TRS2006 index php Trainz Railroad Simulator 2006 CONTENTS CHAPTER 1 The Basics INTRODUCTION OVERVIEW New in TRS2006 The Basics of Content Creation KUID NUMBERING KUID2 FORMAT USER ID NUMBER CONTENT ID NUMBER Oc B B B BR MBS NB M VERSION ID NUMBER TRAINZ Build C1 CHAPTER 2 Introduction to Kinds Containers Tags and Config txt files KINDS Config txt Files Containers Directory Structure 7 9 9 Tags 9 9 Kinds and Container Relationship 9 0 CONFIG TXT FILES 1 EFFECTS optional mesh table variables 12 EFFECT KIND NAME 12 EFFECT KIND CORONA 12 EFFECT KIND TEXTURE REPLACEMENT 13 EFFECT KIND ATTACHMENT 14 EFFECT KIND ANIMATION 15 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 lii KIND HTML ASSET 15 KIND PR
10. Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 163 The main traincar mesh auto create Specifies that this mesh is automatically created visible without needing to resort to a script shadow The mesh model to be used as a shadow Bogey Container The bogey container lists the bogeys used for the loco rollingstock item The functionality of a bogey can be determined by naming it as follows bogey The bogey kuid number default for a bogO and a bog1 bogey 1 The bogey kuid number for a bog1 Used only if different from a bogO A Bogey container has the following tags reversed Ticking this box in CCP will make the bogey have a reversed orientation Note This will cause bogey animation to play in reverse unless attachment points are rotated 180 degrees Affects the direction of the bogey relative to the traincar bogey The KUID of the bogey asset THIS KIND HAS THE FOLLOWING CONTAINERS String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions TAGS kuid trainz build category class category region category era username kind author category keyword contact email contact website description description cn description cz description de description
11. initialize queues crudeOilQueue GetQueue crude_oil_q dieselQueue GetQueue diesel q petrolQueue GetQueue petrol_q coalQueue GetQueue coal_q cont20ftQueue GetQueue 20ft_cont_q cont40ftQueue GetQueue 40ft_cont_q gengoodsQueue GetQueue gen_goods_q logsQueue GetQueue logs_q lumberQueue GetQueue lumber_q woodchipsQueue GetQueue woodchips q waterQueue GetQueue water_q avgasQueue GetQueue av_in_q crudeOilAsset GetAsset FindAsset oil dieselAsset GetAsset FindAsset diesel petrolAsset GetAsset FindAsset petrol coalAsset GetAsset FindAsset coal cont20ftAsset GetAsset FindAsset cont20ft cont40ftAsset GetAsset FindAsset cont40ft gengoodsAsset GetAsset FindAsset gengoods Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 245 logsAsset GetAsset FindAsset logs lumberAsset GetAsset FindAsset lumber woodchipsAsset GetAsset FindAsset woodchips waterAsset GetAsset FindAsset water avgasAsset GetAsset FindAsset avgas AddAssetToIndustryProductInfo oil crude_oil_q multi consumer producer true false AddAssetToIndustryProductInfo petrol petrol q multi consumer producer true false AddAssetToIndustr
12. largesign im B largespeed texture txt Ej largespeed tga thumb jpg Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg largesign im The indexed mesh file used for the speedboard model largespeed tga largespeed texture txt The texture files for the speedboard asset See the section on Texture txt files on Page 96 for more information File Listings config txt kuid lt kuid 56113 1264 gt trainz build 2 5 category class WS username testMOSpeedBoard kind mospeedboard category region AU category era 2000s trackside 24 speedlimit 33 36 description Sample Speedboard Asset mesh table default mesh LargeSign im auto create 1 thumbnails 0 thumb jpg This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 294 Pantograph Download this asset Directory Structure Structure E anim kin E config txt gg1 panto a texture txt gg1_panto_a tga gog _panto_b bmp E agi panto b ggi panto b tex Ed aat _pantograph pm thumb jpg Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg anim kin The animation file for the pantograph asset gg1_panto_a tga gg1_panto_b b
13. 2 2 1 notches 0 0 1 0 2 0 3 0 4 0 5 0 0 EH 0 33 0 47 2 0 al 0 49 2 625 mesh ampmeter needle pm att a ammeter limits 0 1500 angles 0 1 9 att parent default bploco equaliser kind needle auto create 1 mesh whitepress needle pm att a equaliser pressur limits 0 1000 att parent default bplocomain needle kind needle auto create 1 mesh redpress needle pm att a main res pressure limits 0 1000 att parent default bptrainbrakecylinder needl kind needle auto create 1 mesh redpress needle pm att a brake cyl pressure limits 0 1000 att parent default bptrainbrakepipe needle kind needle auto create 1 mesh whitepress needle pm att a brake pipe pressur limits 0 1000 att parent default speedo needle kind needle auto create 1 mesh whitepress needle pm att a speedo limits 0 48 att parent default horn kind lever auto create 1 mesh horn pm att a horn limits 0 1 angles 0 0 6 notches 0 1 notchheight 3 3 radius 0 16 mousespeed 2 att parent default wheelslip light kind light auto create 0 mesh wheelslip pm Continues next page Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 42 swivel chair kind lever auto create 1 mesh chair im att a chairl limits 0 8 angles 6 8 6 8 radius 0 5 mousespeed 0 2 att parent default dial0 kind lever auto cr
14. Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 105 of providing asset keyed data to custom scripts It is important that the following mechanism is used to prevent potential conflict with future Auran tags or other content creators extensions testF angeNumber 56113 testPriority 561 13 testRange 561 13 All third party tags must be embedded under an extensions container which is placed at the top level in the config txt file Tags within the extensions container should have a meaningful name and should end with a hypen and the UserID of the content creator who is responsible for the extension The responsible content creator should determine any rules and restrictions which apply to his or her tag and should make an effort to provide this information to other creators outside the scope of the asset itself While creators are permitted to make use of each other s extensions it is not permissable to create a new extension or change the meaning of an extension in the namespace belonging to another creator Each tag in the extensions container may be either a single value or a subcontainer If a subcontainer is used the contents of the subcontainer should be specified in the extension s documentation No restrictions are placed by Auran on the values within a specific extension beyond the normal config txt file format guidelines Common Tags The following tags are present in al
15. config txt f dress bmp f dress texture Ext f dress 4 bmp f dress 4 texture txt f dress 5 bmp f dress 5 texture txt f head 2 bmp f head 2 texture Ext f head 5 bmp f head 5 texture Ext f head 7 bmp f head 7 texture Ext f shoe 1 bmp f shoe 1 texture txt f torso 11 bmp f torso 11 texture Ext f torso 2 bmp f torso 2 texture Ext f torso 3 bmp f torso 3 texture Ext f torso 4 bmp f torso 4 texture Ext s femaleO1 sit im s femaleO1 stand im s femaleO2 sit im s female02 stand im s female03 sit im s female03 stand im S Female04 sit im s female04 stand im s femaleOS sit in s femaleOS stand im 2 icon_texture texture txt EX passengers tga K thumb jpg in f dress 7 bmp 5 f dress 7 texture txt IMP Ep ch ED Eno Boo ED Bn B EDS Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg f dress bmp f dress texture txt f dress 4 bmp f dress 4 texture txt f dress 5 bmp f dress 5 texture txt f head 2 bmp f head 2 texture txt f head 5 bmp f head 5 texture txt f head 7 bmp f head 7 texture txt f shoe 1 bmp f shoe 1 texture txt f torso 11 bmp f torso 11 texture txt f torso 2 bmp f torso 2 texture txt f torso 3 bmp f torso 3 texture txt f torso 4 bmp f torso 4 texture txt f torso 9 texture txt f torso 9 bmp f dress 7 bmp f dress7 texture txt The texture files used by the index
16. faces The direction the smoke effect faces camera motion down file The twinkle file to be used optional inherit velocity A float for a smoke cone or steam emitter This is to tell the particle that it will inherit the velocity of the emitter interpolate A bool which is used for the steam emitter refer to Chapter 3 for explanations of float and bool loop Time in seconds to loop the smoke sequence Only valid if mode is set to time loopdelay Delay in seconds before the effect is played again maxrate The maximum rate at which particles are emitted maxspeedkph For a cone emitter this will set the maximum velocity of the particles in kph When a particle is generated it is set to a random velocity between minspeed and maxspeed or 0 and maxspeed minrate The minimum rate at which particles are emitted period The usage of period depends on the value of the mode tag If the mode is set to time period is the duration of time this effect will remain active If mode is set to anim period is a value from 0 0 to 1 0 that describes the duration over which the effect is active Start period must not exceed 1 0 In all modes period can be set to 1 default to imply the phase is active until the next phase begins scale For the emitter is the scale of the emitter or the scale of the particle shift Speeds up the age of the particle how old they are which makes them die disappear faster
17. mass The physical mass of the product For Containers and Passengers this is calculated in kilograms unit while for Liquid and Bulk loads this is calculated in kilogramsilitre icon texture The in game representation of the product when specifying the load type for a compatible rollingstock item driver Should be a 64x64 tga file product texture The texture to be used with load texture replacement i e When a hopper loads woodchips instead of it s default load of coal See the texture replacement section on Page 372 for more information product category kuid of applicable category for this product instance type resource Used when there is no mesh or one only mesh is referenced in the mesh table le Liquids Bulk loads etc instance Used when more than one mesh is in the mesh table le Passengers General Goods 200 max size per Asset unique not used Notes IN GAME VISUALISATION OF PRODUCTS In TRS products can be displayed a few ways 1 An animated load representation This technique is used for bulk category loads such as coal or woodchip products both in industry and rollingstock 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 rollingstock bulk loading as
18. 3 EXPORTING MODELS As per Modeling Trains section Remember naming conventions and to type in the file extension under file name e g TRAIN NAME bogey im Refer to Page 33 for information on reversing bogeys and animation with reference to attachment points IMPORTANT NOTE Steam Driving Bogeys The Steam loco driving bogey is connected to the piston and physics system by adding the following tag to the bogey s config txt direct drive 1 See PB 15 bogey2 Config txt below This tag MUST be included for piston and steam sounds to work PB 15 bogey2 Config txt kind bogey kuid lt KUID 44179 50003 gt animdist 3 816 category class AS category region 0 AU category era 0 1920s category era 1 1930s category era 2 1940s category era 3 1950s category era 4 1960s category era 5 1970s category era 6 1980s direct drive 1 Animated Bogey Example 1 wheel 1 bogey In this example the bogey will be inserted into the Train model attachment point e g a bog0 at b r base or 0 0 0 b r wheel0 and b r wheel1 bones were animated to turn 360 over 32 frames Bones must have the b r naming convention for Trainz to recognise them Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 377 Animated Bogey Example 2a Objects wheel 1 base wheel 2 link1 drive1 wheel 3 middleshaft link Animated Bogey Example 2b Bones b r drive1 b r driveO
19. Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 287 Mesh Reducing Track Directory Structure A typical asset of this kind has the following File Directory Structure brick texture txt IE brick tga config txt s default irn Ex meshwall jpg Ezjthumb jpg rockwell B5 rackwall im wall texture txt EE wall tga Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg brick texture txt brick tga meshwall jpg wall texture txt wall tga The texture files used by the indexed meshes for this asset See the section on Texture txt files on Page 96 for more information default im The short mesh which is the more detailed mesh and is used when the camera is close to the spline This mesh is also used as the preview mesh in surveyor Must be named default im rockwall im The filename of the long mesh which must be placed in a subdirectory of the same name as the mesh Only the file name is entered not the directory name nor the file extension For example the full pathname and extension is rockwall rockwall im Enter only rockwall in the text input box File Listings config txt bendy carrate casts shadows endlength grou
20. Y TRS2004 released fixedtracks consists of only curved and straight sections Crossings may be made just create two attached track fields For junctions see below FIXEDTRACK Junctions Junctions turnouts are now possible in TRS2006 with the use of additional tags A number of samples are available in TRS2006 Because the Kind fixed track is not based on the Kind Track asset there is some functionality for the common flexi track that is not available for the fixed track asset The default red and green direction arrows of the flexi track junctions are not available with the fixed track object The fixed track object may be raised or lowered and placed on a slope Operation of the turnout using the mouse will only operate one trigger or animation Multiple operations such as double slip junctions should be possible by scripting The in built example asset in TRS2006 has been constructed with a main default mesh consisting of the fixed rails and ballast the moveable blades are a separate animated mesh connected to an attachment point in the main mesh and a separate lever mesh also connect to an appropriate attachment point either to the left or right of the default mesh In the TRS2006 in built example the red and green arrows have been simulated using an arrow texture with some transparency with rotating animation and attached to the lever attachment points By amending the config txt file the arrows and the levers may
21. default 1 0 85 smalltap im 1 a steamvalve0 default lever 1 bigtap im 1 a steamvalve1 default lever 1 bigtap im 1 a steamvalve2 default lever smalltap im 1 a steamvalve3 default lever 1 bigtap im att parent default kind lever mousespeed thumbnails 0 image thumb jpg width 240 height 180 bigsteam interior gs include DefaultSteamCabin gs class Bigsteam Interior isclass DefaultSteamCabin public void Init void inherited hasAnimatedFireman false cabin txt switch switch 6 wav dynamicbrake lever change notch notch 1 wav independantbrake lever change notch airbrake2 wav reverser lever low reversing lever notch wav reverser lever high reversing lever throw wav fire plates lever low firebox open wav fire plates lever high firebox close wav fire plates looping fire roar wav regulator lever high regulator2 wav regulator lever low THROTTLE wav sanding lever lever low sanding leverl wav sanding lever lever high sanding lever2 wav blowdown looping boiler blow down wav Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 283 cylinder cocks change notch cylinder cocks full wav seat0 change notch seat unfold wav seat change notch seat unfold wav whistle lever looping whistle mid loop wav trainbrakelap lever change no
22. kuid lt KUID2 1 gt kind turntable mesh table default mesh turntablebase turntablebase im auto create 1 turntable mesh platform platform im auto create 1 light 1 angle 0 165 180 345 track lt KUID 1 100966 gt snapmode 2 dighole 3 3 kuid table 0 lt KUID tt d dd dd username description trainz build 2 5 category class TR category region AU category era 1980s Breakdown type Surveyor type region Surveyor region default Previously modeO for pre TRS releases The name of the main turntable object now referenced from the mesh table turntable Previously mode for pre TRS releases Name of the rotating turntable part now referenced from the mesh table light Sets lighting to be used for object to be ambient or directional 0 sets ambient lighting and object is lit by general light value uniform colouring 1 sets directional light which is affected by the position of the sun shows shadows on the object surfaces angle Specifies the angles at which the turntable stops NOT USED IF THE TURNTABLE IS SET UPAS AN ANIMATION SEE BELOW track Kuid for track to be attached to turntable snapmode Specifies the alignment of the turntable to the surveyor grid 1 origin snaps to grid use for removing even dighole values 2 origin snaps to the center of a grid square use for odd dighole values dighole Specifies the number of grid
23. 0 a track1a a track1b Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 289 thumbnails 0 image thumb jpg width 240 height 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example_Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 290 MOJunction Directory Structure A typical asset of this kind has the following File Directory Structure config txt aj points wa Ezjthumb jpg leveri Ed grey bmp grey texture txt lever 1 im orange bmp orange texture txt Bzjrust bmp rust texture txt lever2 Eid orey bmp grey texture txt lever2 im orange bmp orange texkure Exk drust bmp BL amp rust texture Ext Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg points wav The sound played when the junction is toggled grey bmp grey texture txt orange bmp orange texture txt rust bmp rust texture txt The texture files for the Juntion asset See the section on Texture txt files on Page 96 for more information lever1 im lever2 im The indexed mesh files used for the junction levers File Listings config txt kuid trainz build category class category region category era username kind
24. 29 32 1 333 10 32 36 40 30 25 15 50 o 20 40 20 60 20 70 25 80 70 100 60 100 50 0 60 80 190 250 250 250 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 26 ENGINE FILE PB15 locomotive kuid lt KUID 44179 51002 gt auxreservoir start 0 00504051 kind steam engine autobrakecylinder start 0 00489991 rem PB15 vacuumbrakepipe start 0 epbrakes 1 vacuumbrakereservoir start 0 flowsize vacuumbrakecylinder start 0 mainreservoir start 0 00876641 trainbrakepipe 170000 equaliser start 0 00440781 epreservoirpipe 0 1 independantbrakecylinder start 0 00489991 no3pipe 0 1 no4pipe 0 1 mass auxreservoirvent 0 1 auxreservoir no3 0 1 scale 1 auxreservoir trainbrakepipe 0 1 fuel 6 2156e 006 autobrakecylindervent 0 1 auxreservoir autobrakecylinder 0 1 motor equaliser mainreservoir 0 06 equaliservent 0 06 resistance 1 3 equaliserventhandleoff 0 1 adhesion 2 5 qualiserventemergency 0 1 maxvoltage 600 no3pipevent 1 5 maxspeed 21 no3pipe mainreservoir 0 1 brakeratio 55000 compressor 5 max accel 1500 trainbrakepipe reservoir 1 max decel 5000 trainbrakepipevent 0 06 throttle notches 32 no3pipe autobrakecylinder 0 1 axle count 4 epreservoirpipe autobrakecylinder 0 1 surface area 150 mainreservoir ep 0 1 moving friction coefficient 0 01 vacuumbrakepipe 0 1 air drag coefficient 0 0001 vacuumbrakepipereleasevent 0 1 H vacuumbrakepipevent 0 1 throttle power
25. 3 3D Viewport only 1 Tree View When an existing config txt file is loaded the program will parse the text file and gather 2 different sorts of information the tags and the containers The tags are values being assigned to a property and a container is a section of the config txt that groups a number of tags or other containers With many possible tags and containers the best way to manage the containers is to display them in a tree view hierarchy like the tree view of Explorer for example The diagram below is a section of the tree view for a Kind traincar model 3 scenery kuid table O obsolete table amp mesh table 24 ry effects 0 1 night i thumbnails o0 The top node or Kind may be called traincar for example and is the main container for the complete config txt file Traincar is the name of the Kind that we 4 Error Message Box are currently creating for example if we were making a bogey it would be listed as bogey Under this main container are other sub containers in the config txt file The tree may be freely expanded or collapsed by clicking with the Left mouse button on the plus or minus symbols When you click on one of the nodes it will load the tags that are included for that container in the tag space so you can add new entries or edit existing values Left clicking on the node icon will select that node whilst Left clicking the node name will sel
26. As spline tracks will not render in the Preview window a preview mesh is needed as a kind mesh this example model consists of spline track only kuid table A list of KUIDs required for this asset to function correctly in this case the products to be supported default Default is the main mesh of the asset mesh The main mesh name auto create 1 The model is generated automatically when placed or when you load a map which includes the model In some instances you don t want the mesh visible as this may be controlled through script If auto create is 0 the mesh will not be visible when placed effects The effects to be attached to the model arrow0 The name of the effect in this case a red arrow to be attached to the model to shows the ends of the track att The mesh is inserted at a mesh attachment point rather than the origin without this line the mesh is placed relative to the origin of the parent model default mesh The mesh for the arrow model to be attached surveyor only 1 The attached mesh will only be visible in Surveyor Multi Industry New Config txt kind industry light 1 kuid table description username nightmode script class kuid table coal diesel logs lumber oil petrol water avgas mesh table default mesh trainz build 2 5 kuid lt KUID2 21 gt Multiple Industry New obsolete table 0 lt kuid 19 1
27. E skin dat Ezjthumb jpg bb15000_alpha_numbers I alphanumber_Oa tga IE alphanumber_Ob tga IE alphanumber 1a tga Hj alphanumber_1b tga I alphanumber_2a tga IE alphanumber_2b tga E alphanumber_3a tga IE alphanumber_3b tga IE alphanumber_4a tga IE alphanumber_4b tga IE alphanumber_5a tga IE alphanumber_5b tga IE alphanumber_6a tga I alphanumber_6b tga IE alphanumber_7a tga IE alphanumber_7b tga IE alphanumber_8a tga IE alphanumber 8b tga IE alphanumber_9a tga Hj alphanumber_9b tga bb15000_art bb15000 art 512 texture txt bb15000 art icon texture txt Gi consist bmp Ei consist_a bmp Ei preview bmp Ei preview_a bmp Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg colormap dat skin dat Files containing extra color and skin information generated by the paintshed program main bmp main texture txt The texture files used for the actual train model in game See the section on Texture txt files on Page 96 for more information alphanumber_0a tga alphanumber_0b tga alphanumber_1a tga alphanumber_1b tga alphanumber_2a tga alphanumber_2b tga alphanumber_3a tga alphanumber_3b tga alphanumber_4a tga alphanumber_4b tga alphanumber_5a tga alphanumber_5b tga alphanumber_6a tga alphanumber_6b tga alphanumber 7a tga alphanumber 7b tga alphanumber 8a tga alphanumber 8b tga alphanumber 9a tga alphanumbe
28. It is possible to put a very short i e 0 5s clip in as the horn start wav and the whole whistle horn sound clip in as the horn loop wav This allows the horn sound to still be latching i e only sounds for as long as the H key is pressed but the clip will be repeated after it is finished A period of silence for 2 seconds or so can be inserted after the end of the clip so as to stop it repeating straight away Horn Sound File Format The file format for horn wav sound files should be mono A 22050 22 kHz bit rate is sufficient While Trainz can handle a 44 kHz bit rate file it does not improve the sound quality in the game and doubles the size of the sound file Refer also to Page 39 for additional explanation on the use of sound files for locomotives Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 396 Trainz Railroad Simulator 2004 CHAPTER 11 Appendix A Classes and Codes CATEGORY CLASS The Category Class is listed in the config txt file of each item of content The classes represent a standardized system for referring to the various types of Locos Rolling stock Scenery Spline and Industry assets The Category Classes are 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
29. Pantographs are the animated mechanisms on the roof of electric locomotives that conduct to an electric catenary Refer to the example download files and the Content wires above Creation Art Source resource available from the Trainz Website for working examples Model configuration Note Animation should commence in the lowered position frame 0 and be in the highest position at frame 16 All b r helper points dummies are constructed in top view in 3dsmax gmax Typical model configuration based on the bb15000 pantograph pant mid b r strut pant basestrut b r midbase pant base aig is b r strutbase In this example the Pantograph will be inserted into the Train model attachment point a pantO at b r base or 0 0 0 Typical Pantograph Directory Structure Ca pants Typical Hierarchal Sub tree b r base i b r midbase El bb pantegraph b r mid H 8 animki 5 Animation exported from 3dsmax b r top fnm bb pantagraph pm gt pant top E i oe Mesh incl bones exported from pant_mid ud lg Config txt 3dsmam gmax b r strutbase lg pantol texture txt b r strut os pantal tga pant basestrut pant base Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 380 TURNTABLE TRANSFER TABLE A transfer table is a particular kind of turntable instead of using the in built options of specifying angles for the track stopping positions it us
30. The Kelvin values in the right hand column of the table are more representative of the actual Kelvin temperatures associated with the pressures shown If you know the initial boiler pressure for example 1275kpa enter 401 as the value in the tag If you know the initial boiler temperature for example 467K enter 381 as the value in the tag Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 32 KIND BOGEY A bogey is a term used for a locomotive or rolling stock wheel mechanism In some countries these are known as Trucks Referenced by the bogey tag in a traincar config txt Config txt kuid lt KUID2 4 2 gt kind bogey animdist 2 1 mesh table default mesh Car bogey 1m auto create 1 shadow mesh Car bogey shadow Car_bogeyshadow im obsolete table username mybogey description trainz build 2 0 category class AC category region 0 AT category era 0 1980s direct drive 1 BREAKDOWN OF CONFIG TXT animdist Leave this tag out if the bogey is not animated The distance traveled in meters by the bogey in 1 second 30 frames of animation This figure would normally be the circumference of the wheel multiply the wheel diameter by Pi which is 3 1416 If for instance there are large driving wheels and smaller wheels used on the pilot of a steam locomotive you will need to work out the correct value for each bogey using the angular rot
31. Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 156 See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that appears in the surveyor menu kind Must be mocrossing Additional Containers Soundscript Container Controls the looping sound made by the object Attached Track Container Auto generated spline track Generated through attachment points located within the default mesh Attached tracks update automatically to the spline track connected to it You may over ride this auto update feature by adding useadjoiningtracktype 0 Note Correct track end attachment orientation is essential The Y axis must point out at the correct angle The Z axis must point up see Page 75 The Attached Track Container has the following tags and containers track Kuid of the track to be used useadjoiningtracktype Indicates whether the track type should change to match that of the first track joined to the object pl description nl description ru dighole floating height range icon texture iconO icon1 icon2 icon3 license light nightmode organisation passenger height preview mesh kuid preview scale rgb rollstep rotate rotate yz range rotstep script snapgrid snapmode surveyor name label surveyor only username cn username cz username de username es username fr
32. Version 2 0 132 autobrakecylindervent Flowsize of the automatic brake cylinder vent auxreservoir autobrakecylinder Flowsize of the auxiliary reservoir automatic brake cylinder equaliser mainreservoir Flowsize of the equaliser main reservoir equaliservent Flowsize of the equaliser vent equaliserventhandleoff Flowsize of the equaliser to the atmosphere when in the handle off position equaliserventemergency Flowsize of the emergency equaliser vent no3pipevent Flowsize of the independent brake pipe no3pipe mainreservoir Flowsize of the independent brake main reservoir compressor Flowsize of the compressor trainbrakepipe reservoir Flowsize of the brake pipe reservoir trainbrakepipevent Flowsize of the brake pipe vent no3pipe autobrakecylinder Flowsize of the independent automatic brake pipe cylinder epreservoirpipe autobrakecylinder Flowsize of the electro pneumatic automatic brake cylinder reservoir mainreservoir_ep Flowsize of the electro pneumatic main reservoir vacuumbrakepipe Flowsize of the vacuum brake pipe vacuumbrakepipereleasevent Flowsize of the vacuum brake pipe release vent vacuumbrakepipevent Flowsize of the vacuum brake pipe vent vacuumbrakereservoir_vacuumbrakepipe Flowsize of the vacuum brake pipe reservoir vacuumbrakecylinder_vacuumbrakepipe Flowsize of the vacuum brake pipe cylinder highspeedexhauster_vacuumbrakepipe Flowsize of the high speed exhauser vacuum
33. YH category region 00 category era 2010s description Test Html asset based on the Maglev models string table html pages button lt a hrefz 0 img src 1 mouseover 2 width 40 height 40 gt lt a gt lt img src 0 width 40 html pages button disabled height 40 gt html pages button prev lt a href live pages prev gt lt img src images button prev tga mouseover images button prev on tga width 40 height 40 gt lt a gt html pages button prev disabled lt img src images button prev off tga width 40 height 40 gt html pages button next lt a href live pages next gt lt img src images button next tga mouseover images button next on tga width 40 height 40 gt lt a gt html pages button next disabled lt img src images button next off tga width 40 height 40 gt html pages button done lt a href live pages done gt lt img src images button done tga mouseover images button done on tga width 40 height 40 gt lt a gt html pages button done disabled lt img src images button done off tga width 40 height 40 gt html page 0 maglev 1 html page 2 maglev 3 msg error derailment lt font color 000000 size 4 gt lt b gt Failed Session lt b gt lt br gt Derailment detected tutorial session terminated lt font gt msg error mainline lt font color 000000 size 4 gt lt b gt Failed Session
34. You may wish to distribute your content through means other than the Trainz Download Station To facilitate this CMP allows you to export CDP package files which experienced users may already be familiar with Like the upload process when packaging CDPs you can only package your own custom content for distribution To create a package with CMP Select the items of content you wish to add Right Click and select Save to CDP or press CTRL SHIFT D Save the resulting CDP file to a location of your choice The CDP format is intended for content distribution purposes and doesn t automatically include any dependencies associated with the assets you are packing If you wish to store backups of your work then it is recommended that you use the Archive CMP feature instead procedures are mentioned in the CMP help file Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 390 Trainz Railroad Simulator 2006 CHAPTER 10 Particle Effects and Soundscripts INTRODUCTION TRS gives you the ability to add customizable smoke steam vapor and similar effects to your custom trains and scenery objects For simplicity this document will refer to this set of effects simply as smoke effects There are two ways of setting up particle effects pfx for TRS mesh assets 1 Setup all the settings and variables in the config txt file using CCP or 2 Use a pfx tool called Twinkles PFX to set
35. bogeys Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 371 LOAD TEXTURE REPLACEMENT This feature was created for rolling stock items that use animated bulk loads If a rolling stock item say a Gondola is setup to carry any product within product category Bulk Load AND it s config txt file is set up to enable texture replacement then a texture replacement on the load mesh will take place to visually represent the product Let us break down the texture replacement setup Texture swapping functionality relies on 2 things 1 The rolling stock item config txt to include with prod uct texture load effects setup see Rollngstock examples 1 and 2 below 2 The product config txt itself needs product texture information and reference to the texture to be loaded see product examples on Page 374 ROLLINGSTOCK EXAMPLE 1 COAL HOPPER Load allows texture replacement Note The load map tga texture file is the original tex ture used on the mesh in 3dsmax gmax and is to be replaced The load map texture txt file references this texture to be replaced in trainz by a different texture for the new product see load effects product texture in con fig txt The original texture size and the mapping on the mesh will effects the appearance of the replacement texture Default product load COAL lt KUID 44179 60013 gt see product kuid field in config txt Can take product category BU
36. indbrakefull Brake cylinder pressure for independant brake service trainbrakepipe start Brake pipe pressure on loading Trainz epreservoirpipe start For electro pneumatic braking not currently in use generally leave this setting no3pipe start Generally leave these settings no4pipe start Generally leave these settings auxreservoir start Auxiliary reservoir pressure on loading Trainz autobrakecylinder start Train brake cylinder pressure on loading Trainz Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 131 vacuumbrakepipe start For vacuum braking not currently in use generally leave this setting vacuumbrakereservoir start For vacuum braking not currently in use generally leave this setting vacuumbrakecylinder start For vacuum braking not currently in use generally leave this setting mainreservoir start 100psi expressed in grams m Main Reservoir pressure on loading Trainz equaliser start Equalising Reservoir pressure on loading Trainz independantbrakecylinder start Locomotive brake cylinder pressure on loading Trainz Mass Container The mass container stores information related to fuel consumption These tags aren t in use and shouldn t generally be used The mass container has the following tags scale Multiplies fuel mass by given value not currently in use generally leave this setting fuel Fuel level not currently in use gener
37. initial count 0 passenger queue 1 product kuid lt kuid 3 10060 gt attachment points 0 a sitpoint5a a sitpoint1b a sitpoint3c a sitpoint2d a sitpoint1e a sitpointOf a sitpoint5g a sitpointOh a sitpoint1a a sitpoint4b a sitpoint1c a sitpoint1d a sitpointOe a sitpoint1f a sitpoint4g a sitpoint1h a sitpoint2a a sitpoint3b a sitpoint4c a sitpointOd a sitpoint2e a sitpoint bogeys 0 bogey lt kuid 3 10061 gt reversed 0 thumbnails 0 image thumb jpg width 240 height 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 327 Traincar Steam Locomotive Directory Structure A typical asset of this kind has the following File Directory Structure E bigboy cyl steam tfx E bigboy smoke tfx fee bigboy smoke idle tx E bigboy steam relief tFx E config txt Ezjthumb ipg OUP Bigboy art UP Bigboy art 512 texture txt HUP Bigboy art 512 tga g UP Bigbov art icon texture Ext EEEJUP_Bigboy_art_icon tga C3UP Biaboy body Eibb_alpha bmp bb_alpha texture txt bb_alpha tga bb_alpha bb_alpha texture txt BB_Bolts texture txt BB Bolts tga BB Bolts bump texture Ext BB Bolts bump tga E BB Bolts LOW texture txt LEjBB Bolts LOW
38. materialRI 0 3 opacityTex WaterOpacity texture opacityAmount 0 5 j Compiled DetailAnim or text ConfigData file water anim txt This is now loaded manually by Trainz so Trainz can cache the anim file in a separate folder DetailAnimFile water anim j WaterGeometry config data WaterGeometry 1 UVScrollVelocity 0 0 0 05 TileUVScale 1 0 1 0 GridSpacing 10 0 Size of one cell of the grid is used if MaxAmp gt 0 TileGridSize 2 2 tile use more if MaxAmp gt 0 Number of vertices in one WaveFreq 0 0 0 15 MaxAmp 0 0 0 25 Mesh animation TileGridSize 3 3 one tile use more if MaxAmp gt 0 Number of vertices in WaveFreq 0 15 MaxAmp j 0 25 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Displacements This is a special Kind that is not created in CCP as it does not require a config txt file Displacement maps are used to create the differing height depth and shape of an area of terrain based on shades of grey in a bmp file For a default installation the Displacements directory is found in C Program Files Auran TRS2006 World Custom dis placements Create the required greyscale file 256 by 256 Greyscale 8bit bmp file Place it in the Displacements directory Directory Structure A typica
39. mesh bar meter needle pm a voltmeter battery 0 125 72 trainbrake lever kind lever mesh brake pm att a train brake lever limits 0 4 angles 0 75 0 35 notches 0 0 25 0 27 0 29 0 31 0 33 0 35 0 37 0 39 0 41 0 43 0 45 0 47 0 49 0 5 0 75 1 notchheight 1 1 2 2 2 2 2 2 2 2 2 2 2 2 1 1 1 radius 0 15 mousespeed 1 att parent default bplocomain_needle kind needle mesh pressure needle lge pm att a res pressure needle limits 0 1000 att parent default bploco equaliser kind needle mesh pressure needle lge red pm att a res pressure needle limits 0 1000 att parent default bptrainbrakepipe needle kind needle mesh pressure needle sml pm att a brake cyl pressure limits 0 1000 att parent default no3pipe needle kind needle mesh pressure needle sml pm att a ind brake pressure limits 0 1000 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 272 att parent speedo needle2 kind mesh att limits att parent speedo needle kind mesh att limits att parent wheelslip light kind mesh att att parent switch0 kind mesh att limits angles notches notchheight att parent Switch1 kind mesh att limits angles notches notchheight default needle speedo needle1 pm a speedo needle1 0 50 default needle speedo needle2 pm a speedo needle2 0 186 default light whee
40. mode color start a steam boilerblowdown a steam boilerblowdownl a steam cyl drainL a steam cyl drainR Example Asset Kuid Table Container A browse box is provided to select the appropriate kuid for the table The referenced asset name is used not the Kuid ES traincar O obsolete table E mesh table P default P shadow P reverser P default night forward P coalman O smoked O smoket O smoke2 O smoke3 O smoke4 O smoke5 O smoke6 O smoke kuid table Example Asset Bogey Container M kuid table E ns iie pee Inf A browse box is provided to select the appropriate bogey for the model IE i traincar L obsolete table i mesh table E default Py shadow Py reverser Py default night forward M coalman O smoke L smoke L smoke2 L smoke3 L smoke4 O smoke5 O smokeB L smoke D kuid table i bogeys eg 0 bogey PB 15 bogey0 ere reversed rj Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 100 Example Obsolete Table and Mesh Table Browser A kuid browse box presents the assets as proper names for selection not kuids and the mesh browser lists the available meshes in the model directory Blomberg Truck Jet Black Bucyrus Erie Crane Bogey Budd Commonwealth Truck centenary_bogey centenary_bogie_TRS cflow fert bogey cg blomberg truck cg blombe
41. radius queues 20ft cont q size initial count product kuid allowed products 0 gen goods q size initial count product kuid allowed products 0 logs_q size initial count product kuid allowed products a trackOf a trackOb 10 a trackOc 10 a trackOd 10 a trackOe 10 50 lt kuid 3 10014 gt lt kuid 3 10014 gt 50 lt kuid 3 10013 gt lt kuid 3 10013 gt 90 45 lt kuid 3 10001 gt lt kuid 3 10001 gt initial count product kuid allowed products 0 coal_q size initial count product kuid allowed products 0 diesel_q size initial count product kuid allowed products 0 water_q size initial count animated mesh product kuid allowed products 0 processes 25 lt kuid 3 10003 gt lt kuid 3 10003 gt 1086000 543000 lt kuid 44179 60013 gt lt kuid 44179 60013 gt 1164000 582000 lt kuid 3 10011 gt lt kuid 3 10011 gt 15000 10000 default lt kuid 3 10004 gt lt kuid 3 10004 gt multi_consumer_producer start enabled duration inputs 0 1 30 1 20ft cont q 1 gen goods q Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 1 logs q 100000 thumb jpg coal q 240 180 100000 diesel q 1 20ft cont q 1 gen goods q 1 logs q 100000 coal q 100000 diesel q 5 amount 100 queue water q
42. search limit Not required For internal use only Kuid Table The kuid of the track road used in the asset should be present here as should those of any other referenced assets THIS KIND HAS THE FOLLOWING CONTAINERS Mesh Table Queues Container Smoke Container Soundscript Container String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions TAGS kuid trainz build category class category region category era username kind trackside alias author autoname backdrop buffer speed category keyword class collate meshes contact email contact website description description cn description cz description de description es description fr description it description pl description nl description ru dighole floating height range icon texture iconO icon1 icon2 icon3 license light nightmode organisation preview mesh kuid preview scale random color high hsb random color low hsb rgb rollstep rotate rotate yz range rotstep script search limit snapgrid snapmode speedlimit surveyor name label surveyor only trackmark trigger username cn username cz username de username es username fr username it username nl username pl username ru Trainz Railroad Simulator 2006 Th
43. start The usage of start depends on the value of the mode tag If the mode is set to time start is a set of time values in seconds after the creation of this effect s parent object when this phase of the effect will start If the mode is set to speed start is a speed in meters per second m s and period is not used Note 1 m s 3 6 km hr All other sequence attributes rate velocity lifetime minsize maxsize are interpolated so there are smooth transitions between phases If the mode is set to anim start is a value from 0 0 to 1 0 which describes the start time into the object s animation cycle If the mode is set to timeofday start is a value from 0 0 to 1 0 which describes the time of day when this effect will start Values range as follow 0 midnight 0 25 6am 0 5 midday 0 75 6pm 1 0 midnight texture Kuid of the texture to be used for the effect Kinds that use the Smoke Container buildable fixedtrack industry mocrossing mojunction mosignal mospeedboard scenery trackside scenery traincar turntable Refer to Chapter 10 for further explanation and examples of smoke container use Other Regularly Used Tags Some tags are not present in every single kind but appear across a number of different common kinds The most common of these are detailed in this section alias Kuid of the asset to be referenced as a basis for the new asset For example TRS Traincars can reference archi
44. string table multi pickupdropoff Multiple Pickup Drop off thumbnails Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 235 multipleindustry gs include BaselIndustry gs MultipleIndustry industry class MultipleIndustry isclass BaseIndustry ProductQueue crudeOilQueue dieselQueue petrolQueue coalQueue cont20ftQueue cont40ftQueue gengoodsQueue logsQueue lumberQueue woodchipsQueue waterQueue avgasQueue Asset crudeOilAsset dieselAsset petrolAsset coalAsset cont20ftAsset cont40ftAsset gengoodsAsset logsAsset lumberAsset woodchipsAsset waterAsset avgasAsset bool animating false bool processing false bool scriptletEnabled true Track if they only supply some of the logs that were requested in the waybill int avWBRemain 0 int cont20WBRemain 0 int cont40WBRemain 0 int goodsWBRemain 0 int logWBRemain 0 int lumberWBRemain 0 int coalWBRemain 0 int woodchipWBRemain 0 int oilWBRemain 0 int diesel WBRemain 0 int petroIWBRemain 0 int waterW BRemain 0 bool TriggerSupportsStoppedLoad Vehicle vehicle string triggerName bool vehicleToTrain vehicle GetFacingRelativeToTrain int direction vehicle GetRelationToTrack me out_ track0 if vehicleToTrain direction direction Are we up to the furthest trigger away from the side we entered for diesel if directi
45. the tracksound kind also contains additional containers and tags that are specialised to the requirements of the kind Levels Container Relative sound levels The sound is silent until 0 1 m s ramping up in volume until 10 0 m s constant maximum after that Note a value below 0 1 will not play a sound An example Levels setting would be 0 0 1 1 10 Multiple sound files may be used idle 1 wav idle 2 wav THIS KIND HAS THE FOLLOWING CONTAINERS String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions Levels Container TAGS kuid trainz build category class category region category era username kind min distance max distance author category keyword contact email contact website description description cn description CZ description de description es description fr description it description pl description nl description ru license organisation username cn username cz username de username es username fr username it username nl username pl username ru Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 184 KIND TRAINCAR Description A locomotive or rolling stock item A traincar specifies the dependant assets bogey engine sound engine specifica
46. trainz build 2 5 category class TB category region AU category era 2000s Breakdown type Surveyor type e g bridge tunnel or rail region Surveyor region length Length in meters of each bridge tunnel segment bridgetrack Kuid for the type of rail or road used on the bridge trackoffsets Distance in meters the rail s are attached to the center of the bridge spline Any number of tracks can be attached to the spline only splines with the same trackoffsets can be connected together For a single track tunnel use trackoffsets 0 01 height The height value for tunnels should be positive and greater than the height of the ceiling of the tunnel but less than the height of the tunnel entrance structure istrack 0 This is a road bridge tunnel 1 This is a rail bridge tunnel Initiator For additional notes on splines refer to Page 385 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 79 KIND BRIDGE DOUBLE TRACK This kind can also be configured to create splines that can be used for placing two or more tracks using the trackoffsets tag Config txt kuid lt KUID2 H H 1 gt kind bridge length 20 bendy 1 bridgetrack lt KUID 1 100396 gt trackoffsets 2 5 2 5 height 0 istrack 1 kuid table 0 lt KUID 1 100396 gt username description trainz build 2 5 category class TB category region A
47. 1 etc Attachment point for pantographs where needed i e Electric locos a driver 0 1 etc Attachment point for driver mesh 0 is used for the first driver 1 for the second driver in dual cab for instance Currently only a driver 0 is supported a outsideview 0 1 etc These are located external of the loco body mesh The camera is positioned to face the negative Y direction of the attachment Toggled using and using the internal camera mode after default interior camera view s a r pivot a lever sample names used only Special naming convention for attachment points that are to move with the animation of the asset Refer to Page 363 for information a whistle Attachment point for particle effects being emitted when the whistle key is pressed In addition to these you may add any other attachments so long as they use the a name naming convention These can be used as steam or smoke points or as an attachment position for another mesh or animated mesh All additional smoke and mesh attachment points are referenced through the Loco s config file smoke through the smoke fields the mesh attachments through the mesh table field TRS has the ability to allow it s rolling stock to pick up and deliver commodities or products to the various industry assets In the coal hopper for example the load mesh is a simple animated mesh that is tied in through the config txt file to the pro
48. 3 10091 gt username Passenger kind product category kuid lt KUID 3 10044 gt username Liquid Load Passenger TRS RELEASED PRODUCT LIST kind product Product Category Container 20ft Container lt KUID 3 10014 gt 40ft Container lt KUID 3 10041 gt General Goods lt KUID 3 10013 gt Log lt KUID 3 10001 gt Lumber lt KUID 3 10003 gt Product Category Bulk Load Coal lt KUID 44179 60013 gt Woodchips lt KUID 3 10002 gt Product Category Liquid Load Aviation Fuel lt KUID 3 10045 gt Crude Oil lt KUID 3 10010 gt Diesel Fuel lt KUID 3 10011 gt Petrol Fuel lt KUID 3 10012 gt Water lt KUID 3 10004 gt Product Category Passenger Passenger lt KUID 3 10060 gt Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 16 PRODUCT CONFIG TXT FILES Legend kind product New kind in TRS product category KUID of applicable category for this product instance type resource Used when there is no mesh or only one mesh is referenced in the mesh table i e Liquids Bulk loads etc instance type instance Used when more than one mesh is in the mesh table i e Passengers General Goods 200 max size per Asset icon texture the in game representation of the product when specifying the load type for a compatible rolling stock item in Driver The icon can alternatively be included in the thumbnail container Trainz will
49. For vacuum braking not currently in use generally leave this setting mainreservoir start suuu 0 00946941 rem 100psi expressed in grams m Main Reservoir pressure on loading the game equaliser start ssususs 0 00553261 Equalising Reservoir pressure on loading the game independantbrakecylinder start 0 00560291 Locomotive brake cylinder pressure on loading the game mass scale 1 Multiplies fuel mass by given value not currently in use generally leave this setting PEE 6 2156e 006 Fuel level not currently in use generally leave this setting motor resistance 6 ccc cece cence cec eee eee 1 7 Power figure for DCC higher resistance value less power adhesion die rptu 2 5 Adhesion parameter higher value greater adhesion maxvoltage sss 600 Generally leave this setting maxspeed d ede Urge 40 Maximum speed for DCC expressed in metres per second Brakeraltio ie 55000 Brake force for pressure reduction max accel ssssssssseee enne 3500 maxe decel sedes 9000 Parameters for DCC acceleration amp deceleration axle count csse sesso ones 4 Resistance axle count surface area sese 80 Resistance surface area moving friction coefficient 0 03 Resistance moving friction air drag coefficient 0 00017 Resistance air drag throttle power Ac
50. KUID browser works similarly to the KUID browser with the additional ability to change the actual name of the tag Refer to the Getting Started section for additional information on saving files and error checking and to Chapter 4 for detailed information on creating a new asset Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 92 Inheritance Template The model asset Kinds have a certain relationshop to each other The following chart shows how these are related the way the classes are inherited in the game Mesh Object Trackside ScenenyWithTrack pua A a aay Locomotive Industry Ground Texture Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 93 Trainz Railroad Simulator 2006 CHAPTER 4 Using Content Creator Plus to create a New Asset The purpose of this chapter is to explain the Workflow process using Content Creator Plus to efficiently create a new asset for Trainz An example asset will be used to illustrate the process Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 94 Creating a New Asset The aim of the Content Creator Plus CCP module is to create the asset config txt file Additionally it creates a temporary directory where the model files are to be placed and then incorporated in the Trainz asset database when the asset is committed Please refer to the previous Chapter 3 for an explanation on h
51. See Kind Scenery Page 65 Full config or script files are not included in this section because all TRS released industry config txt files and script files gs are available for download from http www auran com TRS2004 trssp4di dfile php FilelD 10 Overview All TRS industries have attached tracks attached triggers queues and processes to input or output products or commodities Attached track required Attached tracks are setup in an industries config txt Auto generated spline track is generated through attachment points located within the default mesh Attached tracks update automatically to the spline track connected to it You may over ride this auto update feature by adding useadjoiningtracktype 0 Note Correct track end attachment orientation is essential The Y axis must point out at the correct angle the Z axis must point up Refer to Page 75 attached track track0 track KUID 3 15 useadjoiningtracktype 0 vertices 0 a track0a 1 a track0b Attached trigger required A Trigger is a point along an attached track with a specified radius When a compatible rolling stock item enters this radius it triggers a set of commands controlled through its script A trigger is setup in an industries config txt Queues required The queues field states which product or products the industry can use It contains the size of each product the initial count when p
52. Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 152 KIND MESH Description A mesh that is never referenced through Surveyor panels but is referenced from another asset It could be referenced through the preview mesh kuid tag or as a kind attachment effect like the red arrows used on fixed track assets Container Structure A well formed mesh kind has the following container structure y mesh m mesh table P mesh element0 thumbnails 0 See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS mesh kuid kuid trainz build data category class data category region data category era data username data kind data mesh table default mesh file auto create data thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be HM Mesh See the Mesh section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username Though this asset doesn t appear in the Su
53. Version 2 0 366 ReBalance 5 0 return 1 0 bool UnloadProduct LoadingReport report if active return false return true ProductQueue GetVehicleProductQueue Vehicle v Asset prodAsset string vQ prodKuid catKuid bool found 0 int s l p vQ Soup vSoup v GetAsset GetConfigSoup Soup pSoup prodAsset GetConfigSoup Soup vqSoup vSoup GetNamedSoup queues prodKuid pSoup GetNamedTag kuid catKuid pSoup GetNamedTag product category for s 0 s lt vqSoup CountTags s Soup load vqSoup GetNamedSoup vqSoup GetlndexedTagName s if load GetNamedTag product kuid prodKuid found 1 vQ vqSoup GetlndexedTagName s break for I 0 lt load CountTags I if load GetIndexedTagName l allowed categories Soup prod load GetNamedSoup allowed categories for p 0 p lt prod CountTags p if prod GetNamedTag prod GetlndexedTagName p catKuid found 1 vQ vqSoup GetlndexedTagName s break if found break if found break Soup prod load GetNamedSoup allowed products for p 0 p lt prod CountTags p if prod GetNamedTag prod GetlndexedTagName p prodKuid found 1 vQ vqSoup GetlndexedTagName s break if found break return v GetQueue vQ void UpdateTrain Message msg if msg
54. att a doors att parent default right passenger door mesh mkl1 rmb body right door right door im anim mk1 rmb body right door right door kin auto create 1 att a doors att parent default queues passengers size 44 initial count 0 passenger queue 1 product kuid lt kuid 3 10060 gt attachment points 0 a sit5a 1 a sitlb 2 a stand3c 3 etc iconO0 lt kuid 3 10164 gt description BR MK1 RMB Example Asset name fr MK1 RMB de BR name de BR MK1 RMB name es BR MK1 RMB name it BR MK1 RMB Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 74 KIND FIXEDTRACK A fixedtrack in TRS could be likened to a model train sectional track system They snap into position when moved onto another track in Surveyor Technically all a fixedtrack comprises is a mesh asset with an attached track or tracks and surveyor only rendered arrows so the user knows where the fixedtrack starts and ends The model simply comprises of a few attachment points using the a name naming convention set up accurately in 3dsmax or gmax and a single invisible polygon to allow exporting and for in game asset selection Note that correct track end attachment orientation is essential The Y axis must point out at the correct angle The Z axis must point up Mid points only need to be in the correct spline path See diagram below TRS released fixedtracks comprise of only curv
55. b r wheel 2 b r wheel 1 b r crank b r base 0 0 0 Hierarchal Sub tree E b r base b r link1 b r crank b r linkO crank b r output b r driveO b r linkO Animated Bogey Example 2c Side view after a few frames linkO driveO b r drive1 b r link1 b r smallwheel link1 drive1 middleshaft b r smallwheel smallwheel b r wheel 1 wheel 1 Wheel 1 2 amp 3 circumference 4 2m Animated to turn 1080 over 120 frames b r wheel 2 e Animated to turn 720 over 120 frames Distance traveled 2 8m x 3 revs 8 4m wheel 2 Distance traveled 4 2m x 2 revs 8 4m b r wheel 3 This example is much more complex than the previous example Animation frames 120 wheel_ 3 base Animdist worked out from distance travelled in 30 frames 8 4 4 2 1 therefore animdist 2 1 smallwheel circumference 2 8m Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 378 Typical TRS bogey config txt im files with mesh table bogeys ee dd40ax_bogey El dd40ax_bogey_shadow B black texture bet eae black tga dd40ax_bogey shadow im 3 Config sse 3 dd40_bogey texture txt s dd40_bogey tga i B dd40_bogey bump texkure Ext X dd40_bogey_bump tga dd4 ax bogey im kuid lt KUID gt kind bogey animdist 2 1 mesh table default mesh dd40ax bogey im auto create 1 sh
56. bendy Switches how track is bent on corners set as 1 allows the mesh to be deformed as the spline is bent around corners carrate Defines traffic density on road minimum seconds between each car generated 0 No traffic Number must be greater than 3 for traffic flow casts_shadows Toggles whether the shadow model is displayed or not endlength Length in meters of the initiator and terminator models grounded Height in meters for the road to be offset from terrain length Length of track segment in meters repeats The number of times the mesh is placed between spline points Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 120 shadows Leave as default 0 unticked box upright Specifies whether the bridge legs point vertically or perpendicular to the spline visible on minimap Specifies if the object track is displayed on the minimap width Width of track mesh in meters initiator Name of model to use at start of bridge placed in subfolder with same name divider Name of the model to use as the middle bridge section placed in subfolder with same name No length is specified and the divider overlaps part of the spline terminator Name of model to use at the end of bridge placed in subfolder with same name trackoffsets Distance in meters the rail s are placed relative to the center of the spline A single track must have a small offset of 0 01 metres fro
57. bump mapping should only be used on locomotives and only in the hi res locomotive version if level of detail mesh reduction is being used Refer to Level of Detail Page 370 Bump mapping can be used to simularte 3 dimensional detail to rivets bolts rust and joints for example The following example is taken from Auran s steam locomotive the QR Class PB 15 figure 1 QR Class PB 15 Figure 1 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 35 GREYSCALE HEIGHT MAP 1024x512 Figure 3 RGB NORMAL MAP 1024x512 Figure 4 J H Normal Map Generation PHOTOSHOP NORMAL MAP GENERATION FILTER This normal map was created from the greyscale height map above using a Photoshop Normal Map Generation Filter available for download from the EMEN The plug in also includes a 3D preview with per pixel Dynamic Preview p s page dem lighting to view the generated normal map PaintShop i C seks Average RGB Pro 7 users should also be able to use it C 5x5 Wrap A n Altemate Conversions n plug in iia FA d by Mesa qi a Mp A M e greyscale contrast White is high grey is flat blac i Cg is low Minz o Seale 4 cas 3D View Options s bed RGB The above normal map was generated using the Pesh adit N en settings displayed right figure 5 Use Decal Texture Brighten Decal Alpha Field Note Bump map textu
58. category class is a single selection from a drop down fag Gas Turbine x category class category region category era File Browser Clicking on the button adjacent to an appropriate tag with the Left mouse button will open the file browser The file browser is used to locate the files you wish to use in vour asset TT 04 Look in Gcoalhoppe_boy o t Ex E3 My Recent Documents Desktop E coal hopper body low im 2 My Documents D My Computer c c My Network Places Jcoal_hopper_body im X File name Files of type Mesh Files IM LM LM TXT Once the file is located click on the Open button and the field will be filled with the path for the file you have selected Remember that your files must be placed in the working directory The file type selections in the browser will reflect the types that are required to fill the dialog box For example a mesh dialog box offers a choice between im Im and Im txt types whereas a script will allow files with gs or gse extensions to be selected New Assets Some tags typically images scripts or HTML assets will have an adjacent New button when the entry box is empty lesture or i Clicking on the New button will allow you to create a new asset of the appropriate kind and will automatically create the necessary fil
59. config txt icon_texture texture txt EZ Lumber taa lumberstack im plank texture txt E plank tga Ezjthumb jpg Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg 0 image width height Download this asset icon texture texture txt lumber tga The product icon images 64x64 TGA lumberstack im The indexed mesh file used to represent this product when placed on an item of rollingstock plank texture txt plank tga The texture files used by the indexed mesh of this product See the section on Texture txt files on Page 96 for more information File Listings config txt kuid trainz build category class category region category era username kind allows mixing instance type icon texture mass product category description mesh table default lt kuid 56113 1019 gt 2 5 Ip 00 1980s testLumberProduct product 1 resource icon_texture texture 8000 lt kuid 3 10042 gt Test Lumber Asset thumb jpg 240 180 This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 304 Product Passenger Product Directory Structure A typical asset of this kind has the following File Directory Structure
60. image width height lt kuid 1 100039 gt lt kuid 1 100058 gt lt kuid 12 500 gt lt kuid 12 504 gt lt kuid 1 101154 gt lt kuid 117140 10050 gt lt kuid 117140 22999 gt lt kuid 117140 10086 gt lt kuid 117140 10075 gt lt kuid 117140 20006 gt info tga 32 32 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 196 Behavior Directory Structure A typical asset of this kind has the following File Directory Structure Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg html type tga The icon graphic file to be displayed behaviour gs The script file for the asset fcc behaviour gs B config Ext E html type texture html type tga H thumb jpg File Listings config txt username testBehaviour kind behavior kuid lt kuid 171456 100035 gt script behaviour class DisplayHTMLRule trainz build 2 5 category class YH category region 00 category era 2000s description Test Behaviour asset displays an Html file icon texture html type tga string table html description Display page a href live property page gt 0 lt a gt of html asset a href live property ass
61. in one location The aim of CMP and CCP is to have fully functional and correct assets in Trainz Errors in asset files for previous builds have created frustration for users With CCP we now have a utility to eliminate as many errors and problems as possible and therefore we ask that the following procedures be used For all TRS2006 trainzbuild 2 5 assets they must be checked using CCP before uploading to the Download Station This will show any errors that may then be corrected and format the files suitable for the Download Station While assets from prior builds may be imported into TRS2006 and appear to function correctly if they are to be made into a build 2 5 asset for upload they must be loaded into CCP and a processed and corrected config txt file saved CCP must be used to create the upload package Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 388 The Trainz Download Station With the introduction of Content Manager Plus CMP many aspects of the upload process have been changed Unlike previous versions of Trainz uploading and downloading are now fully encapsulated within the Content Manager Plus CMP program Assets no longer need to be manually packaged in order to be uploaded making the process much simpler To upload your content you must have a valid Planet Auran profile with a registered version of Trainz You are also only able to upload your own custom content Steps to
62. kuid table 0 lt kuid 3 10091 gt Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example_Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 306 Product Category Directory Structure A typical asset of this kind has the following File Directory Structure Z config txt Ezjthumb jpg Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg File Listings config txt kuid lt kuid 56113 1250 gt trainz build 2 5 category class IB category region 00 category era 1970s 1980s 2000s 2010s username testProduct Category kind product category description Product Category Useful when making traincar assets and designating which products are allowed thumbnails 0 image thumb jpg width 240 height 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 307 Profile Directory Structure A typical asset of this kind has the following File Directory Structure B config txt e profile dat EZ thumb jpg Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240
63. lt KUID 3 10011 gt username Diesel Fuel product category lt KUID 3 10044 gt instance type resourc mass 0 830 mesh table icon texture icon texture texture 64x64 32 bit Diesel Fuel directory structure J scenarios i a diesel Fuel icon texture texture txt Primary Diesel tga Alpha Diesel tga Tile none Diesel tga 64x64 32 bit Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 19 20 FT CONTAINER PRODUCT 20ft Container Product Config txt kind product kuid KUID 3 10014 username 20ft Container product category lt KUID 3 10042 gt instance type instance icon texture icon texture texture mass 11000 mesh table default mesh 20ft container im 20ft Pil mesh 20ft Pil im 20ft Capital mesh 20ft Capital im 20ft matsui mesh 20ft matsui im 20ft Genl mesh 20ft Genl im allows mixing 1 icon texture texture txt Primary Containers20ft tga Alpha Containers20ft tga Tile none Containers20ft tga 64x64 32 bit 20ft Container directory structure La scenarios di a 2nFE container z EE 20Ft_capital taa d EE 20Ft_fliner tga e fkE geni tga z0ft_matsui tga RKl2 ft pil tga E es cipi tga z rt Spital texture txt ZOFt_Fliner texture Ext z0ft_gen1 texture txt 20Fk_matsui texture txt 20Ft_pil texture txt Config txt ic
64. lt kuid 3 10060 gt mesh table default mesh small station im auto create effects 0 kind 1 name fontsize 0 08 fontcolor 220 220 220 att a nameO name name kind name fontsize fontcolor att name kind name fontsize fontcolor att name attached track track one track lt kuid 1 15 gt vertices 0 a track0a 1 a trackO0b 2 a trackO0c 3 a track0d track_two track lt kuid 1 15 gt vertices O0 a trackla 1 a tracklb 2 a tracklc 3 a trackld attached trigger trigger track_one a a track0a att radius track track one trigger track one b a trigmain att radius track track one trigger track one c a track0d att 1 0 08 220 220 a namel name 2 0 08 220 220 a name2 name Example r220 p220 2 19 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 72 radius 2 track track one trigger track two a att a trackla radius 2 track track two trigger track two b att a trigmain radius 19 track track_ two trigger track two c att a trackld radius 2 track track two queues passengers on O passenger queue 1 size 48 initial count 0 product kuid lt kuid 3 10060 gt attachment points 0 a passon30 passsit02 passsit03 passsit04 passon32 etc EP oo A passengers onl passenger q
65. lt kuid 56113 1254 gt 2 5 NX AG 1830s testMOJunction mojunction light 1 trackside 0 description Test MOJunction Based on the UK Point Motor by Alan Thomson snowsignal mesh table lever1 mesh lever1 lever1 im auto create 1 lever2 mesh lever2 lever2 im soundscript toggle trigger toggle distance 5 100 nostartdelay 1 repeat delay 1 1 sound 0 points wav thumbnails 0 thumb jpg image width 240 height 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 291 MOSignal Directory Structure A typical asset of this kind has the following File Directory Structure E concrete texture txt EE concrete tga E config txt corona_green tga EZ corona_red tga 2 corona_white tga EJ corona_yellow tga Ei opacity bmp IE opacity tga E opacity opacity texture txt qr D1 im E signal q texture txt EE signal_q tga Ezjthumb ipg Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg opacity tga opacity opacity texture txt concrete texture txt concrete tga signal q tga The texture files used for the signal asset See the section on Texture txt files on Page 96 for m
66. normals show in blue see below remove the box sides or texture the sides separately Normals Normals are the direction of the primary surface of an object and effect the color displayed in Trainz Normals may be turned on in 3dsmax gmax and show a blue line from any selected surfaces polygons The normals should be aligned for surfaces facing the same direction If planes are cloned then rotated or mirrored the normals can be facing in the opposite directions These planes show a mixture of light and dark texturing in Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 344 Trainz and the misaligned normals should be flipped in 3dsmax gmax to align correctly with other planes Boolean Operators The boolean function is often used to cut holes in a model to create a window for instance For a sequence of cutting operations the model should be converted between operations to an editable mesh it can cause problems if this is not done The cutting action can also cause very long thin polygons in the surface these can be difficult to texture map Removing the polygons and redrawing them with ones of a more regular shape can make the mapping easier and reduce the actual number of polygons to make the surface Reset XForms Cloning and mirroring can result in an object appearing inside out or appearing hollow in Trainz This is a result of the pivot point alignment being changed while process
67. piston stroke2 wawv A T i j image thumb jpg H B piston stroke3 wav width 240 i TE E piston strake4 waw height 180 amp smoke stack hiss wav i i amp steam loop wav IMPORTANT Note 1 You must ensure all custom sound files for steam trains PB 1S bogey Dong be are named the same as those described above kind bogey kuid lt kuid 44179 50003 gt IMPORTANT Note 2 animdist 3 816 The Steam loco driving bogey is connected to the piston category class SAS and physics system by adding the following tag to the category region 0 AU bogey s config txt direct drive 1 category era 0 1920s 1930s 1940s 1950 5 s 1960s See PB 15 bogey2 Config txt right direct drive 1 asset filename PB 15 bogey2 This tag MUST be included for piston and steam sounds to work Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 38 KIND HORNSOUND This is the traincar horn sound referenced by the hornsound tag in a traincar config txt Hornsound config txt kuid lt kuid 56113 1273 gt trainz build 2 category class ZH category region AN category era 1950s 1960s 1970s username testHornsound 2 Part kind hornsound two part ail thumbnails O0 image thumb jpg width 240 height 180 Hornsound Directory Structure hornsound CONFIGS TAT horm waw horn_loop waw horn stark way idle 1 av two part 1 Indicates that the
68. textures and information 2 Create a Mesh im file An im file is an Indexed Mesh These files are created by exporting from 3D Studio Max 3dsmax or gmax using an Auran Jet Trainz plugin 3dsmax requires a plugin to be separately installed available for versions 4 and 5 from the Auran website http www auran com TRS2004 downloads contentcreation TRS_Max4_Plugin_Bump zip Gmax is a program created by Discreet as a game specific version of their 3D Studio Max program Gmax is available for free download from http www turbosquid com gmax In order to use gmax with Trainz you will also need to download the Trainz Content Creation Pack from the Auran website http www auran com trainz creation Trainz Asset Creation Studio zip After installing and registering gmax this pack installs into gmax and will enable you to export content directly into the im file format that Trainz uses Note Previous versions of Trainz used a Progressive Mesh file pm Due to the new mesh reduction in TRS Level of Detail mesh reduction only im files are used progressive mesh files are obsolete These files will still function in TRS2006 but for new models the im format should be used So what is 3dsmax or gmax These are 3D modeling programs that enable you to make things such as locomotives items of rolling stock or scenery and trackside accessories They are quite complex programs Trai
69. the effect to always face the user in Driver and is therefore always visible frequency This variable specifies the frequency in Hz or flashes per second eg 1 for once per second 0 5 for once every 2 seconds 2 for twice in a second max distance Maximum distance to which the effect is visible object size Size of the corona on the object when viewed up close Defaults to 0 15 ie 0 15m texture kuid Add this tag only when you want to specify your own texture for the corona It specifies the KUID of a kind texture asset If the texture kuid tag is not present the corona will use the default yellow orange texture in TRS Alternatively specify one of the Auran corona textures Yellow orange corona texture kuid specified Green corona White corona e Red corona Default if no lt KUID 3 10110 gt lt KUID 3 10111 gt lt KUID 3 10112 gt wave shift Affects the flashing intensity pattern on the corona Texture Replacement Effect This effect was created for rollingstock items to swap the visible texture of bulk loads such as coal or woodchips If a coal car is set up to take any bulk load which includes woodchips the coal texture on the load mesh will update to a woodchips texture when it loads woodchips kind The effect kind texture The replacement texture for example gravel tga Attachment Effect In TRS we have the ability to attach a mesh into another mesh by refe
70. txt may contain a sub path to find the mesh e g When exporting the default mesh you must include all attachment points TRS may crash if the config txt references an attachment that is not there Config txt file set up There are a few key things to remember 1 Mesh table An interior uses the same properties as any TRS mesh table you need to add auto create 1 or the mesh will not show in the scene There may be occasions where you don t want a mesh visible by default Take the switchlights for example These have auto create 0 in the config as their visibility is controlled by script when the switch is in the on position 2 Animations Note the animated fan and the wipers do not have the animation loop speed tag added This is because the animations are controlled through the script They are visible by default but the animation does not play by default Should we have added animation loop speed 1 the looping animation would have played by default with or without a script 3 Levers The visors swivel chair and sliding windows are all setup as levers In these three cases the notchheights are 0 so they don t display In the case of the visor and sliding windows they each have a number of invisible notches This is to give the user the option to have them slightly open or partially closed The sliding windows have a very large radius 30m and very small angles STEAM CAB INTERIORS Overview TRS ste
71. u dave lores texture txt dave lores tga dave lowres im config txt DriverCharacter Mesh Config txt kind mesh KUID KUID 3 10130 mesh table standing sitting mesh dave lowres dave lowres im Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 39 KIND INTERIOR This is the traincar interior Referenced by the interior tag in a traincar config txt In TRS an interior config txt file has the ability to be setup using a mesh table This gives greater control over animations and allows for script implementation In the following example the generic UP DD40 interior has scripted animated wipers and a fan both controlled by a switches Also when these switches are in the on position a mesh is rendered to represent the switch light coming on Actually the DD40 interior is a great example of what can be done using standard levers alone The sliding windows the retractable sun visors and the swivel chair are all levers Sure they contain no real function It adds a bit of fun if anything Download DD40 Interior source and in games files here http www auran com TRS2004 downloads contentcreation TRS2004_dd40_interior zip Remember Interiors created using a mesh table cannot be used in pre TRS versions of Trainz DD40 Interior Config txt kind interior script DD40Cabin class DD40Cabin kuid lt KUID 3 10085 gt came
72. username es username fr username it username nl username pl username ru Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 158 KIND MOSIGNAL Description A train signal with lights coronas It specifies the aspects the signal is capable of displaying the light points activated when each state is displayed and the corona details The signal may be offset a specified distance from the track Container Structure A well formed mosignal kind has the following container structure mosignal t signals 0 33446466089 I re D E O0 OO 7 CD CH 4 CO n2 CO D CO CD Cn o eoooooooooo e 13 E mesh table default E thumbnails 0 See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS mosignal kuid kuid trainz build data category class data category region data category era data username data kind data function data trackside data signals 0 light data lights 0 corona data mesh table default mesh file auto create data thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be WX Accessories See the Wayside section of the Classes and Codes appendix located at the end of this
73. vacuumbrakereservoir vacuumbrakepipe 0 1 vacuumbrakecylinder vacuumbrakepipe 0 1 0 highspeedexhauster vacuumbrakepipe 0 1 0 0 volume 1 scale 1 0 29 trainbrakepipe 0 2 5 28 epreservoirpipe 0 2 10 18 no3pipe 0 2 12 0 no4pipe 0 2 auxreservoir 0 0384678 autobrakecylinder 0 00969387 2 vacuumbrakepipe 0 0 85 vacuumbrakereservoir 0 5 70 vacuumbrakecylinder 0 10 60 mainreservoir 1 0 15 30 equaliser 0 5 30 0 independantbrakecylinder 0 0103239 pressure 3 1 0 140 scale 1 5 93 compressor 0 00946941 10 70 mainreservoir 0 00946941 15 62 highspeedexhauster 0 30 0 brakepipe 0 00595441 brakeinitial 0 00560291 brakefull 0 00398601 23 indbrakefull 0 00398601 2 187 5 109 10 93 trainbrakepipe start 0 00440781 15 87 epreservoirpipe start 0 30 0 no3pipe start 0 no4pipe start 0 Continues next page Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 27 dynamic brake 0 l 10 15 30 10 15 30 10 15 30 Oe WO N O1 15 21 333 co 101 N50 F2 333 co 101 NN P2 2333 Bm p tumHm 281 218 109 87 343 265 172 125 359 343 187 156 436 429 425 408 234 172 30 25 15 50 35 20 60 40 20 80 60 20 steam 1 333 0 5 90 9 70 12 25 15 0 6 1 333 0 5 150 9 80 13 70 7 0 7 1 333 0 5 200 10 100 16 60 9 0 8 1 33 0 5 200 10 150 18 50 21 0 pressure in kPa flow si
74. 1 coal_dump wav a sound clunkO 1 1 0 0 backup attachment trigger repeat delay distance sound 0 mesh table default mesh auto create anim animation loop speed critical animation effects 0 kind fontsize fontcolor att name 1 kind fontsize fontcolor att name 2 kind fontsize fontcolor clunk wav a sound reverse 0 0 warning wav coalmine im 1 coalmine kin 1 1 name 0 3 220 220 220 a nameO name 0 3 220 220 220 a name1 name 0 16 220 220 220 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 3 kind fontsize fontcolor att name load mesh anim auto create load diesel mesh anim auto create att att parent warning light 0 mesh att att parent anim auto create animation loop speed effects 0 1 kind att warning light 1 mesh att 0 16 220 220 220 a name3 name load load im load load kin 1 diesel_load im diesel_load kin 1 a diesel_load default warninglight warninglight im a warnlight_0 default warninglight anim kin 1 1 corona a lightcorona0 corona a lightcorona1 warninglight warninglight im a warnlight 1 att parent anim auto create animation loop speed effects 0 1 kind att warning light 2
75. 1 vacuumbrakepipe 0 1 vacuumbrakepipereleasevent 0 1 vacuumbrakepipevent 0 1 vacuumbrakereservoir_vacuumbrakepipe 0 1 vacuumbrakecylinder_vacuumbrakepipe 0 1 highspeedexhauster_vacuumbrakepipe 0 1 volume size of pipes and appliances scale 1 multiplies volume by given value generally leave this setting trainbrakepipe ssssssssssus 0 2 brake pipe volume epreservoirpipe sssesssees 0 2 For electro pneumatic braking not currently in use generally leave this setting NOSDIDG aes keii niniak a 0 2 Independent brake pipe NOFDIDG EEER 0 2 Bail pipe not currently in use generally leave this setting Auxreservoir eese 0 0384678 Auxiliary reservoir volume Autobrakeoylinder 0 00969387 Brake cylinder volume vacuumbrakepipe usse 0 vacuumbrakereservoir 0 vacuumbrakeocylinder 0 For vacuum braking not currently in use generally leave this setting mainreservoir essen 0 9 Main reservoir volume equallser ics t dne 0 5 Equalising reservoir volume independantbrakecylinder 0 0103239 Loco brake cylinder volume pressure Brake system pressures scale 1 Multiplies pressure by given value generally leave this setting COMIC SSOP is ios Te ek nare daa wane bee 0 00946941 120psi expressed in grams m Compressor maximum pressure mainreservoir
76. 1 1 1 1 default lever a trainbrake lever 0 4 0 94 0 0 0 25 0 5 0 75 1 1 1 1 1 1 1 default pullrope f7interior_horn pm a horn 0 1 0 1 0 0 1 0 0 1 default lever f interior switch pm a switchO 0 1 0 2 1 0 2 default 2 kind mesh att limits angles mousespeed radius att parent 3 kind mesh att limits angles mousespeed radius att parent 4 kind mesh att limits angles mousespeed radius att parent 5 kind mesh att limits angles mousespeed lever f7interior_switch pm a switch1 0 1 0 2 1 0 2 default lever f7interior_switch pm a switch2 0 1 0 2 1 0 2 default lever f7interior_switch pm a switch3 0 1 0 2 1 0 2 default lever f7interior_switch pm a switch4 0 1 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 266 radius att parent 6 kind mesh att limits angles mousespeed radius att parent light switch kind mesh att limits angles notches notchheight mousespeed radius att parent 8 kind mesh att limits angles mousespeed radius att parent ampmetermesh bplocomesh bptrain 0 2 default lever f interior switch pm a switch5 0 1 0 2 1 0 2 default lever f7interior_switch pm a switch6 0 1 0
77. 256 pixel 24bit tga The file extension should be excluded here ie QLD_ Sky Night and not QLD Sky tga THIS KIND HAS THE FOLLOWING CONTAINERS String Table Chinese String Table Czech String Table fixedtrack i mesh table default E effects P arow0 Pj arrowl m attached track 5 track OD vertices i thumbnails 0 See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE Dutch String Table French String Table German String FOLLOWING TAGS Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete fixedtrack Table Thumbnails Privileges Extensions username data TAGS r kind data kuid trainz build category class category region category era username kind normal storm night kuid kuid author category keyword contact email contact website description description cn description cz description de preview mesh kuid kuid description es description fr description it description pl description nl description ru license organisation trainz build data username cn username cz username de username es username fr username it username nl username pl category class data username ru category region data category era data KIND FIXEDTRACK mesh fable Description HERR A fixedtrack asset can be likened to a model trains mesh file sectional track system The models
78. 3dsmax maps rollout showing the texture files as entered in the three slots the gmax display is similar Map AmbientColor 100 gt None Iv Diffuse Color 100 gt Map 7 light tga je Specular Color 100 gt None Specular Level T00 gt None Glossiness ioo 2 None Self llumination T00 gt None v pacity i00 Map 8 lightop bmp Filter Color i00 2 None iBamp oes 30 None v Reflection i00 Map 9 lightreflect bmp Opacity on Roads Track and Bridges To blend a road or track model into the ground track built in to Trainz has used an opacity map as part of the ballast or road diffuse texture The edges of the road or track are made transparent blending into the opaque track or road texture Amount Often a spline rail bridge is constructed with initiators and terninators These may have a solid deck as part of the model When using track with opacity mapping applied Alpha channel on a bridge the transparency can cut through the textures of the bridge deck and make it transparent when viewed from the track level Specify a track type that does not use transparency such as the no ballast options available in Trainz to fix the problem Alternatively model the track as part of the bridge deck and use an invisible track as the spline for the model You could also use the Auran no ballast track across a truss bridge for i
79. 8 X oe we amp i3 1 x windows Type Standard Shader Basic Parameters Blinn j Wire 2 Sided FaceMap Faceted Blinn Basic Parameters Self Illumination q ambient JG ri Code 0 2 amp Diffuse BRI MI Specdar _ Opacity 80 3dsmax gmax window material alphanumber textures alphanumber 0a to alphanumber 9a and alphanumber Ob to alphanumber 9b Locomotive numbering in TRS is edited in Surveyor Trains panel Train mode Edit Properties the icon Refer to the example download files for configuration of Loco numbering digit s BUMP MAPPED AND SPECULAR MATERIALS TRS supports bump mapping and specular materials A nice example of a bump mapped loco with specular values in use is the TRS asset The SNCF TGV loco Bump mapping This is only available for 3dsmax 4 and 5 users Bump mapping is used to add 3 dimensional detail to an image using an applied RGB Normal map without increasing the number of polygons Bump mapped materials for TRS requires the latest 3dsmax exporter Specular Materials 3dsmax and gmax Users Adding Specular values to a material is best described as adding shininess to the material Altering specular values can give realistic material properties to metallic and glassy surfaces You can specify specular values from 3dsmax or gmax but it is quite important for bump mapped materials to have specular v
80. CCP into one tag line in the config txt file Refer to Appendices other entries You may enter data for additional information in the config txt file such as author contact email and contact website are useful information particularly if a user has a question on your models or would like to offer help or suggestions organisation name will show in Trainz in Railyard as the organisation for the model for instance if you use Joe s Trainz or Cripple Creek Logging Company license will show information on how you wish your models to be used by others and any limitations Note In Content Creator Plus go to the Preferences General option and enter the details for the above tags When one of the tags is selected CCP will populate the tags dialogue box in your new asset with the data EFFECTS optional mesh table variables EFFECT KIND NAME Some assets may have editable signs When you set an asset s name in surveyor through the Edit Properties icon icon the signage can be set up to automatically update The variables can be set for each sign Typical Kind Name mesh table set up You do not have to use the 0 1 2 block naming convention For the name effects described in the example 0 could mesh table default mesh industry lm auto create 1 effects 0 kind name fontsize 0 15 fontcolor 30 30 30 att a name0 name name kind name fontsize 0 3 fontcolor 30 30 30 att a namel name name
81. Fuel product thumb jpg 240 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 302 Product 40ft Container Product Directory Structure A typical asset of this kind has the following File Directory Structure 40ft blue im 40Ft_blue texture txt LE 40Ft_blue taa 40Ft_capital im Z 40ft capital texture txt LE 40Ft_capital taa 40Ft_container im 40Ft_db texture txt HZ 40Ft_db tga 40Ft_matsui im E 40Ft_mitsui texture txt LE 40Ft_mitsui tga 40Ft_pil texture txt EZ 40Ft_pil taa 40Ft_pils im E config txt IE Containers40ft tga icon texture texture txt Ezjthumb ipg Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg 40ft blue im 40ft capital im 40ft container im 40ft mitsui im 40ft pils im The assorted indexed mesh files used to represent this product when placed on an item of rollingstock Using more of these files creates a greater variety of meshes to be displayed when items of rollingstock are carrying this product 40ft blue texture txt 40ft blue tga 40ft capital texture txt 40ft capital tga 40ft container texture txt 40ft container tga 40ft db texture txt 40ft db tga 40ft_mitsu
82. KIND BRIDGE TUNNEL 79 KIND BRIDGE DOUBLE TRACK 80 KIND MOSPEEDBOARD 80 KIND MOSIGNAL 81 KIND MOJUNCTION 83 KIND MESH 83 KIND TURNTABLE 84 KIND MOCROSSING 85 KIND ACTIVITY 86 KIND TEXTURE 86 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 V KIND BUILDABLE 87 MISCELLANEOUS CONFIG TXT TAGS 87 CHAPTER 3 Understanding and using Content Creator Plus Getting Started 89 Using Content Creator Plus 91 Inheritance Template 93 CHAPTER 4 Using Content Creator Plus to create a New Asset Creating a New Asset 95 A Workflow Process 95 Example Asset 95 Example Asset PB15 Directory Layout 96 Example Asset Main CCP Screen 98 Example Asset Dropdown Selection Box for the Coalman Mesh 99 Example Asset Smoke Container 99 Example Asset Smoke Attachment Dropdown Box 100 Example Asset Kuid Table Container 100 Example Asset Bogey Container 100 Example Obsolete Table and Mesh Table Browser 101 CHAPTER 5 Common Containers and Tags Chapter 5 Contents 103 Common Containers 105 Other Regularly Used Containers 107 Other Regularly Used Tags 111 CHAPTER 6 All Other Containers and Tags INTRODUCTION 115 KIND ACTIVITY 116 KIND BEHAVIOR 117 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 vi KIND BOGEY 118 KIND BRIDGE 119 KIND BUILDABLE 121 KIND CHUNKY TRACK 123 KIND DRIVERCHARACTER 125 KIND DRIVERCOMMAND 126 KIND DOUBLE TRACK 127 KIND ENGINE 129 KIND E
83. Note that in this example actual meshes for the ballast and shape of the junction track have been created in 3dsmax gmax This mesh will show in the Surveyor preview window and a separate referenced preview mesh is not required Use a preview mesh where track is called up between attachment points and no actual mesh is used the asset mesh is too large to be a true representation in the preview window airport model or the mesh used does not show a recognisable preview a track b T TT T T ABEE c b r blade CHUNKY MESH TRACK Chunky mesh track is an asset that uses a default inbuild mesh The creator does not have to construct a mesh in 3dsmax or gmax The cross sectional track and ballast shape of the mesh is pre defined by the diagram on the next page A 128 by 128 pixel tga file is used for the texture This generally includes the ballast ties and a larger rail section texture on the right of the graphic Because the shape is defined by geometric proportions the approximate equivalent dimensions measured in pixels is shown in the chunky info texture file data shown below This is approximate due to rounding of values to whole pixels For additional information on using the Kind reefer to Page 123 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 384 chunky info These values in metres define the shape of the mesh created for the track See drawing below E 0 0 0 O
84. Passengers this is calculated in kilograms unit while for Liquid and Bulk loads this is calculated in kilograms litre integer kg config txt traincar Mass in kilograms container config txt engine A container for the locomotive mass Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 416 TAG OR CONTAINER DATA TYPE PARENT APPLIES DESCRIPTION CONTAINER TO max accel motor engine A parameter for DCC acceleration amp deceleration max coupler gap float metres config txt traincar The maximum gap expected between couplers of this type max decel motor engine A parameter for DCC acceleration amp deceleration max distance float tracksound Tracksound Maximum distance at which the sound is played Eg 1000 max fire coal mass steam 1 steam engine The maximum mass of coal the firebox can take in kilograms firebox maximum volume steam steam engine The boiler maximum volume to be used this volume should be 90 of the boiler volume and simulates the steam space left over the top of the water maxrate float smoke smoke block The maximum rate at which particles are emitted maxsize float smoke smoke block The end size of smoke particles default 3 maxspeed motor engine Maximum speed for DCC for an engine expressed in metres per second maxspeedkph float smoke smoke block For a cone emitter this will set the maximum velocity of the particles in kph maxvoltage engine Maximum voltage
85. Railroad Simulator 2006 The Content Creator s Guide Version 2 0 221 Environment Directory Structure A typical asset of this kind has the following File Directory Structure config txt night texture txt IE night tga E norm texture txt IE norm tga storm texkure Ext IE storm tga thumb jpg m A Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg night texture txt night tga The image files used for the environment when it s night time norm texture txt norm tga The image files used for the environment when it s day time storm texture txt storm tga The image files used for the environment when the conditions are stormy See the section on Texture txt files on Page 96 for more information File Listings config txt kuid lt kuid 56113 1227 gt trainz build 2 5 category class ES category region 00 category era 2010s username testEnvironment kind environment normal norm storm storm night night thumbnails 0 thumb jpg Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 222 Fixed Track Simple Directory Structure A typical asset of this kind has the followin
86. Railyard and Driver hornsounds are different The Driver hornsound is looping If this tag is not present the hornsound defauts to UTC equivalent non looping format Sound files horn wav Railyard hornsound non looping horn loop wav The looping hornsound used in Driver horn start wav The starting sound played before the looping hornsound above idle 1 wav Generally used for the bell sound bell keystroke b Download DriverCharacter example 93 mesh dave dave im An in game example of this character is available for download through the following link http www auran com TRS2004 downloads contentcreation DriverCharacter zip We suggest you re skin the mesh files provided in this zip in order to keep consistency KIND DRIVERCHARACTER This is the TRS locomotive driver character DriverCharacter Config txt kind DriverCharacter face texture dave64 textur KUID lt KUID 16 10129 gt mesh KUID 3 10130 dave64 tga DriverCharacter Directory Structure E C textures Dave config txt ug dave64 texture txt ug dave64 tga tace texture This is the driver icon used in TRS mesh This refers to the kuid of the mesh inserted in the locomotive mesh at a driverO when in the Driver Module DriverCharacter Mesh Directory Structure L Meshes C DriverDave Lj dave u dave im B dave texture txt dave tga Lj dave lowres
87. See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username Though this asset doesn t appear in the Surveyor menu the username is used to identify the asset in the Content Manager Plus and Content Creator Plus programs kind Must be paintshed template Additional Tags paintshed skin Kuid of the paintshed skin to be used for this template THIS KIND HAS THE FOLLOWING CONTAINERS String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions TAGS kuid trainz build category class category region category era username kind paintshed skin author category keyword contact email contact website description description cn description cz description de description es description fr description it description pl description nl description ru license organisation username cn username cz username de username es username fr username it username nl username pl username ru KIND PANTOGRAPH Description The animated mechanisms on the roof of electric locomotives that conduct electricity from the catenary s wires above It is referenced by the pantograph tag in a traincar config file Container Structure A well
88. T data CONTAINERS kind data Mesh Table Queues Container Smoke Container trackside data Soundscript Container String Table Chinese String Table Czech String Table Dutch String Table French preview mesh kuid kuid String Table German String Table Italian String Table Polish String Table Russian String Table Spanish kuid table String Table KUID Table Obsolete Table Thumbnails Privileges Extensions 0 kuid TAGS mesh table kuid trainz build category class category region default category era username kind alias author autoname backdrop category keyword contact email contact mesh file website description description cn description cz description de description es description fr description auto create data it description pl description nl description ru dighole thumbnails floating height range icon texture iconO icon1 icon2 icon3 license light nightmode organisation preview 0 mesh kuid preview scale random color high hsb random color low hsb rgb rollstep rotate rotate yz image file range rotstep script snapgrid snapmode surveyor name label surveyor only username cn username cz width data username de username es username fr username it username nl username pl username ru height data Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 172 TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Genera
89. Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 161 enginespec kuid TAGS enginesound kuid kuid trainz build category class category region hornsound kuid category era username kind alias author autoname buffer speed category keyword class contact email username data contact website description description cn description cz description de description es description fr description data description it description pl description nl description ru dighole floating height range icon texture iconO icon1 alias kuid icon2 icon3 license light nightmode organisation kuid kuid passenger height preview mesh kuid preview scale ui M rgb rollstep rotate rotate yz range rotstep script paintshed template used kuid search limit snapgrid snapmode speedlimit surveyor name label surveyor only trackmark trackside trigger paintshed skin used kuid username cn username cz username de username es username fr username it username nl username pl category region data username ru category era data KIND PAINTSHED SKIN 0 trainz build data Description A reskin texture for a locomotive or rolling stock asset mes ntable default Container Structure Awell formed paintshed skin kind has the following megh id container structure auto create data traincar shadow if mesh table mte mesh file shadow if bogeys auto create data 0 E thumbnails bogeys 0 D kuid
90. Upload Verify Content is Error Free Before uploading content it must be verified and found error free a process which is rigorously enforced by the CMP program This verification occurs automatically during the upload process in order to ensure a high standard of quality among download station assets Faulty assets are marked with a AJ in CMP If an asset is faulty it must be fixed with the Content Creator Plus CCP program and verified as error free before it is able to be uploaded Select Content to be Uploaded Next you must select the assets to be uploaded You needn t select the dependencies of an asset you wish to upload as these will be selected automatically by the program If some of your dependant content has been created by other authors or if it is already present on the Downlaod Station it will automatically be removed from your upload list When a user downloads your content any dependant assets which are present on the Download Station will also be queued for download Begin Uploading Once you ve selected the appropriate assets to be uploaded clicking the upload button will bring up the Planet Auran License Agreement which details the legal issues regarding uploaded content Accepting this agreement will upload your content to the Download Station and open the Planet Auran Your Content page This page is part of your personal Planet Auran profile and allows you to manage your online content at an
91. an email to indicate if your content has been approved or declined If approved the content will be available on the Download Station approximately 8 hours after the email is sent Your Content The Your Content section shows your content which is currently available for download on the Trainz Download Station Download Station Checks If your content fails any of the following checks the content will be removed and you will be notified File s were extracted successfully Compares the number of files to the number processed Ensures that the User ID of the content belongs to the user uploading the content If content was uploaded via a Group member it checks that the User ID belongs to that Group That the KUID is valid Name for minimum length of 3 characters and no swear words Description is present and free of swear words If updating content it checks that the content being updated is the latest version and not a previous version The Region Country codes are valid The Eras are valid Description for maximum length of 2048 characters if over 2048 description is truncated Name for maximum length of 64 characters if over 64 the name is truncated Valid thumbnail tags and accompanying image are included File size is below the maximum The maximum file size will be stated on the Download Station upload page as this may be subject to revision Packaging Files CDP s
92. as a quick reference with a brief explanation Please refer to Chapter 6 for a complete description of the Containers and dependant Tags used in TRS2006 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 406 TAG OR CONTAINER DATA TYPE PARENT APPLIES DESCRIPTION CONTAINER TO accel float x float y float z smoke smoke block Acceleration A vector pointing in the direction of the sum of all forces affecting this smoke effect Essentially lt z gt describes gravity and x lt y gt describe the force of wind Default is 0 0 0 adhesion motor engine Adhesion parameter the higher the value the greater the adhesion air drag coefficient Po motor A value for air drag kuid alias config txt general Kuid of the asset to be referenced as a basis for the new asset For example TRS Traincars can reference archived locomotive mesh assets for use with custom textures This process is done by aliasing the KUID of the archived traincars alias kuid config txt paintshed skin the kuid of the paintshed template the paintshed reskin is based on allowed categories queues ID The allowed product categories in this queue allowed products queues ID The allowed products in this queue allows mixing boolean config txt product Products with this tag may be combined in a single queue along with other products of the same category Eg Lumber and 20ft Container on a flatcar By default al
93. assists in creating model assets that are compatible with the Download Station requirements and incorporates error checking that should assist in the creation of successful models The module creates the config txt file for the model asset the entry of data is by means of templates for each model asset Kind and dialogue boxes that filter and check the data This document provides the standards and procedures for a content creator to enter data for the model asset using Content Creator Plus It also provides advice on the creation of the model mesh using 3dsmax or gmax and the creation of correct texture files for the model Scripting is an integral part of model creation however details on script code and usage are included in a separate document Only brief references to Scripting are made in this document as far as they effect the creation requirements New content creation features added to TRS2006 include ability to vary track sounds on track for tunnels and bridges and for bogeys tracksounds basic animated turnouts ability to create backdrop objects control of invisible track display visible in minimap third party configuration tags in an extensions container use of asset thumbnails replacing art files and other picture files new coupler performance tags and wheelslip functions a new kind steam engine and kind texture group Please check the Trainz Railroad Simulator website http www auran com TRS2006 index php for any
94. attachment vertices from the 3dsmax gmax model for track attachment attached trigger A point inserted in 3dsmax gmax on the attached track with a specified radius in the config txt file When a compatible rolling stock item enters this radius it triggers a set of commands controlled through script trigo Name of the trigger radius The radius of operation in metres queues The queues field defines the queue name the product the size and the initial count when placed size The initial size of the queue in product units allowed products The allowed products not specified therefore allows multiproducts listed in the kuid table processes The input and output settings of the passenger asset You can specify the amount of input and output for each queue referenced product as well as the duration or rate in seconds for that process to take place start enabled 1 Option is set such that this process will be running by default when the session is launched duration Duration time of the process in seconds inputs Input quantity in product units for the process outputs Output quantity in product units for the process iconO Window preview icon see information box Page 68 att a track0d radius 10 Eridg3s d att a track0e radius 10 queues queuel size 100 allowed products queue2 size 100 allowed products queue3 size 100 allowed products queue4 s
95. auto create speedo needle kind mesh att att parent auto create limits needle needles boiler needle im a boiler pressure2 0 1902 default 1 needle needles speedo needle im a speedo default 1 0 49 bptrainbrakepipe needle kind mesh att att parent auto create limits bplocomain needle kind mesh att att parent auto create angles limits water valve mesh auto create needle needles brake needle im a trainbrake needle default 1 0 1970 needle needles brake needle im a mainres needle default 1 watervalveA im 1 a watervalve 0 default kind mousemode limits angles water valve mesh auto create att att parent kind mousemode limits angles water valve mesh auto create att att parent kind mousemode limits angles mousespeed water valve mesh auto create att att parent kind mousemode limits angles mousespeed water valve mesh watervalveA im 1 a watervalve 1 default lever exact 0 1 0 0 5 watervalveB im 1 a watervalve 2 default lever exact 0 1 watervalveB im 1 a watervalve 3 default lever exact 0 1 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 281 auto create att att parent kind mousemode limits angles mousespeed water valve mesh auto create att att parent kind mousemode li
96. before the relevant name In the example below the sound starts on frame 370 and ends on 589 looping evt 370 Sound Event reverse 589 Sound Event reverse soundscript backup attachment a sound trigger reverse repeat delay 0 distance 5 100 sound warning wav Important Note The Max file in Example 1 has 1000 frames One thing to note is that although the Max file states the frames are from 0 1000 frames we must remember that frame 999 is the last one On a looping time scale frame 1000 is the same time as frame 1 Therefore the Generic Event at the end of the animation is thus 999 Generic Event animstop Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 369 LEVEL OF DETAIL MESH REDUCTION General Description Level of Detail or LOD is a technique used for asset mesh reduction Trainz uses a different mesh dependant on the viewing distance This concept is different from the previous progressive mesh pm reduction as used by UTC That is instead of gradually reducing the polycount of a single mesh you can now have several versions of the same asset each at different polycounts and texture levels See Directory Structure next page Assets with LOD reduction must comprise of indexed meshes or im files only exported from gmax or 3dsmax No pm files are used in LOD TRS2004 looks for these im files through an Im txt LOD
97. boiler heat flow idle 0 003 burn rate idle 0 003 boiler to piston flow 0 0039 piston to atmosphere flow safety valve low pressure safety valve low flow safety valve high pressure safety valve high flow max fire coal mass max fire temperature shovel coal mass burn rate fuel energy firebox volume main reservoir volume westinghouse volume thumbnails 0 image thumb jpg width 240 height 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 312 Texture Directory Structure A typical asset of this kind has the following File Directory Structure E config txt Bz3eg bmp thumb jpg Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg eg bmp The image file used as the texture in this asset File Listings config txt kuid lt kuid 56113 1267 gt trainz build 2 5 category class JO category region AU category era 2000s 2010s username testTexture kind texture texture eg bmp thumbnails 0 image thumb jpg width 240 height 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulato
98. brake pipe Volume Container The volume container stores information regarding the size of pipes and appliances Generally these settings should remain unaltered The Volume Container has the following tags scale Multiplies volume by given value generally leave this setting trainbrakepipe Brake pipe volume epreservoirpipe For electro pneumatic braking not currently in use generally leave this setting no3pipe Independent brake pipe no4pipe Bail pipe not currently in use generally leave this setting auxreservoir Auxiliary reservoir volume autobrakecylinder Brake cylinder volume vacuumbrakepipe For vacuum braking not currently in use generally leave this setting vacuumbrakereservoir For vacuum braking not currently in use generally leave this setting vacuumbrakecylinder For vacuum braking not currently in use generally leave this setting Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 133 mainreservoir Main reservoir volume equaliser Equalising reservoir volume independantbrakecylinder Loco brake cylinder volume Notes Equalisation of Pressures There is a point at which no further brake pipe pressure reduction will result in increased braking effort this is known as full application or equalisation of pressures Imagine you made a 26 psi reduction when operating a loco with a 90psi brake pipe 90psi in the train pipe minus 26
99. buildable drivercharacter fixedtrack industry interior mesh mocrossing mojunction mosignal mospeedboard pantograph product scenery trackside scenery traincar turntable Tracksound Container The tracksound container stores information regarding custom tracksounds that can be attached to certain assets These will play when a traincar crosses the specified track or uses a specified bogey The tracksound container contains the following tags track sound The kuid of the tracksound object to be used priority The priority of the sound versus other sounds to be played Lower values indicate a higher priority track The track type to which this sound will apply track parent The parent eg bridge industry tunnel of the track to which this sound will apply bogey The bogey to which this sound will apply Kinds that use the Tracksound Container bogey bridge chunky track double track mesh reducing track track tunnel Refer also to the traincar tag disable extra track sounds which disables the click clack tracksounds Page 87 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 109 Soundscript Container Soundscripts give ambient or directional sounds to objects They cannot be used on track bridge or spline objects Wav files should be located within the same directory as the config txt file The Soundscript Container contains the following tags and sub container
100. by 3 3 to give a realistic water usage Tenders Locomotives with tenders normally operate as a unit However if you use the runaround comand in Driver the locomotive leaves the tender behind For steam tender config txt files add the following line tender 1 This ensures the tender stays with the locomotive Tenders Dump Coal To prevent steam tenders or the coal bunker of a steamer being robbed at the Power station or any Multi industry track that is coal unload enabled you should use the No Dump Script by Wulf 9 reproduced with permission You may find the scripts useful Stop steam locos and tenders dumping coal This is a complete class save to the filename and use as is by copying all the text between the dotted lines Tender version steamtender gs prevents unloading of coal at industries Wulf_9 Sept 04 include vehicle gs class Steam_Tender isclass Vehicle bool UnloadProduct LoadingReport report bool UnloadFlag false return UnloadFlag Include the script with the asset and add these lines to a tender config txt file and it stops the tender dumping coal incorrectly Config txt entries script steamtender class Steam Tender A second script is available for tank engines Tank engine version steamtank gs prevents unloading of coal at industries Wulf_9 Sept 04 include vehicle gs class Steam_Tank isclass Locomotive bool UnloadProduct LoadingRe
101. certainly the case if there isn t a lot of information available You can often come across a photo of the front and one side of an interior but rarely will you find a photo of the back One thing to bear in mind though is that you don t have to create a perfect prototypical representation As an artist you have a bit or artistic licence and flexibility to place and arrange things that simply add to the feel of the cab Take the animated fan in the DD40 cab for example Phase 2 Modeling We start the model under the premise that it will be used for in game purposes We model it fairly low poly Sometimes we may add some specific detail i e pipes if necessary that will be removed after the rendering phase Note Many game developers use very high polycount models for rendering realtime textures and then assign these to low polycount models for realtime purposes The interior shell the levers accessories windows and piping should all be modeled at this stage The interior polycount limits are a little more flexible in TRS due to the increased minimum spec machine requirements However don t go silly amp As an indication here are the polycounts for a selection of Auran s realtime interior components QR PB15 Steam Cab Interior Cab shell exterior pipes dial cylinders valve bases and firebox 7941 polygons Blowdown lever 86 polygons Boiler needle 14 polygons Brake lever 86 polygons Cylinder clean lever
102. class PortalTunnel icon texture icon portal tga category region AU category era 2000s category class BIN kuid table loco lt kuid 1 100861 gt wagon lt kuid 1 100048 gt guardsvan lt kuid 1 100770 gt o n mesh table default mesh portal im auto create 1 effects portalentry kind attachment att a track0g default mesh KUID 3 10239 surveyor only 1 portalend kind attachment att a track0a default mesh KUID 3 10238 surveyor only 1 string table attached track out_track0 track lt KUID 1 15 gt vertices 0 a track0a 1 a track0b 2 a trackO0c 3 a track0d 4 a track0e 5 a trackO0f 6 a track0g attached trigger trig end Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 68 effects kind attachment att a track0d Attaching a mesh to the default mesh using the kind radius 10 0 attachment effect Each effect is given a name such as portalentry ee att a trackOf default mesh radius 10 0 Kuid of the mesh to be attached att icon0 lt kuid 3 10164 The mesh is inserted at a mesh attachment point rather than the origin without this line the mesh is placed relative to the origin of the parent model surveyor only 1 The attached mesh will only be visible in Surveyor string table A listing of HTML options to be called by the script file to display when the properties option of the asset is u
103. container structure carriageshed2 texture txt E carriageshed2 tga carriageshed im carriageshed lm Ext carriageshed texture Exk E carriageshed tga carriageshedlow im config txt Ei thumb jpa i he Ame jw See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS buildable kuid kuid trainz build data category class data category region data category era data username data kind data mesh table default mesh file auto create data attached track track 0 track kuid vertices 0 data 1 data kuid table Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 121 0 kuid thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be BB Buildable Kind Buildable See the Buildings amp Structures section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that appears in the surveyor menu kind Must be buildab
104. cz description de description es description fr description it description pl description nl description ru license organisation username cn username cz username de username es username fr username it username nl username pl username ru KIND TRACK Description Variable length spline based track roads and other scenery items Tracks may include initiator and terminator segments and are height adjustable Other uses for this kind include fences power lines and hedges Container Structure A well formed track kind has the following container structure 3 track E track sound Pj track sound element if thumbnails 0 See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS track bendy data carrate data casts shadows data endlength data grounded data isroad data istrack data length data repeats data rgb data shadows data upright data visible on minimap data invisible data width data kuid kuid Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 181 trainz build data category class data category region data category era data username data kind data bridgetrack kuid height data trackoffsets data kuid table 0 kuid thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automa
105. data category region data category era data username data kind data bridgetrack kuid height data trackoffsets data initiator data divider data terminator data kuid table 0 kuid thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be TB Bridge See the Track section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that appears in the surveyor menu height Height from the track level to the base must be a negative value to raise the bridge above the ground kind Must be bridge rgb This value should be left as default bridgetrack Kuid of the track type to be used istrack isroad Two boolean tags detailing the behavior of the bridge If the isroad is set to true then cars are placed on the bridge Both values should not be set to true Kuid Table The kuid of the track road used in the asset should be present here as should those of any other referenced assets Additional Tags
106. data data data data data file data data data data data data data Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 148 horn kind mesh att limits angles notches notchheight mousespeed att parent light switch kind mesh att limits angles notches notchheight mousespeed radius att parent ampmeter mesh bploco mesh bptrain mesh brakepressure mesh chair mesh controlstand mesh horizblinds mesh data file data data data data data data data data file data data data data data data data data file file file file file file file interior main mesh file speedo mesh file westinghouse mesh file windows mesh file opacity data wheelslip light kind data mesh file att data att parent data default mesh file auto create data thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be ZI Interior See the Train Parts section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era Trainz Railroad Simulator 2006 The Content Creator s Guide Ve
107. defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be WS Trackside signage See the Wayside section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that appears in the surveyor menu speedlimit This value is the maximum speed allowed in meters per Seconds trackside This is a value that is the distance in meters the object is placed relative to the center of the track Negative values will put the object on the left side of the track and positive values will appear on the right kind Must be mospeedboard Mesh Table Default Contains the default mesh Auto create should be set to true in order to make the mesh visible THIS KIND HAS THE FOLLOWING CONTAINERS Mesh Table Queues Container Smoke Container SoundScript Container String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions
108. 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 TRS RELEASED PRODUCT CATEGORY LIST kind product category Container lt KUID 3 10042 gt Container Category Config txt kind product category kuid lt KUID 3 10042 gt username Container Texture swapping is possible for some rolling stock bulk loading assets Details of how the texture swapping is set up is available on Page 372 Mesh attachment representation This technique is used for container category loads such 20ft and 40ft Containers Gene
109. direction to align with other normals of the model 4 Building walls which include transparent windows are see through A transparent texture with an alpha channel or opacity map has been applied to the windows as part of the wall texture Window transparency must be applied to window planes separate from the main building wall and separate textures must be used for the window and for the wall Do not add an opacity layer to the wall texture 5 The animation does not work in Trainz the anim kin file has not been exported parts of the model were hidden when exported all the dummies were not included in the export the config txt file is incorrect particularly with reference to names of files missing lines in the file incorrect matching brackets or quotes the animation loop speed 1 tag has not been entered in the config txt file or the default modelling units are not consistent 6 The animation is working but the animated parts are scattered over the landscape in Trainz the axis of the parts were not aligned to the World coordinates before linking and animating or the objects have been moved after linking but the movement was not recorded as part of the animation and the axis reference has changed or parts are linked to the incorrect dummy Unlinking the parts and dummies and re aligning the axis does not always fix the problem Often the dummies have to be deleted and replaced with all
110. document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that appears in the surveyor menu Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 159 trackside This is a value that is the distance in meters the object is placed relative to the center of the track Negative values will put the object on the left side of the track and positive values will appear on the right kind Must be mosignal Mesh Table Default Contains the default mesh Auto create should be set to true in order to make the mesh visible Additional Containers As well as containing all of the common tags and containers detailed in Chapter 5 the mosignal kind also contains additional containers and tags that are specialised to the requirements of the kind Signal Container When adding a signal the user is presented with a choice of 12 separate signal containers Signal 1 Signal 2 Signal 3 Signal 4 Signal 5 Signal 6 Signal 7 Signal 8 Signal 9 Signal 10 Signal 11 Signal 12 The numbering of these is meaningful in that each numeric is assigned to a particular signalling state The states are as follows 0 STOP 1 STOP THEN PROCEED 2 CAUTION AND LEF
111. es description fr description it description pl description nl description ru license organisation username cn username cz username de username es username fr username it username nl username pl username ru KIND PAINTSHED TEMPLATE Description A template for particular locomotives and rolling stock that may be used in the integrated Paintshed utility The template may be painted with different color schemes Container Structure A well formed paintshed template kind has the following container structure 3 paintshed template E thumbnails 0 See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS paintshed template kind data paintshed skin kuid kuid kuid username data category class data category era data trainz build data category region data thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be ZX PaintShed Template Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 164 See the Train Parts section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era
112. esee eee 0 00946941 Main reservoir maximum pressure highspeedexhauster 0 For vacuum braking not currently in use generally leave this setting brakepipe esses 0 00736041 80psi expressed in grams m Brake pipe pressure when fully charged brakeinitial esses 0 00693861 72psi expressed in grams m Brake pipe pressure after initial service reduction for self lapping brakes brakefull sess senes 0 0044992 57psi expressed in grams m Brake pipe pressure after full service reduction for self lapping brakes indbrakefull ssssessuss 0 005075 Brake oylinder pressure for independant brake Service trainbrakepipe start 0 00553261 Brake pipe pressure on loading the game epreservoirpipe start 0 For electro pneumatic braking not currently in use generally leave this setting ho3pip6 statt nsin indrian 0 no4pipe start ssssssssuss 0 Generally leave these settings Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 29 auxreservoir start uusuuus 0 00553261 Auxiliary reservoir pressure on loading the game autobrakecylinder_start 0 00560291 Train brake cylinder pressure on loading the game vacuumbrakepipe start 0 vacuumbrakereservoir start 0 vacuumbrakecylinder start 0
113. factors fractions of 720 as this is the size of a base board and the positioning may do funny things across section borders e g 1 2 5 10 20 30 40 45 60 80 90 120 180 240 360 720 The default snapgrid is 10 See snapmode below on how to enable grid snapping rotstep n Where n is a value in degrees This lets you specify the step size of rotation angles for this object Other example values are 1 10 20 90 180 etc The default rotstep is 1 0 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 65 snapmode n Where n is either O default 1 or 2 Use snapmode to enable snapping of a scenery object to the snap grid 0 will disable grid snapping default 1 will enable grid snapping 2 will enable an offset grid snapping Offset grid snapping will cause objects to be snapped to the grid but will also offset the object s position by 75 the grid size essentially positioning the object in between the normal grid lines See snapgrid above on how to set the snap grid size from the default of 10 meters Note In TRS you can now hold down the control key while moving object s to snap them to the default grid of 10 meters rotate n Where n is 0 or 1 default This lets you disable rotation on a scenery object 0 to disable 1 to enable default rotate yz range min max eg rotate yz range 90 90 Where min and max are values in degrees This tag lets you set the
114. for a list of valid category era values username Asset username Though this asset doesn t appear in the Surveyor menu the username is used to identify the asset in the Content Manager Plus and Content Creator Plus programs kind Must be activity class The name of the scenario class within the script file script The script file gs or gse file Additional Containers As well as containing all of the common tags and containers detailed in Chapter 5 the Activity kind also contains additional containers and tags that are specialised to the requirements of the kind driver settings Specify the settings of this scenario similar to Driver s Settings screen Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 116 The driver settings container contains the following child tags autopilotmode Al driver setting off on startingtime Time of day Range is from 0 to 1 0 5 midday timerate Time progression 1 real time 2 double speed etc deraillevel Derail setting none arcade realistic showhelp Show Driver Help off on controlmethod Driver control setting dcc cabin weather Weather setting clear cloudy drizzle rain stormy light snow medium snow heavy snow changeability Propensity for weather to change none periodic extreme Additional Tags username Name of scenario displayed in TRS scriptlibrary Obsolete Now replaced wit
115. for a particular model to be created and also show the relationship of Kinds and containers Refer to the following chapters for a discussion and use of Kinds and Containers Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 9 CONFIG TXT FILES Each item of content that you create is required to have a config txt file This file is a simple text file that is used to describe the item of content to Trainz TRS assets have become far more flexible through the use of the new mesh table fields Because each different KIND has a different config txt requirement please refer to the appropriate KIND descriptions on the following pages Example Config txt File General breakdown General While there is great flexibility in the order of placement of information in the config txt file It is important to ensure the correct number and orientation of brackets correct spaces within the statements are used and the correct lower case or capitalisation is used for names While the tabbing of information across the page is not mandatory it assists in the readability and debugging of the file Note CCP will format your config txt file in this manner and enter the correct brackets quotation marks and spacings Do not remove any apparent blank line at the top of such a file if you edit it in Explorer as it contains hidden information used by Trainz kuid Unique ID of this asset The KUID contains basic
116. formed pantograph kind has the following container structure Ss pantograph E mesh table j default thumbnails o0 O kuid table See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS pantograph kuid kuid trainz build data category class data category region data category era data username data kind data mesh table default mesh file auto create data anim file thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 165 Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be ZP Pantographs See the Train Parts section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username Though this asset doesn t appear in the Surveyor menu the username is used to identify KIND PRODUCT Description An individual product commodity that Trainz compatible rolling stock and industry assets are able to process It specifies the type unit of
117. ger warehouse nightwindows im Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 309 default night mesh base thumbnails 0 image thumb jpg width 240 height 180 If animation were to be included the animation file anim kin would be placed in the directory and the mesh table entries would be as below with the animation playing immediately the asset is placed in Surveyor mesh table default auto create 1 mesh ger warehouse im anim anim kin animation loop speed 1 etc Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Scenery Trackside Directory Structure A typical asset of this kind has the following File Directory Structure E catchpoint texture txt I catchpoint tga E catchpointsign im E config txt Ezjthumb jpg Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg catchpoint im The indexed mesh of this scenery trackside asset File Listings config txt kuid lt kuid 171456 100032 gt trainz build 2 5 category class WS category region 00 category era 1960s 1970s 1980 username testSceneryTrackside kind scenery trackside 2 8 description Test Trackside object mesh table default mesh auto create thumbnails 0
118. give great control over sound and script timing for industry and scenery assets Refer to Page 369 Note The increasing use of scripts in TRS adds huge flexibility and control to assets and their functionality Adding scripts on a per asset basis is a logical progression in the development of Trainz However we do understand that most 3D modelers do not know a great deal about scripts let alone how to write them With the release of TRS we are really dawning on a new era in Trainz custom content creation Because of this we recognise there will need to be far more collaboration and group efforts for custom industry asset creation There are several very good script writers in the Trainz content Creation community Just ask around the forums Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 67 Note Preview Window Icons Auran released Industry assets and industry compatible assets have an additional tag in their config iconO lt KUID 3 10164 gt The kuid is of a kind texture and the icon texture is a 32x32 pixel 32 bit tga file and you may have up to 4 iconO icon1 icon2 icon3 PORTAL A portal is an industry object used to create and emit trains It relies on a script to function An example config txt file is shown for a basic portal asset HTML lines have been omitted under the string table The working asset has extensive entries here to make it fully functional Refer to the examp
119. gt 0 1 if petrolQueue GetQueueCount 77600 or petroIWBRemain gt 0 2 tankers approx 10 min 1 ResourceRequirement req new ResourceRequirement req resource petrolQueue GetProductFilter GetProducts 0 This is how many we have asked for Wait till it is fullfilled if we are not already waiting for a waybill to be completed req amount 116400 if petrolQueue GetQueueCount lt 77600 and petroIWBRemain 0 petrolWBRemain 116400 3 tankers req dst me req dstQueue petrolQueue ret ret size req NOT BEING USED AS WE HAVE NO WAY OF TRANSPORTING WATER YET rate GetProcessInput multi consumer producer GetQueue water q GetAsset FindAsset water if rate gt 0 1 if waterQueue GetQueueCount lt 77600 or waterWBRemain gt 0 2 tankers approx 10 min VAUGHAN EDIT ResourceRequirement req new ResourceRequirement req resource waterQueue GetProductF ilter GetProducts 0 This is how many we have asked for Wait till it is fullfilled if we are not already waiting for a waybill to be completed req amount 116400 VAUGHAN EDIT if waterQueue GetQueueCount lt 77600 and petroIWBRemain 0 VAUGHAN EDIT waterWBRemain 116400 VAUGHAN EDIT 3 tankers req dst me req dstQueue waterQueue Trainz Railroad Simulator 2006 The Content Creator s Guide Vers
120. if triggerName out load0 or triggerName out_ load1 or triggerName out_load2 or triggerName out load3 return true return false void PerformMovingLoad Vehicle vehicle string triggerName OUTPUT trigger load float speed vehicle GetVelocity if speed gt 5 0f and speed lt 5 0f 1 int coalAvailable coalOutQueue GetQueueCount if triggerName out load0 1 SendMessage me pfx 2 World PlaySound coal_load wav LoadingReport report CreateLoadingReport coalOutQu eue coalAvailable vehicle LoadProduct report SendMessage me pfx 2 j if triggerName out loadl 1 SendMessage me pfx 3 World PlaySound coal_load wav LoadingReport report CreateLoadingReport coalOutQu eue coalAvailable vehicle LoadProduct report SendMessage me pfx 3 j if triggerName out load2 1 SendMessage me pfx 47 World PlaySound coal_load wav LoadingReport report CreateLoadingReport coalOutQu eue coalAvailable vehicle LoadProduct report SendMessage me pfx 4 j if triggerName out load3 1 SendMessage me pfx 57 World PlaySound coal_load wav LoadingReport report CreateLoadingReport coalOutQu eue coalAvailable vehicle LoadProduct report SendMessage me pfx 5 bool TriggerS
121. im anim regulator regulator kin auto create 1 att a regulator limits 0 1 0 x notches 0 0 25 x notchheight 1 1 att parent default kind animated lever test collisions 0 mousespeed 1 0 055 1 0 75 1 0 E 1 regulator collision box mesh regulator selection box selection box att parent regulator att a selection box auto create 1 kind collision proxy opacity 0 collision parent regulator seat0 mesh seat seat im anim seat seat kin auto create 1 lames O0 140 notches 0 1 0 notchheight 1 1 att a seatO0 att parent default kind animated lever test collisions 0 im seatO0 collision box mesh seat selection box selection box im att parent seat0 att a selection box auto create 1 kind collision proxy opacity 0 collision parent seat0 seatl mesh seat seat im anim seat seat kin auto create 1 limits 0 1 0 notches 0 1 0 notchheight 1 1 att a seatl att parent default kind animated lever test collisions 0 seatl collision box mesh seat selection box selection box im att parent seatl att a selection box auto create 1 kind collision proxy opacity O0 collision parent seatl water injector O0 mesh injector injector im anim injector injector kin auto create 1 limits 0 1 0 notches 0 1 0 notchheight 1 1 att a injector0 att parent default kind animated lever test collisions 0 mousespeed 1 0 water injector 0 collision box mesh inject
122. information fontsize 0 15 fontcolor 30 30 30 att a nameO name name kind corona att a coronawhite frequency 1 directional 0 texture kuid lt KUID 3 10111 gt default night mesh nightwindows nightwindows im night mesh base default attachedanimation mesh subdirectoryname meshname im anim subdirectoryname animname kin auto create 1 att a pointname att parent default animation loop speed 1 0 kuid table 0 lt KUID2 1234 6000 1 gt 1 lt KUID2 1234 6001 3 gt obsolete table 0 lt KUID 1234 5677 gt preview mesh kuid lt KUID gt username My Locomotive description You can have multiple lines but no double quote characters in here Trainz automatically wraps this text This information is displayed with the model on the Download Station Please make the description useful and informative region Australia icaissebuslg 2 5 kind traincar category class AD category region AUS US category era 1960s 1970s 1980s author Spock2204 organisation Auran Trainz contact website http www auran com Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 10 mesh The main mesh name This may include a sub path ie mesh nightwindows nightwindows im where the file nightwindows im has been placed in the subdirectory nightwindows Use im files exported from 3dsmax or gmax as opposed to pm or reference an Im file if you wish your asset to have L
123. is the ability to render images As you will read further on rendering images has been a integral part of the realtime texture creation of Auran s released interiors As every interior is fundamentally different each has had it s own issues and requirements le Steam loco s have fire and animated levers Electric loco s need pantograph levers while Diesel and Steam don t and Diesel loco s may have a Dynamic brake and other specific requirements Modeling and Texture Passes We d like to give an outline of how we went about creating the mesh the textures and the implementation of these combined to give you a better understanding of the interior asset s structure e Phase 1 Research e Phase 2 Modeling e Phase 3 Hi res Textures and Placement Phase4 Lighting Placement Phase 5 Rendering for Realtime Phase 6 Realtime Textures and Placement Phase 7 Realtime Model Spit up and Attachments e Phase 8 Exporting and Config setup Phase 1 Research Much of the information we have found has come straight from the internet suppose Auran has had the luxury of making generic interiors where possible by re using the control mechanism in other interior shells The main focus for the generic cabs has been to make the window and side door layout correct The general interior layout such as beams electrical boxes sound proofing hessian and grills has really been up to the artist to make look convincing This is
124. it is of an appropriate kind Does not affect the visibility of the asset within the CMP asset list piston angular offsets steam steam engine Determines the number of power impulses a locomotive has for each wheel revolution thus simulating the ul udi prototype piston area steam 1 steam engine The cross section of one piston in m It is assumed there is one piston only on each side of the locomotive piston to atmosphere flow steam 1 steam engine Atmospheric leakage from piston Nominal hole size all all all piston volume max steam steam engine The volume of the space in the cylinder ahead of the piston at the start of a full stroke steam steam engine The volume of the space in the cylinder ahead of the piston at the end ofa full stroke pressure container config txt engine A container for the pressure values for an engine preview mesh kuid kuid mesh table ID mesh object The mesh to be used in the surveyor preview area This is useful when an asset has a large bounding box Ie the Airport with it s jet animation priority float 0 highest tracksound Tracksound The priority of the sound versus other sounds to be played Lower values indicate a higher priority privileges container config txt all Limited content protection applies only to built in JArchived assets processes container config txt industry Processes required The input and output settings of the industry You can speci
125. license light nightmode organisation passenger height preview mesh kuid preview scale rgb rollstep rotate rotate yz range rotstep script snapgrid snapmode surveyor name label surveyor only username cn username cz username de username es username fr username it username nl username pl username ru Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 146 KIND INTERIOR category class data Description category region data A traincar interior asset It allows the interior mesh model category era data to be defined and has attached levers and controls to operate a locomotive in cab model It also creates an username data interior for rolling stock kind data Container Structure cameradefault data A well formed interior kind has the following container structure cameralist 03 interior camera data O cameralist f mesh table camera1 data e ret camera2 data bploco equaliser camera3 data bplocomain needle bptrainbrakecylinder_needle camera4 data bptrainbrakepipe_needle speedo needle camera5 data dynamicbrake_lever P independantbrake lever mesh table P reverser lever throttle lever ampmeter needle e M kin data e mesh file Q3 att data D4 5 limits data 6 P light switch angles data 8 e ampmeter att parent data iis flow needle brakepressure kind data chair j controlstand mesh file horizblinds P interior main att data P sp
126. limits 0 1 0 angles 0 0 011 notches 0 0 125 0 25 255 0 975 1 notchheight 0 0 0 0 0 0 0 0 O kind lever 0 375 0 5 0 625 sl wind L Bk im mesh sliding wind L Bk im auto create 1 att a sliding wind L Bk att parent default limits 0 1 0 angles 0 0 011 notches 0 0 125 0 25 75 0 875 1 notchheight 0 0 0 0 0 0 0 0 O mousespeed 1 kind lever wipers mesh wipers im anim wipers kin auto create 1 att a wipers att parent default 0 375 0 5 0 625 End of DD40 interior config txt Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 43 DD40Cabin gs cast lt DD40CabinData gt cd This is the DD40 interior script file This sets up the fan and wiper animations to be switch controlled and controls the visibility of switchlights include defaultlocomotivecabin gs class DD40Cabin Data isclass CabinData public bool animatingFan public bool animatingWiper public bool switchOn3 public bool switchOn4 public bool switchOn5 public bool switchOn6 public bool switchOn7 public bool switchOn8 uH class DD40Cab in isclass DefaultLocomotiveCabin Switches CabinCon CabinCon CabinCon CabinCon CabinCon CabinCon CabinCon CabinCon Cro Cro Cro Cro Cro Cro Cro Cro Lights CabinContro CabinCon CabinCon CabinCon CabinCon CabinCon CabinCon CabinCon Cro Cro Cro CEO Cro Cro Cro l cabin fan s
127. lt kuid 9 50001 gt lt kuid 11 32001 gt thumb jpg 240 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 338 Water2 water anim txt Directory Structure version 1 00 A typical asset of this kind has the following File Directory Water DetailAnim configuration file Structure Is used from DefaultWater config txt E config txt Ei thumb jpg DetailAnim water anim txt en water bmp water config txt z AnimName WaterAnimationPN Perlin noise E wateropacity texture txt animation AnimSampleRate 10 Sample rate samples Required Files persed config txt The config file for the asset AnimPeriod 5 Looping period in sec thumb jpg The thumbnail image for this asset A 240x180 jpeg AnimSpeed 5 0 Speed of waves water anim txt Contains the animation variables for the AnimSize 128 128 Bump map dimentions water asset lus AnimSize 32 32 Bump map dimentions water bmp wateropacity texture txt The texture files applied to the water See the section on Texture txt files On Page SP for more TOU BON AnimMaxHeight 1 0 Max height of the wave AnimWorldSize 450 0 Size of one tile water config txt Contains the tile size and material Ani
128. mesh att att parent anim auto create animation loop speed effects 0 1 kind att dumpsterwarning light 1 mesh att att parent anim auto create animation loop speed effects 0 warninglight anim kin 1 1 corona a lightcorona0 corona a lightcorona1 warninglight warninglight im a warnlight_2 default warninglight anim kin 1 1 corona a lightcorona0 corona a lightcorona1 warninglight warninglight im a warnlight_3 default warninglight anim kin 1 1 corona Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 253 1 kind att dumpsterwarning light 2 mesh att att parent anim auto create animation loop speed effects 0 1 kind att attached track out track0 track vertices a trackOa a trackOb a trackOc a trackOd out track1 track vertices a lightcorona0 corona a lightcorona1 warninglight warninglight im a warnlight 4 default warninglight anim kin 1 1 corona a lightcorona0 corona a lightcorona1 kuid 1 15 kuid 1 15 a track1a a track1b a track1c 3 out track2 track vertices out track3 track vertices in trackO track vertices attached trigger out_load0O att radius out load1 att radius out load2 at
129. mesh att limits angles notches notchheight att parent switch20 kind mesh att limits angles notches notchheight att parent light switch kind att 0 0 default lever switch pm a switch18 0 1 0 1 0 1 0 0 default lever switch pm a switch19 0 1 0 1 0 0 default lever switch pm a switch20 0 1 0 0 default Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 215 limits 01 This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads angles 0 1 Example_Download zip notches 0 1 notchheight 0 0 att parent default windows mesh windows pm Opacity 0 default mesh gen tgv cab pm auto create 1 thumbnails 0 image thumb jpg width 240 height 180 cabin txt switch switch 6 wav dynamicbrake lever change notch notch 1 wav independantbrake lever change notch notch 1 wav reverser lever change notch lever 2 wav throttle lever change notch lever 5 wav trainbrakelap lever change notch notch 1 wav pantograph lever change notch lever 4 wav trainbrake lever change notch notch 1 wav Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 276 Interior Steam Directory Structure A typical asset of this kind has the following File Directory Structure s bigsteam_interior gs
130. model to use as the middle bridge section Placed in subfolder with same name dont flip terminator Terminator model isn t mirrored on one side hidden Prevents the spline from being rendered initiator Name of model to use at start of bridge placed in subfolder with same name invisible Specifies whether the object is invisible in driver terminator Name of model to use at end of bridge placed in subfolder with same name THIS KIND HAS THE FOLLOWING CONTAINERS Track Sound String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions TAGS Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 189 bendy carrate casts shadows endlength grounded auto create data isroad istrack length repeats rgb shadows upright visible on minimap width kuid trainz build category turntable class category region category era username kind bridgetrack height trackoffsets alias author mesh file category keyword contact email contact website ee S e E auto create data description description cn description cz description de description es description fr description it description pl attached track description nl description ru divider dont flip terminator hidden ini
131. module will automatically add the correct trainz build 2 5 to the config txt file A model constructed for an older version may function in a newer version but this is not guaranteed as there have been amendments made to subsequent versions Likewise a model using the latest functions will not work in an earlier version The Download Station identifies which version of Trainz you have installed and when you use the Download Helper option it will not allow the download of a more recent model that is incompatible with your version The approved Trainz Build version numbers are trainz build 1 3 for Trainz trainz build 1 5 for Ultimate Trainz Collection trainz build 2 4 for Trainz Railroad Simulator 2004 trainz build 2 5 for Trainz Railroad Simulator 2006 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 5 Trainz Railroad Simulator 2006 CHAPTER 2 Introduction to Kinds Containers Tags and Config txt files This chapter introduces and discusses some of the Kinds Containers and Tags used for common assets It is designed to give an introduction to and understanding of the way Trainz uses config txt file to specify how an asset is to be used and interpreted Please refer to other Chapters for a full discussion on Kinds Containers Tags and asset examples Many of the examples in this chapter have been taken from earlier versions of Trainz Nevertherless they are useful to give an outline of h
132. mojunction objects can be activated with toggle trigger message as in the example When a model has animation it is possible to trigger effects by an event associated with the animation at defined key frames of the animation This event is activated by a trigger name such as toggle in the evt file and called up from the config txt file Refer to the Animation Event descriptions on Page 369 However for this model without an animation the trigger name toggle is recognised by Trainz when the mojunction is activated and the sound will play If you delete the Auran default junction lever for a switch junction in Trainz and replace it with your model the wave file defined in the config txt file will be associated with the trigger and play instead of the default in built sound KIND MESH These are meshes that are never referenced through Surveyor panels but are referenced by KUID from another asset It could be referenced through the preview mesh kuid tag like the airport does or as a kind attachment effect like that of fixed tracks Typical mesh config txt Meshes 5 kuid KUID 3 10092 e arrow kind mesh m arraw im mesn table begin B caonfig bxt 3 gefault B red texture txt mesh arrow im ire 3 red tga auto create 1 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 83 KIND TURNTABLE This is a turntable object Config txt
133. needle 0 1000 default needle f interior speedo needle pm a speedo needle 0 58 att parent default dynamicbrake lever kind mesh att limits angles notches notchheight att parent lever interior dynamicbrake lever pm a dynamicbrake lever 0 2 0 0 94 0 0 5 1 1 1 1 default independantbrake_lever kind mesh att limits angles notches notchheight mousespeed att parent reverser_lever kind mesh att limits angles notches notchheight att parent throttle_lever kind mesh att limits lever f7interior_locobrake_lever pm a locobrake lever 0 32 0 94 0 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 1 1 2 2 2 2 2 2 2 2 2 1 1 default lever f interior reverser lever pm a reverser lever 0 2 0 0 471239 0 0 5 1 1 1 1 default lever f7interior_throttle_lever pm a throttle lever 0 8 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 265 angles 0 471 0 notches 0 0 125 0 25 0 375 0 5 0 625 0 75 0 875 1 notchheight mousespeed att parent trainbrakelap lever kind mesh att limits angles notches notchheight mousespeed att parent horn kind mesh att limits angles notches notchheight mousespeed att parent 1 kind mesh att limits angles mousespeed radius att parent f7interior_trainbrake_lever pm 1 1 1 1 1 1
134. not be created from within Content Creator Plus CCP Map Kind A map kind needs a number of files to be created when saving from Surveyor This is not possible from within CCP However a Map Kind created in Surveyor may be edited in CCP for instance to add specific car Kuids to the Map file These cars will then be mixed with the default in built cars on roads in the map Displacements This is a special Kind that is not created in CCP as it does not require a config txt file Displacement maps are used to create the differing height depth and shape of an area of terrain based on shades of grey in a bmp file The graphic file is placed in the Displacements directory under the installed Custom directory in Trainz This is the only instance where the Custom directory is used in TRS2006 Refer to the discussion on Page 340 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 8 Config txt Files Each model asset that is created requires a config txt file This file is a simple text file that is used to describe the item of content to Trainz In previous Trainz Builds the config txt file was created in a text editor TRS2006 now uses the Content Creator Plus module to create the required file using a series of input boxes in a graphical user interface This simplifies the creation of the file and allows the file to be checked for errors Because each different KIND has a different config
135. not currentlu used mesh kuid config txt drivercharacter This refers to the kuid of the mesh asset inserted in to the locomotive mesh at a driver0 when in the Driver Module path filename im mesh table ID mesh object The mesh name This may include a sub path ie mesh nightwindows nightwindows im where the file nightwindows im has been placed in the subdirectory nightwindows path filename Im mesh table ID mesh object The mesh name This may include a sub path ie mesh nightwindows nightwindows im where the file nightwindows im has been placed in the subdirectory nightwindows path filename pm mesh table ID mesh object The mesh name This may include a sub path ie mesh nightwindows nightwindows im where the file nightwindows im has been placed in the subdirectory nightwindows mesh table container config txt mesh object This is the new and preferred method of asset mesh placement for most mesh asset types It gives huge control over mesh placement and animations There are some asset types that cannot use a meshtable These include all Bridges Tunnels Rails Pantographs and other Spline Objects eg Fences or Catenaries min distance float tracksound Tracksound Minimum distance at which the sound is played Eg 0 minimum volume steam steam engine The minimum volume represents the working low water level in the boiler minimum volume This value should be 9096 of the maxi
136. of the metal catcher on the front of the locomotive transparent showing the distinctive steel bars in the typical catcher When making a complicated model there may be other textures gathered in the Resource Collector process in 3dsmax or gmax into this directory These textures may have been for another mesh part to be exported later and are not necessary for this part of the model All textures without a matching texture txt file should be removed from the directory Likewise if texture file names are changed during the model development unused texture txt files may be left in the directory If these files do not have the associated Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 96 Eden metal bmp 8 env metal texture txt Een metal lw bmp env metal low texture txt pb_ 15_ i texture tek E 15 1 tga 8 pb 15 1 low texture bet rca fefe 15 1 law tqa E pb 15 1 lowest texture txt pb 15 1 lowest tga pb 15 1 med texture txt Eph 15 1 med tga poe 15 body im pb 15 badw lm txt i pb 15 bad owim a pb_ 15 Body lowest im mph 15 badv med im s pb 15 bump texture tek EEpb 15 bump tga Bijwheel_ lowest bmp wheel lowest tga wheel_lowest wheel_lowest texture txt wheel srol_lowest brp wheel srol_lowest tga a wheel_smi_lowest wheel sml lewest text un J is e night im Hjnight tga irigh 9p bmp 8 rey_bars te
137. param float pressureMultiplier 1 0 0 145 0 0000703 float pressureBase 14 7 0 0000703 return pressureMultiplier loco GetEngineParam param pressureBase public void Update void float value Train train loco GetMyTrain Update Needles if speedometer speedometer SetValue train GetVelocity if main reservoir needle main reservoir needle SetValue GetPressureParam main reservoir pressure value GetPressureParam brake cylinder pressurev if brake cylinderO0 needle brake cylinderO needle SetValue value if brake cylinderl needle brake cylinderl needle SetValue value if no3 pipe needle no3 pipe needle SetValue GetPressureParam no3 pipe pressure if brake pipe needle brake pipe needle SetValue GetPressureParam brake pipe pressure if equaliser needle qualiser needle SetValue GetPressureParam equaliser pressure if flow needle flow needle SetValue GetPressureParam flow value loco GetEngineParam current drawn if ampmeter needled ampmeter needle0 SetValue value if ampmeter needlel ampmeter needlel SetValue value Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 56 Update Levers This is done in case the game logic has changed any of the settings from what the user selected if throttle lever throttle lever Set
138. power impulses a locomotive has for each wheel revolution thus simulating the prototype For a 2 cylinder locomotive use piston angular offsets 0 0174 1 5254 3 0333 4 5413 For a 3 cylinder locomotive use piston angular offsets 0 0174 1 065 2 107 3 061 4 206 5 253 For a 4 cylinder locomotive use piston angular offsets 0 0174 0 8028 1 5254 2 3736 3 0333 3 9444 4 5413 5 5152 These are expressed in radians 2 rr radians 360 degrees where rr 3 1416 and the values were determined so as to achieve the smoothest operation possible they have been deliberately kept away from the sound impulse point It is recommended not to alter these tested settings 0 003 0 003 firebox to boiler heat flow idle burn rate idle These two tags in conjunction with the initial boiler temperature tag are the brakes for the boiler when the locomotive is in standby mode i e unattended and they don t need any alteration unless you desire the boiler to run out of water or fire when parked unattended See the separate section on Page 365 for a discussion on how a locomotive using these tags and values may be tuned to give realistic performance Notes on the Initial Boiler Temperature Table Trainz does not actually use correct Kelvin temperatures for the input to the initial boiler temperature tag value a correction factor is applied to these values in Trainz The bolded values in the left column are to be entered in the tag
139. processing functionality BPF Passenger Station with passenger processing functionality BPN Passenger Station non functional BB Buildable Kind Buildable See the Buildings amp Structures section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that appears in the surveyor menu kind Must be industry class The name of the scenario class within the script file script The script file gs or gse file iconO Kuid of the preview icon Should be a 32x32 tga preview mesh kuid The mesh to be used in the surveyor preview area This is useful when an asset has a large bounding box i e the Airport with it s jet animation Mesh Table Default Contains the default mesh Auto create should be set to true in order to make the mesh visible String Table The string table stores a list of text strings to be used by the industry script Kuid Table The kuid of the track road used in the asset should be present here as should those of any other referenced assets Additional Containers As well as containing all of the common tags and containers detailed in Chapter 5 the ind
140. product texture in config txt Default product load WOODCHIPS lt KUID 3 10002 gt see product kuid field in config txt Can take product category BULK LOAD lt KUID 3 10040 gt see allowed categories field in config txt When the Woodchip Gondola enters an industry asset that produces a bulk load other than it s default ie coal at a coalmine and it is loads this product texture replace ment will take place Woodchip Gondola Directory Structure trains E woodchip_gondola E woodchip gondola art E woodchip gondola body load load im load kin gt 3 load_map texture txt load map tga nod a texture Ext nod a tga nod b texture Ext nod b tga nod c bmp nod c tga nod c nod c texture Ext woodchip gondola body im woodchip gondola body lm Ext woodchip gondola body low im b b b b b b amp bo amp amp mesh table default mesh woodchip gondola body woodchip _ gondola body im auto create 1 shadow mesh woodchip gondola shadow woodchip gondola shadow im load mesh woodchip gondola body load load im anim woodchip gondola body load load kin auto create 1 use parent bounds 1 effects product texture kind texture replacement gt texture load map texture queues load0 size 60500 initial count 0 animated mesh load product kuid lt KUID 3 10002 gt allowed categories 0 lt KUID 3 10040 gt
141. q GetAsset FindAsset coal if rate gt 0 if coalQueue GetQueueCount lt 271500 or coalWBRemain gt 0 7 mins till empty ResourceRequirement req new ResourceRequirement req resource coalQueue GetProductFilter GetProducts 0 This is how many we have asked for Wait till it is fullfilled if we are not already waiting for a waybill to be completed req amount 814500 if coalQueue GetQueueCount lt 271500 and coalWBRemain 0 coalWBRemain 814500 15 hoppers req dst me req dstQueue coalQueue rate GetProcessInput multi_consumer_ producer GetQueue woodchips_q GetAsset FindAsset woodchips if rate gt 0 if woodchipsQueue GetQueueCount lt 181500 or woodchipWBRemain gt 0 3 gondolas ResourceRequirement req new ResourceRequirement req resource woodchipsQueue GetProductFilter GetProducts 0 This is how many we have asked for Wait till it is fullfilled if we are not already waiting for a waybill to be completed req amount 544500 if woodchipsQueue GetQueueCount lt 181500 and woodchipWBRemain 0 woodchipWBRemain 544500 9 gondolas req dst me req dstQueue woodchipsQueue ret ret size req j rate GetProcessInput multi consumer producer GetQueue crude oil q GetAsset FindAsset oil if rate gt 0 1 if crudeOi
142. ret ret size req j rate GetProcessInput multi_consumer_producer GetQueue logs_q GetAsset FindAsset logs if rate gt 0 if logsQueue GetQueueCount lt 25 or logWBRemain gt 0 ResourceRequirement req new ResourceRequirement req resource logsQueue GetProductFilter GetProducts 0 This is how many we have asked for Wait till it is fullfilled if we are not already waiting for a waybill to be completed req amount 50 if logsQueue GetQueueCount lt 25 and logWBRemain logWBRemain 50 req dst me req dstQueue logsQueue ret ret size req j j rate GetProcessInput multi consumer producer GetQueue lumber q GetAsset FindAsset lumber if rate gt 0 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 247 if lumberQueue GetQueueCount lt 40 or lumberWBRemain gt 0 ResourceRequirement req new ResourceRequirement req resource lumberQueue GetProductFilter GetProducts 0 This is how many we have asked for Wait till it is fullfilled if we are not already waiting for a waybill to be completed req amount 30 if IlumberQueue GetQueueCount lt 40 and lumberWBRemain 0 lumberWBRemain 30 req dst me req dstQueue lumberQueue ret ret size req j rate GetProcessInput multi consumer producer GetQueue coal
143. right side of the road longitude Longitude of this region in degrees and minutes the third Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 170 data entry is 1 or 1 indicating East or West of Greenwich latitude Latitude of this region in degrees and minutes the third data entry is 1 or 1 indicating North or South of the equator altitude Altitude of this region carO car1 car2 car3 car4 car5 car6 car7 car8 car9 car10 car11 car12 car13 car14 car15 Each of these tags store as the kuid of a car to be used on the roads THIS KIND HAS THE FOLLOWING CONTAINERS String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions TAGS kuid trainz build category class category region category era username kind watercolor defaultjunction ontheright longitude latitude altitude author car0 car1 car10 car11 car12 car13 car14 car15 car2 car3 car4 Car5 car6 car7 car8 car9 category keyword contact email contact website description description cn description cz description de description es description fr description it description pl description nl description ru license organisation username cn username cz username de username es use
144. s lever im E switch _lever texture txt switch lever tga Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg rail_oz texture txt rail oz tga railsection_ger_ sleepersa tga railsection_ger_sleepersa railsection_ ger_sleepersa texture txt arrows tga arrows arrows texture txt switch_lever texture txt switch_lever tga The texture files used in the indexed meshes of this asset See the section on Texture txt files on Page 96 for more information turnout8l blades im lever im The indexed meshes used to build this asset anim kin The animation files used for both the moving track blades and the animating lever File Listings config txt kuid lt kuid 56113 1018 gt trainz build 2 5 TF category class category region AU category era 1950s 1970s 1980s 1990s 200 0s 2010s username kind description Junction height range preview mesh kuid use gradient track mesh table default mesh auto create effects arrow0 kind att default mesh surveyor only arrow1 kind att default mesh surveyor only arrow2 kind att default mesh surveyor only blades mesh anim auto create lever1 mesh anim auto create testFixedTrack Junction fixedtrack Test fixed track asset 50 50 lt kuid 171456 60563 gt 1 turnout8l im 1 attachment a track0a lt kuid 3 10092
145. scriptletEnabled true spaceAvailable avgasQueue GetQueueSpace SetProcessEnabled multi consumer producer true report CreateUnloadingReport avgasQueue j spaceAvailable continue direction vehicle GetRelationToTrack me out track0 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 244 1 on Scriptlet Enabled 0 1 if scriptletEnabled 1 scriptletEnabled false SetProcessEnabled multi_consumer_producer false continue called by the game once when a process is ready to start see Industry gs void NotifyProcessStarted string processName 1 Interface Print A process in the oil refinery has started if PerformProcessInput processName we are making the assumption that there is only one process multi consumer producer PerformProcessStarted processName j else PerformProcessCancelled processName j Called by the game once when a process is ready to stop see Industry gs void NotifyProcessFinished string processName nterface Print A process in the oil refinery has finished processing false if animating 1 PerformProcessOutput processName PerformProcessFinished processName PostMessage me 99 66 GenericIndustry ProcessComplete 0 0f public void Init void inherited usePipeAnimation false useGeneric ViewDetails true
146. should be present here as should those of any other referenced assets Additional Tags bendy Switches how track is bent on corners set as 1 allows the mesh to be deformed as the spline is bent around corners carrate Defines traffic density on road minimum seconds between each car generated 0 No traffic Number must be greater than 3 casts shadows Toggles whether the shadow model is displayed endlength Length in meters of the initiator and terminator models grounded Height in meters for the road to be offset from terrain isroad Specifies track is a road with cars set to 1 for cars to appear on road istrack 0 This is not rail tracks 1 This is rail track length Length of track segment in meters repeats The number of times the mesh is placed between spline points shadows Leave as default 0 unticked box upright Specifies whether the bridge legs point vertically or perpendicular to the spline visible on minimap Specifies whether the object track is displayed on the minimap width Width of track mesh in meters bridgetrack Kuid for the type of rail or road used on bridge height Height from the track level to the base should be negative trackoffsets Distance in meters the rail s are attached to the center of the spline Any number of tracks can be attached to the spline only splines with the same track offsets can be connected together divider Name of the
147. src me or TrainUtil IsInTrain thisTrain msg src and update update 1 ClearMessages SLW ATWG ReBalance thisTrain me GetMyTrain Vehicle cars thisTrain GetVehicles float avif 0 0 int i 0 inc 0 tvp 0 avp 0 atc 1 active 0 for i 0 i lt cars size i ProductQueue pQ GetVehicleProductQueue cars i waterAsset bool isST cars i GetVehicleTypeFlags Vehicle TYPE TENDER bool facing cars i GetDirectionRelativeToTrain bool isAT cars i isclass SLW ATWG if facing inc i 1 else inc i 1 bool count 7 0 if pQ and isST and isAT if i gt O and facing or i lt cars size 1 and lfacing if cars inc GetEngineType Vehicle ENGINE STEAM continue active 1 count 1 tvp i avp tvp atc if pQ and isAT and i avp 1 count 1 avp i if cars i me atc if count avlf avif float pQ GetQueueCount float pQ GetQueueSize avlf avlf float atc Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 367 if active for i tvp i lt tvp atc i ProductQueue pQ GetVehicleProductQueue cars i waterAsset bool isAT cars i isclass SLW ATWG if pQ and i tvp or isAT int vQc int avlf float pQ GetQueueSize cars i SetQueuelnitialCount pQ waterAsset vQc PostMessage me SL
148. start 0 00553261 epreservoirpipe start 0 no3pipe start 0 no4pipe start 0 auxreservoir start 0 00553261 autobrakecylinder start 0 00560291 vacuumbrakepipe start 0 vacuumbrakereservoir start 0 vacuumbrakecylinder start 0 mainreservoir start 0 00946941 equaliser start 0 00553261 independantbrakecylinder start 0 00560291 mass scale 1 fuel 6 2156e 006 motor resistance 1 7 adhesion 7 maxvoltage 600 maxspeed 40 brakeratio 55000 max accel 3500 max decel 9000 axle count 6 surface area 80 moving friction coefficient 03 air drag coefficient 00017 throttle power 0 l 0 107 62 34 31L 25 Or OD FN oon er NY 11 0 224 125 68 62 50 Or OAD FN oor NY 22 Continues next page Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 25 0 373 187 125 93 75 Pon Ff NY aon 4 NY 0 448 249 166 125 100 Nr oO Ost oo er NY 45 0 618 309 206 154 123 88 56 36 CO hr OD BAN oor NY O1 N Ww O1 N Ww 6 0 747 374 249 187 149 107 68 44 CO NOD r2 aD S NY CO Oy rr NY O1 N Co ON Co 7 0 872 436 291 218 174 124 79 51 42 BA C0PFNLTnPOC Oo BF NH an rr NY on Ws oN QC 8 e Ne ie Os 498 332 249 199 142 90 58 48 BPwWNHEF OD BF NH ana 4 NY Poh Ws Ae NUW dynamic brake 1 333 10 12 1 333 10 14 15 1 233 10 17 22 L 333 10 20 25 1 333 10 25 29 L 333 10
149. switch10 kind mesh att limits angles notches notchheight att parent switch11 kind mesh att limits angles notches notchheight att parent switch12 kind mesh att limits angles notches notchheight att parent switch13 kind mesh 0 1 0 0 default lever switch pm a switch10 0 1 0 1 0 1 0 0 default lever switch pm a switch11 0 1 0 1 0 1 0 0 default lever switch pm a switch12 0 1 0 1 0 1 0 0 default lever switch pm a switch 13 0 1 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 274 angles notches notchheight att parent switch14 kind mesh att limits angles notches notchheight att parent switch15 kind mesh att limits angles notches notchheight att parent switch16 kind mesh att limits angles notches notchheight att parent switch17 kind mesh att 0 1 0 1 0 0 default lever switch pm a switch14 0 1 0 1 0 1 0 0 default lever switch pm a switch15 0 1 0 1 0 1 0 0 default lever switch pm a switch16 0 1 0 1 0 1 0 0 default lever switch pm a switch17 limits angles notches notchheight att parent switch18 kind mesh att limits angles notches notchheight att parent switch19 kind
150. table 0 bogey kuid See Chapter 7 for an example asset of this kind reversed data A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS thumbnails paintshed reskin 0 origin data image file category class data width data product id data height data product version data kuid table product type data 0 kuid engine data 1 kuid interior kuid 2 kuid fonts data 3 kuid mass data 4 kuid kind data 5 kuid Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 162 6 kuid 7 kuid TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be ZX PaintShed Template See the Train Parts section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that appears in the surveyor menu description Description of model which is used for the Railyard information kind Must be traincar alias The kuid of the paintshed template the paintshed reskin is based on origin The Country Abbreviation product id For paintshed support product type For paintshed
151. tga BB_Bolts_med texture txt JBB Bolts med tga 2 bb_mainO1 texture txt EE bb_maino1 tga E bb main texture txt EE bb_main tga bb main bump texture txt l bb main bump tga B bb main LOW texture Exk lE bb main LOW tga g bb_main_MED texture txt LE bb main MED tga KH Env glass bmp Env glass texture txt Env metal bmp E Env_metal texture txt Z generic texture txt IE generic tga 5 generic_LOW texture txt EZ generic_LOW tga generic_med texture txt IE generic_med tga UP Bigboy body im UP_Bigboy_body Im txt s UP Bigboy body low im a UP Bigboy body med im 5 window interior texture txt LE window tinterior tga mHEGHT ry m3 A THE C3UP Bigboy shadow black texture txt iblack tga m UP Bigboy shadow im IC3up bigboy icon EJup_bigboy_icon tga Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg bigboy cyl steam tfx bigboy smoke tfx bigboy smoke idle tfx bigboy steam relief tfx The Twinkle files used for the smoke effects More information on Twinkles can be found on Page 394 UP_Bigboy_art_512 texture txt UP_Bigboy_art_512 tga These image files are used to show a 512x512 preview texture when the image is available on the download station This is valid for 2004 assets but in TRS2006 this functionality has been replaced with the 240x180 thu
152. tga crate_3 tga crate 4 Lga crate 5 tga x crate amp Lga crate 7 tga GeneralGoods tga Ex cratez im E crate3 im zi crate im crates im crabes im crabe im i general qaads im Config txt crate texture txt crate_z texture kxk crate 3 Lexkure Exk Note The circular icon is made using an opacity map as the Alpha channel in the tga file This is a white circle El crate_ texture txt ba El icon_bexture texture txt and black background to cut out the circular shape Both Primary and Alpha lines in the texture txt file refer to the same tga file iconfile tga Length 1 6 metres Width 1 6 metres Height 2 8 metres alpha channel in file GeneralGoods tga 64x64 32 bit General Goods Mesh Dimensions Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 18 CRUDE OIL PRODUCT Crude Oil Product Config txt kind product kuid KUID 3 10010 username Crude Oil product category lt KUID 3 10044 gt instance type resourc icon texture mass 0 9 mesh table icon texture texture Crude Oil directory structure e scenarios sei I crude oil pue E Config ExE E BE Crudecil tga Ben E icon_texture texture txt icon_texture texture txt DIESEL FUEL PRODUCT Diesel Fuel Product Config txt Primary CrudeOil tga Alpha CrudeOil tga Tile none CrudeOil tga kind product kuid
153. the CCP checking template file for Kinds rejects the use of interiors and shows errors This may be corrected in future update releases The base of the transfer table the pit has attached track at regular intervals A night mesh is also used for the base The b r base is the main fixed helper point located on the origin The moving platform is linked to the b r platform helper that is also linked to the b r base Transfer Table E Ga trans base 3 pit texture pit S raila texture rail m trans base im E trans base night light texture light1 8 light 1 lig kmask texture lightmask ias Ekrans base night irn E L trans platform a anim kin cabwvvindew catenary MM E c tenary catenary texture SM De an ktrans platForm ir i trans platForm night 2 lightyellow bexture lightyellow trans_platForm_night im Ela trans_warninglight n anim kin globe texture globe aa trans _warninglight im wood n spinner texture o0d_n_spinner config Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 381 Z H V b platform Note in the diagram for the platform in the start position as shown the attachment point on the platform a r platform a itrack0a is in the same position as the joining track on the base a otrack0a Any object using attachment points and linked to
154. the assets preview thumbnail a 32x32 thumbnail should be included as well This is a half size representation of the face texture image and is used where the small driver image is displayed Not including this second thumbnail will cause Trainz to use the larger one face texture This is the driver icon used in TRS Must be 64x64 pixels mesh This refers to the kuid of the mesh asset inserted into the locomotive mesh at a driverO when in the Driver Module Kuid Table The kuid of the driver mesh should be present in the kuid table THIS KIND HAS THE FOLLOWING CONTAINERS Mesh Table String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions TAGS kuid trainz build category class category region category era username kind face texture mesh alias author category keyword class contact email contact website description description cn description cz description de description es description fr description it description pl description nl description ru iconO icon1 icon2 icon3 license organisation preview mesh kuid preview scale username cn username cz username de username es username fr username it username nl username pl username ru KIND DRIVERCOMMAND Descript
155. the attached track along the transfer table for example the key frame entries in the config txt file might be keyframes 0 160 320 480 640 looping 0 frame rate 30 The key frame 0 would co incide with the a otrack0a position on the diagram above and key frame 160 would co incide with the a otrack1a position Normally a transfer table is moved either through a script or by clicking a number of times on the red arrows showing above the table click 5 times and it will move smoothly to the fifth stopping position for example If you wish to have the table hesitate at each intermediate stopping position on the way enter additional key frames in 3dsmax or max either side of the correct stopping point for example at 158 and 162 either side of the frame 160 point with the same co ordinate locations as Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 382 the 160 key frame These additional frames are not listed in the key frame list in the config txt file table Because the use of animation key frames is so versatile for a transfer table for example a vertical mine shaft might be made with the elevator car as the platform the platform can vanish as it moves away from the base model This is caused by the platform moving outside the main bounding box of the base model An additional tag use parent bounds 1 should be used in the config txt file in the platform container to correct this issue p
156. the attachments twice as shown below where a trackOb is used as the common connection point For example attached track track0 lt KUID 1 15 gt track useadjoiningtracktype 0 vertices 0 a track0a 1 a trackOb 2 a trackOc 3 a trackOd 4 a trackOe track1 track lt KUID 1 15 gt vertices 0 a trackOb 1 a track1a 2 a track1b junction vertices 0 junction lever mesh lever0 junction vertex a trackOb 1 junction lever mesh blades junction vertex a trackOb See additional information on Page 383 Y a track0a X lt Ha track0b Y a trackla X THIS KIND HAS THE FOLLOWING CONTAINERS Mesh Table Queues Container Smoke Container SoundScript Container Attached Track Container Attached Trigger Container String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions Junction Vertices Container TAGS kuid trainz build category class category region category era username kind alias author autoname category keyword class contact email contact website description description cn description cz description de description es description fr description it description pl description nl description ru dighole floating height range icon texture iconO ic
157. the temporary directory will be re opened automatically for you to continue working with the asset files 13 It is important to backup assets particularly as the exported files and textures are incorporated in the Trainz data base on commitiing the asset and are not available for examination or copying once the temporary directory has been closed Refer to Page 4 for options to back up the asset files Each creator will determine a suitable workflow process with experience CCP should make it easier for new creators to create workable config txt files Of course you can examine the saved config txt file in the asset temporary directory in Explorer or even edit and re save the file This however is not the recommended process as the config txt file has then not be checked for errors in the CCP module and could have newly introduced errors It is prefereable that CCP be used to build a working config txt file and this process will validate the asset as suitable for upload to the Download Station Example Asset The example asset chosen is the PB15 locomotive which is included in Trainz The various screenshots will illustrate how the graphical user interface would appear for this asset and show the various forms of data value input It will not discuss all the containers or tags in detail but rather give a feel for the process of creating a new asset There are many containers and tags to make a fully functional locomotive
158. the text input box upright boolean config txt splines Specifies whether the bridge legs point vertically or perpendicular to the spline useadjoiningtracktype boolean attached track ID scenery with track Indicates whether the track type should change to match that of the first track joined to the object use gradient track boolean config txt scenery This means to use the spline gradient rather than following the ground height use parent bounds boolean mesh table mesh object Specifies that the mesh should use the bounds of the parent object for visibility culling Use with caution this asset username vacuumbrakecylinder vacuumbrakecylinder_start vacuumbrakecylinder_ vacuumbrakepipe vacuumbrakepipe vacuumbrakepipe vacuumbrakepipe_start vacuumbrakepipereleasevent vacuumbrakepipevent vacuumbrakereservoir vacuumbrakereservoir_start vacuumbrakereservoir vacuumbrakepipe value range vehicle velocity vertices visible on minimap volume volume 1 water watercolor config txt general The human readable translated name of this asset Not currently used flowsize engine Flowsize of the vacuum brake pipe cylinder pressure flowsize engine Flowsize of the vacuum brake pipe release vent flowsize engine Flowsize of the vacuum brake pipe reservoir min max time of soundscript ID mesh object 2 numbers currently used only for day day night
159. to automatically update to the new name The variables can be set for each sign kind The effect kind att The Sign Text insertion point part of the mesh See below for correct orientation of the point axis name The default text when placed If not used it will default to the config txt block name and will not be editable When name name is specified in the tag it uses the asset s changeable name functions If name Coalmine were used for instance the name Coalmine would appear on the model and be unchangeable font The name of the font default Arial Other fonts are not functional at this time fontsize The size of the sign text fontcolor The colour of the sign text in r g b Corona Effect A corona is a glow light effect It is a simple texture that is inserted at an attachment point within the mesh Corona s can be added to any asset that uses a mesh table Examples of coronas used in game can be seen on the Airport and Airport Basic assets The Jumbo Jet the Cessna and the Airport tower all use flashing corona s kind The effect kind att The corona insertion point and centre part of the Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 108 mesh eg a lightO a light1 for example directional The default for coronas is to be aligned to the attachment point to face the NEGATIVE Z direction This is especially useful for Traincars Directional causes
160. track0 if direction Vehicle DIRECTION FORWARD report sideFlags LoadingReport LEFT SIDE else if direction Vehicle DIRECTION _ BACKWARD report sideFlags LoadingReport RIGHT_SIDE vehicle LoadProduct report Already done something to the queue if so set flag so that we don t unload it again just for this multi ind if report amount gt 0 waterWBModified true j Load the avgas if GetProcessOutput multi consumer _ producer avgasQueue avgasAsset gt 0 1 spaceAvailable avgasQueue GetQueueCount report CreateLoadingReport avgasQueue spaceAvailable direction vehicle GetRelationToTrack me out _ track0 if direction Vehicle DIRECTION FORWARD report sideFlags LoadingReport LEFT SIDE else if direction Vehicle DIRECTION _ BACKWARD report sideFlags LoadingReport RIGHT_SIDE vehicle LoadProduct report Already done something to the queue if so set flag so that we don t unload it again just for this multi ind if report amount gt 0 avWBModified true if itc IsTrainCommand vehicle GetMyTrain Industry UNLOAD COMMAND 1 Attemp to unload everything Unload the crudeoil if GetProcessInput multi consumer producer crudeOilQueue crudeOilAsset gt 0 if oilWBModified 1 spaceAvailable crudeOilQueue GetQueueSpace report CreateUnloadingReport crudeOilQue
161. tracks as one model by specifying the track spacings to be used Container Structure A well formed double track kind has the following container structure OS double track m track sound Pj track sound element0 m thumbnails 0 See Chapter 7 for an example asset of this kind double track A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS class bendy data The name of the scenario class within the script file carrate data script casts shadows data The script file gs or gse file endlength data grounded data Additional Tags supports null driver character isroad data Command can be executed without a driver present in re aoe the selected loco length data THIS KIND HAS THE FOLLOWING repeats data CONTAINERS rgb data String Table Chinese String Table Czech String Table Dutch String Table French String Table German String shadows data Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete upright data Table Thumbnails Privileges Extensions s visible on minimap data width data sese kuid kuid kuid trainz build category class category region f category era username kind supports null driver maine build gaia character author category keyword class contact email category class data contact website description description cn description cz description de description es description fr category region data d
162. train lapbrake lever CabinControl loco brake lever CabinControl dynamic brake lever CabinControl wheelslip light CabinControl horn rope CabinControl pantograph lever CabinControl light switch CabinControl waterGlassLeft dial waterGlassRight dial CabinControl firebox CabinControl boiler needle CabinControl regulator lever CabinControl fire plates CabinControl left window CabinControl right window CabinControl left sliding window CabinControl right sliding window CabinControl seat0 CabinControl seatl CabinControl sanding lever CabinControl whistle lever CabinControl blowdown lever CabinControl waterInjector0 waterInjectorl PB15CabinData cabinData Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 54 bool shovellingCoal bool waving thread void RunAnimation void public void Init void speedometer GetNamedControl speedo needle main reservoir needle GetNamedControl bplocomain_needlev brake cylinder0 needle GetNamedControl vbptrainbrakecylinder needle brake cylinderl needle GetNamedControl no3pipe needle no3 pipe needle GetNamedControl bptrainbrakecylinder2 needle brake pipe needle GetNamedControl bptrainbrakepipe needle qualiser needle GetNamedControl vbploco equaliser flow needle GetNamedControl flow needle ampmeter needled GetNamedControl amp
163. trigd P tigt trig2 P trig3 m queues 20ft cont q L allowed products m processes multi consumer producer E inputs o E outputs Bo D string table i thumbnails Qo 1 See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS industry kuid kuid trainz build data category class data category region data category era data username data kind data script file class preview mesh kuid iconO kuid table coal mesh table default mesh auto create attached track out track0 track vertices 0 attached trigger trigO att radius queues 20ft cont q size initial count product kuid allowed products 0 processes data kuid kuid kuid file data kuid data data data data data kuid kuid multi_consumer_producer start enabled duration inputs 0 amount queue outputs 0 data data data data Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 143 amount data queue data string table multi pickupdropoff data thumbnails 0 image file width data height data 1 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be one of the following BIN Industry asset with product
164. txt requirement please refer to the appropriate KIND descriptions and information on the following pages Containers A data container is a portion of the config txt file that covers a particular function for the model for example the model mesh files to be used or the effects to be applied The model asset has a top level container for data that is required for or is common to most model assets Nested in this container may be other subcontainers each describing a particular function of the asset Tags Within a container the commands that Trainz recognizes are called Tags Each tag indicates data values to be used or a function to be implemented Dialogue boxes and drop down menus are provided for the data entry in CCP and in built error checking will indicate faulty data or entries An error message display will assist in creating a correctly configured model Directory Structure A new asset requires that the config txt file mesh files texture files and other files be placed in a directory This directory is created whenever a new asset is commenced in CCP The arrangement of files within the main directory or a subdirectory is in most cases the choice of the creator It may be convienient to group some files in a subdirectory for example the night directory mesh and texture files This can make it easy to distinguish the files associated with a particular part or function of an asset The mesh table layout adopted
165. unit of measurement and the picture icon that displays the product in the simulator Produce and materials are product examples Product Category A category class of products commodities that Trainz compatible rolling stock and industry assets are able to process It specifies the type unit of measurement and the picture icon that displays the category on Surveyor or Driver Bulk liquid passengers and containers are product category examples Profile A Profile is known as a Session in Trainz This kind creates a session defining a single route with different consists starting points and industry outputs Different sets of trains may be used in each different session Region A region is chosen in Surveyor to create a new map or route This Kind creates a new region in addition to the in built regions such as Australia or USA for example The region can define geographical location road traffic and weather conditions Scenery A basic scenery asset that supports night lighting smoke particle effects sound and animation It is height adjustable and forms the majority of map objects used Scenery Trackside A special scenery asset attached to rail track with the offset distance from the track specified in the asset Examples could include a signal box or dummy track sign or track object Steam Engine The special engine specification for steam locomotives which defines the detailed performance requirements includin
166. useful to provide a night mode for the model with lights and lit windows This requires a separate night model mesh and can be called up as a sub mesh in the config txt file Some Kinds such as splines do not support the Nightwindows option To make a night effect on a spline certain parts may be specially textured to give a lighted appearance at night Three texture files are used a texture for the day visible object or planes an opacity file to determine the shape of the lit portion at night and a reflective texture to give the night colour and attributes These are applied as one material to the object For example a road barrier is made as a spline and requires white reflectors at regular distances along the spline to light up at night A light tga file will define the day texture for a circular reflector a light bmp will make the opacity file to be used and the reflective material can be a single colour tga or bmp texture to be the night colour All texture files must be the same size in this case 64 x 64 The image below shows the texture files Fy b ah d To the left is the reflector tga the next is the opacity bmp and the third image is the light colour to show at night this could be a whiter shade but is left yellow so it shows better in this example image It is placed in the Reflective material slot in 3dsmax gmax The last image is a circular gradient opacity bmp texture that could also be used to gi
167. vehicle GetRelationToTrack me out _ track0 if direction Vehicle DIRECTION FORWARD report sideFlags LoadingReport LEFT SIDE else if direction Vehicle DIRECTION _ BACKWARD report sideFlags LoadingReport RIGHT_SIDE vehicle LoadProduct report Already done something to the queue if so set flag so that we don t unload it again just for this multi ind if report amount gt 0 cont20WBModified true j Load the cont40 if GetProcessOutput multi consumer producer cont40ftQueue cont40ftAsset gt 0 1 spaceAvailable cont40ftQueue GetQueueCount report CreateLoadingReport cont40ftQueue spaceAvailable direction vehicle GetRelationToTrack me out_ track0 if direction Vehicle DIRECTION FORWARD report sideFlags LoadingReport LEFT SIDE else if direction Vehicle DIRECTION _ BACKWARD report sideFlags LoadingReport RIGHT_SIDE vehicle LoadProduct report Already done something to the queue if so set flag so that we don t unload it again just for this multi ind if report amount gt 0 cont40WBModified true j Load the gengoods if GetProcessOutput multi consumer producer gengoodsQueue gengoodsAsset gt 0 1 spaceAvailable gengoodsQueue GetQueueCount report CreateLoadingReport gengoodsQueue spaceAvailable direction vehicle GetRelationToTrack me out _ track0 i
168. 0 materialRI 0 3 opacityTex WaterOpacity texture opacityAmount 0 5 WaterGeometry UVScrollVelocity 0 0 0 05 TileUVScale 1 0 1 0 GridSpacing 10 0 TileGridSize 2 2 WaveFreq 0 MaxAmp 0 0 0 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 63 KIND MAP The config txt for maps are automatically generated by TRS Surveyor You can add a soundscript to the config txt file if desired such as the example below Refer Soundscripts Page 395 for more information Config txt kind map kuid lt KUID2 1 gt username Britain workingscale 0 workingunits 0 water KUID 1 8009 trainz build 2 5 soundscript morning ambient 1 value range 1 0 1 volume 0 3 sound ctry day l wav night ambient 1 value range 0 0 9 volume 0 3 sound night_loop wav KIND PROFILE A Profile is otherwise known as a Session in TRS You can now create multiple Sessions in Surveyor for a single route with different consists starting points industry outputs etc You may have different sets of trains in each different session The config txt and profile dat files for Profiles are automatically generated by TRS Surveyor and generally shouldn t be edited KIND GROUNDTEXTURE These are the text Config txt kuid lt KUID2 1 gt kind groundtexture clutter mesh lt KUID2 1 gt userna
169. 0 maximum volume 00000 0 minimum volume 00000 0 These above three tags are used together Because of the way fireboxes are handled in Trainz basing these figures on the actual litre volume of the boiler results in the water being used too quickly All three values for real world boiler size should be multiplied by 10 to give a more realistic consumption rate maximum volume this volume should be 90 of the boiler volume this simulates the steam space left over the top of the water minimum volume this value should be 9096 of the maximum volume this represents the working low water level in the boiler Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 31 Alternatively there are three 3 sets of figures that cover all boilers this is a relatively coarse setting and as such a broad range of vessels can be blanket covered Small locos with grate areas under 10 Sq metres boiler volume 37500 0 minimum volume 28500 0 maximum volume 32500 0 Medium locos with a grate area 10 to 25 Sq metres boiler volume 47500 0 minimum volume 37750 0 maximum volume 40500 0 Large locos with a grate area over 25 Sq metres boiler volume 95000 0 minimum volume 73000 0 maximum volume 81000 0 initial boiler temperature 380 This line has been added to allow the locomotives to be at an almost ready to go state when the session starts Then in conjunction with t
170. 0152 gt lamp MultipleIndustryNew MultipleIndustryNew icon texture icon multiple tga preview mesh kuid cont20ft cont40ft gengoods woodchips lt kuid 3 10154 gt kuid 44179 60013 gt kuid 3 10011 gt kuid 3 10014 gt kuid 3 10041 gt kuid 3 10013 gt kuid 3 10001 kuid 3 10003 kuid 3 10002 kuid 3 10010 kuid 3 10012 kuid 3 10004 kuid 3 10045 NA KA KAKA AK AAAAA Multiple Industry im auto create effects arrowO 1 att a track0a default mesh kuid 3 10092 surveyor onlyl kind arrowl att default mesh lt kuid 3 10092 gt attachment a trackOf surveyor onlyl kind attached track attachment out_trackO track lt kuid 1 15 gt vertices 0 a track0a I a track0b 2 a track0c 3 a track0d 4 a track0e 5 a trackOf attached trigger trigO att a track0b radius 10 trigl att a track0c radius 10 trig2 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 kind Kind attachment attached track Details of the track to be attached to the model defined by the attachment points in the 3dsmax gmax model using the a name convention Note the axis orientation of the end attachment points Refer to the Fixed Track example Page 75 out track0 Name of the track track The track type kuid to be used for the attachment in this case the red invisible track kuid vertices List of
171. 1 destTracks destTracks size out_track0 destNames destNames size stringTable GetString coalmine_loadBay2 destTracks destTracks size out_track1 destNames destNames size stringTable GetString coalmine_loadBay3 destTracks destTracks size out_track2 destNames destNames size stringTable GetString coalmine_loadBay4 destTracks destTracks size out_track3 destNames destNames size stringTable GetString coalmine_dieselUnload destTracks destTracks size in track0 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example_Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 261 Interior Diesel Directory Structure A typical asset of this kind has the following File Directory Structure IE ampmeter_dial tga Gi ampmeter dial alpha bmp E ampmeter dial ampmeter _dial_alpha texture txt EE ampmeter table tga Br ampmeter table alpha bmp E ampmeter table ampmeter table alpha texture Ext E attpoints txt 5 black texture txt 2 black tga BPgauge_backplate tga AH BPgauge_backplate_alpha bmp BPgauge backplate BPgauge backplate alpha texture txt E BPgauge dial texkure Ext HA BPgauge_dial tga Bl BPgauge_surround texture txt 2 BPgauge_surround tga I ePq
172. 1 shadow mesh PB 15 shadow PB 15 shadow im reverser mesh reverser anim reverser PB 15 body reverser im PB 15 body reverser kin auto create 1 att a bog2 att parent default Note Ei cabits tga cabits_low tga Ej catcher tga pb 15 1 tga E pb 15 1 low tga Eph 15 1 lowest tga Eph 15 1 med tga Epb 15 bump tga Ft wheel_lowest tga wheel_sml_lowest tga WY brake_op bmp WI catcher bmp WE Eny metal bmp WE Ery metal low bmp WE wheel_lowest bmp T sml SOHerE DMD doses Jow texture Ext catcher catcher texture txt Env metal texture txt Env metal levi texture txt E pb_15_1 texture kxt 5 pb 15 1 low texture txt S pb 15 1 lowest texture tx 5 pb 15 1 med texture txt S PB 15 body lm txt pb 15 bump texture txt attachmentCutOff 0 1 Attachment cutoff specifies the level where attachments with the flag Cull are dropped The main thing to remember is that all LOD files im meshes and textures must be located within the same directory In the case of a locomotive or rolling stock item it should be in the body directory Note the LOD Mesh file is referenced from the config txt file ie To stop drawing the bogeys of the trains at a specific level of detail append Cull to the bogie attachment point ie a bog0 Cull Where the above applies bogeys culled the body mesh will need a low poly representation of the
173. 1 Appendix A Classes and Codes CATEGORY CLASS 397 REGION CODES 400 ERA CODES 402 Appendix B Kinds and Containers Appendix C Tags and Containers ACKNOWLEDGEMENTS 428 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 xli ADDITIONAL REFERENCE INFORMATION Please read the Trainz Railroad Simulator 2006 User Manual which forms part of the TRS2006 installation in C Pro gram Files Auran TRS2006 Docs manuals_cd directory for a default installation Additional up to date information and files are available for download some were developed for TRS2004 but are still useful General Assets Plugins Manuals and Utilities e Sample TRS2004 in game files including config files http www auran com trainz creation Trainz_custom zip Sample 3D Studio Max and gmax files including textures http www auran com trainz creation source_files zip TRS asset PRR 40 Boxcar in game files source files and asset description http www auran com TRS2004 downloads contentcreation T RS2004_Box_Car zip TRS asset GATX Oilco Tank Car in game files source files and asset description http www auran com TRS2004 downloads contentcreation TRS2004 Tank Car zip TRS asset Coal Hopper in game files source files and asset description http www auran com TRS2004 downloads contentcreation TRS2004 Coal Hopper zip TRS asset Container Flat in game files source files and asset description http www auran com TRS2004 downloads
174. 1 texture txt lever handle1 tga lever handle pm leverstaff texture txt IE leverstaff tga light switch pm E meters texture txt IE meters tga needle red texture txt l amp needle red tga needle white texture txt needle_white tga pantograph_lever pm B peddle texture txt IEjpeddle tga peddle base front texture txt EE peddle_base Front tga peddle_base sides texture txt EE peddle_base sides tga pent base texture txt EJ pent_base tga E pent lever side texture txt Hj pent lever side tga pent lever top texture txt pent Jever top tga E phone base texture txt phone base tga phone texture txt j phone tga EJ phonecord tga Ei phonecord_op bmp E phonecord phonecord_op texture txt pressure needle lge pm pressure needle lge red pm pressure needle sml pm E red_ring texture txt l red ring tga reverser pm ring texture txt IEjring tga 5 seat texture txt Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 269 rea seat tga silver metal texture Ext Ey silver_metal taa small_pressure1 texture txt small_pressure1 tga small_pressure2 texture txt small pressure2 tga p speakerpanel texkure Ext speakerpanel tga speedo1 texture Ext speedol tga speedo2 texture txt speedo2 tga E speedo_needle1 pm E speedo needle2 pm switch red texture Ext switch red tga switch white texture txt switch white tga switch pm sw
175. 10 for i 0 i lt destNames size i Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads if destTracks i trackName Example Download zip 1 userTrackName destNames i break return strTable GetString driver command drive to industryName userTrackName public Soup GetProperties void 1 Soup soup Constructors NewSoup Save support Save the properties to the soup then return the soup soup SetNamedTag industryName industryName soup SetNamedTag trackName trackName return soup public void SetProperties Soup soup Load support Setup the properties from the passed in soup industryName soup GetNamedTag industryName trackName soup GetNamedTag trackName Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 211 Engine Diesel Directory Structure A typical asset of this kind has the following File Directory Structure config txt H thumb jpg Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg File Listings config txt kuid lt kuid 56113 1230 gt trainz build 2 5 category class ZE category region ES category era 2000s 2010s username Diesel testEngine kind engine description Test Engin
176. 2 0 1 0 0 1 0 2 default lever f7interior_switch pm a switch7 0 1 0 2 1 0 2 default f7interior_ampmeter pm f7interior_bploco pm mesh brakepressure mesh f7interior_bptrain pm f7interior_ brakepressure pm chair mesh controlstand mesh horizblinds mesh interior_main mesh speedo mesh westinghouse mesh windows mesh opacity wheelslip_light kind mesh att att parent default mesh auto create cameralist camera0 camera camera2 camera3 camera4 camera5 thumbnails f7interior_chair pm f7interior_controlstand pm f7interior_horizblinds pm f7interior_main pm f7interior_speedo pm f7interior_westinghouse pm f7interior_windows pm 0 light wheelslip pm none default f7interior_main pm 1 0 797 0 476 0 547 0 057 0 085 1 027 1 076 0 48 6 149 0 264 1 018 1 039 0 48 5 364 0 117 0 832 0 521 0 592 12 548 0 098 0 859 0 662 0 434 1 05 0 255 0 797 0 476 0 547 0 0 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 267 Download this asset thumb jpg This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads 240 Example Download zip 180 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 268 Interior Electri
177. 2 2 2 2 2 2 2 2 1 radius 0 15 mousespeed 1 att parent default reverser_lever kind lever mesh reverser pm att a reverser limits 0 2 angles 0 0 471239 notches 0 0 5 1 notchheight 1 1 1 att parent default throttle_lever kind lever mesh traction pm att a traction limits 0 32 angles 0 75 0 75 notches 0 0 0303 0 060 6 0 0909 0 1212 0 1515 0 1818 0 2121 0 2424 0 2727 0 303 0 3333 0 3636 0 3939 0 4242 0 4545 0 4848 0 5151 0 5454 0 5757 0 606 0 6363 0 6666 0 6969 0 7272 0 75 75 0 7878 0 8181 0 8484 0 8787 0 909 0 9393 1 notchheight 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 1 radius 0 35 att parent default voltmeter_line kind needle mesh bar_meter_needle pm Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 271 att a voltmeter line limits 0 125 value 5 angles 0 0 6 att parent default ampmeter needle kind needle mesh bar meter needle pm att a ampmeter_motor1 limits 0 1500 angles 0 0 6 att parent default ampmeter2_needle kind needle mesh bar_meter_needle pm att a ampmeter_motor2 limits 0 1500 angles 0 0 6 att parent default ampmeter_brake kind needle mesh bar_meter_needle pm att a ampmeter_brake limits 0 1000 value 200 angles 0 0 6 att parent default voltmeter_battery kind needle
178. 2006 The Content Creator s Guide Version 2 0 198 name 37_bogey_med im mesh 1 0 name 37 bogey im Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 199 Bogey Animated Bogey Directory Structure A typical asset of this kind has the following File Directory Structure es anim kin E bogey pm B bogey map texture Ext iEjbogey map tga config txt H thumb jpg C3 bogey shadow E black texture txt IEjblack tga e bogey_shadow pm Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg bogey pm The bogey mesh file an older pm version anim kin The bogey animation file not listed in the config txt a kind bogey knows to reference this file bogey_map tga black tga Various texture files bogie_map texture txt black texture txt Various texture txt files See the section on Texture txt files on Page 96 for more information File Listings config txt kuid lt kuid 171456 100001 gt trainz build 2 5 category class ZB category region 00 category era 2000s 2010s username Animated Test Bogey kind bogey direct drive 0 animdist 3 45 description An animated test bogey example with rot
179. 3600 boiler needle kind needle mesh boiler needle boiler needle im att a boiler pressure limits 0 1570 auto create 1 reverser mesh reverser reverser pm anim reverser reverser kin auto create 1 kind animated lever test collisions 0 limits 1 0 1 0 reverser collision box mesh reverser selection box selection box im att parent reverser att a selection box auto create 1 kind collision proxy opacity 0 collision parent reverser waterglass right mesh waterglass right im anim waterglass right kin auto create 1 limits O 100 kind animated dial waterglass left mesh waterglass left im anim waterglass left kin auto create 1 limits 0 100 kind animated dial firebox mesh firebox im auto create 1 kind firebox light 0 test collisions 0 fire mesh fire im auto create 1 light 0 test collisions 0 coal mesh coal im auto create 1 light 0 test collisions 0 fireglow mesh fireglow im auto create 1 light 0 test collisions 0 coalman mesh coalman coalman im auto create 1 att parent default att a coalman effects shovel kind animation anim coalman Coalman_shovel kin wave kind animation anim coalman Coalman_wave kin idlel kind animation anim coalman Coalman loopl kin idle2 kind animation anim coalman Coalman loop2 kin loop2shovel kind animation anim coalman Coalman_loop2shovel kin shovel2loop kind ani
180. 39 KIND PANTOGRAPH These are the animated mechanisms on the roof of electric locomotives that conduct to an electric catenary wires above Referenced by the pantograph tag in a traincar config txt KIND ENVIRONMENT Config txt kind pantograph kuid lt kuid 171456 100023 gt username testPantograph trainz build category class category era description asset category region thumbnails O0 image width height 2 Nr pt 1960s 1970s 1980s Test pantograph OO thumb jpg 240 180 Config txt kuid lt kuid 56113 1227 gt trainz build 249 category class ES category region 00 category era 2010s username testEnvironment kind environment normal norm storm storm night night thumbnails 0 image thumb jpg width 240 height 180 Breakdown for Environment Config txt region Surveyor region normal Name of image file for normal sky File should be 256 x 256 pixel 24bit tga storm Name of image file for stormy sky File should be 256 x 256 pixel 24bit tga night Name of image file for night sky File should be 256 x 256 pixel 24bit tga Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 60 KIND WATER2 Default location C Program Files Auran TRS2004 World Custom Environment Note New animated water in TRS kind water2 supercedes previous UT
181. 4 Of course the previous methods do not let you actually see the individual asset files nor allow them to be altered To have access to the files the asset is opened for editing in Explorer An asset directory containing the files is created This is found under the editing directory in the Trainz installation If the asset has been given a username the directory name will be that username If a username has not been allocated a temporary directory name using alphabetic and numeric characters will be created The created directory can then be copied to another location on the computer for backup or other purpose While creating an asset this procedure may be useful each time before committing the asset to ensure that no files are lost should a computer or program failure occur Remember that texture files and exported mesh files are not easily accessible once the asset is committed 5 Atemporary directory could be created outside of the Trainz installation and the texture files and mesh files placed there This directory can then be imported into CMP the drag and drop feature makes this quite easy drag the file directory into the main data window of CMP Of course a valid config txt file needs to be included for CMP to recognise the directory as a valid asset Opening the asset in CCP correcting any errors or adding other tags and containers to finish the model and then saving the config txt file will then create a build 2 5
182. 40 polygons Animated fire panel 513 polygons Animated water injector lever 122 polygons Animated regulator lever 244 polygons Animated reverser lever 132 polygons Animated seat 132 polygons Sander lever 28 polygons Whistle lever 68 polygons SBB Krokodil Electric Cab Interior available for download Cab shell dash board seats gauges bonnet and fire extinguisher 3362 polygons Brake wheel 220 polygons Horn lever 46 polygons Reverser lever 124 polygons Throttle wheel 154 polygons SNCF TGV Electric Cab Interior Cab shell dash board seats and windows 1886 polygons Brake lever 54 polygons Pantograph lever 94 polygons Throttle ring 96 polygons Reverser lever 38 polygons UP DD40 Diesel Cab Interior Cab shell exterior dash panel windows brake lever bases hanarails driver seat and fire extinguisher 2629 polygons Animated fan including blades 354 polygons Swivel seat 180 polygons Sun visor 94 polygons Animated wipers 96 polygons Train brake lever 60 polygons Loco brake lever 50 polygons Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 358 Phase 3 Hi res Textures and Placement This is the first of three texture passes undertaken to crate realtime textures We map hi res textures to every surface of the model using the mapping commands from the Modify panel of 3dsmax UVW map and Unwrap UVW Below are examples of hi re
183. 80 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 286 Mesh Directory Structure A typical asset of this kind has the following File Directory Structure config txt Ezjthumb ipg alastair s alastair im alastair texture txt LE alastair taa alastair _lowres E alastair lores texture txt alastair lores tga a alastair lowres im Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg alastair im The default mesh alastair texture txt alastair tga The default mesh texture files See the section on Texture txt files on Page 96 for more information alastair lowres im A second mesh alastair lores texture txt alastair lores tga The texture files for the second mesh File Listings config txt kuid trainz build category class category region category era username kind description driver mesh mesh table standing mesh auto create lt kuid 56113 1003 gt 2 5 HM 90 1980s 1990s 2000s testMesh mesh Sample Mesh Asset This is a alastair Alastair im 1 sitting mesh alastair lowres Alastair lowres im thumbnails 0 thumb jpg image width 240 height 180
184. 980s trainz build 2 5 direct drive 0 mesh table default PB_15_bogey0 pm mesh auto create shadow mesh PB 15 bogeyO shadow PB 15 bogey0 pm auto create Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 201 Bridge Directory Structure A typical asset of this kind has the following File Directory Structure E config txt E default im E rustypanel texture txt I rustypanel tga B steelbraces bmp E steelbraces texture Ext IE steelbraces tga steelbraces steelbraces texture txt Ezjthumb jpg O default shadow E black texture txt Iren black tga s default shadow im Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg default im The middle section of the tunnel asset This mesh is also used as the preview image Must be named default im and placed in the base directory rustypanel texture txt rustypanel tga steelbraces bmp steelbraces texture txt steelbraces tga steelbraves steelbraces texture txt black texture txt black tga Texture files used by the indexed meshes of this bridge asset See the section on Texture txt files on Page 96 for more information us bridge steel shadow im The indexed mesh file of the bri
185. C water kind water Therefore kind water is no longer supported by TRS Where a UTC map refers to an old kind water asset it will automatically be updated to one of the new animated water assets Essentially the new water system comprises of an animated bump mapped transparent surface The animation variables are controlled through the water anim txt The tile size and material properties are controlled though the water config txt file following page The following example is of Calm Water Choppy Glassy and Rough water are described on the following pages Calm Water config txt Calm Water kuid lt kuid 56113 1226 gt trainz build 2 55 category class EW category region 00 category era 2010s username CalmWater kind water2 description This is a test water2 thumbnails 0 image thumb jpg width 240 height 180 Bump mapping requires special settings and naming conventions in 3dsmax Refer to Page 350 and the following download for information http www auran com TRS2004 downloads contentcreation TRS_Max4_Plugin_Bump zip water2a tga 256 x 256 pixel 32bit tga Typical Water2 Directory Structure Environment Ere Calm Water M Config txt B water anim Ext B water config txt water a tga I WakterOpacity texture txt water anim txt Calm Water Note indicates start of creator notes only comments on script versio
186. Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions TAGS kuid trainz build category class category region category era username kind author category keyword class contact email contact website description description cn description cz description de description es description fr description it description pl description nl description ru license organisation script username cn username cz username de username es username fr username it username nl username pl username ru KIND ENGINE Description An engine specification for locomotives and rolling stock which defines the detailed performance requirements including throttle requirements and engine and braking performance Container Structure A well formed engine kind has the following container structure E config txt HJ thumb jpg See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS category region category era username kind flowsize trainbrakepipe epreservoirpipe no3pipe no4pipe auxreservoirvent auxreservoir no3 auxreservoir trainbrakepipe autobrakecylindervent auxreservoir autobrakecylinder equaliser mainreservoir equaliservent equaliserventhandleoff equaliserve
187. Class L Light Rail amp Monorail Class M Maintenance Of Way Class O Organism Class P Passenger amp Mail Cars Class R Railcars amp 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 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 CCP 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 A MOTIVE POWER AA Electric Multi current AC AC Electric AD DC Electric AE Experimental or Special AG Gas Turbine AH Diesel Hydraulic AL Diesel amp Diesel Electric Mammal AS Steam Loco amp Tender AT Steam Tank B BUILDINGS amp STRUCTURES BC Commercial scenery non functional BI Industrial scenery non functional BH Home amp Residential scenery non functional BR Railway scenery non functional BS Special e g military scenery non functional BT Traffic amp Streetscape scenery non functional BU Utility incl Civil buildings scenery non functional BIN Industry asset with product processing functionality BPF Passenger Station with passenger processing functionality BPN Passenger Station non
188. Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username Though this asset doesn t appear in the Surveyor menu the username is used to identify the asset in the Content Manager Plus and Content Creator Plus programs kind Must be texture group Additional Containers As well as containing all of the common tags and containers detailed in Chapter 5 the texture group kind also contains additional containers and tags that are specialised to the requirements of the kind Textures Container The textures container stores a list of additional textures to be used in the texture group Texture Texture path Notes The ONLY use for this asset is for reference by the script function SetFXTextureReplacement THIS KIND HAS THE FOLLOWING CONTAINERS String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions Textures Container TAGS kuid trainz build category class category region category era username kind texture author category keyword contact email contact website description description cn description
189. CreateLoadingReport crudeOilQueue spaceAvailable direction vehicle GetRelationToTrack me out _ track0 if direction Vehicle DIRECTION FORWARD report sideFlags LoadingReport LEFT SIDE else if direction Vehicle DIRECTION _ BACKWARD report sideFlags LoadingReport RIGHT_SIDE vehicle LoadProduct report Already done something to the queue if so set flag so that we don t unload it again just for this multi ind if report amount gt 0 oilWBModified true j Load the diesel if GetProcessOutput multi consumer producer dieselQueue dieselAsset gt 0 spaceAvailable dieselQueue GetQueueCount report CreateLoadingReport dieselQueue spaceAvailable direction vehicle GetRelationToTrack me out _ track0 if direction Vehicle DIRECTION FORWARD report sideFlags LoadingReport LEFT SIDE else if direction Vehicle DIRECTION _ BACKWARD report sideFlags LoadingReport RIGHT_SIDE vehicle LoadProduct report Already done something to the queue if so set flag so that we don t unload it again just for this multi ind if report amount gt 0 dieselWBModified true Load the petrol if GetProcessOutput multi consumer producer petrolQueue petrolAsset gt 0 1 spaceAvailable petrolQueue GetQueueCount report CreateLoadingReport petrol Queue spaceAvailable direction vehicle GetRe
190. Creator s Guide Version 2 0 370 multiplier 1 0 A level of detail multiplier leave as 1 0 animationCutOff 0 00 The level of detail where animation stops to screen width 1 00 full width CI PB 15 art PB 15 body CJreverser Gare 15 shadow Ebrake tga ConFig Ext 0 5 half screen width 0 00 never stop animation renderCutOff 0 00 The level to screen width where rendering stops no longer visible attachmentCutOff 0 06 The level where Cull flagged attachments are dropped to screen width See note below Note Below Meshes referenced within be in ascending screen width order mesh 0 07 name PB_15_body_lowest im When the mesh is displayed at 0 07 of the screen the mesh PB_ 15 body lowest im is displayed Note the figure is just bigger then the attachment CutOff figure above This ensures the modeled bogeys in this LOD mesh are rendered before the actual bogeys are culled mesh 0 30 name PB_15_body_low im Mesh PB_15_body_low im is displayed when the mesh is displayed at 0 3 of the screen mesh 0 52 1 namez PB 15 body med im mesh 1 0 name PB_15_body im Directory Structure LOD Loco an LOD file must Config txt file extract kuid KUID 3 10024 kuid table obsolete table mesh table default mesh PB 15 body PB 15 body 1m auto create
191. Custom directory Trainz could be very slow in loading TRS2006 does not use the installed Downloads directory nor the Custom directory for models except for Displacement Kinds All model assets are encrypted and incorporated in Trainz as a total asset database This makes for very fast load times but can restrict easy access to your files Briefly when a new asset is created Content Creator Plus CCP creates a directory for the new asset under the editing directory in your installed Trainz and saves a config txt file in Explorer This newly created directory can then be located and files may be placed or exported for the asset mesh and textures Even if the model is only partly constructed it can be viewed in Trainz by committing the asset into the database The directory is then removed automatically and Trainz can be launched to see the model On exiting Trainz CCP can re open the directory for work to continue on the model and files if you wish This process will be fully explained in the following pages Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 3 6 Upload your new content to the Auran Download Station You must create all models for TRS2006 using the CCP and CMP modules if you wish to upload to the Auran Download Station Content Manager Plus has an integrated function to package your model for the Download Station and upload it Content Manager Plus is a very us
192. D 1 100395 username description trainz build 2 5 category class TB category region UK category era 1980s Breakdown type Surveyor type e g bridge tunnel or rail region Surveyor region length Length in meters of each bridge piece bridgetrack Kuid for the type of rail or road used on bridge trackoffsets Distance in meters the rail s are attached to the center of the bridge spline Any number of tracks can be attached to the spline only splines with the same track offsets can be connected together For a single track bridge a small offset of 0 01 metres for example is necessary height Height from the track level to the base of the bridge supports should be negative for bridges casts_shadows Defines whether or not the shadows are cast 0 shadows off 1 shadows on If shadows are on there needs to be a bridge shadow im model in a sub folder for the bridge spline model and the initiator and terminator segments if they are used istrack 0 This is a road bridge 1 This is a rail bridge Initiator Name of model to use at start of bridge placed in sub folder with same name terminator Name of model to use at end of bridge placed in sub folder with same name endlength Length in meters of the initiator and terminator models initiator L 1 terminator L1 spline L spline L In 3dsmax gmax the initiator terminator and sp
193. Ext windows rhside tga windows rhsidedoor texture Ext windows rhsidedoor tga windscreen darktile texkure Ext windscreen_darktile tga windscreen_mid texture txt windscreen_mid tga windscreen_outeredge texture txt windscreen_outeredge tga windscreen_surroundtile texture txt windscreen_surroundtile tga windscreen_tile texture txt windscreen_tile tga MAM Jue Abe hs 4 D mAT poposcit D coge heehee sound a air_horn_3 way cabin txt a notch 1 wawv E reverser wav a switch 6 wav a throttle way Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg various tga various bmp various texture txt Various graphic files used by the asset The texture files used by the progressive meshes of this interior See the section on Texture txt files on Page 96 for more information f7interior_ampmeter pm f7interior ampmeter needle pm f7interior bpflow needle pm f7interior bploco pm f7interior bplocoequaliser needle pm f7interior_bplocomain_needle pm f7interior bptrain pm f7interior bptrainbrakecylinder needle pm f7interior bptrainbrakepipe needle pm f7interior_brakepressure pm f7interior chair pm f7interior_controlstand pm f7interior_controlstand pm f7interior_horizblinds pm f7interior_horn pm f7interior_locobrake_lever pm f7interior_main pm f7interior_reverser_lever pm f7interior_speedo pm f7interior_speedo_n
194. F THIS KIND MAY HAVE THE FOLLOWING TAGS environment kuid kuid trainz build data category class data category region data category era data username data kind data normal data storm data night data thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be ES Sky See the Environment section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that appears in the surveyor menu kind Must be environment Additional Tags normal Name of image file for normal sky File should be 256 x 256 pixel 24bit tga The file extension should be excluded here ie QLD Sky and not QLD Sky tga storm Name of image file for stormy sky File should be 256 x 256 pixel 24bit tga The file extension should be excluded here ie QLD_ Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 136 Sky Storm and not QLD Sky tga night Name of image file for night sky File should be 256 x
195. H 4 if ddcd switchOn4 value 1 0 else value 0 0 switch4 SetValue value light4 SetValue value SWITCH 5 if ddcd switchOn5 value 1 0 else value 0 0 switch5 SetValue value light5 SetValue value SWITCH 6 if ddcd switchOn6 value 1 0 else value 0 0 switch6 SetValue value light6 SetValue value SWITCH 7 if ddcd switchOn7 value 1 0 else value 0 0 switch7 SetValue value light7 SetValue value Continues next page Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 44 SWITCH 8 if ddcd switchOn8 value 1 0 else value 0 0 switch8 SetValue value light8 SetValue value else DD40CabinData ddd new DD40CabinData loco SetCabinData ddd void UserPressKey string s if s cabin fans DD40CabinData cd cast lt DD40CabinData gt loco GetCabinData cd animatingFan cd animatingFan float value if cd animatingFan value 1 0 else value 0 0 cabin fan switch SetValue value cabin fan light SetValue value UpdateFan if s wipers DD40CabinData cd cast lt DD40CabinData gt loco GetCabinData cd animatingWiper cd animatingWiper float value if cd animatingWiper value 1 0 else value 0 0 window wipers SetValue value window wipers light SetValue value UpdateWipers public void Init void inherite
196. ID2 4444 444445 1 kind mojunction mesh table modeO mesh leverl leverl im auto create 1 model mesh lever2 lever2 im auto create 1 region Australia trackside 2 light 1 soundscript toggle trigger toggle distance 5 100 nostartdelay 1 repeat delay 1 sound points wav username description trainz build 2 5 category class WX category region AU category era 1980s Breakdown region Surveyor region trackside This is a value that is the distance in meters the object is placed relative to the center of the track Negative values will put the object on the left side of the track and positive values will place the object on the right light Sets lighting to be used for object to be ambient or directional 0 sets ambient lighting and object is lit by general light value uniform colouring 1 sets directional light which is affected by the position of the sun shows shadows on the object surfaces modeO The model name of the initial junction the model file is located in subfolder lever1 Example refers to a file lever1 lever1 im mode1 The model name of the initial junction the model file is located in subfolder lever2 Example refers to a file lever2 lever2 im Note that this model does not have an animation file The model changes between the two positions defined by the lever1 im and the lever2 im file models soundscript Soundscripts for
197. IMATION kind animation required The effect kind anim required Reference to the animation file kin looped 1 optional Use only if the animation is looping repeating Default 0 i e not looped speed 1 optional Speed factor of the animation Default 1 2 Double speed 0 5 Half speed The PB15 config txt can be viewed on Page 50 The PB15 interior script can be viewed on Page 54 KIND HTML ASSET A html asset can be referenced from the scripts and from some of the Surveyor rules i e you select the html asset by name then type in the name of the html file in the small edit box A typical example of KIND html asset in use is the in game tutorial The general setup is very simple you bundle your config txt along with one or more html pages Config txt kind html asset username my html page kuid lt KUID2 HH 2 O gt C html E Tutorial 1 images Config txt A tut 1a html a tut 1b html tut 1c html tut 1a html HTML BODY lt IMG SRC images tut la jpg BODY lt HTML gt Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 15 KIND PRODUCT KIND PRODUCT CATEGORY OVERVIEW Products are the commodities that TRS compatible rolling stock and industry assets process TRS released prod ucts fall under one of four product categories Liquid Load Bulk load Container or Passenger This document
198. It is integrated with the Download Station listing the assets available on the Download Station enabling updating of the list when connected to the Download Station via the Internet and making the upload or download an efficient and simple process Content Manager Plus relies on a database of content in your installation on your computer This database makes the loading of data into Trainz on start up very efficient and minimises load time For Content Creation The Content Creator Plus module is integrated with the Content Manager Plus module It is essential for creating content in TRS2006 This document will touch on the use of Content Manager Plus but will cover in detail how to use Content Creator Plus to create config txt files and manage the asset files The Basics of Content Creation Creating new content for Trainz is generally a seven step process 1 Research The research step involves finding out all the relevant information that you can about the item you wish to create Research usually covers the accumulation of data about the content in question The information needed may cover technical drawings of front side and top performance specifications for loco engines and photo s for texture reference You will generally find that much of this information can be obtained by searching on the Internet You should also be aware of and comply with any copyright issues on information obtained including pictures
199. KUID 1 1 gt atsf chair lt KUID 1 100160 gt atsf pullman pine KUID 1 100163 atsf baggage KUID 1 100159 cflow fert lt KUID 1 100012 gt prr fm tuscan lt KUID 1 100017 gt 40ft boxcar lt KUID 1 100085 gt pdhc babyruth lt KUID 1 100066 gt 4bhopper il lt KUID 1 100929 gt 50ft boxcar lt KUID 1 100086 gt gatx pennsalt lt KUID 1 100092 gt 60ft boxcar lt KUID 1 100087 gt sd40 2 santafe lt KUID 1 100871 gt 4bhopper il coal full lt KUID 1 101224 gt I foundry car KUID 1 101220 description Take contol of the morning passenger service to Highland Valley stopping at all stations and return to Greenwood Bad weather is forecast so drive with care Service Highland Valley Passenger Train No 7528 Consist F7A 5 cars Weight in Tow 300t Total Length 490 textures j redcorona Breakdown username Name of scenario displayed in TRS scriptlibrary The name of the gsl compiled script library on disk without the gsl extension scriptclass The name of the scenario class within the script file driver settings Specify the settings of this scenario similar to Driver s settings screen Allows you to set the weather control method 0 dcc 1 cabin controlled etc O of 1 on autopilotmode startingtime 0 1 0 5 midday timerate 1 real time 0 none 1 arcade 2 realistic deraillevel O off 1 on showhe
200. KUID 1 15 gt useadjoiningtracktype 0 vertices 0 a track0a 1 a track0b trackl track lt KUID 1 15 gt useadjoiningtracktype 0 vertices 0 a trackla 1 a tracklb Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 75 KIND TRACK RAILS This is used for creating rails Config txt kuid lt KUID2 HH 1 gt kind track trainz build 2 5 rgb 255 200 0 length 4 istrack 1 width 4 chunky mesh mstand tex chunky info 0 2 1 2 0 2 0 85 0 3 0 7 username description trainz build 2 5 category class TR category region UK category era 1990s Breakdown region Surveyor region type Surveyor type rgb This value should be left as default length Length of track piece istrack Sets whether the track is a rail for trains or not 1 This is a rail track width Wiath of track in meters chunky mesh Name of texture to apply to rail chunky info These values in metres define the shape of the mesh created for the track See drawing below A 0 0 0 Origin chunky ino A B C D E FE G chunky info 0 2 1 2 0 2 0 85 0 3 0 7 chunky info texture file The texture file with the track texture on the left and a rail texture on the right is 128 x 128 uncompressed tga and may have an alpha layer The texture is mapped to the mesh shape above using the values in the drawing below as fractions of
201. LK LOAD lt KUID 3 10040 gt see allowed categories field in config txt When the Coal hopper enters an industry asset that produces a bulk load other than it s default ie woodchips at a lumbermill and it loads this product texture replace ment will take place Coal Hopper Directory Structure trains coal_hopper coal_hopper_art coal_hopper_body load load kin load pm 3 load map texture txt load map tga unload left unload right coal hopper body im coal hopper body lm txt coal hopper body low im erz3d texture txt erz3d tga b b amp b amp Extract from Coal Hopper Config txt mesh table default mesh coal hopper body coal hopper body 1m auto create 1 shadow mesh coal hopper shadow coal hopper _ shadow pm load mesh coal hopper body load load pm anim coal hopper body load load kin auto create 1 use parent bounds 1 effects product texture kind texture replacement gt texture load map texture queues load0 size 54300 initial count 0 animated mesh load product kuid lt KUID 44179 60013 gt allowed categories 0 lt KUID 3 10040 gt Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 372 ROLLINGSTOCK EXAMPLE 2 WOODCHIP GONDOLA Load allows texture replacement Note the texture to be replaced load map see load effects
202. Leaving unreferenced files in a model can give errors In clearing the directory make sure you do not delete the config txt file or any readme file you have created If you develop a large number of models you may find that keeping the 3dsmax gmax file in a suitably named directory along with the texture files for that model makes it easy to find the exact files used for the model later Commonly a sub directory under 3dsmax gmax such as Scenes might be used for the purpose Use simple names for directories and files to minimise typing errors in the config txt file 3ds is a widely used graphical file standard and 3dsmax can export this type of file which can then be imported and used in gmax You may find that some things like attachment points may not be exported It also truncates the material file names to 8 characters When imported into gmax you need to rename the materials to include the original longer file name characters for the materials to be loaded correctly Gmax does not export 3ds format so it is difficult to transfer a gmax file into 3dsmax Animation Requirements Adding animation to models requires very specific steps and standards in 3dsmax gmax The following are a few key points in having animation export and work correctly 1 Animation is set up using helper dummy points using the b r naming notation It is usual to have a main point b r main or b r base or similar as the main reference point oft
203. NARIOS Map Scenario Profile Session Rule Driver Command HTML Asset TRAIN PARTS Bogie Truck Enginespec Hornsound Interior Pantographs Enginesound PaintShed Template Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 399 REGION CODES Region codes are a single or multiple code that is included in the config txt file The codes are used in Trainz as a sort and selection criteria For content that exists in multiple areas select approriate codes in CCP For example a locomotive that was available in the United States and Canada would be specified as follows category region US CA The region codes that are recognized by Trainz are as follows AD Andorra AE United Arab Emirates AF Afghanistan AG Antigua and Barbuda Al Anguilla AL Albania AM Armenia AN Netherland Antilles AO Angola AQ Antarctica AR Argentina AS American Samoa AT Austria AU Australia AW Aruba AZ Azerbaidjan BA Bosnia Herzegovina BB Barbados BD Bangladesh BE Belgium BF Burkina Faso BG Bulgaria BH Bahrain BI Burundi BJ Benin BM Bermuda BN Brunei Darussalam BO Bolivia BR Brazil BS Bahamas BT Buthan BV Bouvet Island BW Botswana BY Belarus BZ Belize CA Canada CC ocos Keeling Isl CF Central African Rep CG Congo CH Switzerland CI Ivory Coast CK Cook Islands CL Chile CM Cameroon CN China CO Colombia CR Costa Rica Czechoslovakia Cuba Christmas Is
204. NGINESOUND 135 KIND ENVIRONMENT 136 KIND FIXEDTRACK 137 KIND GROUNDTEXTURE 140 KIND HORNSOUND 141 KIND HTML ASSET 142 KIND INDUSTRY 143 KIND INTERIOR 147 KIND LIBRARY 152 KIND MESH 153 KIND MESH REDUCING TRACK 154 KIND MOCROSSING 156 KIND MOJUNCTION 157 KIND MOSIGNAL 159 KIND MOSPEEDBOARD 161 KIND PAINTSHED SKIN 162 KIND PAINTSHED TEMPLATE 164 KIND PANTOGRAPH 165 KIND PRODUCT 166 KIND PRODUCT CATEGORY 168 KIND PROFILE 169 KIND REGION 170 KIND SCENERY 171 KIND SCENERY TRACKSIDE 172 KIND STEAM ENGINE 174 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 vii KIND TEXTURE 179 KIND TEXTURE GROUP 180 KIND TRACK 181 KIND TRACKSOUND 183 KIND TRAINCAR 185 KIND TUNNEL 188 KIND TURNTABLE 190 KIND WATER2 192 CHAPTER 7 Kind Examples Activity 196 Behavior 197 Bogey 198 Bogey Animated Bogey 200 Bogey Steam Bogey 201 Bridge 202 Buildable 203 Chunky Track 204 Double Track 205 DriverCharacter 206 Driver Command 207 Engine Diesel 212 Engine Electric 216 Enginesound Diesel Electric 220 Enginesound Steam 221 Environment 222 Fixed Track Simple 223 Fixed Track Junction 225 Groundtexture Normal 227 Groundtexture Clutter Mesh 228 Hornsound 1 Part 229 Hornsound 2 Part 230 Hornsound 3 Part 231 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 viii HTML Asset 232 Industry Multiple Industry 233 Industry Coal Mine 251 In
205. ODUCT 16 KIND PRODUCT CATEGORY 16 OVERVIEW 16 IN GAME VISUALISATION OF PRODUCTS 16 AVIATION FUEL PRODUCT 17 COAL PRODUCT 17 GENERAL GOODS PRODUCT 18 GENERAL GOODS MESH DIMENSIONS 18 CRUDE OIL PRODUCT 19 DIESEL FUEL PRODUCT 19 20 FT CONTAINER PRODUCT 20 20 FT CONTAINER MESH DIMENSIONS 20 40 FT CONTAINER PRODUCT 21 40 FT CONTAINER MESH DIMENSIONS 21 LUMBER PRODUCT 22 LOG MESH DIMENSIONS 22 PETROL FUEL PRODUCT 22 LUMBER MESH DIMENSIONS 22 WATER PRODUCT 23 WOODCHIPS PRODUCT 23 PASSENGER PRODUCT 24 KIND ENGINE 25 DIESEL ENGINE FILE BREAKDOWN 29 STEAM ENGINE FILE BREAKDOWN 31 COMMENTS AND NEW TAGS 31 KIND BOGEY 33 BREAKDOWN OF CONFIG TXT 33 KIND TRAINCAR 34 TRAINCAR CONFIG TXT BREAKDOWN 35 TRAINCAR EXAMPLES 36 KIND ENGINESOUND 37 ENGINESOUND DIESEL AND ELECTRIC 37 ENGINESOUND STEAM 38 KIND HORNSOUND 39 KIND DRIVERCHARACTER 39 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 iv KIND INTERIOR 40 INTERIOR CONFIG TXT BREAKDOWN 47 STEAM CAB INTERIORS 49 KIND PANTOGRAPH 60 KIND ENVIRONMENT 60 KIND WATER2 61 CALM WATER 61 CHOPPY WATER 62 GLASSY WATER 63 ROUGH WATER 63 KIND MAP 64 KIND PROFILE 64 KIND GROUNDTEXTURE 64 GROUNDTEXTURE CLUTTER MESH 64 KIND SCENERY 65 KIND INDUSTRY 67 PORTAL 68 MULTI INDUSTRY NEW 70 PASSENGER STATION ASSET 72 PASSENGER VEHICLE ASSET 74 KIND FIXEDTRACK 75 KIND TRACK RAILS 76 KIND TRACK ROAD 7T KIND BRIDGE SINGLE TRACK 78
206. Queue gengoodsAsset gt 0 1 if goods WBModified 1 spaceAvailable gengoodsQueue GetQueueSpace report CreateUnloadingReport gengoodsQueue spaceAvailable direction vehicle GetRelationToTrack me out _ track0 if direction Vehicle DIRECTION FORWARD report sideFlags LoadingReport LEFT SIDE else if direction Vehicle DIRECTION _ BACKWARD report sideFlags LoadingReport RIGHT_SIDE vehicle UnloadProduct report Ensure we are tracking this if we are waiting for a way bill to complete in its entirety if goodsWBRemain gt 0 goodsWBRemain goodsWBRemain report Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 242 Unload the logs if GetProcessInput multi consumer producer logsQueue logsAsset gt 0 1 if logWBModified 1 spaceAvailable logsQueue GetQueueSpace report CreateUnloadingReport logsQueue spaceAvailable direction vehicle GetRelationToTrack me out _ track0 if direction Vehicle DIRECTION FORWARD report sideFlags LoadingReport LEFT SIDE else if direction Vehicle DIRECTION _ BACKWARD report sideFlags LoadingReport RIGHT_SIDE vehicle UnloadProduct report Ensure we are tracking this if we are waiting for a way bill to complete in its entirety if logWBRemain gt 0 logWBRemain logWBRemain report amount Unload the lumber if GetProcessInpu
207. SE 355 EXAMPLE 355 APPLYING OPACITY TO MODELS 355 OPACITY SETTINGS IN 3DSMAX GMAX 356 OPACITY INTERFERENCE 356 SPECIAL USE OF OPACITY REFLECTION MATERIALS 356 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 x OPACITY ON ROADS TRACK AND BRIDGES 357 OPACITY TEXTURE BLEEDING 357 TEXTURE CLARITY 357 TEXTURES FOR TILING 357 CREATING AN INTERIOR FOR TRS 358 STEAM CAB INTERIORS 362 ANIMATED LEVERS 363 STEAM CAB FIRE AND COAL GLOW EFFECTS 364 RESEARCHING DATA AND TESTING OFASTEAM LOCOMOTIVE 365 NARROW GAUGE GEARED LOCOMOTIVES 365 TENDERS 366 ANIMATION EVENTS 369 LEVEL OF DETAIL MESH REDUCTION 370 LOAD TEXTURE REPLACEMENT 372 TRAINCAR DIRECTORY STRUCTURE 375 ALIASING TRAINS 376 BOGEYS 377 PANTOGRAPHS 380 TURNTABLE TRANSFER TABLE 381 FIXEDTRACK 383 FIXEDTRACK Junctions 383 CHUNKY MESH TRACK 384 TRAINZOPTIONS FILE 386 VIEWPOINTS IN SURVEYOR 386 CHAPTER 9 Uploading to the Download Station The Trainz Download Station 389 Steps to Upload 389 Verify Content is Error Free 389 Download Station Checks 390 Packaging Files CDP s 390 CHAPTER 10 Particle Effects and Soundscripts Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 xi INTRODUCTION 291 ADDING SMOKE TAGS 392 MAIN PROPERTIES 392 PFX FROM CONFIG TXT 392 SEQUENCE PROPERTIES 393 EXAMPLE 1 SMOKE FROM A FACTORY S CHIMNEY 393 EXAMPLE 2 STEAM TRAIN 394 TWINKLES PFX 394 SOUND SCRIPTS 395 HORN SOUNDS 396 CHAPTER 1
208. SetValue 0 0 else if p_control switch3 bool isOn p value gt 0 5 float value 0 0 if isOn value 1 0 light3 SetValue value cd switchOn3 value Continues next page Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 45 else if p control switch4 bool isOn p value gt 0 5 float value 0 0 if isOn value 1 0 light4 SetValue value cd switchOn4 value else if p control switch5 bool isOn p value 0 5 float value 0 0 if isOn value 1 0 light5 SetValue value cd switchOn5 value else if p control switch6 bool isOn p value gt 0 5 float value 0 0 if isOn value 1 0 light6 SetValue value cd switchOn6 value else if p control switch7 bool isOn p value 0 5 float value 0 0 if isOn value 1 0 light7 SetValue value cd switchOn7 value else if p control switch8 bool isOn p value gt 0 5 float value 0 0 if isOn value 1 0 light8 SetValue value cd switchOn8 value else inherited p control p value thread void SlowFanDown void DD40CabinData cd cast lt DD40CabinData gt loco GetCabinData if isFanSlowingDown return isFanSlowingDown true isFanSpeedingUp false Slow it down while fanSpeed gt 0 1 fanSpeed fanSpeed 0 1 SetMeshAnimationSpeed fan fanSpeed Sleep 0 5 if i
209. Sometimes the next file save becomes corrupted and the file size will jump to 2 or 3mb While it does not seem to have any effect on the file contents you will notice this effect by the greatly increased save and load time of the file Do not merge any object from the corrupted file into a new file it can corrupt the new file as well and inflate the size If you were also using the Increment on Save option you can then end up with many large files using up valuable disk space This had been recognised by Discreet and information is available on the Discreet site http usa autodesk com adsk servlet ps item sitelD 123 112 amp id 5582099 amp linkID 5573345 Merging and Exporting If you have a completed model or part that you wish to use in the currently open model use the File Merge function to select and load the part s You will have a list to choose from for the parts you wish to merge The parts will be loaded in the same relative location to the origin as when they were originally saved Be aware if they were hidden in 3dsmax gmax in the original they will be hidden when merged Exporting the model to Trainz requires the use of the Asset Creation Studio for gmax or the export plugin for 3dsmax Use the Asset Creation Studio to load gmax do not use the gmax icon or menu to load gmax or the Trainz export option will not be enabled Make sure all surfaces have been mapped with your materials or error messages may indic
210. String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions CameraList SoundScript Container Mesh Table TAGS kuid trainz build category class category region category era username kind cameradefault alias author category keyword class contact email contact website description description cn description cz description de description es description fr description it description pl description nl description ru iconO icon1 icon2 icon3 license organisation preview mesh kuid preview scale script username cn username cz username de username es username fr username it username nl username pl username ru Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 151 KIND LIBRARY Description Coded modules that interact with other coded modules Container Structure A well formed library kind has the following container structure 3 library E thumbnails 0 See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS library kuid kuid trainz build data category class data category region data category era data username data kind data class data script file thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz
211. Submenu strTable GetString driver_ command drive to gt industriesMenu j Il Called by either DriveTo or DriveToTrack to play one of 4 random driver acknowledgments Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 208 void PlayConfirmation void 1 KUID kuid GetAsset LookupK UIDTable command sounds Library libCommandSounds World GetLibrary kuid if libCommandSounds libCommandSounds LibraryCall PlayConfirmation null null j j DriverScheduleCommand CreateScheduleCommand Driver Character driver Soup soup 1 DriveToScheduleCommand cmd new DriveToScheduleCommand cmd Init driver me cmd SetParent me cmd SetProperties soup return cast lt DriverScheduleCommand gt cmd j 7 Handler method to drive a train to an industry no specific destination track though void DriveTo Message msg DriverCommands commands GetDriverCommands msg DriverCharacter driver cast lt DriverCharacter gt msg src string industry Name msg minor schedule our command Soup soup Constructors NewSoup soup SetNamedTag industryName industryName DriveToScheduleCommand cmd cast lt DriveToScheduleC ommand gt CreateScheduleCommand driver soup commands AddDriverScheduleCommand cmd if driver PlayConfirmation l Handler method to drive a train to a specific track in an ind
212. T Lumber Product Config txt kind product kuid lt KUID 3 10003 gt username Lumber product category lt KUID 3 10042 gt instance type resourc icon texture icon texture texture mass 8000 mesh table default mesh lumberstack im allows mixing 1 Lumber directory structure scenarios sud id Lumber taa x luriberskack im plank texture txt plank tga icon_texture texture txt Primary Lumber tga Alpha Lumber tga Tile none Lumber tga 64x64 32 bit Log Mesh Dimensions 6 0 metres 1 2 metres Length Diameter PETROL FUEL PRODUCT Petrol Fuel Product Config txt kind product kuid lt KUID 3 10012 gt username Petrol Fuel product category lt KUID 3 10044 gt instance type resourc icon texture icon texture texture mass 0 7 mesh table Lumber Mesh Dimensions Length 6 10 metres Width 2 13 metres Height 1 62 metres Petrol directory structure scenarios icon texture texture txt Primary Petrol tga Alpha Petrol tga Tile none Petrol tga 64x64 32 bit Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 22 WATER PRODUCT Water Product Config txt kind product kuid lt KUID 3 10004 gt username Water product category lt KUID 3 10044 gt instance type resourc icon texture icon texture texture mass 1 0 mesh table W
213. T DIVERGE 3 CAUTION AND RIGHT DIVERGE 4 CAUTION 5 PROCEED AND LEFT DIVERGE 6 PROCEED AND RIGHT DIVERGE 7 ADVANCED CAUTION 8 PROCEED The following two aspects are only used for scenarios 9 SLOW 10 MEDIUM SPEED light Sets lighting to be used for object to be ambient or directional O sets ambient lighting and object is lit by general light value uniformly lit 1 sets directional light which is affected by the position of the sun and the asset shows shaded faces but not ground shadows Lights Container Each light point needs to have a corona associated with it Coronas are stored in each signal object s directory alongside it s textures Corona A corona is a glow light effect Additional Tags function Must be set to TrackSignal THIS KIND HAS THE FOLLOWING CONTAINERS Mesh Table Queues Container Smoke Container SoundScript Container String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions Signals Lights TAGS kuid trainz build category class category region category era username kind function alias author autoname buffer speed category keyword class contact email contact website description description cn description cz description de description es descrip
214. TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 285 Map Directory Structure A typical asset of this kind has the following File Directory Structure E config txt e mapfile bmk E mapfile gnd E mapfile obs mapfile trk thumb jpg Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg mapfile bmk The bookmark file storing all the bookmarks you ve saved in surveyor mapfile gnd The ground file storing information about the topology of your map mapfile obs The objects file storing information about the objects placed in your map mapfile trk The track layout file This file can be opened in a 3rd party viewer such as Trainzmap File Listings config txt region lt kuid 1 7801 gt kuid lt kuid 56113 1244 gt kind map username testMap workingscale 0 workingunits 0 water lt kuid 1 6342 gt trainz build 2 5 category class YM carrate 0 category region 00 category era 2000s description Atest map Generated in Trainz and edited in CCP world origin latitude longitude altitude string table atsf f7a 1 ATSF F7A 1 kuid table lt kuid 1 6270 gt lt kuid 1 101452 gt lt kuid 1 110014 gt lt kuid 3 10049 gt lt kuid 44179 60021 gt thumbnails 0 image thumb jpg width 240 height 1
215. TS Steam Loco bogey polygon recommendations 5000 polygons per driving wheels including all rods and animated parts Diesel Loco bogey polygon recommendations 2000 polygons per truck Bogey shadow polygon recommendations 100 polygons per truck Carriage bogey polygon recommendations 300 polygons per truck Carriage bogey shadow polygon recommendations 100 polygons per truck As a general rule of thumb less is always better amp The absolute centre of bogeys should be located at World origin point 0 0 0 This is where they are inserted into the a bogO etc attachment points in the loco body mesh BOGEY TEXTURES The materials are of Multi Sub Object type one M SO only per model and we have used UVW Map and Unwrap UVW for texture allocation Diffuse Maps Generally a single 128x128 16 bit TGA file is sufficient to texture a bogey Additional maps e g for springs are also used Opacity Maps 8 bit greyscale bmp are supported to the same pixel dimensions as the diffuse map Used regularly for carriage bogey sides Reflection maps are supported but generally not used on bogey models Bump mapping and specular values are possible to give greater detail and variation 3dsmax 4 users only See TRAINCAR Bump mapping notes Page 350 b r base 0 0 0 b r helper points must be made in top view in 3dsmax gmax Hierarchal Sub tree b r base b r wheelO wheel 0 b r wheel1 wheel 1 bogey
216. U category era 2000s Breakdown type Surveyor type e g bridge tunnel or rail region Surveyor region length Length in meters of each bridge segment bridgetrack Kuid for the type of rail used on bridge trackoffsets KIND MOSPEEDBOARD This is a speed limit sign Config txt kuid lt KUID2 HH 1 gt kind mospeedboard trackside 2 5 speedlimit 5 56 username description trainz build 2 5 category class WS category region AU category era 2000s Breakdown trackside This is a value that is the distance in meters the object is placed relative to the center of the track Negative values Will put the object on the left side of the track and positive values will appear on the right Speedlimit This value is the maximum speed allowed in meters per seconds To convert miles per hour to meters per second multiply by a conversion factor of 0 447 e g 10mph is 4 47 m s To convert kilometers per hour to meters per second multiply by a conversion factor of 0 278 e g 10kph is 2 78mvs Distance in meters the rail s are attached to the center of the bridge spline Any number of tracks can be attached to the spline only splines with the same track offsets can be connected together height 0 is used for double tracks istrack 0 7 This is a road bridge 1 This is a rail bridge Refer to Page 78 for information on constructing initiator and t
217. UID2 1 gt kind water2 version 1 00 version 1 00 username Glassy water DetailAnim WaterManager WaterManagerGeneric description trainz build 2 5 animSampleRate 1 WaterMaterial category class EW animPeriod 1 category region 00 animSpeed 1 0 materialColor 0 20 0 45 0 45 0 8 category era 2010s animSize 128 128 materialRI 0 3 animWorldSize 450 0 opacityTex WaterOpacity texture animMaxHeight 0 0 opacityAmount 0 5 animScaleNormXY 4 0 FFT WaterGeometry animFFTWindVec 0 0 0 0 animPhillipsA 1 0e 3 UVScrollVelocity 0 0 0 05 animFFTSeed 0 TileUVScale 1 0 1 0 GridSpacing 10 0 TileGridSize 2 2 WaveFreq 0 0 MaxAmp 0 0 Rough Water Notation comments on the script removed for clarity config txt Rough Water water anim txt Rough Water water config txt Rough Water kuid lt KUID2 1 gt version 1 00 version 1 00 kind water2 username Rough water DetailAnim WaterManager WaterManagerGeneric description trainz build 2 5 animSampleRate 10 WaterMaterial category class EW animPeriod 5 category region 00 animSpeed 5 0 materialColor 0 20 0 45 0 45 0 8 category era 2010s animSize 128 128 animWorldSize 450 0 animMaxHeight 2 0 animScaleNormXY 4 0 FFT animPhillipsA 1 0e 3 animFFTSeed 0 animFFTWindVec 12 0 4
218. Value loco GetEngineSetting throttle 8 0 if reverser lever reverser lever SetValue loco GetEngineSetting reverser if train brake lever train brake lever SetValue loco GetEngineSetting train auto brake if train lapbrake lever train lapbrake lever SetValue loco GetEngineSetting train lap brake if loco brake lever loco brake lever SetValue loco GetEngineSetting loco auto brake if dynamic brake lever dynamic brake lever SetValue loco GetEngineSetting dynamic brake if wheelslip light wheelslip light SetValue loco GetEngineParam wheelslip if horn rope horn rope SetValue loco GetEngineParam horn if pantograph lever pantograph lever SetValue loco GetEngineSetting pantograph if light_switch light _switch SetValue loco GetEngineSetting headlight if waterGlassLeft dial waterGlassLeft dial SetValue loco GetEngineParam steam boiler liquid percent if waterGlassRight dial waterGlassRight dial SetValue loco GetEngineParam steam boiler liquid percent update cabin data PB15CabinData cd cast PBl5CabinData loco GetCabinData if left window cd left window val left window GetValue if right window cd right window val right window GetValue if left sliding window cd left sliding window val left sliding window GetValue if right sliding window cd right sl
219. W_ATWG ReBalance rsd update 0 void InitStart Message msg thisTrain me GetMyTrain public void Init void inherited if GetAsset LookupKUIDTable water waterAsset GetAsset FindAsset water rsd float GetAsset GetConfigSoup GetNamedTagAslnt update delay 300 AddHandler me Vehicle Coupled UpdateTrain AddHandler me Vehicle BadCouple UpdateTrain AddHandler me Vehicle Decoupled UpdateTrain AddHandler me SLW ATWG ReBalance UpdateTrain AddHandler me World Modulelnit InitStart Config txt entries script slw_auxtender class SLW ATWG this value is in seconds update delay 180 kuid table water lt kuid 3 10004 gt Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 368 ANIMATION EVENTS Sounds events and generic events can be linked to an animation key frame to give great control over sound and script timing for industry and scenery assets When an animation file kin file is exported from 3dsmax or gmax the exporter will make a query for an event file Tick the box and you will be asked to browse to the event file See Figure 1 The event information is added to the contents of the new animation file The Event File evt Format FrameNum EventType EventName The event file consists of a list of events and is set up as a si
220. While the tabbing makes the file hard to read sometimes it can improve the readability for the bracket symbols making it easier to match pairs when opening the config txt file in Explorer Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 345 Problems with Model Exports Some suggestions for common problems in having a model export to Trainz 1 The object shows in Trainz but has white surfaces no texture the texture file is not a recommended size it has been saved as a compressed file the reference name is spelt incorrectly or the texture files have not been exported to the Trainz Custom directory use the Resource Collector 2 Some faces of the model are invisible in Trainz The faces or surfaces have a single sided texture and the normals are facing away from the viewer 3 Some surfaces of planar objects show darker colours in shadow when lit by the sun in Trainz The sun side of the object shows dark and the unlit opposite side of the object shows a lighter colour if the normals are facing away from the viewer for a 2 sided textured object This can happen when a plane object is copied to the opposite side of a model plates on a steel bridge for instance and the normals have not been flipped to face outwards towards the viewer on that side of the object After selecting the face and clicking the Show Normals box use the Normals Flip option to change the normal
221. XSN category region 00 category era 1930s 1940s 1950s 1960s 197 0s 1980s 1990s 2000s 2010s username testTracksound kind tracksound min distance 10 max distance 10000 description Sample Tracksound asset levels 0 1 thumbnails 0 image thumb jpg width 240 height 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 316 Traincar Coal Hopper Directory Structure A typical asset of this kind has the following File Directory Structure Aj coal dump1 wav a coal load1 wav config txt a coupling 1 wav a hopper gs thumb jpg coal_hopper _art coal_hopper_art_512 texture txt coal hopper art 512 tga coal hopper art icon texture Ext coal_hopper_art_icon tga oal hopper shadow BoBme e a 7 black texture txt uj black tga E coal hopper shadow pm coal_hopper_body Ha coal hopper body im coal hopper body Im txt B5 coal hopper body low irn E erz3d texture txt ul erz3d tga load load kin load pm B load_map texture txt EJload_map tga unload _left E erz3d texture Ext rea erz3d tga s unload left im E unload left kin unload right erz3d texture txt rea erz3d tga s unload right irn E unload right kin Required Files config txt The config file fo
222. a Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg default im The indexed mesh file used for the Chunky Track asset railsection_nogravel_sleepers tga rail_oz texture txt rail_oz tga The texture files of the preview window asset railsection_nogravel_sleepers_alpha bmp railsection_nogravel_sleepers railsection_alpha texture txt The alpha texture files of the preview window asset mstand_tex_text texture txt mstand_tex tga The texture files of the in game Chunky Track asset See the section on Texture txt files on Page 96 for more information File Listings config txt bendy carrate casts shadows endlength grounded isroad istrack length repeats rgb shadows upright visible on minimap width kuid trainz build category class category region category era username kind chunky mesh chunky info description thumbnails 0 image width height 255 200 0 0 0 1 4 lt kuid 56113 1004 gt 2 5 TE AU 2000s testChunky Track track mstand tex test 0 2 1 2 0 2 0 85 0 3 0 7 Test Chunky Track thumb jpg 240 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 204 Double Tra
223. a switch3 limits 0 1 angles 0 2 notches 0 1 notchheight 0 0 mousespeed 1 radius 0 05 att parent default switchlight3 kind light mesh switchlight pm att a switch3 auto create 0 att parent default Switch 5 kind lever auto create 1 mesh switch pm att a switch4 limits 0 1 angles 0 2 notches 0 1 notchheight 0 0 mousespeed 1 radius 0 05 att parent default switchlight4 kind light mesh switchlight pm att a switch4 auto create 0 att parent default Switch 6 kind lever auto create 1 mesh switch pm att a switch5 limits 0 1 angles 0 2 notches 0 1 notchheight 0 0 mousespeed 1 radius 0 05 att parent default switchlight5 kind light mesh switchlight pm att a switch5 auto create 0 att parent default Switch 7 kind lever auto create 1 mesh switch pm att a switch6 limits 0 1 angles 0 2 notches 0 1 notchheight 0 0 mousespeed 1 radius 0 05 att parent default switchlight6 kind light mesh switchlight pm att a switch6 auto create 0 att parent default Switch 8 kind lever auto create 1 mesh switch pm att a switch7 limits 0 1 angles 0 2 notches 0 1 notchheight 0 0 mousespeed 1 radius 0 05 att parent default switchlight7 kind light mesh switchlight pm att a switch7 auto create 0 att parent default reverser lever kind lever auto create 1 mesh reve
224. a the safety valve low flow release is initiated safety valve low flow Lower pressure valve release Nominal hole size Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 176 safety valve high pressure When boiler pressure hits this value in kPa the safety valve low flow release is initiated safety valve high flow Higher pressure valve release Nominal hole size shovel coal mass Amount of coal in one shovel load in kg water injector rate Water injection rate into boiler in Litres second westinghouse volume Westinghouse volume in Litres initial boiler temperature Boiler temperature on loading Trainz max coal mass Maximum volume of coal maximum volume The maximum volume of the piston in litres minimum volume The minimum volume of the piston in litres Mass Container The mass container stores information related to fuel consumption These tags aren t in use and shouldn t generally be used The mass container has the following tags scale Multiplies fuel mass by given value not currently in use generally leave this setting fuel Fuel level not currently in use generally leave this setting Motor Container The Motor Container stores an assortment of values related to motor function particularly that of DCC resistance Power figure for DCC higher resistance value less power adhesion Adhesion parameter higher value greater adhesion maxvoltage G
225. able im trans platform night im The indexed meshes used for the asset anim kin The animation file used for the asset File Listings config txt kuid lt kuid2 171456 60019 1 gt light 1 kind turntable username Test Transfer Table category class TR height range 10 30 snapmode 1 dighole 6 6 keyframes 0 80 160 240 320 400 480 560 640 720 looping 0 frame rate 30 nightmode Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 333 description A test model for a locomotive transfer table with 10 tracks track spacing 5 metres The table has catenary wire placed on the moving bridge This is a basic model with night lighting The table may be rotated in 90 degree increments only in order to cover the blue hole created in the scenery for the pit The model is for use in TRS only category era trainz build category region attached track in trackO useadjoiningtracktype track vertices 0 1 out_trackO useadjoiningtracktype track vertices 0 1 out_track1 useadjoiningtracktype track vertices 0 1 out_track2 useadjoiningtracktype track vertices 0 1 out_track3 1990s 2000s 2 5 AU 0 lt kuid 3 10122 gt a itrack0a a itrackOb 0 lt kuid 3 10122 gt a otrack0a a otrackOb 0 lt kuid 3 10122 gt a otrack1a a otrack1b 0 lt kuid 3 10122 gt a otrack2a a otr
226. ack mocrossing mojunction mosignal mospeedboard scenery trackside scenery track traincar tunnel turntable rollstep Used in conjunction with rotate yz range rollstep lets you specify the step size of roll angles in degrees for this object Other example values are 1 5 20 etc The default rollstep is 1 0 Kinds that use this tag buildable fixedtrack industry mocrossing mojunction mosignal mospeedboard scenery trackside scenery traincar turntable rotate This lets you disable rotation on a scenery object 0 to disable 1 to enable default Kinds that use this tag buildable fixedtrack industry mocrossing mojunction mosignal mospeedboard scenery trackside scenery traincar turntable rotate yz range This tag lets you set the roll yz rotation range normal object rotation is an xy rotation where min and max are values in degrees If you want your scenery object to support rolling then use this tag to set the minimum and maximum roll range By default objects have a min max roll range of 0 to 0 Kinds that use this tag buildable fixedtrack industry mocrossing mojunction mosignal mospeedboard scenery trackside scenery traincar turntable rotstep This lets you specify the step size of rotation angles in degrees for this object Other example values are 1 10 20 90 180 etc The default rotstep is 1 0 Kinds that use this tag buildable fixedtrack industry mocrossing
227. ack Track and rails for Trains the common flexi track by defining the cross section shape and properties of the track It uses a texture file but does not require a 3dsmax or gmax mesh model Double Track Track splines that may place two or more tracks as one model by specifying the track spacings to be used DriverCharacter The locomotive driver character This specifies the picture icon that appears in Driver for the engine driver DriverCommand A command for the train driver to accomplish a specific task Engine An engine specification for locomotives and rollingstock which defines the detailed performance requirements including throttle requirements engine and braking performance EngineSound An engine sound specification detailing the locomotive engine sound files referenced by the enginesound tag in a traincar kind Environment Additional sky textures specifying the normal night and stormy sky images to be used in Trainz FixedTrack A fixedtrack asset can be likened to a model trains sectional track system The models may be straight or curved and snap into position when moved onto another track in Surveyor GroundTexture A ground texture is tiled in Surveyor to color and cover the base grid It can optionally reference a low polygon mesh and insert the mesh automatically as the ground is painted HornSound A traincar horn sound referenced by the hornsound tag in a traincar config txt file It reference
228. ack2b useadjoiningtracktype track vertices 0 1 out_track4 useadjoiningtracktype track vertices 0 1 out_track5 useadjoiningtracktype track vertices 0 1 out_track6 useadjoiningtracktype track vertices 0 1 out track7 useadjoiningtracktype track vertices 0 1 out track8 useadjoiningtracktype track vertices 0 0 lt kuid 3 10122 gt a otrack3a a otrack3b 0 lt kuid 3 10122 gt a otrack4a a otrack4b 0 lt kuid 3 10122 gt a otrack5a a otrack5b 0 lt kuid 3 10122 gt a otrack6a a otrack6b 0 lt kuid 3 10122 gt a otrack7a a otrack7b 0 lt kuid 3 10122 gt a otrack8a Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 334 1 out track9 useadjoiningtracktype track vertices 0 1 out track10 useadjoiningtracktype track vertices 0 1 out track11 useadjoiningtracktype track vertices 0 1 out track12 useadjoiningtracktype track vertices 0 1 out track13 useadjoiningtracktype track vertices 0 1 out track14 useadjoiningtracktype a otrack8b 0 lt kuid 3 10122 gt a otrack9a a otrack9b 0 lt kuid 3 10122 gt a otrack10a a otrack10b 0 lt kuid 3 10122 gt a otrack11a a otrack11b 0 lt kuid 3 10122 gt a otrack1 2a a otrack1 2b 0 lt kuid 3 10122 gt a otrack1 3a
229. ackSound Double Track 7 Mesh TrainCar Coal Hopper DriverCharacter Mesh Reducing Track TrainCar Diesel Engine DriverCommand MOCrossing TrainCar Electric Engine Engine Diesel MOJunction TrainCar Rollingstock Engine Electric MOSignal TrainCar Passenger Car e EngineSound MOSpeedBoard TrainCar Steam Engine Engine Diesel Electric Pantograph Tunnel Engine Steam s Paintshed Template TurnTable Animated Environment Paintshed Skin TurnTable Not animated Fixed Track Simple s Product Coal Product Water2 Fixed Track Junction Product General Goods Product GroundTexture Normal Product Diesel Fuel Product Groundtexture Clutter Mesh Product 40Ft Container Product HornSound 1 Part Product Lumber Product HornSound 2 Part Product Passenger Product HornSound 3 Part Product Category Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 195 Note The examples show a pictorial of a typical directory structure for the asset and list the graphic files required the config txt file and any relevant script file Where there are too many graphic files to list convienently the list will be reduced to various tga and texture txt files for example meaning there are a large number of various files used by the asset Activity Directory Structure A typical asset of this kind has the following File Directory Structure
230. additional information and updates Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 1 OVERVIEW New in TRS2006 TRS2006 introduces a number of new functions specifically designed to enhance the performance of Trainz The aim in this build is to make the train driving experience more realistic Some of the new features in TRS2006 are In the Simulator Cab Control Graphical Interface available when in Cab Control Coupler breakage enhancements made to the physics engine that require you to drive a train within the strength of couplers in the train Should you exceed the strength capacity couplers will break Wheel slip is now included you will need to allow for this in starting Trains iTrainz in game chat allows users to talk to other users while playing Added functionality on the Mini map screen query industry and consist information New PaintShed with a more flexible interface that is included as part of the installation Bogey and track sounds supported Re styled Driver and Session menu screens allow for easier navigation of installed routes and sessions New Routes TRS2006 has many new routes provided by Auran staff and Third Party Creators These introduce a new driving experience with many new train and scenery models and a number of driving scenarios For Managing Content The new Content Manager Plus module makes the management of assets very easy
231. adow mesh dd40ax bogey shadow dd40ax bogey shadow im obsolete table username mybogey description trainz build 2 0 category class AC category region 0 AT category era 0 1980s Typical UTC bogey config txt pm files bogeys ss PB 15 bogev ie PB 15 bogey shadow 1 n black tga black black texture txt bons PB 15 bagev2 shadow pm am anim kin B Canfig ExE gt 2 B drivers texture txt j e 3 drivers tga kind bogey kuid lt KUID 44179 50003 gt animdist 3 816 category class AS category region 0 AU category era 0 1920s category era 1 1930s category era 2 1940s category era 3 1950s category era 4 1960s category era 5 1970s category era 6 1980s direct drive 1 be drivingwheel texture txt drivingwheel tga Env metal bmp Env metal texture Ext BN PB 15 bagevz pm Two Axle Bogey A traincar requires two bogeys minimum to track correctly on track To make a traincar with two axles fixed to the body use two invisible bogeys placed in the usual locations a bogO and a bog1 Make the visible fixed axles as a bogey mesh placed at a bog2 centered on the traincar body Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 349 PANTOGRAPHS Generally Pantograph animations should take place over 16 frames only Bones must have the b r naming convention for Trainz to recognise them
232. ain model left_mask bmp The template image used as a basis for the texture on the left side of the train model main_mask bmp The template image used as a basis for the main texture of the traincar preview_mask bmp The template image used as a basis for the 512x512 preview image generated by paintshed rear_mask bmp The template image used as a basis for the texture on the rear of the train model right_mask bmp The template image used as a basis for the texture on the right side of the train model top_mask bmp The template image used as a basis for the texture on the top of the train model File Listings config txt kuid lt kuid 56113 1001 gt trainz build 2 5 category class ZX 00 category region category era 1970s 1980s 1990s 2000s 201 Os username testPaintshed Template kind paintshed template paintshed skin lt kuid 13 132000 gt description Test Paintshed Template Asset thumbnails 0 image thumb jpg width 240 height 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 296 Paintshed Skin Directory Structure A typical asset of this kind has the following File Directory Structure E colormap dat E config txt Emain bmp 2 main texture txt
233. ained below but are covered in the general config txt explanation see Page 10 default night forward The name for a submesh attached to a locomotive to show a beam of light for example in the direction of movement of the locomotive Trainz recognises the name and turns on the correct mesh depending on the running direction Note in the example the use of auto create 0 to make the mesh invisible when placed The mesh will be visible when the light switch is activated bogey The bogey KUID number default for a bogO and a bog1 bogey 1 The bogey KUID number for a bog1 Used only if different to a bog0 Reversing a bogey In TRS2006 reversing the bogey orientation is accomplished by ticking the reverse box in CCP a boolean choice The bogey will have reversed orientation Note This will cause bogey animation to play in reverse unless the attachment point for the bogey is also rotated 180 degrees in 3dmax gmax pantograph The pantograph KUID number inserted at a panto a pant1 etc Use this tag only when needed interior Kuid number of the required interior Inserted at a cabfront or a cabback Use this tag only when needed e g locomotives engine States type of traincar 0 Rolling stock 1 Locomotive mass Mass in kilograms company The Locomotive or car owner origin The Country Abbreviation kind Traincar fonts Indicates how many types of numbering fonts used e g 0 no fonts used 1 one f
234. ainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 114 INTRODUCTION In each section an example config txt layout is shown illustrating which values would be present in a basic asset of that KIND These values are color coded to help represent their purpose RED A default container These containers only appear once in a config and cannot be renamed BLUE A user defined container These containers may appear multiple times as needed and can often be renamed ITALIC Italic text represents a data value Three distinctions are made kuid The value is a kuid number which may be used to reference another asset data The usable data value for the tag is stored within the file may be multiple pieces of data file The value is a filename and the file is located within the asset The following KINDS are outlined in this Chapter Activity HTML Asset Profile Behavior Industry Region Bogey Interior Scenery Bridge Library Scenery Trackside Buildable Mesh Steam Engine Chunky Track DriverCharacter DriverCommand Double Track Engine EngineSound Environment Fixed Track GroundTexture Hornsound Mesh Reducing Track MOCrossing MOJunction MOSignal MOSpeedboard Paintshed Skin Paintshed Template Pantograph Product Product Category Texture Texture Group Track TrackSound TrainCar Tunnel Turntable Water2 Displacements Trainz Railroad Simulator 2006 The Content Creator s Guide Vers
235. ake lever pm F7interior main pm F7interior_reverser_lever pm F7interior_speedo pm F7interior_speedo_needle pm FFinterior_switch pm FFinterior_throttle_lever pm Fzinterior trainbrake lever pm F7interior_westinghouse pm FFinterior_windows pm E Floor texture txt K floor tga E Front_heater texture txt IEjfront heater tga E front lower texture Ext EE front_lower tga E front lower boxfront texture Ext front lower boxfront tga B front lower _littlebox2_front texture txt front lower littlebox2 front tga E front lower littlebox2 side texture txt EE front_lower_littlebox2_side tga E front lower littleboxfront texture Ext front lower littleboxfront tga E front lower littleboxside texture txt front lower littleboxside tga E front_midcyl texture txt front _midcyl tga Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 262 E front wire texture txt Ey front_wire tga arey metal texture txt EE grey_metal taa l horiz blind tga Bzjhoriz blind alpha bmp E horiz blind horiz blind alpha texture txt Ih consolefront texture txt ih _consolefront tga Ih consoleside hi texture txt lE Ih consoleside hi tga E Ih raisededge h texture txt ih _raisededge_h tga E Ih raisededge v texture txt Ih raisededge v tga E Ih raisedfloor texture txt I Ih raisedfloor tga Ih side texture txt IE Ih side tga Ih sidefront texture txt IE Ih sidefron
236. aland OM Oman PA Panama PE Peru PF Polynesia Fr PG Papua New Guinea PH Philippines PK Pakistan PL Poland PM St Pierre amp Miquelon PN Pitcairn PT Portugal PR Puerto Rico US PW Palau PY Paraguay QA Qatar Reunion Fr Romania Russian Federation Ex USSR Rwanda Saudi Arabia Solomon Islands Seychelles Sudan Sweden Singapore St Helena Slovenia Svalbard amp Jan Mayen Is Slovak Republic Sierra Leone San Marino Senegal Somalia Suriname St Tome and Principe Soviet Union EI Salvador Syria Swaziland Turks amp Caicos Islands Chad French Southern Terr Togo Thailand Tadjikistan Ex USSR Tokelau East Timor Turkmenistan Ex USSR Tunisia Tonga Turkey Trinidad amp Tobago Tuvalu Taiwan Tanzania Ukraine Uganda United Kingdom US Minor outlying Isl United States Uruguay Uzbekistan Ex USSR Vatican City State St Vincent amp Grenadines Venezuela Virgin Islands British Virgin Islands US Vietnam Vanuatu Wallis amp Futuna Islands Samoa Yemen Yugoslavia South Africa Zambia Zaire Zimbabwe Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 401 ERA CODES Era codes are used in Trainz as a sort and selection criteria For content that exists in multiple eras list each era in CCP Multiple choices appear on one tag line in the config txt file For example a locomotive that was available in the 1960s and 1970s would
237. alfire tga copper tga darkmetal tga firebox tga firebox_glow tga flaman tga flame_test2 tga glass tga glassw tga red tga roof tga waterhose tga black texture txt blackhead texture txt brass texture txt bumpy_blackhead texture txt coal texture txt copper texture txt darkmetal texture txt fire texture txt firebox texture txt firebox_glow firebox_ glow_op texture txt flaman texture txt glass glass texture txt glassw glassw texture txt red texture txt roof texture txt waterhose texture txt blackhead texture txt blackhead tga bumpy_blackhead texture txt bumpy_blackhead tga darkmetal texture txt darkmetal tga water texture txt water tga needles tga needles texture txt The texture files used by the progressive meshes of this interior See the section on Texture txt files on Page 96 for more information fireplates kin waterglass_left kin waterglass_right kin The animation files used to operate certain elements of the interior ie the fireplate doors opening and closing bigsteam_interior gs Script file detailing some functionality of the interior asset in this case that no animated fireman is present in the interior bigtap im coal im cylindercocks im drifter im fire im firebox im fireglow im injector im mallard_ interior im regulator im smalltap im trainbrake_ lever im watervalvea im watervalveb im window im selection box im waterglass left im waterglass _ right im boi
238. all icon displayed over the vehicle preview in Surveyor Kinds that use this tag bogey buildable drivercharacter fixedtrack industry interior mesh mocrossing mojunction mosignal mospeedboard pantograph product scenery trackside scenery traincar turntable icon texture May be used as a specific tag or the icon texture file may be included in the tumbnails container instead The file for products can use an alpha channel to cut out the circular image but it is recomended the file for the industry drive to option does not need an alpha channel to reduce impact on Trainz frame rate Kinds that use this tag buildable fixedtrack industry mocrossing mojunction mosignal mospeedboard product scenery trackside scenery traincar turntable light Sets lighting to be used for the object to be ambient or directional 0 sets ambient lighting and object is lit by general light value uniformly lit 1 sets directional light which is affected by the position of the sun and the asset shows shaded faces but not ground shadows Kinds that use this tag bridge buildable chunky track double track fixedtrack industry mesh reducing track mocrossing mojunction mosignal mospeedboard scenery trackside scenery track traincar tunnel turntable preview mesh kuid Only add this to reference a different mesh for the Surveyor preview window This is useful when an asset has a large bounding box i e the larg
239. ally leave this setting Motor Container The Motor Container stores an assortment of values related to motor function particularly that of DCC resistance Power figure for DCC higher resistance value less power adhesion Adhesion parameter higher value greater adhesion maxvoltage Generally leave this setting maxspeed Maximum speed for DCC expressed in metres per second brakeratio Brake force for pressure reduction max accel Parameters for DCC acceleration amp deceleration max decel Parameters for DCC acceleration amp deceleration throttle notches Number of throttle notches axle count Resistance Axle Count surface area Resistance Surface Area moving friction coefficient Resistance Moving friction air drag coefficient Resistance Air drag Flowsize Container Flowsize settings specify the rate of flow through the pipes Generally these setting should be left unaltered The Flowsize Container has the following tags trainbrakepipe Flowsize of the brake pipe epreservoirpipe Flowsize of the electric pneumatic braking no3pipe Flowsize of the independent brake pipe no4pipe Flowsize of the bail pipe auxreservoirvent Flowsize of the auxiliary reservoir vent auxreservoir_no3 Flowsize of the auxiliary independent brake pipe auxreservoir_trainbrakepipe Flowsize of the auxiliary reservoir brake pipe Trainz Railroad Simulator 2006 The Content Creator s Guide
240. alues in order to highlight the bump mapping effect See note next page Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 350 Note Please download the following zip file for information and set up of bump mapped and specular materials and the 3dsmax4 5 exporter http www auran com TRS2004 downloads contentcreation TRS Max4 Plugin Bump zip BUMP MAPPING INFORMATION Note Bump mapped materials for TRS requires the latest exporter At the time of writing only a 3dsmax 4 and 5 exporter update is available A gmax exporter update is not available Bump Mapping Background Theory For those new to this term Bump mapping is used to add 3 dimensional detail to an image using an applied RGB Normal map without increasing the number of polygons A normal is a vector that points into the direction that a surface is facing orthogonal to its surface Normal bump mapping applies false normals to each pixel of a polygon so that the reflection is not computed in accordance to the real polygon surface but according to the surface vectors of the normal map This results in the bump mapping effect giving the surface a 3D appearance that is not really geometrically there If the user s graphics card does not support per pixel bump mapping then the bump mapping effect won t be Seen DIFFUSE TEXTURE 1024x512 24 bit tga Bump Mapping in TRS2004 For all intents and purposes
241. am cab interiors have been set up in generally the same way as diesel and electric cabs with a few additional steam specific features Many of the levers and fireplates have several moving objects and required mouse controlled animations This differed from the usual lever types with only one object set to rotate around an attachment point Not only did the levers need reviewing but the cab firebox itself had to produce fire and glow variations and the coal shoveller needed to be controlled and also linked to the coal requirements Download PB15 Interior source and in games files here http www auran com TRS2004 downloads contentcreation TRS2004_PB15_interior zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 362 Animated Levers Animated levers are generally set up like all other animations in TRS Trainz Bones or dummies need to comply with the b r name naming convention As the new animated levers are mouse controlled the need arose to be able to grab the lever handle only and not the rest of the animated parts Because of this animated levers require a collision mesh kind collision proxy Take the animated fire plates for example fire plates mesh fireplates fireplates im anim fireplates fireplates kin auto create 1 kind animated lever test collisions 0 notches 0 1 0 notchheight 1 1 limits 0 1 0 fire plates collision box mesh fireplates selection box selectio
242. ames of animation as defined in the event file Sound files may triggered in this manner and from scripting Used in the mojunction example switch lever the toggle action is automatically triggered when the lever is operated and the sound pee R mesh table ID mesh table mesh table T submesh identifier subcontainer mesh table Predefined submesh identifier submesh identifier two part boolean config txt hornsound Indicates that the Railyard and Driver hornsounds are different The Driver hornsound is looping If this tag is not present the hornsound defauts to UTC equivalent non looping format string config txt scenery Specify a type for the model that will be used in the Surveyor menu drop down menu for Track or Object type uncached_alphas boolean config txt splines This is used in certain situations to improve alpha sorting This should only be set to 1 for tracks that use an alpha texture and are always placed flat Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 425 TAG OR CONTAINER DATA TYPE PARENT APPLIES DESCRIPTION CONTAINER TO unit mesh folder config txt splines For mesh reducing track the filename of the long mesh which must be placed in a subdirectory of the same name as the mesh Only the file name is entered not the directory name nor the file extension For example the full pathname and extension is rockwall rockwall im Enter only rockwall in
243. an remove unnecessary older saved files It is very important to check the Auto Backup If 3dsmax or gmax crashes and it sometimes does when you are trying to undo too many steps when mapping or typing a material name in some of the dialogue boxes in gmax you can find three files called Autobak001 002 003 in the Autobak directory 3dsmax cycles through these numbers and overwrites them Find the directory look at the time stamp for the most recent file open it in 3dsmax or gmax and you will only have lost up to 5 minutes of work whatever time you have set You may have to Show All Files to see the file when trying to open it from the Autobak directory 5 From the Customise Configure Paths General you can choose the paths for your files It is useful to set the Export path to the full directory of the Custom Trainz directory in TRS2004 or the editing directory in TRS2006 It is simple to then navigate to the particular model directory from there without navigating from the C directory every time you export a file An easy way to have consistent 3dsmax gmax settings is to load a previous model and then select the new file option to begin a new model retaining the settings from the previous loaded file One issue with 3dsmax4 gmax is saved file corruption caused by a Microsoft upgrade Your saved files naturally get larger as you work but a reasonable files size may be 100k to 400k depending on the model
244. ance type resourc product category KUID 3 10040 icon texture icon texture texture mass 0 400 product texture woodchips texture mesh table woodchips texture txt Primary woodchips tga Tile st Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 374 TRAINCAR DIRECTORY STRUCTURE Typical Directory Structure trains The following example is of a typical Coal hopper El coal happer This asset has an animated load typical for bulk load pm coal hopper art rolling stock and animated unload doors specific to this i E Ih bad asset These doors are controlled by the hopper gs script coa napper pody file E coal hopper shadow p coal dumpi wavy coal_loadi way Config txt i E Hopper gs Expanded Directory Structure trains Primary coal hopper art 512 tga jr coal happer Alpha coal hopper art 512 tga coal hopper art Tile st B coal_hopper_art_512 texture bxt Hine ynamie M coal happer arb 512 tga 512x512 pixel 32 bit tga file j v coal happer art icon texture Ext m coal_hopper_art_icon tga gt 128x64 pixel 32 bit tga file Ae coal hopper body l E load eM load kin Load animation file Referenced through the config m 3 load inn ____ Load mesh file Referenced through the config bem B loa
245. and object is lit by general light value uniformly lit 1 sets directional light which is affected by the position of the sun and the asset shows shaded faces but not ground shadows test collisions This is an interior specific mesh table tag When disabled it prevents the mesh from obstructing the mouse eg if a mesh overlays a lever and should not be tested when the user clicks on a lever mesh for example Enabled by default mesh The main mesh name This may include a sub path file within a subdirectory i e mesh nightwindows nightwindows im night mesh base This night mesh is linked to the default mesh and is visible only when the default mesh is visible radius radius for notches display used for levers collision parent For collision proxy meshes in an interior mesh table this specifies the parent object to be proxied a substitute mesh that is not visible but reacts to the mouse buttons to create an effect or animation firebox doors opening for example Effects optional mesh variables The effects containers are a subset of the Mesh Table Container At the time of writing there are 4 distinct types of effects which are Name Effect Corona Effect Attachment Effect and Animation Effect Name Effect Some assets may have editable signs When you set or change an asset s name in surveyor through the Edit Properties icon icon the signage used as part of the model can be set up
246. and tags that are required for the model to function correctly on Page 90 The Working Directory When you are creating or editing an asset with Content Creator Plus all of your content exists in a temporary working directory which is located in your editing folder within your Trainz install Assets in this folder are considered open for editing All files required by your new model MUST be placed in your temporary working directory You can open this folder by selecting Edit Edit in Explorer from the main menu bar Note that the name of the folder may be of the form edit nfdOhk9y6 After you have given the asset a username saved the config txt file and committed the asset the directory name will change to the selected username when you next reopen itin Explorer Formats for entering Tag Data Tags require different forms of entry depending on the type of data required Some tags require a simple text string while others will require more complex data like a Vector a float list or a Boolean value String floating point numbers or integers These three data types are simple text or numeric values A string is a basic text field a Floating point number or float is a number that includes a decimal point while and integer is a numeric value with no decimal point whole number The value placed in the text box will be directly associated with the tag Vector A vector is a series of values A vector ma
247. andle the lever portions of a fixed track junction vertices ID fixed track User supplied identifier keyframes integer list config txt turntable Specifies where on the animation the Eum ceps is to m el animation effects ID es effects ID el PER effect is used when a mesh has a variety of animations Usually the animations will be controlled by a script related to the asset attachment effects ID effects ID In TRS we now have the ability to attach a mesh into another mesh by referencing it s KUID through a meshtable corona effects ID effects ID A corona is a glow light effect It is a simple texture that is inserted at an attachment point within the mesh Coronas can be added to any asset that uses a meshtable name leffects ID effects ID Some assets may have editable signs When you set an asset s name in surveyor through the Edit Properties icon icon the signage can be set up to automatically update The variables can be set for each sign texture leffects ID effects ID This effect was created for rolling stock replacement items to swap the visible texture of bulk loads such as coal or woodchips interior object kind mesh table ID interior The type of interior object the particular mesh is Affects the behavior of the mesh in game Kinds lever Levers switches dials etc animated lever Animated Levers
248. anim The animation file kin exported from 3dsmax or gmax This may include a sub path Refer to Chapter 8 for more information auto create The mesh is generated shown in Trainz automatically when placed in a map or route In some instances you don t want the mesh visible as this may be controlled through script If auto create is 0 or the tag is missing the mesh will not be visible when placed animation loop speed This tag must be used if the asset is to animate when placed If this tag is not present when placed the animation will not play by default but may play if controlled by script Different speed multiplyoing factors may be used eg 2 0 5 critical animation When enabled this forces the animation to continue playing when off screen It impacts on performance when enabled can degrade frame rate use parent bounds Specifies that the mesh should use the bounds of the parent object for visibility culling Use with caution Refer to Page 87 for more information att The mesh and animation if present is inserted at a mesh attachment point rather than the origin of the parent mesh default insertion point att parent The insertion attachment point is located within the mesh specified by name in this tag opacity Controls the opacity of the mesh Zero 0 invisible not recommended or one 1 solid light Sets lighting to be used for the object to be ambient or directional 0 sets ambient lighting
249. ar asset Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 328 File Listings config txt kuid trainz build category class username kind engine mass category region category era 0s 1980s enginespec enginesound hornsound smoke fastlife smoke fastspeed smoke height smoke random smoke shade smoke slowlife description lt kuid 56113 1002 gt 2 5 AS testTraincar Steam traincar 1 544310 US 1930s 1940s 1950s 1960s 197 lt kuid 523 51469 gt lt kuid 3 10105 gt lt kuid 523 54745 gt 6 2 0 3 1 Test steam traincar asset Based on the UP BigBoy mesh table default mesh body lm auto create shadow mesh Bigboy_shadow im smoke0 attachment mode color start UP Bigboy body UP Bigboy UP Bigboy shadow UP a steam_cyl_drainL anim 255 255 255 225 0 6 period rate velocity lifetime minsize maxsize smoke1 attachment mode color start period rate velocity lifetime minsize maxsize smoke2 attachment mode color start period rate velocity lifetime minsize maxsize smoke3 attachment mode color start a steam_cyl_drainR anim 255 255 255 225 0 1 0 1 0 8 0 4 0 5 1 5 a steam LO anim 255 255 255 225 0 61 0 1 0 8 0 4 0 5 1 5 a steam RO anim 255 255 255 225 Trainz Railroad Simulator 2006 The Con
250. ass texture txt glass bmp I glass tga roof texture txt rea roof tga 2 walls texture txt irs walls tga 2ger_warehouse_nightwindows ger warehouse nightwindows im night front tga ren night_front_op bmp E night_front night_front_op texture txt p Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg various tga various texture txt The texture files used for this scenery object See the section on Texture txt files on Page 96 for more information factory 3 wav The sound file ger warehouse im The mesh file for the main model ger warehouse nightwindows im The nightwindows mesh file in a subdirectory File Listings config txt kind scenery username testScenery light 1 nightmode lamp kuid lt kuid 171456 100068 gt trainz build 2 5 description Test Scenery object based on the inbuilt German Factory category class BI category region 00 category era 1970s 1980s 1990s 2000s smokeO0 attachment a smoke0 mode timeofday color 100 100 100 250 accel 1 0 3 0 start 0 25 0 5 period 0 rate 4 velocity lifetime minsize maxsize soundscript daysingle repeat delay distance sound 0 factory 3 wav mesh table default auto create 1 mesh ger warehouse im effects 0 kind att fontcolor fontsize name night mesh ger warehouse nightwindows
251. asset KUID NUMBERING A KUID is a unique number allocated to all content created for Trainz and can be thought of as a bar code KUID2 Format The KUID format in TRS2006 follows the standard adopted in TRS2004 and takes the form of three Identification Numbers ID each separated by a colon The breakdown of the KUID system is as follows KUID2 User ID Content ID Version ID An example of a Kuid number with actual figures lt KUID2 171456 38001 1 gt User ID Number The number 171456 after the KUID2 is the USER_ID of the content creator When you registered Trainz with the Planet Auran website you would have been issued with your USER_ ID This is the number you should have entered into Trainz as your USER_ID Planet Auran may be found by clicking with the left mouse button on the Profil button in the top task bar of the Forum page or visiting the website https www auran com planetauran login f php Every member of the Trainz community who is a member of Planet Auran has a USER D Now you may be wondering why you need a USER JD if you don t intend to make any content for Trainz If you intend to make a layout route or map at some point in time and you d like to share that layout with your friends or other community members then you are in fact a content creator Content ID Number The middle number is the CONTENT D This is a number that the content creator assigns to each creation to uniquely identify it
252. asset Container Flat Car http www auran com TRS2004 downloads contentcreation TRS2004_Container_Flat zip BOX CAR The Box Car is a typical example of a rolling stock item that can take the General Goods Product without having attachments Download a zipped pack containing a PDF description in game files and source 3dsmax 4 and gmax files of the TRS asset PRR 40ft Box Car http www auran com TRS2004 downloads contentcreation TRS2004_Box_Car zip PASSENGER STATION AND VEHICLE TUTORIAL The Passenger Asset Tutorial gives information on pas senger stations and vehicles compatible with the new passenger supported features The information has been included in this document but the don wnload includes useful ingame files http files auran com TRS2004 downloads contentcreation SP2 Passenger_Asset_Tutorial zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 36 KIND ENGINESOUND Note Diesel enginesound files wav must be located in the same subfolder as the config txt You must ensure all These are the locomotive engine sounds referenced by custom engine sound files are named the same as those the enginesound tag in a traincar config txt described in the example on the left With the inclusion of steam in TRS we have added additional features for engine sound support Nota For diesel and electric loco s the sound is generally as per the UTC release described o
253. asset and duplicate containers and tags have not been shown in this example Please refer to Chapter 5 and Chapter 6 for details on containers and tags for all asset kinds Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 95 Example Asset PB15 Directory Layout Main Directory The directory structure for this example consists of a main directory qr pb15 This is also the name of the asset taken from the Username tag EL ar pbi5 ix 940 cyl steam thx ix 940 smoke thx a 940 smoke idle tFx a 940 steam relief EFx config Ext The tfx files in this directory are Twinkles smoke effect files created in the Twinkles Editor and placed in the directory by the creator ie bi is caalman im e coalman loopt kin ix coalman Inopz kin ix coalman Inopzshovel kin e caalman shovel kin coalman shovelzloop kin l coalman wave kin ix coalman wipebrow kin dm head z bmp m head z texture Exk ene D pants 1 bmp 5 m pants 1 Ltexbure Ext 2 shoe bmp pb_15_body brake tga dera np bmp brake brake_op texture tet cabits texture txt cabits tga cabits low texture bet Ejcabits low tga Ei catcher bmp E catcher taa 2 catcher catcher texture txt The config txt file created by CCP will also be placed in this top directory Coalman Directory The asset has an animated coalman in the cab For convienience a subdirectory coalman has been cr
254. ate that certain parts of the model cannot be exported You should save the model before any export a good practice to make sure you have a saved file in case of computer problems You must save the file before the first export or 3dsmax gmax will not Know the correct path for file location and materials when you try to export and an error message may result When exporting have no part of the model selected so you can be sure of what is exported If you want to export only a part of the model select those parts and use the Export Selected option Alternatively hide all parts that Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 342 are not to be included in the export See the section on Animation Requirements below for additional issues with exporting animated models Under Tools use the Resource Collector option to automatically find all the textures for the model and export them to the model directory The exporter creates an additional file for example model gmw Files with the gmw extension are not used by Trainz and should be deleted When you have finished developing a model before you package it using the Content Dispatcher a good practice is to clean out the export directories and export the model and gather all the texture files a final time This clears out any unused texture files and texture txt files that were generated during development and are not used in the final model
255. ategory class category region category era username kind snapmode alias angle author autoname category keyword class contact email contact website description description cn description cz description de description es description fr description it description pl description nl description ru dighole floating frame rate height range icon texture iconO icon1 icon2 icon3 keyframes license light looping nightmode organisation preview mesh kuid preview scale rgb rollstep rotate rotate yz range rotstep script snapgrid surveyor name label surveyor only username cn username cz username de username es username fr username it username nl username pl username ru KIND WATER2 Description Animated water texture assets Container Structure A well formed water2 kind has the following container structure 3 water2 E thumbnails 0 See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS water2 kuid kuid trainz build data category class data category region data category era data username data kind data thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be EW Water See the Environment section of the Classes and C
256. ater directory structure a scenarios p a Contig i icon_texture texture txt Primary Water tga Alpha Water tga Tile none Water tga 64x64 32 bit WOODCHIPS PRODUCT Woodchips Product Config txt kind product kuid lt KUID 3 10002 gt username Woodchips instance type resourc product category lt KUID 3 10040 gt icon texture icon texture textur mass 0 400 product texture woodchips texture mesh table Woodchips directory structure _ scenarios s 3 woodchips be Config tst icon EexEure bexbure Ext woodchips texture Ext EY woodchips tga WoodChips_icon tga icon_texture texture txt Primary WoodChips icon tga Alpha WoodChips icon tga Tile none WoodChips icon tga 64x64 32 bit Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 23 PASSENGER PRODUCT Passenger Product is unique as it is controlled very differently from other products All passenger animations meshes and texture files are located within the passenger directory There was simply too many to list in this document Passenger Product Config txt Extract icon texture texture txt Primary passengers tga Alpha passengers tga Tile none passengers tga 64x64 32 bit kind product kuid lt KUID 3 10060 gt name Passenger product category lt KUID 3 10091 gt instance type instance icon texture icon tex
257. ating wheels and shadow model mesh table default mesh bogey pm auto create 1 shadow mesh bogey shadow bogey shadow pm thumbnails 0 image thumb jpg width 240 height 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 200 Bogey Steam Bogey Directory Structure A typical asset of this kind has the following File Directory Structure E anim kin config txt e pb_15_bogey0 pm Ezithumb ipg wheel small texture txt IE wheel small tga pb_15_bogey0_shadow IEjblack tga E black black texture txt E pb_15_bogey0_shadow pm Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg PB_15_bogey0 pm The bogey mesh file an older pm version anim kin The bogey animation file not listed in the config txt a kind bogey knows to reference this file wheel_small tga black tga Various texture files bogie_wheel_small texture txt black texture txt Various texture txt files See the section on Texture txt files on Page 96 for more information File Listings config txt kind animdist category class AS kuid lt kuid 171456 100022 gt username PB 15 bogeyO category region AU category era 1920s 1930s 1940s 195 0s 1960s 1970s 1
258. ation for 30 frames For an example calculation see Page 380 Note Bogey animations exported from gmax or 3dsmax are called anim kin In previous versions of Trainz the following lines were used in the config txt file anim anim kin animation loop speed 1 0 These are no longer required Trainz automatically recognises the anim kin file for the bogey These lines if used in the config txt will generate an error log message about incorrectly specified animation being ignored Refer to Chapter 7 Bogeys for modeling guidelines Page 377 direct drive For Steam Locomotive animated driving bogeys only Important When direct drive is present the bogey animation is linked to the steam piston and physics system If this tag is not included the piston and steam sounds will not work The direct drive tag may also be used on an invisible locomotive bogey to achieve correct sound timing for the asset Note The example on the left shows a bogey with LOD mesh reduction Please refer to the LOD discussions on Page 370 to illustrate the additional Im file required The UTC setup without a mesh table will of course still work but we do recommend using a mesh table Reversing bogey animation If a front bogey is attached to a train car and the same bogey is to be used at the rear but rotated 180 degrees In TRS2004 this was accomplished by entering bogey r in the config txt file for the train car for that b
259. auge_wires tga EJ BPgauge_wires_alpha bmp E BPgauge wires BPgauge wires alpha texkure Ext BzjEPloco alpha bmp EZ ePloco_dial taa E BPloco_dial BPloco_alpha texture txt HE BPtrain_dial tga B BPtrain dial BPloco alpha texture Ext B brass_metal texture txt EJbrass_metal tga E chair_back texture txt Ef chair_back tga E chair_base texture txt I chair_base tga B chair Ihside texture Ext EE chair_Ihside tga E chair Ihstand texture txt HE chair_Ihstand tga E chair rhside texture txt EE chair_rhside tga E chair rhstand texture txt 2 chair_rhstand tga E chair_seattop texture txt Ef chair_seattop tga E chair_vlowside texture txt EE chair_vlowside tga E chair vtopside texkure Exk EJ chair_vtopside tga E config txt E control maincyl texture txt HE contral_maincyl tga control_maintop texture txt E control_maintop tga E control top texkure Ext E control_top tga E control_topcyl texture txt control topcyl tga BzjEnv metal bmp F7interior ampmeter pm F7interior ampmeter needle pm Fzinterior bpFlow needle pm Fzinterior bploco pm Fzinterior bplocoequaliser needle pm Fzinterior bplocomain needle pm Fzinterior bptrain pm Fzinterior bptrainbrakecylinder needle pm Fzinterior bptrainbrakepipe needle pm Fzinterior brakepressure pm F7interior chair pm F7interior controlstand pm F7zinterior dynamicbrake lever pm Fzinterior horizblinds prn Fzinterior horn pm Fzinterior locobr
260. ave to experiment with lighting and add variation to make it look right Omni light ms Omni light Multiplyer 0 7 Multiplyer 0 7 Contrast 50 Contrast 70 Soften Dif Edge 100 0 Soften Dif Edge 100 0 Far attenuation Start 2 0m Far attenuation End 3 0m Decay none Decay none Object shadows On Object shadows On Shadow map Shadow map Phase 5 Rendering for Realtime The next step is to the second texture pass This involves rendering all details and surfaces front back sides floor ceiling door recesses etc There is a very handy 3dsmax material plugin called Cast Shadows Only from Blur Studios This material makes the object invisible but lets it cast shadows Very handy when trying to control what does and doesn t render in a scene We create another cab shell with the window cut outs to completely surround the textured cab shell This casts the window shadows over the model Download the Cast Shadows Only plugin for 3dsmax4 from this webpage http max3d 3dluvr com plugins php This plugin requires a utility called b urlib available on the same site You may need to use the search box on the site to locate the files Realtime render of the DD40 interior front Target Spotlight Multiplyer 1 6 Contrast 0 0 Soften Dif Edge 100 0 Far attenuation Start 9 0m End 14 0m Decay none Object shadows On Shadow map Omni light Multiplyer 0 6 Contrast 100 Soften Dif Ed
261. b jpg Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg loco stationary fast wav loco stationary med wav loco stationary slow wav These file are the steam engine idling sounds played after the steam engine is stationary for 1 2 and 3 minutes piston stroke1 wav piston stroke2 wav piston stroke3 wav piston stroke4 wav Piston stoke sounds played every 180 degrees revolution of the piston wheel played in sequence and repeated up to about 40 kph smoke stack hiss wav The general hiss from the smoke stack steam loop wav From 40 kph upwards the following sound loop is cross faded as the piston sounds die off The loop is pitched shifted through code relative to the locomotive s velocity Refer to the use of the tag direct drive used on animated steam bogeys to synchronise the sounds with the animation Page 33 File Listings config txt kuid kuid 171456 100015 trainz build 2 5 category class ZS category region US category era 1960s 1970s 1980s 1990s 200 Os testEngineSound Steam username kind enginesound description Test Steam Engine Sounds Based on the PB15 thumbnails 0 image thumb jpg width 240 height 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz
262. be deleted or replaced by other suitable meshes Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 383 Y a trackOb is the common track attachment point The curved track may require more attachment points then the straight track to define the curve shape a track0a X a trackOb Y a trackla X a track0c Note the Y axis at the end attachments must point outwards and be aligned with the track entrance or exit direction To define the attached track in attached track container attachments a trackOa and a trackOb are common to both track tag lists The vertices are listed as for the curved trackO 0 a trackOa 1 a trackOb 2 a trackOc 3 a trackOd 4 a trackOe and for the straight track1 0 a trackOb 1 a track1a 2 a track1b The diagram in the column to the right shows the positioning of the various track attachments referenced in the attached track container the helper point b r blade for the animated blades and e the switch lever attachment a leverO called the junction vertex tag in CCP and the lever mesh referenced by the junction lever mesh tag in CCP For convenience the b r blade is placed on the origin and is also the helper for the default mesh the fixed parts of the turnout For examples of the attributes and tags required for Fixed Track assets refer to Kind Fxed Track Containers Tags and Examples in Chapter 6 and Chapter7
263. be specified as follows category era 1960s 1970s The era codes that are recognized by TRS are as follows 1800s 1810s 1820s 1830s 1840s 1850s 1860s 1870s 1880s 1890s 1900s 1910s 1920s 1930s 1940s 1950s 1960s 1970s 1980s 1990s 2000s 2010s Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 402 Appendix B Kinds and Containers This is a tabulation showing the Kinds and their dependant Containers as a quick reference Please refer to Chapter 6 for a complete description of the Containers and dependant Tags used in TRS2006 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 403 Reducing Track Containers allowed categories allowed products list animation effect ERR Buildable LETS Chunky Track Drivercharacter attached track E attached trigger HCM BE mM attachment effect COOL fer CORTES REREEEEERUL NN RIENHENE NER Eus el TERMI RR L ie bL tt m L LE LL LL dL LLLA pmi S DID LI Ll t LA jeonfietswithaueves 5 tv pi iL mu Ge E E a a C M LL jariversetings Iv T T T dynamiobrake S J j Iv d TTT E s DN SR T E ET RM IG IE FE FUERON SERE INI attachment points EE IPM A PAL De 3 B z o 9 5 S o e L Fed L LE LLL LUE mew LEM a a Ca N xj p nm EE EX ew AAA v HE SE EE EIER ZR ERI soundscript steam po
264. boiler pressure hits this value in kPa the safety valve low flow release is initiated scale smoke 1 smoke block For a smoke particle emitter is the scale of the emitter or the scale of the particle scale mass engine Multiplies fuel mass by given value generally leave this setting scale pressure 1 engine Multiplies pressure by given value generally leave this setting scale volume engine Multiplies volume by given value generally leave this setting mesh shift smoke 1 smoke block Speeds up the age of the smoke particle how old they are which makes them die disappear faster b shovel coal mass steam engine The amount of coal in one shovel showhelp driver settings Show Driver Help off on show in consist menu boolean consists ID industry Boolean flag that dictates whether this train appears in the consist menu 0 false 1 true The consist menu was along the bottom of the screen in the original Trainz and UTC but is no longer present It effectively stopped a user from getting access to an AI train Redundant for most uses except for legacy scenario usage signals container config txt mosignal Sets out which aspects the signal is capable of displaying and also which light points are activated when each state is displayed signals ID lights Signal point identifier smoke fastlife float config txt Longevity of smoke particles at normal speed smoke fastspeed o config txt Not documen
265. brakereservoir data no3pipe ata dei S vacuumbrakecylinder data no4pipe ata mainreservoir data auxreservoirvent data equaliser data auxreservoir no3 data independantbrakecylinder data auxreservoir trainbrakepipe data ressure autobrakecylindervent data scale data Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 174 compressor data mainreservoir data steam highspeedexhauster data firebox to boiler heat flow data brakepipe data firebox efficiency data brakeinitial data boiler volume data brakefull data minimum volume data indbrakefull data maximum volume data trainbrakepipe start data initial boiler temperature data epreservoirpipe start data water injector rate data no3pipe start data piston volume min data no4pipe start data piston volume max data auxreservoir start data piston area data autobrakecylinder start data piston angular offsets data vacuumbrakepipe start data firebox to boiler heat flow idle data vacuumbrakereservoir start data burn rate idle data vacuumbrakeoylinder start data boiler to piston flow data mainreservoir start data piston to atmosphere flow data equaliser start data safety valve low pressure data independantbrakecylinder start data safety valve low flow data mass safety valve high pressure data scale data safety valve high flow data fuel data max fire coal mass data motor max fire temperature data resistance data shovel coal mass data adhesion data burn rate data maxvoltage data fu
266. build Automatically set to 2 5 for 2006 assets category class Should be YR Rule See the Maps amp Scenarios section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that appears in the surveyor menu kind Must be library script The script file gs or gse file class The name of the scenario class within the script file THIS KIND HAS THE FOLLOWING CONTAINERS String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions TAGS kuid trainz build category class category region category era username kind author category keyword class contact email contact website description description cn description cz description de description es description fr description it description pl description nl description ru license organisation script username cn username cz username de username es username fr username it username nl username pl username ru
267. build data description es description fr description it description nl description pl description ru dighole floating category class data height range icon texture iconO icon icon2 icon3 t dat license light nightmode organisation passenger height Rete sien aia preview mesh kuid preview scale rgb rollstep rotate category era data rotate yz range rotstep script snapgrid snapmode surveyor name label surveyor only username cn username data username cz username de username es username fr username it username nl username pl username ru kind data Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 123 chunky mesh data chunky info data thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be TR Rails See the Track section of the Classes and Codes appendix located at the end of this document for more information category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that appears in the surveyor menu kind Must be track rgb This value
268. c Directory Structure A typical asset of this kind has the following File Directory Structure ammeter0_1 texture txt IE ammeter 1 tga B ammeter 2 3 texkure Ext I ammeter 2 3 tga 5 ball texture Ext IEjbal tga bar meter needle pm E black texture txt IE black tga I bonnet tga brake pm E chair base texture txt I chair_base tga E config txt E dash fr left texture txt dash fr left tga E dash fr mid texture txt EJ dash fr mid tga E dash fr right texture txt dash fr right tga E dash fr side texture Ext dash fr side tga E dash front texture txt dash front tga E dash right edge texture txt dash right edge tga E dash sideface2 texture txt dash sideface2 tga E dash sideface texture txt i dash sideface tga a dashtop_main texture txt IE dashtop_main tga 5 dial green large texture Ext 2 dial_green_large tga Bl dial_green_small texture txt 2 dial_green_small taa EE dial_ring texture txt LE dial ring tga E dial_ring_small texture txt dial_ring_small tga dial white texture txt EE dial_white tga E exting_body texture txt EJexting_body tga EZJexting_handle tga Eid exting_handle_op bmp E exting handle exting handle op texture Ext front switches texture txt front switches tga gen tgv cab pm E large_pressure texture Ext jlarge _pressure tga lever base2 texture txt lever base2 tga 3 lever base texture txt lever base tga E lever handle
269. category era Os script class cameralist camera camera1 camera2 camera3 camera4 camera5 mesh table default mesh auto create regulator kind mesh att att parent auto create limits angles radius mousespeed 00 1940s 1950s 1960s 1970s 198 bigsteam_interior gs Bigsteam Interior 1 0 9 0 55 0 0 0 5 0 9 0 55 0 0 0 0 9 0 55 0 0 0 5 0 9 0 55 0 0 1 0 9 0 55 0 0 1 1 0 8 0 0 0 mallard interior im 1 lever regulator im a regulator default 1 0 1 mousemode trainbrakelap_lever kind mesh att att parent auto create limits angles notches notchheight mousespeed firebox kind mesh auto create att att parent test collisions fire mesh auto create light test collisions coal mesh auto create light test collisions fireglow mesh auto create light test collisions lever trainbrake_lever im a trainbrake_lever default 1 0 4 0 0 94 0 0 25 0 5 0 75 1 1 1 1 1 1 1 firebox firebox im 1 a origin default 0 fire im 1 0 0 coal im 1 0 0 fireglow im 1 0 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 219 water injector 0 anim waterglasses waterglass right kin mesh injector im auto create 1 auto create 1 limits 0 100 att a injector0 kind animated dial att parent default water
270. category era 1970s 1980s 1990s 2000s kuid table obsolete table mesh table default mesh loco body loco body 1m auto create 1 shadow mesh loco shadow loco shadow im fanl mesh loco body fan fan im anim loco body fan fan kin auto create 1 att a fan0 att parent default animation loop speed 1 0 fan2 mesh loco body fan fan im anim loco body fan fan kin auto create 1 att a fan2 att parent default animation loop speed 1 0 default night forward mesh loco body night night im auto create 0 att a bog0 att parent default bogey lt KUID gt bogey 1 lt KUID 4 gt bogey 2 r lt KUID d 4 4 E 4 pantograph KUID 4144 44 448 interior lt KUID tH gt engine 1 name Electric Loco mass 37000 company Queensland Rail origin AU kind traincar fonts 2 cabinsway 0 enginespec lt KUID ttt TED enginesound lt KUID HHEEED hornsound lt KUID HEHED smoke shade 0 3 smoke random 2 smoke slowlife 1 smoke fastlife 6 smoke height 7 smoke fastspeed 4 smoke0 attachment a exhaustO mode speed enabled 1 maxspeedkph 120 file lospeed tfx smokel attachment a exhaustl mode speed enabled 1 maxspeedkph 120 file hispeed tfx description Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 34 TRAINCAR CONFIG TXT BREAKDOWN Some config txt tags are not expl
271. ced within the sub mesh config txt entries buffer speed Sets the upper speed limit for an object to act as a buffer The value buffer speed 5 sets a 5 metres per second speed as the limit for stopping a traincar Used in a Kind mosignal object tender 1 Indicates the traincar is a locomotive tender Used in the tender config txt file to enable the tender to remain coupled with the locomotive in a runaround movement disable extra track sounds 1 Disables the click clack tracksounds Could be used for silent shipping planes or maglev type vehicles Values are 0 1 for the tag Note There may be some residual tracksound for example wheel squeal See Page 186 for an example Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 87 Trainz Railroad Simulator 2006 CHAPTER 3 Understanding and using Content Creator Plus The purpose of this chapter is to introduce users to Content Creator Plus a powerful program used to generate and validate config txt files Content Creator Plus is intended for in experienced content creators however a degree of understanding regarding kinds and containers is assumed Please refer to other Chapters in this document for assistance in familiarising yourself with the requirements and structures of containers and tags Getting Started Main Screen The main screen is divided into a number of areas 1 Tree View 2 Tag space visible when a mesh is selected
272. celeration variables in cabin mode 1 notch number 1 0 30 25 Atspeed 5 acceleration 25 10 15 12 0 dynamic brake Deceleration variables while dynamic braking in cabin mode 1 notch number 1 1 2393 0 2 30 5 25 At speed 5 deceleration 25 10 15 12 0 Equalisation of Pressures There is a point at which no further brake pipe pressure reduction will result in increased braking effort this is known as full application or equalisation of pressures Imagine you made a 26 psi reduction when operating a loco with a 90psi brake pipe 90psi in the train pipe minus 26psi reduction equals 64 psi in the pipe Due to the 2 5 1 ratio of auxiliary reservoir volume to brake cylinder volume the 26 psi reduction puts 64 psi into the brake cylinder As the pressure in the reservoir and the pressure in the cylinder is now equal no more air will flow into the brake cylinder and making a further reduction in brake pipe pressure will have no effect on braking Equalisation occurs at different pressures depending on the train pipe feed pressure 100 psi pipe e g the UK locos 7 bar equalisation at 71 psi 90 psi pipe e g the US locos equalisation at 64 psi 72 psi pipe e g French amp Queensland locos equalisation at 49 psi The easiest way to set your custom content to the desired brake pipe feed pressure is to copy the entire pressure section from the config of a loco that uses the pressure you desi
273. ck Directory Structure A typical asset of this kind has the following File Directory Structure E config txt def ault im E rail oz texture txt IElrail oz tga LE railsection oz sleepers tga Eid railsection_oz_sleepers_alpha bmp E railsection oz sleepers railsection oz sleepers alpha texture Ext Ezjthumb jpg Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg default im Though the double track references a single track asset to be used as the track in game an actual double track model must be present to be used as the preview mesh in the surveyor panel This indexed mesh is not referenced in the config txt of the asset In order to be used the indexed mesh MUST be named default im rail_oz texture txt rail_oz tga railsection_oz_ sleepers tga railsection_oz_sleepers_alpha bmp railsection oz sleepers railsection oz sleepers alpha texture txt The texture files used for the default im indexed mesh See the section on Texture txt files on Page 96 for more information File Listings config txt bendy carrate casts shadows endlength grounded isroad istrack length repeats rgb shadows upright visible on minimap width kuid trainz build category class username kind bridgetrack height trackoffsets category region category era description thumbnails 0 image width height 1 7 9
274. ckcyltop tga 5 westing_blacksmallcyl texture txt EEE westing_blacksmallcyl tga E westing blacksurround Ihside texkure Exk LE westing blacksurround Ihside tga E westing_blacksurround_rhside texture txt LE westing_blacksurround_rhside tga 5 westing blacktop texture txt LE westing_blacktop tga E westing_bolt texture txt EE westing_bolt tga E westing_extrusion texture txt westing_extrusion tga westing frontwrap texkure Ext LE westing_Frontwrap tga E westing_greencyl texture txt EE westing_greencyl tga E westing_greenmidtop texture txt westing greenmidtop tga E westing_greentop texture txt IE westing_greentop tga E westing_maintop texture txt Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 263 uj westing_maintop tga westing_midcyl_hi texture txt T westing_midcyl_hi tga westing_midtop2 texture txt westing midtop2 tga westing_midtop texture txt westing_midtop tga westing_midtoptop texture txt westing_midtoptop tga westing_tallgreencyl texture txt westing_tallgreencyl tga westing_topcy _hi texture txt westing_topcyl_hi tga westing_topsmallcyl texture txt westing_topsmallcyl tga wheelslip pm wheelslip texture txt zT wheelslip tga windows_lhfront texture txt windows_lhfront tga windows hside texture Ext windows Ihside tga windows Ihsidedoor texkure Ext windows Ihsidedoor tga windows rhfront texture txt windows rhfront tga windows rhside texture
275. container structure 3 tracksound O levels D kuid table if thumbnails o See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS tracksound kuid kuid trainz build data category class data category region data category era data Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 183 username data kind data min distance data max distance data levels 0 data 1 data thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Value should be XSE Unclassified See the Special section of the Classes and Codes appendix located at the end of this document for more information category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username Though this asset doesn t appear in the Surveyor menu the username is used to identify the asset in the Content Manager Plus and Content Creator Plus programs kind Must be tracksound Additional Containers As well as containing all of the common tags and containers detailed in Chapter 5
276. contentcreation TRS2004 Container Flat zip DD40x cabin interior in game files source files http www auran com TRS2004 downloads contentcreation TRS2004_dd40_interior zip PB15 Steam interior in game files source files http www auran com TRS2004 downloads contentcreation TRS2004_PB15_interior zip Steam Sound http www auran com TRS2004 downloads contentcreation TRS2004 Steam Sound zip Twinkles http www auran com TRS2004 downloads contentcreation Twinkles zip 3dsmax 4 amp 5 Plugin for Bump mapping support and Bump mapping description http www auran com TRS2004 downloads contentcreation TRS Max4 Plugin Bump zip Asset Creation Studio for gmax export http www auran com trainz creation Trainz Asset Creation Studio zip Passenger Asset Tutorial http files auran com TRS 2004 downloads contentcreation SP2 Passenger Asset Tutorial zip Variable Rules Tutorial http files auran com TRS 2004 downloads contentcreation SP2 VariableRules Tutorial zip API Programmer s Reference Manual covers most of the script classes and methods http www auran com TRS2004 trssp4dl dfile php FilelD 10 TRS2006 Sessions amp Rules Guide original installed in C Program Files Auran TRS2006 Docs manuals_cd extras http files auran com TRS2006 manuals TRS2006 Sessions amp Rules Guide 31 Oct 2005 zip AKI Utility to automatically add keywords to assets based on the content creator ID http www auran com TRS2006 p
277. correctly and the export requirements It is not a tutorial on how to make models manipulate shapes or to map textures 3DSMax gmax Initial Setup You should first set up 3dsmax or gmax with default settings both programs have similar settings The units are easiest to work with when set to metric some experience problems with animation in imperial units Set the menus as follows 1 From the Customise Preference Settings General set the System Units Scale 2 From the Customise Units Setup set the Units 3 From the Grid and Snap Settings Home Grid set the grid to a very fine value say 0 01 metres This allows you to have a fine grid when you zoom in and allows you to snap objects to the grid points this option may be turned on or off in 3dsmax gmax The grid will not clutter the Screen as it only shows a grid density suitable for viewing as you zoom in or out 4 From the Customise Preferences Files some boxes may already be ticked but the following settings are useful Increment on save after first saving the file with a name of your choice subsequently using the save button will automatically create a new saved file incrementing the file number For a file called bridge this gives bridge001 bridge002 etc as you Save the file you do not need to use Save As Save often and if you have a problem with the model you can go back a few saved steps and start again When you have finished the model you c
278. coupler gap Maximum gap expected between couplers of this type meters origin The Country Abbreviation paintshed skin used Kuid of the paintshed skin used if applicable paintshed template used Kuid of the paintshed template used if applicable product id For paintshed support product type For paintshed support product version For paintshed support smoke fastlife Longevity of smoke particles at normal speed smoke height How hard particles are pushed out of the stack smoke random Level of particle excitation smoke shade Smoke opacity 0 1 smoke slowlife Longevity of smoke particles at low speed tender Specifies that the traincar is a tender THIS KIND HAS THE FOLLOWING CONTAINERS Queues Container Smoke Container SoundScript Container Mesh Table String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions Bogeys TAGS kuid trainz build category class category region category era username kind engine mass alias author autoname backlength backpivot buffer speed cabinsway category keyword class company contact email contact website description description cn description cz description de description es description fr description it description pl d
279. creator information The New KUID2 format in TRS gives greater version control and flexibility over asset updates It eliminates the need to give a new Content ID every time you the creator releases a new version of the same asset Refer to the KUID2 information on Page 4 mesh table This is the new and preferred method of asset mesh placement for most mesh asset types It gives flexibility and control for mesh placement and animations There are some asset types that cannot use a mesh table These include all Bridges Tunnels Rails Pantographs and Other Spline Objects eg Fences or Catenaries Important Note Any asset that uses a mesh table will not be compatible with pre TRS versions of Trainz i e Ultimate Trainz Collection or UTC TRS will of course still read UTC assets As with most major software releases backwards compatibility is usually achievable while forwards compatibility is often impossible default Default is the main mesh of the asset Blue text Required tags Green text Optional tags kuid lt KUID2 1234 5678 1 gt Note This example mesh table refers to a Im file LOD file The mesh default tag could also refer to the mesh itself i e mesh industry lm industry im If this anim anim kin were the case the animation loop speed 1 0 b auto create d asset would not have LOD mesh reduction effects 0 See Page 370 for Level of Detail LOD kind name
280. d cabin fan switch GetNamedControl fan_ switch window wipers GetNamedControl wiper _ switch switch3 GetNamedControl switch 3 switch4 GetNamedControl switch 4 switch5 GetNamedControl switch 5 switch6 GetNamedControl switch 6 switch7 GetNamedControl switch 7 switch8 GetNamedControl switch 8 cabin fan_light GetNamedControl switch light0 window wipers light GetNamedControl sw xtehlightl light3 GetNamedControl 2 light4 GetNamedControl 3 light5 GetNamedControl switchlight4 light6 GetNamedControl switchlight5 6 7 switchlight switchlight light7 GetNamedControl light8 GetNamedControl switchlight switchlight RunAnimation void UserSetControl CabinControl p control float p value DD40CabinData cd cast lt DD40CabinData gt loco GetCabinData if p control cabin fan switch bool wantFanAnimation if wantFanAnimation cd animatingFan cd animatingFan wantFanAnimation UpdateFan p value 0 5 if wantFanAnimation cabin fan light SetValue 1 0 else cabin fan light SetValue 0 0 else if p control window wipers bool wantWiperAnimation p value 0 57 if wantWiperAnimation cd animatingWiper cd animatingWiper wantWiperAnimation UpdateWipers if wantWiperAnimation window wipers light SetValue 1 0 else window wipers light
281. d turntable username testTurntable trainz build 2 5 BR category class category region category era snapmode dighole light angle 0 210 220 looping description mesh table default mesh auto create turntable mesh auto create attached track track_turntable track useadjoiningtracktype vertices 0 1 track0 base track useadjoiningtracktype vertices 0 1 track1 base track useadjoiningtracktype vertices 0 1 00 1850s 1860s 1870s 1880s 1 1 0 10 20 30 40 50 60 180 190 20 0 Test turntable asset base base im 1 turntable turntable im 1 lt kuid 11 32001 gt 0 a itrackOa a itrackOb lt kuid 9 50001 gt 0 a otrackOa a otrackOb lt kuid 9 50001 gt 0 a otrack1a a otrack1b Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 337 track2 base track useadjoiningtracktype vertices 0 1 track3 base track useadjoiningtracktype vertices 0 1 track4 base track useadjoiningtracktype vertices 0 1 track10 base track useadjoiningtracktype vertices 0 1 kuid table 0 1 thumbnails 0 image width height lt kuid 9 50001 gt 0 a otrack2a a otrack2b lt kuid 9 50001 gt 0 a otrack3a a otrack3b lt kuid 9 50001 gt 0 a otrack4a a otrack4b lt kuid 9 50001 gt 0 a otrack10a a otrack10b
282. d data isroad data istrack data length data repeats data rgb data shadows data upright data visible on minimap data width data kuid kuid trainz build data category class data category region data category era data username data kind data bridgetrack kuid height data trackoffsets data initiator data divider data terminator data kuid table 0 kuid thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be TT Tunnel See the Track section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that appears in the surveyor menu kind Must be bridge rgb Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 188 This value should be left as default height Height from the track level to the base Must bea positive value in order to place the tunnel under the ground bridgetrack Kuid of the track type to be used Kuid Table The kuid of the track road used in the asset
283. d data thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be one of the following Product IC Container Category IP Passenger Category IB Bulkload Category IL Liquid Category See the Product section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that appears in the surveyor menu kind Must be Product Category Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 168 THIS KIND HAS THE FOLLOWING CONTAINERS String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions TAGS kuid trainz build category class category region category era username kind author category keyword contact email contact website description descriptio
284. d flat near the ground Kuid Table The kuid of the track road used in the asset should be present here as should those of any other referenced assets THIS KIND HAS THE FOLLOWING CONTAINERS Track Sound String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions TAGS bendy carrate casts_shadows endlength grounded isroad istrack length repeats rgb shadows upright visible on minimap width kuid trainz build category class category region category era username kind alias author category keyword contact email contact website description description cn description cz description de description es description fr description it description pl description nl description ru divider dont flip terminator hidden initiator invisible license light organisation terminator uncached_alphas username cn username cz username de username es username fr username it username nl username pl username ru KIND TRACKSOUND Description A sound asset that is referenced by track or bogeys to play a different sound from the default track train sound for example when a train travels over a bridge or through a tunnel Container Structure A well formed tracksound kind has the following
285. d glow variations and the coal shoveller needed to be controlled and linked to the coal requirements also Download PB15 Interior source and in games files here http www auran com TRS2004 downloads contentcreation TRS2004_PB15_interior zip See PB15 interior Config txt on the following page Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 49 PB15 Steam Interior Config txt kuid KUID 3 10191 kind interior script pbl5cabin class PBl5Cabin camera 0 769 0 566 0 617 cameralist camera0 0 817 0 026 0 654 0 026 cameral 0 808 0 474 0 694 camera2 1 429 0 461 0 617 camera3 0 769 0 566 0 617 0 157 camera4 0 703 0 831 0 694 camera5 1 344 0 305 0 617 cameradefault 3 obsolete table 0 KUID 44179 55003 soundscript coal on trigger coal on attachment a coalman ambient 1 nostartdelay 1 repeat delay 0 0 001 distance 5 200 sound sound coal shovel2 wav shovel againstmetal trigger shovel againstmetal attachment a coalman ambient 1 nostartdelay 1 repeat delay 0 0 001 distance 5 200 sound sound shovel hit wav step_metal trigger step metal attachment a coalman ambient 1 nostartdelay 1 repeat delay 0 0 001 distance 5 200 sound sound metal footstep left wav coal off trigger coal off attachment a coalman 0 214 0 162 0 715 0 015 ambient 1 nostartdelay 1 repeat delay 0 0 001 dista
286. d in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be one of the following values J Texture JC Corona JI Icon JP Particle Effect Texture JO Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 179 Other Texture See the Texture section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username Though this asset doesn t appear in the Surveyor menu the username is used to identify the asset in the Content Manager Plus and Content Creator Plus programs kind Must be texture texture The texture file to be used THIS KIND HAS THE FOLLOWING CONTAINERS String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions TAGS kuid trainz build category class category region category era username kind texture author category keyword contact email contact website description de
287. d_map texture txt Exporter generated txt file pue load_map tga gt Load texture El unload left Pe 3 erz3d texture txt Ex lg erz3d tga The grey area indicates optional files The load files A 3 unload left im are essential for visualisation of the TRS bulk load id ug unload_left kin product such as coal or woodchips El unlaad right P m erz3d texture txt A erz3d Ega oe unload right im amp unload right kin ns 3j coal happer bady im E 59 The hi res mesh in level of detail mesh reduction di B coal_hopper_body lm txt 2 LOD file Im Ref through default mesh in config rem i coal hopper body low im The low res mesh in level of detail mesh reduction B erz3d texture txt ee Sy erz3d tga 9 9 pit tga file EI coal hopper shadow M B black texture Ext T 3 black tga gt Default textures for shadows l B coal hopper shadow im gt Shadow mesh wes 3 caal dumpl wav gt Wave sound files Timing controlled through script pe B coal_load way Config txt and Hopper gs script files Refer Lans B Config txt gt http www auran com TRS2004 trssp4dl dfile php FilelD 10 itg E Hopper gs Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 375 ALIASING TRAINS TRS Traincars can reference archived locomotive mesh assets for use with custom textures This process is done by aliasing the KUID
288. data 1 data kuid table 0 kuid thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be BR Railway scenery non functional See the Building and Structures section of the Classes and Codes appendix located at the end of this document for more information category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that appears in the surveyor menu kind Must be turntable Additional Tags angle Specifies the angles at which the turntable stops Not used if the turntable is set up as animation frame rate Generally make this 30 frames per second keyframes Specifies where on the animation the turntable is to stop looping Specifies that the turntable can go all the way around rather than stopping at a certain point snapmode Specifies the alignment of the turntable to the surveyor grid 1 origin snaps to grid intersections use for removing even dighole values 2 7 origin snaps to the center of a grid square use for odd dighole values dighole Specifies the number of g
289. dge shadow File Listings config txt bendy carrate casts shadows endlength grounded isroad istrack length repeats rgb shadows upright visible on minimap width kuid trainz build category class category region category era username kind bridgetrack height trackoffsets description thumbnails 0 image width height 7 9 lt kuid 171456 100031 gt 2 5 TB US 1830s testBridge bridge lt kuid 3 10049 gt 15 2 5 0 Test Bridge asset thumb jpg 240 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 202 Buildable Directory Structure A typical asset of this kind has the following File Directory Structure carriageshed2 texture Exk fT carriageshed2 tga i carriageshed im carriageshed lm txt carriageshed texture Ext SR carriageshed tga carriageshedlow irn config Ext Hi thumb jpa TE Ebo ee Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg carriageshed2 texture txt carriageshed texture txt Various texture txt files See the section on Texture txt files on Page 96 for more information carriageshed2 tga carriageshed tga Various texture
290. direction Vehicle DIRECTION FORWARD report sideFlags LoadingReport LEFT SIDE else if direction Vehicle DIRECTION _ BACKWARD report sideFlags LoadingReport RIGHT_SIDE vehicle LoadProduct report Already done something to the queue if so set flag so that we don t unload it again just for this multi ind if report amount gt 0 lumberWBModified true j Load the woodchips if GetProcessOutput multi consumer producer woodchipsQueue woodchipsAsset gt 0 1 spaceAvailable woodchipsQueue GetQueueCount report CreateLoadingReport woodchipsQueue spaceAvailable direction vehicle GetRelationToTrack me out _ track0 if direction Vehicle DIRECTION FORWARD report sideFlags LoadingReport LEFT SIDE else if direction Vehicle DIRECTION _ BACKWARD report sideFlags LoadingReport RIGHT_SIDE vehicle LoadProduct report Already done something to the queue if so set flag so that we don t unload it again just for this multi ind if report amount gt 0 woodchipWBModified true j Load the water Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 239 if GetProcessOutput multi consumer producer waterQueue waterAsset gt 0 1 spaceAvailable waterQueue GetQueueCount report CreateLoadingReport waterQueue spaceAvailable direction vehicle GetRelationToTrack me out _
291. dsmax gmax will be called b r pivot not a r pivot The submesh will now follow any animation in the main mesh It can be useful for moving coronas and animated nightwindow meshs Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 363 Steam Cab Fire and Coal Glow Effects These effects are generated automatically by TRS when it finds firebox fire coal and fireglow in the config txt firebox mesh firebox im auto create 1 kind firebox light 0 test collisions 0 fire mesh fire im auto create 1 light 0 test collisions 0 coal mesh coal im auto create 1 light 0 test collisions 0 fireglow mesh fireglow im auto create 1 light 0 test collisions firebox mesh Ce Note the tag light O This is because the mesh s lighting is dealt with differently through code to resemble the gradual glowing of the coal and fire heating up coal mesh fire mesh flametest2 tga Firebox This is simply a textured box TRS controls lighting effects when the temperature rises Fire This is simply a few polygons with simple planar UVW mapping with a texture called flametest2 tga The UVW mapping is altered automatically by TRS to play each frame of the fire animation coal This is simple mesh with simple planar UVW mapping with a texture called coalfire tga The UVW mapping is altered automatically by TRS as the temperature rises fireglow This is single pol
292. duct queue values Simple carriage cars require only a limfront a limback a bog0 and a bog1 Another idea for animated attachments is a diesel locomotive roof fan This would be set up using the same animated mesh inserted at each point This can be done easily through the mesh table Refer to TRAINCAR EXAMPLES Page XIII for links to downloadable in game files documentation and source files of the various types of TRS compatible traincar assets Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 349 TEXTURES and FILE SIZES Textures should be tga files 24 bit An alpha channel may be used for opacity within the tga file 32 bit Alternatively a separate bmp file 16 or bit may be used for opacity While jpg files may be used it is not recommended as they are a compressed file format and lose quality if repeatedly loaded and resaved Trainz has to uncompress each jpg file on loading and this degrades performance The jpg file does not support an alpha channel The materials are of Multi Sub Object type one M SO only per model and we have used UVW Map and Unwrap UVW for texture allocation Textures must be of following pixel dimensions 8 16 32 64 128 256 512 and 1024 pixels Maximum ratio 7 1 8 e g 64x512 Diffuse Maps In many cases a single 512x1024 24 bit tga file is sufficient to texture a locomotive We recommend not making them any larger than this Occasionally an ex
293. e Airport with it s jet animation the detail would be too small in the window Some assets such as inbuilt fixed track assets do not have a mesh and require a preview mesh reference to show a display in the Surveyor asset menu window Kinds that use this tag bogey buildable drivercharacter fixedtrack industry interior mesh mocrossing mojunction mosignal mospeedboard pantograph product scenery trackside scenery traincar turntable Preview scale Scale of the preview mesh Kinds that use this tag bogey buildable drivercharacter fixedtrack industry interior mesh mocrossing mojunction mosignal mospeedboard pantograph product scenery trackside scenery traincar turntable nightmode Only add this tag if you reference a default night mesh in the mesh table It is mandatory if you want a night mesh to show Values home lamp or constant Home switches on night effects at dusk and off sometime during the night Lamp switches the night effects on from dusk to dawn Constant lights are on day and night Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 112 Kinds that use this tag buildable fixedtrack industry mocrossing mojunction mosignal mospeedboard scenery trackside scenery traincar turntable rgb This value should be left as default Kinds that use this tag bridge buildable chunky track double track fixedtrack industry mesh reducing tr
294. e French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions Throttle Power Container Dynamic Brake Container Pressure Container Mass Container Motor Container Flowsize Container Volume Container Steam container Steam Power TAGS kuid trainz build category class category region category era username kind author category keyword class contact email contact website description description cn description cz description de description es description fr description it description pl description nl description ru license organisation username cn username cz username de username es username fr username it username nl username pl username ru KIND TEXTURE Description A simple texture asset that can be referenced from another asset for example a custom corona by referencing its kuid Container Structure A well formed texture kind has the following container structure Ss texture if thumbnails 0 See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS texture kuid kuid trainz build data category class data category region data category era data username data kind data texture file thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further define
295. e Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions TAGS kuid trainz build category class category region category era username kind allows mixing instance type mass product category alias author category keyword contact email contact website description description cn description cz description de description es description fr description it description pl description nl description ru icon texture iconO icon1 icon2 icon3 license organisation preview mesh kuid preview scale product texture username cn username cz username de username es username fr username it username nl username pl username ru KIND PRODUCT CATEGORY Description A category class of products commodities that Trainz compatible rolling stock and industry assets are able to process It specifies the type unit of measurement and the picture icon that displays the category on Surveyor or Driver Bulk liquid passengers and containers are product category examples Container Structure A well formed product category kind has the following container structure 3 product category E thumbnails o0 See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS product category kuid kuid trainz build data category class data category region data category era data username data kin
296. e This is particularly useful if you are editing a config txt from an existing asset to create a new asset Click on a container name with the Right mouse button to open the options for the container and select an item using the Left mouse button Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 89 2 Tag Space This section of the program displays the content of a container It dynamically changes as you either select different containers or add delete tags Selected tags may have a variety of buttons placed adjacently UN ale x Load View in Content Manager Plus Tag Name Tag Value enginespec Maglev Transrapid Engine File enginesound homsound interior Tag Name The name of every mandatory and or user selected tag will be displayed on the left hand side of the space Tag Value The value stored in the selected tag initially shows blank for a new asset Load This button will let you select a file or asset depending on the tag type which will be loaded into the Tag Value display View in Content Manager Plus This button will open Content Manager Plus and allow you to find and select an asset or for an already selected asset will show you that asset Because the assets are loaded using their username it allows you to verify that the selection is the one intended Delete Removes the selected tag from the working config txt 3 3D Viewport When a mesh is refe
297. e air wav e alarm wav E assetcheck gse e beep wav Bl config txt eJ deadman wav e ding wav e doors wav downhill tga res exclaimred tga uj flat tga a funeral way um green tga e handbrake wav res handpauseblue tga uj info tga El janus dat iz jprintbg tga jt 2 gse E it02 tso t 2 tso txt res red tga amp setobjective wav eJ speedwarn wav uj uphill tga e warblesiren wav iu wspeed tga images Ezjbuttonend Jjpa Ezjbuttonends jpg Ezjbuttorfiller jpg Ezjbuttonhint Jpg Ezjbuttonhints jpa buttonless jpg Ezjbuttonlesss jpa Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg info tga The icon graphic file to be displayed jt02 gse The script file for the asset various tga various jpg Various graphic files used by the asset various wav Various sound files used by the asset File Listings kuid trainz build category class category region category era username kind script class description v1 2 lt kuid 171456 100064 gt 2 5 ys QQ 2000s testActivity activity jt02 gse MyJTO2 RBR Demo 3 Shunting 101 A test Activity based on the included RBR Demo 3 Shunting 101 by Razorback Railway kuid table xptloco xptcar1 qrpass1 qrguard qrlouvre coalmine coalminebasic container stationsmall ipl3 etc thumbnails 0
298. e Content Creator s Guide Version 2 0 173 KIND STEAM ENGINE auxreservoir autobrakecylinder data Description equaliser mainreservoir data The special engine specification for steam locomotives equaliservent data which defines the detailed performance requirements such as throttle requirements engine and braking equaliserventhandleoff data performance boiler capacity and steam attributes equaliserventemergency data no3pipevent data Container Structure no3pipe mainreservoir data A well formed steam engine kind has the following container structure compressor data DS steam engine trainbrakepipe_reservoir data O flowsize O volume trainbrakepipevent data z a no3pipe autobrakecylinder data motor epreservoirpipe autobrakecylinder data steam d kuid table mainreservoir ep data steam power thumbnails vacuumbrakepipe data 0 vacuumbrakepipereleasevent data See Chapter 7 for an example asset of this kind vacuumbrakepipevent data EU E THIS KIND MAY HAVE THE vacuumbrakereservoir vacuumbrakepipe data i vacuumbrakecylinder vacuumbrakepipe data steam engine jud gu highspeedexhauster vacuumbrakepipe data ui ui volume trainz build data scale data category class data i T trainbrakepipe data category region ata R dus epreservoirpipe data no3pipe data username data ied m no4pipe data auxreservoir data owsize fanaka d autobrakecylinder data rainbrakepipe ata vacuumbrakepipe data epreservoirpipe data Ba S vacuum
299. e Deceleration variables while dynamic braking in cabin mode effects subcontainer mesh table ID mesh table Optional mesh table variations ID 7 f m leffects ID effects User supplied identifier smoke 1 smoke block Specifies whether the effect is enabled endcolor rgb value smoke smoke block The final colour the smoke effect shifts to endlength float metres config txt splines Length in meters of the initiator and terminator models Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 412 TAG OR CONTAINER DATA TYPE PARENT APPLIES DESCRIPTION CONTAINER TO engine boolean config txt traincar States type of traincar 0 for Rolling stock 1 for Locomotive References the KUID number for the traincar s sound enginesound kuid config txt traincar enginespec kuid config txt traincar References the engine KUID number This specifies the driver physics boundaries for the traincar epreservoirpipe flowsize engine Flowsize for electro pneumatic braking epreservoirpipe volume 1 engine For electro pneumatic braking not currntly used epreservoirpipe autobrakecylinder flowsize engine Flowsize for electro pneumatic braking epreservoirpipe start pressure engine For electro pneumatic braking not currntly used equaliser volume 1 engine Equalising reservoir volume equaliser mainreservoir flowsize engine Flowsize for electro pneumatic braking equaliser sta
300. e NEGATIVE Z direction This is especially useful for Traincars Adding this tag over rides this behavior to make the corona always face the screen useful for scenery objects object size 0 15 optional Size of the corona on the object when viewed up close defaults to 0 15 i e 0 15m TRS released corona textures e Yellow orange corona Green corona Red corona White corona Default if no texture kuid lt KUID 3 10110 gt lt KUID 3 10112 gt lt KUID 3 10111 gt EFFECT KIND TEXTURE REPLACEMENT This effect was created for rolling stock items to swap the visible texture of bulk loads such as coal or woodchips If a coal car is set up to take any bulk load which includes woodchips the coal texture on the load mesh will update to a woodchips texture when it loads woodchips For detailed information on the setup of rolling stock load see Page 372 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 13 EFFECT KIND ATTACHMENT In TRS we have the ability to attach a mesh into another mesh by referencing it s KUID through a mesh table An example is the red display arrows for the fixed track assets Rather than having an arrow in each fixed track asset directory we saved a lot of memory space by making the config txt file reference a KUID of that mesh Therefore it only needed to be cached once The mesh to be used should only be of kind scenery or kind m
301. e Pressure for the bail pipe when the game is loaded normal path filename tga config txt environment Name of image file for normal sky File should be 256 x 256 pixel 24bit tga The file extension should be excluded here ie QLD Sky rather than qLD_ Sky texture txt nostartdelay boolean soundscript ID mesh object 0 or 1 default 0 If not set the sound will have a short delay before playing this stops flanging flanging is a really nasty sound caused when several copies of the same sound are played at once notches float list mesh table ID interior The position of notches within the angle boundaries These are represented as decimal points between and including 0 and 1 notchheight mesh table ID The size of the notches specified object size float metres leffects ID corona effect Size of the corona on the object when viewed up close Defaults to 0 15 i e 0 15m obsolete table container config txt all The obsolete table describes the asset s revision history ontheright region Cars drive on the right side of the road opacity 0 1 mesh table ID mesh object Controls the opacity of the mesh Zero invisible not recommended or one solid opacity 0 1 mesh table ID interior Usually used for the window mesh to give transparency and the impression of reflection organisation string config txt general Organisation name will show in Trainz in Railyard as the organisation f
302. e indexed mesh used for the Industry asset multiple_industry gs The script file used to outline the behavior of the industry File Listings config txt kuid trainz build category class category region category era username kind light nightmode script class preview mesh kuid lt kuid 56113 1001 gt 2 5 BIN QQ 1810s testIndustry industry 1 lamp multipleindustry gs MultipleIndustry lt kuid 3 10154 gt iconO description lt kuid 3 10164 gt Test Industry asset Based on the Mulitple Industry New kuid table coal diesel cont20ft gengoods logs lumber water mesh table default mesh auto create effects arrow0 att default mesh surveyor only kind arrow1 att default mesh surveyor only kind attached track out track0 track vertices lt kuid 44179 60013 gt lt kuid 3 10011 gt lt kuid 3 10014 gt lt kuid 3 10013 gt lt kuid 3 10001 gt lt kuid 3 10003 gt lt kuid 3 10004 gt Multiple Industry im 1 a track0a lt kuid 3 10092 gt 1 attachment a trackOf lt kuid 3 10092 gt 1 attachment lt kuid 1 15 gt a track0a a trackOb a trackOc a trackOd a trackOe Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 233 5 attached trigger trigO att radius trig1 att radius trig2 att radius trig3 att
303. e map the tga texture is placed in the diffuse colour slot of the Material Navigator and the opacity map is placed in the opacity slot If an alpha channel is used the same tga file is placed in the opacity slot Often it is necessary to tick the texture 2 sided box so the object is visible from all directions particularly with ladders and windows Opacity Fade Out Most opacity maps are primarily black and white In TRS requirements have changed for the opacity map If the map consists only of black and white a third colour must be added It is convienient to add at least one pixel of another colour say rgb 32 32 32 to an area of black This is necessary to prevent the object from fading out and flickering a short distance away It is particularly important with ladders railings and catenary any model with fine detail However use of the third color can give interferance between different overlapping opacity layers See Opacity Interferance on Page 356 Alpha Channel Use While a separate opacity map to create the transparent effects may be used it is better to make the opacity map an Alpha channel of the original tga diffuse texture This may be made in Photoshop Paint Shop Pro or TgaTools2 The primarily black and white Alpha channel is saved embedded within the diffuse tga texture file Using the alpha channel procedure is more efficient for Trainz to process it is quicker to load than two separate maps This is
304. eSpec flowsize trainbrakepipe epreservoirpipe no3pipe no4pipe auxreservoirvent auxreservoir_no3 auxreservoir_trainbrakepipe autobrakecylindervent auxreservoir_autobrakecylinder equaliser_mainreservoir equaliservent equaliserventhandleoff equaliserventemergency no3pipevent config txt cont no3pipe_mainreservoir compressor trainbrakepipe_reservoir trainbrakepipevent no3pipe_autobrakecylinder epreservoirpipe_autobrakecylinder mainreservoir_ep vacuumbrakepipe vacuumbrakepipereleasevent vacuumbrakepipevent vacuumbrakereservoir_vacuumbrakepipe vacuumbrakecylinder_vacuumbrakepipe highspeedexhauster_vacuumbrakepipe volume scale trainbrakepipe 0 2 epreservoirpipe 0 2 no3pipe 0 2 no4pipe 0 2 auxreservoir 0 0384678 autobrakecylinder 0 00969387 vacuumbrakepipe vacuumbrakereservoir vacuumbrakecylinder mainreservoir equaliser independantbrakecylinder 0 0103239 pressure scale 1 compressor 0 011248 mainreservoir 0 0081548 highspeedexhauster 0 brakepipe 0 00736041 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 212 brakeinitial config txt cont brakefull indbrakefull trainbrakepipe start epreservoirpipe start no3pipe start no4pipe start auxreservoir start autobrakecylinder start vacuumbrakepipe start vacuumbrakereservoir start vacuumbrakecylinder start mainreservoir start equaliser start independantbrakecylinder start mass scale fuel
305. eate 1 att a dialO mesh dial pm limits 0 1 angles 0 3 8 notches 0 1 notchheight 0 0 att parent default diall kind lever auto create 1 att a diall mesh dial pm limits 0 1 angles 0 3 8 notches 0 1 notchheight 0 0 att parent default fan mesh fan im anim fan kin auto create 1 att a fan att parent default visor0 mesh visor im auto create 1 att a visor0 att parent default kind lever mousespeed 1 limits 0 1 angles 0 1 7 notches 0 0 125 0 75 0 875 1 notchheight 0 0 0 0 0 0 0 0 O visorl mesh visor im auto create 1 att a visorl att parent default kind lever mousespeed 1 limits 0 1 0 25 0 375 0 5 0 625 0 0 0 0 0 angles 0 1 7 notches 0 0 125 0 25 755 0 875 1 notchheight 0 0 0 0 0 0 0 0 O 0 3975 0 5 04 625 sl wind R Fr mesh sliding wind R Fr im auto create 1 att a sliding wind R Fr att parent default limits 0 1 0 angles 0 0 011 notches 0 0 125 0 25 75 0 875 1 notchheight 0 0 0 0 0 0 0 0 O kind lever 0 375 0 5 0 625 sl wind R Bk mesh sliding wind R Bk im auto create 1 att a sliding wind R Bk att parent default limits 0 1 0 angles 0 0 011 notches 0 0 125 0 25 755 0 10755 2 notchheight 0 0 0 0 0 0 0 0 O mousespeed 1 kind lever 0 375 0 5 0 625 sl wind L Fr mesh sliding wind L Fr im auto create 1 att a sliding wind L Fr att parent default
306. eated for the relevant files This sub directory includes the exported coalman im mesh file a number of animation files coalman_loop1 kin file for example and all the textures for the coalman model Main diffuse texture files main color texture placed and mapped on the mesh in 3dsmax or gamax in this directory are tga type files The bmp file format is used for opacity files associated with the texture files These files allow certain parts of the main texture file to be transparent or translucent depending on the amount and location of grey or black areas in the file Opacity can also be included as an Alpha layer of the main tga file this is more efficient as Trainz only has to load one file instead of two separate files Please refer to Page 350 for the correct file format and file sizes to be used for model assets Main Body Directory The main body mesh of the model is placed in the pb 15 body subdirectory Files similar to the ones described in the coalman directory but specific to the main locomotive body are also included in this directory When the mesh file is exported from 3dsmax or gmax a texture txt file is automatically generated for each combination of textures for example the catcher catcher texture txt file This text file includes details of the tga diffuse texture and the bmp opacity file that have been used in combination to texture the catcher part of the locomotive The opacity file will make parts
307. eation and configuration of 3D effects for use in 3D games Twinkles is game independent and requires a TRS effects plugin to convert it s particle emitters into TRS format a tfx file Once installed adding an effect in Twinkles allows you to add and configure the TRS particle emitter effect Full documentation is supplied with Twinkles PFX as is the TrainzPFX plugin Examples of smoke block configuration for TRS assets are available from the Twinkles PFX User Guide doc which forms part of the Twinkles install A number of tutorials are available from forum links explaining how to use twinkles effects See also Page 392 for some uses of the tfx file with the mode options Download Twinkles from the following site http www auran com TRS2004 downloads contentcreation Twinkles zip Config txt kuid lt KUID2 1 gt kuid lt KULD2 1 gt kind traincar bogey 0 engine 1 name Steam Train mass 100000 enginespec lt KUID gt enginesound lt KUID tttED hornsound KUID 4f44 44444 interior lt KUID gt smoke0 attachment a steam l mode anim color 255 255 255 150 start 0 period 0 4 rate 2 velocity 1 lifetime 2 minsize 0 05 maxsize 1 smokel attachment a steam r mode anim color 255 255 255 150 start 0 5 period 0 4 rate 2 velocity 1 lifetime 2 minsize 0 05 maxsize 1 smoke2 attachment a steam safety mode time color 255 255 255 150
308. ect the node for renaming if allowed some names are reserved When you click with the Right mouse button on one of the nodes a contextual menu will pop up with four different sections Add Effects Sub Container anim animation loop speed att att parent collision parent critical animation light night mesh base opacity radius test collisions use parent bounds Tags Cut Copy Paste sacan Rename Remove Remove Sub Containers The first section is the available sub container section This section shows which sub containers you may add to the opened container Select a sub container by clicking on it with the Left mouse button Depending on the type of container added when you click with the Left mouse button on the new container name a number of compulsory entry dialog boxes may appear The diagram above shows the containers and tags available under a mesh container Tags The second section is the tag section This shows you the list of non compulsory tags a non compulsory tag is an optional tag for additional functionality When you click on one of the choices with the Left mouse button it will be added to the tag space that represents the container You may also delete any non compulsory tags Rename The rename option allows you to change the name of a container unless it is a reserved name Remove The remove option allows you to delete an unwanted container from the config txt fil
309. ection on Texture txt files on Page 96 for more information File Listings casts shadows endlength grounded isroad istrack length repeats rgb shadows upright visible on minimap width kuid trainz build category class category region category era username kind bridgetrack height trackoffsets initiator terminator description thumbnails 0 image width height 20 0 180 180 180 0 0 1 7 9 lt kuid 171456 100024 gt 2 5 TT AG 1830s testTunnel bridge lt kuid 1 15 gt 9 305 0 01 tunnel_QR_start tunnel_QR_end Test Tunnel asset thumb jpg 240 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 332 Turntable Animated Directory Structure This is a transfer turntable that has a moveable platform A typical asset of this kind has the following File Directory Structure E config Ext lidle way Ezjthumb ipg O trans base E concretel5 texture txt I concrete15 tga 2 pit texture Ext Ey pit taa EI platform tga E rail3 texture txt IE rail3 tga B raild texture Ext LE rail4 tga trans base im Cjtrans base night Lj light tga E light1 liahtmask2 texture txt E light1 lightmask texture txt E light texture txt Lj l
310. ed each displays corona white Signal placement is very important for correct operation of the system There are some rules to consider while signaling your map which if not observed may cause problems with getting the correct aspects to display There are also various departures from prototypical operation which should be considered when designing new signaling and also when installing it into a map corona corona white tga corona corona white tga corona corona white tga corona corona white tga corona corona green tga corona corona yellow tga corona corona red tga corona corona white tga corona corona white tga Note Don t forget the space between the number and bracket if you are editing by hand in Explorer Looking at the example above under the heading lights we see the light points that are attached to the 3D model This model has 10 of them they are named a lightO to a light9 From the signals section we know that when aspect 0 stop is displayed light point 7 is activated Looking at the extract left When light point 7 is activated it displays corona red When aspect 2 caution left is displayed light points 6 0 1 2 3 4 are activated When light point 6 is activated it displays corona yellow Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 82 KIND MOJUNCTION This is used for creating junction control levers Config txt kuid KU
311. ed DetailAnim or text ConfigData file water anim txt This is now loaded manually by Trainz so Trainz can cache the anim file in a separate folder water anim the grid is used if MaxAmp 0 use more if MaxAmp 0 use more if MaxAmp 0 Choppy Water Notation comments on the script removed for clarity config txt Choppy Water water anim txt Choppy Water water config txt Choppy Water kuid lt KUID2 1 gt version 1 00 version 1 00 kind water2 username Choppy water DetailAnim WaterManager WaterManagerGeneric description trainz build 2 5 animSampleRate 10 WaterMaterial category class EW animPeriod 5 category region 00 animSpeed 5 0 materialColor 0 20 0 45 0 45 0 8 category era 2010s animSize 128 128 materialRI 0 3 animWorldSize 450 0 opacityTex WaterOpacity texture animMaxHeight 1 0 opacityAmount 0 5 animScaleNormxY 4 0 FFT WaterGeometry animFFTWindVec 15 0 5 0 animPhillipsA 1 0e 3 UVScrollVelocity 0 0 0 05 animFFTSeed 0 TileUVScale 1 0 1 0 GridSpacing 10 0 TileGridSize 2 2 WaveFreq 0 0 MaxAmp 0 0 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 62 Glassy Water Notation comments on the script removed for clarity config txt Glassy Water water anim txt Glassy Water water config txt Glassy Water kuid lt K
312. ed and straight sections Junctions are not possible in TRS as the lever switching functionality for trains is not implemented Crossings may be made just create two attached track fields When a spline track is attached to a fixedtrack the fixedtrack will update to the attached track type unless useadjoiningtracktype O is used as shown left The arrows are inserted at each end as a kind attachment referenced by the arrow s KUID KUID 3 10092 Each fixedtrack asset needs a preview mesh as spline tracks will not render in the Preview window A preview mesh can simply be setup as a kind mesh This way the preview mesh will never be selectable or seen in Surveyor Crossing Attachments Curve Attachments a trackO0c Y a tracklb username FT 10 Deg 700m Rad kind fixedtrack kuid KUID2 444414 d 44 4 4 4 1 trainz build 2 5 preview mesh kuid lt KUID 3 10099 gt mesh table default mesh 10 700 im auto create 1 effects arrow0 kind attachment att a track0a default mesh KUID 3 10092 surveyor only 1 arrowl kind attachment att a track0e default mesh KUID 3 10092 surveyor only 1 attached track track0 track lt KUID 1 15 gt vertices 0 a track0a 1 a track0b 2 a track0c Default fixedtrack preview mesh KUIDs STRAIGHT CURVE lt KUID 3 10154 gt lt KUID 3 10099 gt Crossing Fixed Track attached track track0 track lt
313. ed meshes used in this product See the section on Texture txt files on Page 96 for more information female01 sit im female01 stand im female02 sit im female02 stand im female03 sit im female03 stand im female04 sit im female04 stand im female05 sit im female05 stand im The assorted indexed mesh files used to represent passengers inside a populated railcar icon texture texture txt passengers tga The product icon images 64x64 TGA File Listings config txt kuid trainz build category class username kind allows mixing instance type icon texture mass product category category region category era description mesh table female01 stand mesh female01 sit mesh female02 stand mesh female02 sit mesh female03 stand lt kuid 171456 100043 gt 2 5 Ip testPassenger product 1 instance icon_texture texture 65 lt kuid 3 10091 gt 90 1990s 2000s 2010s Test Passenger Product Female01 Stand IM Female01 Sit IM Female02 Stand IM Female02 Sit IM Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 305 mesh Female03 Stand IM female03 sit mesh Female03 Sit IM female04 stand mesh Female04 Stand IM female04 sit mesh Female04 Sit IM female05 stand mesh Female05 Stand IM female05 sit mesh Female05 Sit IM thumbnails 0 image thumb jpg width 240 height 180
314. ed to an object s config txt file to describe each smoke effect that will be created on the object Smoke blocks are named smoke where is a number and are sequentially numbered starting at 0 See Example 2 Smoke blocks have two sections main and sequence properties Main properties describe the attributes that do not change based on the mode s key Sequence properties describe a set of one or more phases periods in the smoke emission sequence A smoke block has the following format smoke mode time speed anim timeofday stack lowpressurevalve attachment lt name of attachment point color red green blue lt opacity gt accel X lt y gt z loop n start n lt n gt period n lt n gt rate n lt n gt velocity n lt n gt lifetime n lt n gt minsize n lt n gt maxsize n lt n gt Notation Is a number starting with 0 1 Means optional re Indicates a variable number of parameters Means or B These brackets define the smoke container limits and are generated by CCP when the config txt file is saved Breakdown name of attachment point Is the name of an attachment point in the model e g a smokeO a smoke1 a steam a chimney etc lt red gt lt green gt lt blue gt Are numbers from 0 to 255 describing the intensity of that color component lt opacity gt Is a number fro
315. eedle pm f7interior_switch pm f7interior_throttle_lever pm f7interior_trainbrake_ lever pm f7interior_westinghouse pm f7interior_ windows pm wheelslip pm The progressive mesh components used to create the interior asset More information on modelling interior assets can be found on Page 358 of this document attpoints txt A text file stating which attachment points relate to which assets For reference purposes only This file may be deleted File Listings lt kuid 56113 1014 gt 2 5 7 category region US category era 1960s 1970s 1980s testInteriorDiesel interior 2 Test interor asset based on the F7A interior mesh table ampmeter needle needle f7interior_ampmeter_needle pm a ampmeter needle 0 1500 0 2 12058 default Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 264 needie f7interior_bpflow_ a bpflow_needle 0 100 default bploco_equaliser needle f7interior_bplocoequaliser_needle pm a bplocoequaliser_needle 0 1000 default bplocomain_needle needle f7interior_bplocomain_needle pm a bplocomain_needle 0 1000 default bptrainbrakecylinder_needle kind needle mesh f7interior bptrainbrakecylinder needle pm a bptrainbrakecylinder needle 0 1000 default bptrainbrakepipe needle needle f interior bptrainbrakepipe needle pm a bptrainbrakepipe
316. eedo e P westinghouse limits data D windows wheelslip light att parent data H i oliin bploco equaliser o kind data See Chapter 7 for an example asset of this kind mesh file A TYPICAL ASSET OF THIS KIND MAY HAVE THE att data FOLLOWING TAGS as limits data merat att parent data kuid fuut bplocomain needle trainz build data kind data Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 147 mesh att limits att parent bptrainbrakecylinder needle kind mesh att limits att parent file data data data data file data data data bptrainbrakepipe needle kind mesh att limits att parent speedo needle kind mesh att limits att parent dynamicbrake lever kind mesh att limits angles notches notchheight att parent data file data data data data file data data data data file data data data data data data independantbrake lever kind mesh att data file data limits angles notches notchheight mousespeed att parent reverser lever kind mesh att limits angles notches notchheight att parent throttle lever kind mesh att limits angles notches notchheight mousespeed att parent trainbrakelap lever kind mesh att limits angles notches notchheight mousespeed att parent data data data data data data data file data data data data data data data file data data data
317. eferences Select Editing Program option Open the asset in Explorer in Content Creator Plus so the texture files may be accessed In TgaTools2 Load the appropriate map texture file as a Trainz file It will display the original graphic file and also any Alpha channel or opacity map in a panel to the right of the editor The original text included in the file is unrecoverable Save the file as black tga for example and the saved file will include any Alpha channel for transparency or opacity as used in the original asset If you wish to make the Alpha channel a separate bmp file use the program option Image Send Alpha Channel to Editor PSP or Photoshop you configured earlier This allows you to save the Alpha channel as a separate bmp file from your editor Modify the graphic texture files tga or bmp as required Note that any separate opacity bmp file must be the same pixel sizes as the main texture tga file In your cloned or modified asset type a new black texture txt file to refer to the extracted image or images Make sure you delete the original texture file when you have made a new texture txt file Consider the original texture filename the name indicates if the texture was a simple tga file a tga file with an Alpha channel or a tga file the also uses a separate Alpha or opacity bmp file for example 1 black texture this is a texture using only a black tga file for the asset Create a new tex
318. eframe mode to see how many segments are used in an object and reduce segments to the minimum suitable for the purpose Shortcut keys There are a number of shortcut keys that are useful refer to the Help display for 3dsmax gmax for a guide A particularly useful one is the function key F2 When in Edit Mesh mode and using the Polygon option to choose surfaces of an object by clicking on them the F2 key will toggle the color of those surfaces to show you exactly which ones you have chosen The Ctrl key is used when selecting a number of surfaces or polygons together for a complicated object Two sided textures For surfaces like planes that can be seen from two sides ticking the 2 sided box will make the one texture show on both sides Be aware that this can increase the effective polygons that have to be displayed in Trainz however Trainz will only have to paint those surface that are towards the viewer so the problem is somewhat reduced If you wish to have two different textures on the opposite sides of a plane you will need to make two separate planes separated by a small distance and each textured with the appropriate texture Make sure the Normals face the correct direction see below or the plane will be transparent In this case do not tick the 2 sided texture box for either texture The example below shows a billboard which is to have a different picture on each side A thin box is the basis for the model
319. eful application in that it automatically performs error checking and simplifies the preparation of your content for upload The Content Manager Plus module embeds information into the upload package that is required by the Auran Download Station Don t include files such as exe com or bat in the model files Because these files are a potential source of virus files they will not be packaged by CMP Only in game and text files are packaged For information on how to upload files and the Download Station requirements refer to Chapter 9 7 Backup your new content Backing up newly created content is important in case Trainz needs to be re installed or so that the content may be modified at a later date Once content is committed into the database the asset files are no longer available for copying or viewing unless they are re opened for editing Re opening files allows modifications to be made 1 Assets on the Download Station may be installed by re downloading again The Content Manager Plus CMP module makes this a seamless task 2 To disribute model assets to other users outside of the Download Station option make a cdp file from within CMP 3 Assets may be archieved from within CMP An archieve name and location may be specified and more than one asset may be incorporated in the archieve Trainz keeps track of any archieve created making an archieve does not remove the assets from Trainz it backs up the assets
320. egment in meters repeats The number of times the mesh is placed between spline points shadows Leave as default 0 unticked box upright Specifies whether the bridge legs point vertically or perpendicular to the spline visible on minimap Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 182 Specifies if the object track is displayed on the minimap width Width of track mesh in meters bridgetrack Kuid for the type of rail or road used on bridge height Height from the track level to the base should be negative trackoffsets Distance in meters the rail s are attached to the center of the spline Any number of tracks can be attached to the spline only splines with the same track offsets can be connected together divider Name of the model to use as the middle bridge section Placed in a subfolder with same name dont flip terminator Terminator model isn t mirrored on one side hidden Prevents the spline from being rendered initiator Name of model to use at start of bridge placed in subfolder with same name invisible Specifies if the object is invisible in driver or not invisible track for planes ships terminator Name of model to use at end of bridge placed in subfolder with same name uncached_alphas This is used in certain situations to improve alpha sorting This should only be set to 1 for tracks that use an alpha texture and are always place
321. egory class category region category era username kind direct drive alias animdist author category keyword class contact email contact website description description cn description cz description de description es description fr description it description pl description nl description ru iconO icon1 icon2 icon3 license organisation preview mesh kuid preview scale script username cn username cz username de username es username fr username it username nl username pl username ru KIND BRIDGE Description Road or rail bridges and similar assets as variable length splines The bridge kind may include initiator divider terminator segments and shadows The height and gradient of the bridge spline may be varied in Surveyor Container Structure A bridge kind has the following container Structure C3dark stone arch 2t end O dark stone arch 2t shadow C3dark stone arch 2t start config txt E dark_stone_arch_2t im E darkstone texture See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS bridge bendy data carrate data casts shadows data endlength data grounded data isroad data istrack data length data repeats data rgb data shadows data upright data visible on minimap data width data Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 119 kuid kuid trainz build data category class
322. el energy data maxspeed data firebox volume data brakeratio data main reservoir volume data max accel data westinghouse volume data max decel data thumbnails axle count data 0 surface area data image file moving friction coefficient data width data air drag coefficient data height data throttle notches data TAGS AND CONTAINERS Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 175 The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be one of the following AS Steam Loco amp Tender AT Steam Tank See the Motive Power section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username Though this asset doesn t appear in the Surveyor menu the username is used to identify the asset in the Content Manager Plus and Content Creator Plus programs kind Must be steam engine Additional Containers As well as containing all of the common tags and containers detailed in Chapter 5 the steam engine kind also contains additional containers and tags that are specialised to the requirement
323. en placed at the origin All animation and objects must be linked to this dummy directly or through other dummies connected to b r main 2 Place the b r dummies in top view and move them to their correct locations for the individual movement of parts of the model They are usually placed at the rotation point of the part Placing a dummy in top view sets the orientation of the dummy axis correctly at the start Normally do not rotate the dummy this misaligns the axis If the dummy is rotated the axis must be re aligned to the World axis 3 All parts must be placed correctly at the start of the animation key frame 1 The axis of all parts must then be aligned to the World axis before commencing the linking of parts 5 Dummies are linked to the b r main and the objects are linked to their respective dummies When this is done do not move or adjust the parts unless you are recording the movements as part of the animation the red animation box is turned on 6 Do not use groups in animation they will not export You can however choose a number of separate parts and link them to a common dummy in one step 7 Every part of the model must be linked to a dummy static parts must be linked to the b r main 8 Apply animation to the dummies only not the objects Do not move the dummies unless you are recording the animation see 5 above 9 All relevant dummies must be exported with the animated objects If you have two s
324. enerally leave this setting maxspeed maxspeed Maximum speed for DCC expressed in metres per second brakeratio Brake force for pressure reduction max accel Parameters for DCC acceleration amp deceleration max decel Parameters for DCC acceleration amp deceleration throttle notches Number of throttle notches axle count Resistance Axle Count surface area Resistance Surface Area moving friction coefficient Resistance Moving friction air drag coefficient Resistance Air drag Flowsize Container Flowsize settings specify the rate of flow through the pipes Generally these setting should be left unaltered The Flowsize Container has the following tags trainbrakepipe Flowsize of the brake pipe epreservoirpipe Flowsize of the electric pneumatic braking no3pipe Flowsize of the independent brake pipe no4pipe Flowsize of the bail pipe auxreservoirvent Flowsize of the auxiliary reservoir vent Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 177 auxreservoir no3 Flowsize of the auxiliary independent brake pipe auxreservoir trainbrakepipe Flowsize of the auxiliary reservoir brake pipe autobrakecylindervent Flowsize of the automatic brake cylinder vent auxreservoir autobrakecylinder Flowsize of the auxiliary reservoir automatic brake cylinder equaliser_mainreservoir Flowsize of the equaliser main reservoir equaliservent Flowsize of the equali
325. ent mode color rate velocity lifetime minsize maxsize E accel x conesize direction enabled endcolor faces file inherit velocity e interpolate loop loopdelay maxrate maxspeedkph minrate period scale shift start texture Other Regularly Used Tags alias autoname class dighole floating height height range iconO icon icon2 icon3 icon texture light preview mesh kuid preview scale nightmode rgb rollstep rotate rotate yz range rotstep script snapgrid snapmode surveyor name label surveyor only texture Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 104 Common Containers The following containers are present in all kinds Kuid Table A list of KUIDs required for this asset to function correctly A kuid table must be included where the config txt references additional KUIDs such as a bogey or a pantograph The Download Station performs a search and those found are added to the download pack Obsolete Table The obsolete table describes the assets revision history This container was used extensively for pre TRS2004 assets as each version required a unique Content ID In order to simplify this process the KUID2 format was introduced which now supersedes the obsolete table method TRS2006 and the Download Station automatically detect and use the most recent version of an asset whether it be thr
326. ented as decimal points between and including 0 and 1 notchheight The size of the notches specified radius The notch position relative to the attachment point mousespeed This controls the use of the mouse on screen Use this to control the mouse speed and push pull direction for levers and dials mousespeed 1 mousespeed 2 Inverts mouse direction Doubles mouse speed in default direction Inverts mouse direction and halves the speed mousespeed 0 5 test collisions 0 Mouse cannot be used for this mesh Collision mesh used instead i e animated levers opacity Usually used for the window mesh to give transparency and the impression of reflection RADIAN DEGREE CIRCLE for angle reference 105 7x12 190 t c 75 5 12 120 2x 3 135 3x 4 s 15 2 12 0 OF amp 360 2x 345 23x 12 255 17x 12 270 3x 2 285 19x 12 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 48 STEAM CAB INTERIORS Overview TRS steam cab interiors have been set up in generally the same way as diesel and electric cabs with a few additional steam specific features Many of the levers and fireplates have several moving objects and required mouse controlled animations This differed from the usual lever types with only one object set to rotate around an attachment point Not only did the levers need reviewing but the cab firebox itself had to produce fire an
327. eparate animations for the same model animations in separate subdirectories for example the common b r main must be exported for each animated model part Failure to include this may give a message nothing to export Again once you enter any dummy in the model and export it even before you have started any animation all parts must be linked to a dummy and the dummies linked together or parts will not show in Trainz 10 An event file may be used to start and stop animation with the help of triggers and script files The event file is a simple text file saved with an evt extension When exporting the animated model you will be queried for an event file You may point the exporter to the appropriate file and the commands from the file will be incorporated in the animation export See the Animation Events file section on Page 369 for details 11 Some difficulty may be experienced with animation in imperial units or mixed units Metric units are recommended and the System units must be metric 12 The Trainz exporter will only export translation and rotation in animations not scalar An object can be moved and rotated but you cannot change the size of the object 13 Bones may be used for smooth animation in Trainz They represent parts of the model aligned to the world axis and linked A bone linkage constrains the motion for example moving a hand moves the wrist elbow and shoulder to suit Bones must be linked to
328. epeat delay random min max seconds soundscript ID For clutter mesh objects specifies a color range for tinting purposes HSB color space For clutter mesh objects specifies a color range for tinting purposes HSB color space The rate of emission in particles per second for modes time speed and timeofday or the number of particles to emit over the animation period for anim mode Default is 4 The country region to which this asset belongs This should be one of the Auran supplied region names 1 or 2 numbers min max in sec time to delay between the end of the sound playing and playing it again randomised between min max default min is 0 default max is equal to min Notes Repeat delay now has two values rather than one When upgrading old assets make sure there is a repeat delay for both values or the sound will loop endlessly when triggered splines The number of times the mesh is placed between spline points engine Power figure for DCC a higher resistance value equals less power Affects the direction of the bogey This value should be left as default mesh object Predefined submesh identifier Right side passenger doors repeats config txt subcontainer float degrees min max degrees resistance motor reversed bogeys ID rgb config txt right passenger door mesh table rollstep config txt Where n is a value in degrees Used in conjunction with rotate yz range rol
329. er the shadow model is displayed category region region list config txt general A list of REGION codes or REGION GROUP codes category region region code config txt general A REGION codes or REGION GROUP code changeability 0 1 2 driver settings activity Propensity for weather to change none periodic extreme chunky info float list config txt splines These values in metres define the shape of the mesh created for the track chunky mesh folder config txt splines Name of texture to apply to rail The texture must be within a directory of the same name ie textureName textureName texture txt The chunky _ mesh value will simply be the name of this directory ie textureName class string config txt general This refers to the class of asset within the script file the class must match that stated in the script Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 410 clutter mesh kuid config txt groundtexture Ground textures can now reference a mesh and insert the mesh automatically as the ground is painted Painting over a clutter mesh ground texture effectively deletes clutter meshes and texture The mesh it refers to is can be standard scenery object kind mesh Clutter meshes must have only one Max material assigned to it only Polycounts must be very low collate meshes config txt trackside Enables clutter mesh support eg fast trees collision parent mesh table ID
330. ere flow 0 0021 Atmospheric leakage from piston Nominal hole size safety valve low pressure 956 0 When boiler pressure hits this value in kPa the safety valve low flow release is initiated below safety valve low flow 0 011 Lower pressure valve release Nominal hole size safety valve high pressure 1010 0 When boiler pressure hits this value in kPa the safety valve high flow release is initiated below safety valve high flow 0 2 Higher pressure valve release Nominal hole size max fire coal mass 50 0 The maximum mass of coal the firebox can take in kilograms max fire temperature 1873 0 Maximum heat obtainable Kelvin scale temperature shovel coal mass 2 0 Amount of coal in one shovel load in kilograms burn rate esessssss 0 0001 Coal consumption rate f el energy is 100 0 Relative energy in kilojoules per kilogram of coal boiler to piston flow 0 0017 Relative energy COMMENTS AND NEW TAGS The above information is specific to the small PB 15 locomotive A Big Boy locomotive for example is at the other size extreme for locomotives The following is an expanded discussion for other size locomotives of additional tags and options with some examples firebox volume westinghouse volume main reservoir volume The above tags are currently not implemented boiler volume 00000
331. erminator models if required For additional notes on splines refer to Page 385 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 80 KIND MOSIGNAL The standard light signals in TRS Config txt kuid lt KUID2 H 1 gt kind mosignal mesh table default mesh signalname im auto create 1 effects 0 kind name fontsize 0 15 fontcolor 30 30 30 att a name0 name name light 1 trackside 2 7 function TrackSignal region Britain username description trainz build 2 5 category class WA category region UK category era 1980s Breakdown region Surveyor region light Sets lighting to be used for object to be ambient or directional 0 sets ambient lighting and object is lit by general light value uniform colouring 1 sets directional light which is affected by the position of the sun shows shadows on the object surfaces trackside This is a value that is the distance in meters the object is placed relative to the center of the track Negative values will put the object on the left side of the track and positive values will appear on the right function Must be set to TrackSignal Note All editable signage must use the effect name set up when a mesh table is used Refer Effects on Page 12 SIGNALS The next section of the config explains which aspects the signal is capable of displaying and also which ligh
332. ers bogeys ID 1 Kuid of bogey asset kuid bogey kuid config txt traincar The bogey KUID number default for a bog0 and a bog1 kuid tracksound The bogey to which this sound will apply config txt traincar The bogey KUID number for a bog Used only if different to a bog0 config txt traincar Used instead of bogey and bogey 1 The bogey will have reversed orientation Note This will cause bogey animation to play in reverse unless the attachment point for the bogey is also rotated 180 degrees in 3dmax gmax bogey r kuid bogey r kuid config txt traincar Used instead of bogey and bogey 1 The bogey will have reversed orientation Note This will cause bogey animation to play in reverse unless the attachment point for the bogey is also rotated 180 degrees in 3dmax gmax config txt traincar The bogey container stores the bogeys used for the loco rollingstock item bogeys container i bogeys User supplied identifier boiler to piston flow i brakefull brakeinitial steam A measure of relative energy steam steam engine The physical volume of the boiler in litres not currently implemented pressure engine Brake pipe pressure after full service reduction for self lapping brakes pressure engine Brake pipe pressure after initial service reduction for self lapping brakes brakepipe pressure Brake pipe pressure when fully charged motor Brake force for pressure reduction Trainz Railroad Si
333. es appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username Though this asset doesn t appear in the Surveyor menu the username is used to identify the asset in the Content Manager Plus and Content Creator Plus programs kind Must be enginesound Notes Though not mentioned in the config txt itself enginesounds must be named in a specific way in order to work correctly Diesel and Electric down 2 1 wav down 3 2 wav down 4 3 wav down 5 4 wav down 6 5 wav down 7 6 wav down 8 7 wav idle 1 wav idle 2 wav idle 3 wav idle 4 wav idle 5 wav idle 6 wav idle 7 wav idle 8 wav stop wav up 1 2 wav up 2 3 wav up 3 4 wav up 4 5 wav up 5 6 wav up 6 7 wav up 7 8 wav Steam These file are the steam engine idling sounds played after the steam engine is stationary for 1 2 and 3 minutes loco stationary fast wav 1 minute loco stationary med wav 2 minutes loco stationary slow wav 3 minutes Piston stroke sounds played every 180 degrees revolution of the piston wheel played in sequence and repeated up to about 40 kph piston stroke1 wav piston stroke2 wav piston stroke3 wav pis
334. es an animation file exported from 3dsmax or gmax with stopping points located by the key frames of the animation Generally the platform will move in a linear motion but any type of motion is possible with this asset specified by the animation file Refer to the example Kinds in Chapter 6 and Chapter for full examples of turntable Kinds Model configuration A typical model configuration consists of a base model the static pit in the ground and a transfer table or platform model Additional night models and other attached meshes may be used A sample directory configuration is shown in the column to the right Track for the static approach tracks and the track on the moving platform are specified using the track container In order to have the track on the platform or any other attachment on the platform move with the platform a special notation in 3dsmax or gmax is required for the attachment points as discussed on Page 363 Typical Hierarchal Sub tree in 3dsmax or gmax b r base b r platform platform a r platform a cabfront a r platform a itrackO0a a r platform a itrackOb a r platform a warnlightO b r night night base a otrack0a a otrackOb a otrack1a a otrack1b etc Refer to the diagrams In the example above the moving platform has attached track and interior requiring an a cabfront attachment and a flashing corona warning light Note While interiors will function for turntables in Trainz currently
335. es and load them into your editor of choice specified in your windows settings for example Photoshop may be your default image editor If these tags are populated the New button is replaced with an Edit button which will open the asset in your default editor Asset Browser Some fields require a link to other assets For simplicity a list of relevant assets is presented from which the user can select their desired asset in the Asset Browser For convenience the top drop down selection box filters assets by type to simplify searching and selection Browse through the list of installed assets or type in a partial name in the search box second top box to locate the asset required Once you have found the asset you wish to use Left click on the Select button This will internally store the asset KUID A null KUID may alternatively be selected where required Note that the kuid for an asset is not displayed usernames are used for simplification Care should be used in selecting assets where the same username has been used for different assets it may be convenient to locate the required asset in CMP to verify selections KUIDBrowser Bo A4 LNER Red Bogeyb A4 LNER Red Corridor Tender Bogey Budd Commonwealth Truck car 15ft wheels centenary bogey centenary bogie TRS cflow fert bogey class103 redbeige bogey CN U2g Lead Truck zl Select Refresh NULLKUID Cancel String Asset Browser The string asset
336. es on Page 354 for Specular Control After downloading and installing the new exporter ensure the following configuration Note These settings will also apply when specifying specular levels of non bump mapped materials Just remember to make the Diffuse and Ambient colour values pure white unless you really know what you are doing Emissive values self illumination is also exportable using the above configuration Specific material naming conventions need not apply to non bump mapped materials gmax You can specify Specular Ambient Diffuse and Emissive settings via Trainz Asset Creation Studio exporter Edit the cfg file as above C gmax gamepacks Trainz Plugins JetExporter cfg you cannot export bump mapping suitable for the Download Station C 3dsmax4 plugins JetExporter JetExporter cfg enableWarnings 1 C 3dsmax4 Plugins JetExporter IndexedMeshExport dll buildNeighborArray 0 forceTxtOverwrite 0 defaultMaterialColor disableautobillboard 1 0 __ Ambient Diffuse Specular and Emissive settings If these values are set to 1 they will override the noted on page 356 C 3dsmax4 Plugins JetExporter ProgressiveMeshExport dll1 buildNeighborArray 0 forceTxtOverwrite 0 defaultMaterialColor 0 disableautobillboard 1 C 3dsmax4 Plugins JetExporter AnimationExport dll Check the drive paths are c
337. es the same thing as Drive To string table description Allows a driver character to take a train either to a destination industry or a specific track in a destination industry driver command drive to kuid table command sounds 3 10219 thumbnails 0 image width height 1 image width height DriverCommand gs DriverToCommand gs Drive To thumb jpg 240 180 driveto tga 64 64 Copyright C 2003 Auran Developments Pty Ltd All Rights Reserved include DriverCommand gs include World gs include Browser gs include KUID gs include Industry gs include DriveToScheduleCommand gs Driver command that allows a driver character to take a train either to a destination industry or a specific track in a destination industry class DriveToCommand isclass DriverCommand Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 207 Initialize parent object and add handlers to process messages for this driver command object public void Init Asset asset inherited asset AddHandler me DriveToIndustry null DriveTo AddHandler me DriveToIndustryTrack null DriveToTrack j Adds industry destination menu items for all industries to the given menu along with submenus of destination tracks for all industries added public
338. escription es description fr description it description pl description nl description ru license organisation username cn username cz username de username es username fr username it username nl username pl username ru Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 140 KIND HORNSOUND Description A traincar horn sound referenced by the hornsound tag in a traincar config file It references the various sound files to be used Container Structure A well formed hornsound kind has the following container structure homsound E thumbnails o O kuid table See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS hornsound kind data kuid kuid trainz build data category class data category region data category era data username data three part data thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be ZH Hornsound See the Train Parts section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this docume
339. escription fr description it description pl l auto create data description nl description ru iconO icon1 icon2 icon3 license organisation preview mesh kuid preview scale thumbnails username cn username cz username de username es username fr username it username nl username pl 0 username ru image file Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 166 width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Product IC Container Category IP Passenger Category IB Bulkload Category IL Liquid Category See the Products section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that appears in the surveyor menu kind Must be product Mesh Table Default Contains the default mesh Auto create should be set to true in order to make the mesh visible Additional Tags allows mixing Products with this tag may be combined in a single queue along with other products of the same category
340. escription it description pl description nl description ru license organisation script username cn username cz category era data username de username es username fr username it username nl username pl username ru username data kind data bridgetrack kuid Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 127 height data trackoffsets data kuid table 0 kuid thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be TR Rails See the Track section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that appears in the surveyor menu kind Must be bridge rgb This value should be left as default trackoffsets Distance in meters the rail s are placed relative to the center of the spline A single track must have a small offset of 0 01 metres from the centreline Any number of tracks can be attached to the spline only splines with the same track offsets can be connected tog
341. escription nl description ru dighole disable extra track sounds ditch color enginesound enginespec floating fonts fonts path frontlength frontpivot height range hornsound icon texture iconO icon1 icon2 icon3 interior license light light color max coupler gap nightmode organisation origin paintshed skin used paintshed template used pantograph preview mesh kuid preview scale product id product type product version rgb rollstep rotate rotate yz range rotstep script search limit smoke fastlife smoke fastspeed smoke height smoke _ random smoke shade smoke slowlife snapgrid snapmode speedlimit surveyor name label surveyor only tender trackmark trackside trigger username cn username cz username de username es username fr username it username nl username pl username ru Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 187 KIND TUNNEL Description Road and rail tunnel variable length splines These allow the spline to be placed below ground and usually require an integrated initiator and termination mesh as a tunnel entrance Container Structure A well formed tunnel kind has the following container structure 3 tunnel O kuid table E thumbnails 0 See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS tunnel bendy data carrate data casts shadows data endlength data grounde
342. eservoir trainbrakepipe autobrakecylindervent auxreservoir_autobrakecylinder equaliser_mainreservoir equaliservent equaliserventhandleoff equaliserventemergency no3pipevent no3pipe_mainreservoir compressor trainbrakepipe_reservoir trainbrakepipevent no3pipe autobrakecylinder epreservoirpipe_autobrakecylinder mainreservoir_ep vacuumbrakepipe vacuumbrakepipereleasevent vacuumbrakepipevent vacuumbrakereservoir_vacuumbrakepipe vacuumbrakecylinder_vacuumbrakepipe highspeedexhauster_vacuumbrakepipe volume scale 1 trainbrakepipe 0 2 epreservoirpipe 0 2 no3pipe 0 2 no4pipe 0 2 0 0384678 auxreservoir 0 00969387 autobrakecylinder vacuumbrakepipe vacuumbrakereservoir vacuumbrakecylinder mainreservoir equaliser 0 5 independantbrakecylinder 0 0103239 pressure scale 1 compressor 0 011248 mainreservoir 0 0081548 highspeedexhauster 0 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 216 brakepipe brakeinitial brakefull indbrakefull trainbrakepipe start epreservoirpipe start no3pipe start no4pipe start auxreservoir start autobrakecylinder start vacuumbrakepipe start vacuumbrakereservoir start vacuumbrakecylinder start mainreservoir start equaliser start independantbrakecylinder start mass scale fuel motor resistance adhesion maxvoltage maxspeed brakeratio max accel max decel throttle notches axle count surface area moving friction c
343. esh Kind Attachment example fixed track username FT 10 Deg 700m Rad kind fixedtrack kuid lt KUID2 BERE E EE 1 region Fixed track preview mesh kuid KUID 3 10099 mesh table default mesh 10 700 im auto create 1 effects arrow0 kind attachment att a track0a default mesh KUID 3 10092 surveyor only 1 arrowl kind attachment att a track0e default mesh KUID 3 10092 surveyor only 1 attached track track0 track lt KUID 1 15 gt vertices 0 a track0a 1 a trackO0c 2 a track0e WARNING Never cross reference a kind attachment KUID with the assets own KUID unless of course you want to see an instant fatal error Fixed Track configuration used in the example Arrow mesh config txt for reference kuid KUID 3 10092 kind mesh mesh table default mesh arrow im auto create 1 Breakdown of KIND ATTACHMENT Note that the example covers the information relating to the attachment Additional entries for category region era trainz build etc are necessary to make a complete config txt file kind attachment required The effect kind att required The insertion point of the attached mesh In the example left it is the origin of the default mesh default mesh lt KUID2 H AHHH 1 gt required The KUID of the attached mesh surveyor only 1 optional Adding this means the attached mesh will only be v
344. esh positions of the lever model for the junctions The object toggles between the two meshes Addition Containers Soundscript Container Controls the looping sound made by the object Notes Repeat delay now has two values rather than one When upgrading old assets make sure there is a repeat delay for both values or the sound will loop endlessly when triggered THIS KIND HAS THE FOLLOWING CONTAINERS Queues Container Smoke Container SoundScript Container Mesh Table String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions TAGS kuid trainz build category class category region category era username kind alias author autoname buffer speed category keyword class contact email contact website description description cn description CZ description de description es description fr description it description pl description nl description ru dighole floating height range icon texture iconO icon icon2 icon3 license light nightmode organisation passenger height preview mesh kuid preview scale rgb rollstep rotate rotate yz range rotstep script snapgrid snapmode speedlimit surveyor name label surveyor only trackmark trackside trigger username cn username cz username de
345. et A 240x180 jpeg crossing_bell_1 wav The environment sound of the crossing anim kin The animation file for the crossing level crossing oz im The default mesh of the crossing level crossing oz texture txt level crossing oz tga Texture files for the default mesh of the crossing See the section on Texture txt files on Page 96 for more information level crossing oz lights texture txt level crossing oz lights tga The texture files for the signal lights level crossing oz signs bmp level crossing oz signs tga level crossing oz signs level crossing oz signs texture txt The texture files for the crossing signs File Listings config txt kuid lt kuid 56113 1261 gt trainz build 2 5 category class WX AU category region category era 1970s 1980s 1990s 2000s 201 Os username kind description Asset soundscript dayloop repeat delay distance sound 0 mesh table default mesh crossing oz im anim auto create attached track road1 track useadjoiningtracktype vertices 0 1 track1 track useadjoiningtracktype vertices 0 1 track2 track useadjoiningtracktype vertices 0 1 testMOCrossing mocrossing An example MOCrossing crossing bell 1 wav level crossing oz level level crossing oz anim kin 1 kuid 1 100409 0 a roadOa a roadOb kuid 1 100396 0 a track0a a trackOb kuid 1 100396
346. et gt 1 lt a gt in a new in game window description Display a page from a HTML asset in a browser window description info Display page i 0 i of html asset lt i gt 1 lt i gt in a new in game window display name page HTML page name display desc page the html extension Name of HTML page without display name asset HTML asset display desc asset can be found HTML asset where the page click to select lt i gt click to select lt i gt kuid table thumbnails 0 image thumb jpg width 64 height 64 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 197 Bogey Directory Structure A typical asset of this kind has the following File Directory Structure a 37_bogey im 37 bogey Im txt R 37 bogev low im s 37 bogey med im 37 bogey vlow im 37bogie2 texture txt IE 37bogie2 tga 37bogie4 texture txt LE 37bogie4 tga 37bagie texture txt I 37bogie tga Z config txt envmap1 texture txt Ij envmapt atga Ezjthumb jpg E c Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg 37 bogey Im txt Level of Detail or LOD file See the section on LOD meshes on Page 371 for mo
347. etc Eg in steam cabs collision proxy Mouse collisions for animated levers needle Gauge needles Speedo brake pres pullrope Pull rope horn as in the F7 light Wheelslip light lt lt ae CNN 737777077 ON left passenger door subcontainer mesh table mesh object Predefined submesh identifier Left side passenger doors length config txt Length of track segment in meters Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 415 TAG OR CONTAINER DATA TYPE PARENT APPLIES DESCRIPTION CONTAINER TO levels 1 subcontainer tracksound Tracksound Relative sound levels The sound is silent until 0 1 m s ramping up in volume until 10 0 m s constant maximum after that Note a value below 0 1 will not play a sound lifetime float smoke 1 smoke block Time in seconds that smoke particles exist for Default is 3 light boolean config txt scenery Sets lighting to be used for object to be ambient or directional 0 sets ambient lighting and object is light by general light value 1 sets directional light which is affected by the position of the sun light boolean mesh table ID mesh object Sets lighting to be used for object to be ambient or directional 0 sets ambient lighting and object is light by general light value 1 sets directional light which is affected by the position of the sun light color traincar RGB headlight colour Eg 255 255 255 lights container con
348. ether Additional Tags bendy Switches how track is bent on corners set as 1 allows the mesh to be deformed as the spline is bent around corners carrate Defines traffic density on road minimum seconds between each car generated 0 No traffic Number must be greater than 3 for traffic to flow casts shadows Toggles if the shadow model is displayed or not endlength Length in meters of the initiator and terminator models grounded Height in meters for the road to be offset from terrain isroad Specifies track is a road with cars set to 1 for cars to appear on road istrack 0 This is not rail tracks 1 This is rail track length Length of track segment in meters repeats The number of times the mesh is placed between spline points shadows Leave as default 0 unticked box upright Specifies whether the bridge legs point vertically or perpendicular to the spline visible on minimap Specifies whether the object track is displayed on the minimap width Width of track mesh in meters bridgetrack Kuid for the type of rail or road used on bridge Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 128 height Height from the track level to the base should be negative Kuid Table The kuid of the track road used in the asset should be present here as should those of any other referenced assets THIS KIND HAS THE FOLLOWING CONTAINERS String Table
349. evel of Detail mesh reduction A pantograph model still requires a pm file Level of detail is a process of using different model meshes depending on how far the viewer is from the model A finer mesh is used for close up viewing in Trainz For further information please refer to Page 370 anim The animation file kin exported from 3dsmax or gmax This may include a sub path animation loop speed 1 0 This tag must be here if the asset is to animate when placed If this tag is not here when placed the animation will not play by default but may play if controlled by script A different value e g 0 5 2 0 may be used in the tag to play the animation at a different speed from that created in 3dsmax or gmax auto create 1 The model is generated automatically when placed or when you load a map which includes the model In some instances you don t want the mesh visible as this may be controlled through script If auto create is 0 the mesh will not be visible when placed default night Main night window mesh on scenery and industry and traincar assets Modeled to the same 3d space as the default mesh and is inserted at the default mesh origin Note that this example on the previous page has placed the mesh in a subdirectory nightwindows night mesh base default This night mesh is linked to the default mesh and is visible only at night It is invisible if the default mesh is invisible if the auto create 0 li
350. evels origin ground level in Trainz js x 3dsmax gmax Front view TRAINZOPTIONS FILE The trainzoptions txt file specifies a number of settings for Trainz and for a default installation of Trainz it is found in the C Program Files Auran TRS2006 directory It is a standard text file and may be edited 1 As a creator you may have an asset placed in a map and you would like to find the creator for that asset While the asset name may be shown in the Surveyor menu and then the item located in CMP it is sometimes useful to have the kuid of the asset displayed in the bottom right corner of the Surveyor screen when you select the asset use the get tool in the Surveyor menu for that object type By adding the following line to the trainzoptions txt file the kuids of a placed and selected object will be displayed in Surveyor showkuids 2 When testing a traincar asset or track configuration in Driver sometimes it is helpful if the locomotive moves at a faster speed than normal This is achieved by adding the following line to the trainzoptions txt file debug In Driver use the arrow keys or speed dial to set the speed and direction then hold down the Shift key The train will move around the track at high speed 3 When creating Trainz has to be loaded regularly to test the models To speed up loading time you can disable the introduction screens by entering the following line in the trainzoptions txt fi
351. f direction Vehicle DIRECTION FORWARD report sideFlags LoadingReport LEFT SIDE Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 238 else if direction Vehicle DIRECTION _ BACKWARD report sideFlags LoadingReport RIGHT_SIDE vehicle LoadProduct report Already done something to the queue if so set flag so that we don t unload it again just for this multi ind if report amount gt 0 goodsWBModified true j Load the logs if GetProcessOutput multi consumer producer logsQueue logsAsset gt 0 1 spaceAvailable logsQueue GetQueueCount report CreateLoadingReport logsQueue spaceAvailable direction vehicle GetRelationToTrack me out _ track0 if direction Vehicle DIRECTION FORWARD report sideFlags LoadingReport LEFT SIDE else if direction Vehicle DIRECTION _ BACKWARD report sideFlags LoadingReport RIGHT_SIDE vehicle LoadProduct report Already done something to the queue if so set flag so that we don t unload it again just for this multi ind if report amount gt 0 logWBModified true j Load the lumber if GetProcessOutput multi consumer producer lumberQueue lumberAsset gt 0 spaceAvailable lumberQueue GetQueueCount report CreateLoadingReport lumberQueue spaceAvailable direction vehicle GetRelationToTrack me out _ track0 if
352. face Print CoalMine NotifyProcessFinished Process Started if scriptletEnabled only when power is running 1 if PerformProcessInput processName Interface Print NotifyProcessStarted Starting the default animation we are making the assumption that there is only one process logs consumer SetMeshAnimationFrame default 2 StartMeshAnimationLoop default Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 259 animating true processing true PerformProcessStarted processName j else PerformProcessCancelled processName called by the game once when a process is ready to stop see Industry gs void NotifyProcessFinished string processName Interface Print CoalMine NotifyProcessFinished Process Finished if scriptletEnabled 1 processing false if animating 1 PerformProcessOutput processName PerformProcessFinished processName 55 66 PostMessage me GenericIndustry ProcessComplete 0 0 j j hf GetProcessInput processName dieselInQueue GetAsset FindAsset diesel lt 0 Nt nodiesel true StopMeshAnimation default SetMeshAnimationFrame default 1098 Ih public void Init void inherited usePipeAnimation true useGeneric ViewDetails true coalOutQueue GetQueue coal_out dieselInQueue GetQueue diesel_ in AddA
353. fault Contains the default mesh Effects arrow0 arrow1 These attachment effects place an arrow mesh at each end of the Default Mesh according to the attachment points stored in the mesh file and referenced in the vertices container These arrows are used as guides and only shown in surveyor Additional Containers As well as containing all of the common tags and containers detailed in Chapter 5 the fixedtrack kind also contains additional containers and tags that are specialised to the requirements of the kind Attached Track Container Auto generated spline track Generated through attachment points located within the default mesh Attached tracks update automatically to the spline track connected to it You may over ride this auto update feature by adding useadjoiningtracktype 0 Note Correct track end attachment orientation is essential The Y axis must point out at the correct angle The Z axis must point up see Page 75 The Attached Track Container has the following tags and containers track Kuid of the track to be used useadjoiningtracktype Indicates whether the track type should change to match that of the first track joined to the object or not vertex Attachment points at which to place track Junction Vertices Container The Junction Vertices Container contains the tags needed to handle the lever portions of a fixed track The Junction Vertices Container has the following tags junction le
354. fday color 150 150 150 250 accel 1 0 3 0 start 0 25 0 5 period 0 25 0 125 rate 8 velocity 3 lifetime 5 minsize 0 5 maxsize 2 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 393 EXAMPLE 2 STEAM TRAIN An animated steam train model that requires four smoke points may be set up as follow Dark smoke from the main chimney stack that is dependant on the trains velocity a smoke Y axis pointing up Aconstant steam trail from a small safety pipe on top a steam safety Y axis pointing up e 2 steam trails on each side of the train that alternately expel steam keyed to the animation of the trains wheels a steam l a steam r Y axis pointing outwards The model is exported as an indexed mesh im file type to Trainz world custom trainsisteam trainlsteam train body folder and the model s art assets are copied to the same location Please see the custom content creation guide for more information on creating your own custom trains The following config txt file in the parent folder will generate the desired smoke effects Note the given KUID is also invalid and should not be used in your own context For example purposes the settings of an F7 train have been used Please refer to examples and detailed explanations of additional tags in the earlier chapters of this document TWINKLES PFX Twinkles pfx is a particle effects editor Twinkles was designed for the cr
355. fig txt mosignal Signal lighting container A list of coronas attached to each light point Coronas are stored in each signal object s directory alongside it s textures Nights ID lights mosignal Light point identifier limits float list mesh table ID interior Mathematical boundaries Trainz uses determine the objects function These values vary as different objects use different mathematical units loop float seconds smoke smoke block Time in seconds to loop the smoke sequence Only valid if mode is set to time loopdelay float seconds smoke smoke block Delay in seconds before the effect is played again looped boolean effects ID animation effect Looped 1 optional Use only if the animation is looping repeating Default 0 i e not looped looping boolean config txt turntable specifies that the turntable can go all the way around rather than stopping at a certain point mainreservoir pressure engine The main reservoir pressure mainreservoir volume engine The main reservoir pressure mainreservoir_ep flowsize engine Flowsize of the electro pneumatic main reservoir mainreservoir_start pressure engine Pressure of the main reservoir on loading the game main reservoir volume steam 1 steam engine Main reservoir volume in litres currently not used kuid profile Kuid of the map attached to this session mass float kg config txt product The physical mass of the product For Containers and
356. files carriageshed im The buildable mesh file carriageshed Im txt Level of Detail or LOD file See the section on LOD meshes on Page 370 for more information carriageshedlow im The low quality LOD mesh Referenced in the carriageshed lIm txt file File Listings config txt kuid kuid 56113 1007 trainz build 2 5 category class BB category region AU category era 2010s username testBuildable kind buildable light 1 description This is a test Buildable asset mesh table default mesh carriageshed Im auto create 1 attached track track 0 track lt kuid 61119 38114 gt vertices a track0a a trackOb lt kuid 61119 38114 gt a track0a a trackOb kuid table 0 lt kuid 61119 38114 gt thumbnails 0 240 180 thumb jpg Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 203 Chunky Track Directory Structure A typical asset of this kind has the following File Directory Structure 2 config txt default im rail_oz texture txt IEjrail oz tga IE railsection nogravel sleepers tga Gi railsection_nogravel_sleepers_alpha bmp B railsection_nogravel_sleepers railsection_alpha texture txt EZ thumb jpg O mstand_tex_test E mstand_tex_test texture txt EZ mstand_tex_test tg
357. fined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be ZB Bogie Truck See the Train Parts section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values kind Must be bogey Mesh Table Default Contains the default mesh Auto create should be set to true in order to make the mesh visible Additional Tags animdist Leave this tag out if the bogey is not animated The distance traveled in meters by the bogeys in 1 second 30 frames of animation Bogey animations exported from Gmax or 3ds Max are called anim kin direct drive When direct drive is present the bogey animation is linked to the steam piston and physics system If this tag is not included the piston and steam sounds will not work THIS KIND HAS THE FOLLOWING CONTAINERS Mesh Table String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions Track Sound TAGS kuid trainz build cat
358. for Trainz has it s own config txt file This file is a human readable text file included with its corresponding item of content Depending on what the item of content is will determine the necessary contents of the text file but it will always contain a unique KUID a KUID is an identification serial code defined a little later in this document a description and other information to make the model recognised by and function in Trainz Items of content created for Trainz are always assigned to a group of content called a KIND A KIND is a type of content that has particular properties that Trainz recognizes For example one type of KIND is a TRACK Trainz understands that items of content that belong to a group of this KIND define where locomotives and rolling stock travel the steel rails for trains of course some modern trains do not have steel rails the Maglev for instance Other KINDs are listed later in this document The config txt file also includes a number of statements for content categories time eras Trainz Build a list of items that the model may depend on a KUID list of dependencies and other instructions defining how the asset will behave in Trainz or assist the Download Station to manage the content These instructions are called tags and a number of tags may be grouped functionally into containers within the config txt file Refer to examples later in this document Previous versions of Train
359. functional BB Buildable Kind Buildable 03 CABEESE Brake van Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 397 CC Caboose D DEFENCE DA Military motive power DE Military experimental amp special vehicles DP Military equipment lab amp personnel vehicles DX Military equipment freight E ENVIRONMENT ES Sky EW Water F FOLIAGE FC Cactii FF Flowers FO Orchards amp Crops FS Shrub FT Trees G GROUND GA Arid GL Lush GS Seasonal H MESH HM Mesh PRODUCT IC Container Category IP Passenger Category IB Bulkload Category IL Liquid Category J TEXTURE JC Corona Jl Icon JP Particle Effects Texture JO Other Texture L LIGHT RAIL amp MONORAIL LS Articulated train sets LT Trolleys trams amp streetcars LM Monorail vehicles M MAINTENANCE OF WAY MA Camp vehicles MB Ballast cars MC Cranesilifting MD Diagnostic vehicles e g dynamometer ME Instructional vehicles MF Fire vehicles MI Inspection vehicles MT Track vehicles e g tamper MP Snow ploughs MS Section cars e g fairmont MX Freight equipment for MoW traffic MW Weed spray O ORGANISM OA Animal Kingdom OH Human OHD Locomotive Driver XAB XB XBD XBG XBI XF XFA XFC XFD PASSENGER amp MAIL CARS Suburban short haul no W C Baggage cars Coach chair cars Dome cars Bar cafeteria cars Lounge cars Mail cars Observation cars Power cars Buffet dining restau
360. fy the amount of input and output for each queue referenced product as well as the duration or rate in seconds for that process to take place All queues and processes are linked through the industry assets script file piston volume min product category kuid Kuid of applicable category for this product product kuid kuid queues ID The product type used to fill initial count product texture path filename config txt product The texture to be used with load texture texture replacement le When a hopper loads woodchips instead of it s default load of coal merge eee reser For painshed suppor were eonfigext pinshetstin For paintshed supon Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 420 the initial count when placed and can radius float mesh table ID interior The notch position relative to the attachment point TAG OR CONTAINER DATA TYPE PARENT APPLIES DESCRIPTION CONTAINER TO queues container config txt industry The queues container states which product or products the industry can use It contains the size of each product refer to it s visual load state whether through a load animation or attachment radius float attached trigger industry Radius in meters of the trigger ID UT random color low hsb hsb value config txt smoke block float particles second smoke region region code config txt r
361. g The thumbnail image for this asset A 240x180 jpeg default im The indexed mesh used for the track asset Should be named default im rail texture txt rail tga track texture txt track tga track track texture txt The texture files used by this track asset See the section on Texture txt files on Page 96 for more information File Listings config txt bendy carrate casts shadows endlength grounded isroad istrack length repeats rgb 255 200 0 shadows 0 upright 0 visible on minimap 1 width 4 kuid lt kuid 56113 1006 gt trainz build 2 5 category class category region category era username kind description thumbnails 0 image width height TR QQ 2000s testTrack track Sample Track thumb jpg 240 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 Tracksound Directory Structure A typical asset of this kind has the following File Directory Structure E config txt ES idle 1 wav Ezjthumb ipg Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg idle 1 wav The track sound file File Listings config txt kuid lt kuid 56113 1001 gt trainz build 2 5 category class
362. g File Directory Structure E checkrail texture txt EZ checkrail tga config txt rail_oz texture txt rail_oz tga rail_oz_bump texture txt rail_oz_bump tga 2 railsection_ger_sleepersa tga B railsection ger sleepersa railsection ger sleepersa texture Ext thumb jpg s turnoutdiamond im 303 Bog Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg checkrail texture txt checkrail tga rail oz texture txt rail oz tga rail oz bump texture txt rail oz bump tga railsection ger sleepersa tga railsection ger sleepersa railsection ger sleepersa texture txt The texture files used in the indexed mesh of this asset See the section on Texture txt files on Page 96 for more information turnoutdiamond im The indexed mesh for this Fixed Track asset File Listings config txt kuid lt kuid 171456 100017 gt trainz build 2 5 category class TF category region 00 category era 1980s 1990s 2000s 2010s username testFixedTrack Diamond kind fixedtrack description Test Fixed Track asset 50 50 height range preview mesh kuid lt kuid 171456 60520 gt use gradient track 1 mesh table default mesh auto create effects arrow0 kind att default mesh surveyor only arrow1 kind att default mesh surveyor only arrow2 kind att default mesh surveyor only arrow3 kind att default
363. g throttle settings engine and braking performance and boiler capacity and steam attributes Texture A simple texture as an asset that can be referenced from another asset for example a custom corona by reference to its kuid Texture Group Defines a group of textures as an asset that can be referenced from another asset or via scripting Track Variable length spline based track roads and other scenery items Tracks may include initiator and terminator segments and are height adjustable Other examples include fences power lines and hedges TrackSound A sound asset that is referenced by track or bogeys to play a different sound from the default track train sound for example when a train travels over a bridge or through a tunnel Traincar A locomotive or rolling stock item A traincar specifies the dependant assets bogey engine sound engine specification pantograph and interior to make a complete traincar asset Tunnel Road and rail tunnel variable length splines These allow the spline to be placed below ground and usually require an integrated initiator and termination mesh as a tunnel entrance TurnTable A turntable asset for moving or rotating traincars specifying the static and moving part of the turntable Animated rotation turntable and lateral translation transfer table assets are supported Water2 Animated water texture assets There is two additional Kinds that are used by Trainz but may
364. gain Texture Clarity Sometimes when you are close to a model in Trainz the texture on the surface appears blury even if it is a quality texture Add the line Hint Dynamic to the texture txt for the material and often the texture will be clearer Primary wall tga Tile none Hint Dynamic Textures for Tiling Tiled textures are used to cover a large surface with a small high quality picture file The tile is mapped multiple times across a surface The tile needs to be seamless the patterns match and repeat at the edges so no distinct line is visible at the joins For a brick pattern the brick shape and colour should match at the sides to make full bricks and a mortar joint is placed only at the bottom or top of the tile otherwise a double thickness mortar line will appear at every tile join Mortar at top only EE Half bricks match at sides Se Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 357 CREATING AN INTERIOR FOR TRS Overview The creation of interiors is probably the most time consuming mesh asset you can make for Trainz This is no doubt the reason why there are very few custom interiors around In fact it is quite common to spend 2 weeks of full 8 hour days on a single interior Excluding research time tweaking and testing Auran uses 3dsmax and Photoshop for modeling and texture creation One major advantage of 3dsmax over it s simpler counterpart gmax
365. ge 100 0 Far attenuation Start 5 0m End 10 0m Decay none Object shadows On Shadow map Omni light Multiplyer 0 4 Contrast 10 Soften Dif Edge 100 0 Far attenuation Start 2 0m End 3 0m Decay none Object shadows On Shadow map Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 360 Phase 6 Realtime Textures and Placement This Phase takes all the rendered out textures from Phase 5 and manipulate them into a format that TRS can read The following example is one of the realtime textures from the DD40 interior Note the front render described before is now part of the realtime texture As are the two sides and the rear render The front door however has been rotated 90 degrees and the floor render is in its place This is in order to economically utilise the texture space Once the render manipulation is complete you will probably have to re assign much of the new textures back onto the model In many cases this should just consist of re doing the Unwrap UVW command Phase 7 Realtime Model Spit up and Attachments After all your realtime textures have been mapped it is now time to split up the model into logical divisions and add attachment points location Doing this in the logical order described below will save a lot of time and frustration Remember to save a non split version for backup Any object in the scene that has to move ie levers and dia
366. gen tgv cab pm lever handle pm light switch pm pantograph lever pm pressure needle lge pm pressure needle lge red pm pressure needle sml pm reverser pm speedo needle1 pm speedo needle2 pm switch pm traction pm wheelslip pm windows pm The progressive mesh components used to create the interior asset More information on modelling interior assets can be found on Page 58 of this document File Listings lt kuid 171456 100043 gt 2 5 ez 00 1990s 2000s 2010s testElectriclInterior interior 2 Test electric interior Based on Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 270 the TGV interior cameralist camera0 0 773 0 671 0 2 1 566 0 096 camera 0 583 0 35 0 247 0 0 352 camera2 0 479 0 0 148 0 0 camera3 0 69 0 017 0 17 0 242 0 185 camera4 0 773 0 671 0 2 1 566 0 096 camera5 0 6 0 35 0 17 0 0 mesh table pantograph lever kind lever mesh pantograph lever pm att a pantograph lever limits 0 1 angles 0 1 notches 0 1 notchheight 3 3 radius 0 16 att parent default horn kind lever mesh lever handle pm att a horn limits 0 1 angles notches notchheight 3 3 radius 0 16 mousespeed 1 att parent default independantbrake_lever kind lever mesh lever handle pm att aind brake lever limits 0 32 angles 0 0 45 notches 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 1 notchheight 1 2
367. gh the mesh table mesh scenery asset im anim anim kin Breakdown of Scenery Config txt auto create 1 animation loop speed 1 Please refer to earlier config txt examples for other effects entries not described here region kind name Surveyor region Puntsise 5 15 fontcolor 30 30 30 type att a name0 Surveyor type name name light 1 Sets lighting to be used for the object to be ambient or directional 0 sets ambient lighting and object is lit by ki d corona att a coronawhite general light value uniform colouring 1 sets directional frequency 1 light which is affected by the position of the sun shows directional 0 shadows on the object surfaces texture kuid lt KUID 3 10111 gt nightmode E ai x Only add this tag if you reference a default night mesh in defaultni the mesh table mesh night im Values home lamp or constant night mesh base default Home switches on night effect at dusk and off sometime nw during the night Lamp switches the night effect on from dusk to dawn Constant lights are on day and night mesh radar radar im anim radar radar kin corona and name effects optional Bro Refer Effects Page 13 E e animation loop speed 1 0 SCENERY MOVEMENT VARIABLES on description trainz build 2 5 snapgrid n category class FS Where n is a value in meters This lets you specify the category region UK size of the grid the object snaps to category era 1980s We recommend
368. gives a visual representation in MAX only as TRS forces this value to 32 Brpeps ee eee 2 T For non bump mapped materials the glossiness value WILL be exported you should still use the whiteness slider to determine the specular level The Glossiness value adjusts the width of the Specular Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 354 TEXTURES AND OPACITY EFFECTS Trainz makes use of a texture tga map associated with an opacity texture map to create transparent translucent and see through effects This is applied to objects for transparent translucent windows ladders lattice work for cranes handrails and catenary to name a few A 24 bit uncompressed tga texture diffuse texture may be created for the object and a 8 bit bmp map opacity texture of the same size is used with the tga texture to create areas of transparency The opacity map is predominately black and white or shades of grey any area on the opacity map that is white will make corresponding areas on the diffuse map opaque any area on the opacity map that is black will make corresponding areas on the diffuse map transparent any area on the opacity map that is shades of grey will make corresponding areas on the diffuse map translucent depending on the shade of grey There are certain requirements in using such maps Placement in 3DSMax gmax In 3dsmax gmax when using an opacity map with a diffus
369. glass_left kind lever waterglasses waterglass left mousespeed 1 water injector 1 i waterglasses waterglass left mesh injector im auto create 1 auto create 1 limits 0 100 att a injector1 kind animated dial att parent default i amp reverser kind lever mesh reverser reverser im mousespeed 1 anim reverser reverser kin fire plates E auto create 1 mesh fireplates fireplates im i kind animated lever anim fireplates fireplates kin test collisions 0 auto create 1 limits 1 1 kind animated lever mousespeed 2 test collisions 0 reverser collision box notches 0 1 mesh reverser selection box notchheight 1 1 selection box im limits 0 1 att parent reverser fire plates collision box att a selection box mesh fireplates selection box ae auto create 1 selection_box im R kind collision proxy att parent fire plates n opacity 0 att a selection box collision parent reverser auto create 1 boiler needle kind collision proxy x kind needle opacity 0 m ig mesh needles boiler needle im collision parent fire plates att a boiler pressure1 waterglass right limits 0 1902 waterglasses waterglass right att parent default Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 280 auto create boiler needle1 kind mesh att limits att parent
370. gory era trainz build mesh table default mesh bb15000 body pm auto create shadow mesh bb15000 shadow pm auto create bogeys 0 bogey reversed thumbnails 0 image width height bb15000 art icon texture txt Primary consist bmp Tile st Hint Dynamic Alphazconsist a bmp bb15000 art 512 texture txt Primary preview bmp Tile st Hint Dynamic Alpha preview_a bmp lt kuid 13 157001 gt lt kuid 13 157000 gt AU 2000s 2 5 bb15000 body bb15000 shadow lt kuid 1 100005 gt 0 thumb jpg 240 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Product Coal Product Directory Structure A typical asset of this kind has the following File Directory Structure E coal texture txt HJ coal tga EZ Coal_icon tga Z config txt E icon_texture texture txt EZ thumb jpg Required Files config txt The config file for the asset Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip thumb jpg The thumbnail image for this asset A 240x180 jpeg coal tga coal texture txt The texture file used when an item of rollingstock is carrying a load of coal This texture is ap
371. gt 1 attachment a track0e lt kuid 3 10092 gt 1 attachment a track1b lt kuid 3 10092 gt 1 Blades blades im Blades anim kin 1 Lever lever im Lever anim kin 1 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 225 att parent default thumb jpg att a lever1 attached track 240 track0 180 track lt kuid 67598 38001 gt useadjoiningtracktype 0 vertices Download this asset a trackOa This asset is available for download from the TRS2006 a trackOb website at http files auran com TRS2006 Downloads s track c Example Download zip a track0d a track0e track1 track lt kuid 67598 38001 gt useadjoiningtracktype 0 vertices a trackOb a track1a a track1b junction vertices 0 junction lever mesh lever0 junction vertex a trackOb 1 junction lever mesh lever1 junction vertex a trackOb 2 junction lever mesh blades junction vertex a trackOb kuid table lt kuid 3 10092 gt lt kuid 67598 38001 gt lt kuid 171456 60563 gt thumbnails Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 226 Groundtexture Normal Directory Structure Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads A typical asset of this kind has the following File Directory Exam
372. h the script tag scriptclass Obsolete Replaced with the class tag Notes Scripted scenarios are made available for backwards compatibility reasons THIS KIND HAS THE FOLLOWING CONTAINERS String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions Driver Settings Container TAGS kuid trainz build category class category region category era username kind author category keyword class contact email contact website description description cn description cz description de description es description fr description it description pl description nl description ru license organisation script username cn username cz username de username es username fr username it username nl username pl username ru KIND BEHAVIOR Description A configurable behavior module that forms part of a session Container Structure A well formed behavior kind has the following container structure behavior thumbnails 0 See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS behavior kuid kuid trainz build data category class data category region data category era data username data kind data class data script file th
373. h the user may have changed the asset s name in Surveyor name lt blank gt effects ID name effect Leave blank to allow the name to be inserted by script without an initial default night path Jfilename tga config txt environment Name of image file for night sky File should be 256 x 256 pixel 24bit tga The file extension should be excluded here ie QLD Sky rather than qLD_Sky texture txt night mesh base mesh table ID mesh table ID mesh object The mesh to which default night is linked If the night mesh base is hidden then default night will not be displayed nightmode home lamp constant config txt scenery Only add this tag if you reference a default night mesh in the mesh table Values home lamp or constant no3pipe flowsize engine Flowsize for the independant brake pipe no3pipe volume engine Volume for the independant brake pipe not currentoy used no3pipe_autobrakecylinder flowsize engine Flowsize of the independent automatic brake pipe cylinder Heuer mm 7 no3pipe start pressure engine Pressure for the independant brake pipe when the game is loaded no3pipevent Flowsize for the independant brake pipe vent Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 418 TAG OR CONTAINER DATA TYPE PARENT APPLIES DESCRIPTION CONTAINER TO no4pipe volume 1 engine Volume for the bail pipe not currentoy used no4pipe start pressure engin
374. han 3 Additional Notes for splines Splines may be used to create a number of objects that are not track a building bridges walls fences a row of poles or trees for example upright 0 This effects how vertical the objects in the spline are for example a row of poles 0 the poles will be placed at right angles to the slope of the ground 1 the poles will be truly vertical regardless of the ground slope Notes bendy and upright have a visible effect for Kind Track splines see diagram below For Kind Bridge or Tunnel the splines show as in bendy 1 bendy 0 has no visual effect However bendy 1 should always be entered in the config txt file for bridge and tunnel Kinds as the tag improves handling of the spline and Trainz performance A Kind track placed on the ground is now height adjustable and is the best option for most spline models Splines of Kind track have a much less frame rate and performance impact than Kind bridge Bendy 1 Upright 1 Upright 0 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 TT KIND BRIDGE SINGLE TRACK This kind is used for creating road and rail bridges Config txt kuid lt KUID2 HH 1 gt kind bridge length 20 bendy 1 bridgetrack lt KUID 1 100395 gt trackoffsets 0 01 height 8 casts shadows 1 istrack 1 initiator dark stone arch 2t start terminator dark stone arch 2t end endlength 40 kuid table 0 KUI
375. he firebox to boiler heat flow idle and burn rate idle values it allows a locomotive to stay in this state with the water and fire left for as long as is required i e on stand by This is nominally 80 9096 of working pressure Full pressure is not required initially as it only takes a short time to get the fire brightened up and the boiler to pressure from this point Most locomotives will go to blowing off pressure with a press of the N key to turn the blower on and a single tap on the space bar for a shovel of coal remembering that in the real world it is considered very bad practice to have the locomotive blowing the safeties a waste of resources and energy and shows a lack of control by the crew The following table may be useful as a comparison of initial boiler temperature and related pressures Temperature values e g 369 are in degrees Kelvin see the important Notes to the right of the table 369 869kpa 140psi 460 3K 380 1008kpa 146psi 466 5K 381 1021kpa 148psi 467 0K 389 1122kpa 163psi 471 5K 389 6 1129kpa 165psi 471 8K 401 1275kpa 185psi 478 2K 404 1297kpa 188psi 479 8K 409 1374kpa 199psi 482 6K 410 1387kpa 201psi 483 2K 411 1401kpa 203psi 483 7K 412 1410kpa 204psi 484 3K 413 1414kpa 206psi 484 8K 424 1564kpa 227psi 490 9K 426 1589kpa 230psi 492 4K 455 1956kpa 284psi 508 2K piston angular offsets Determines the number of
376. he start and end times for the sound to play Default 0 0 off trigger A trigger may be used in an event file evt associated with an animation It plays at selected key frames of the animation as defined in the event file Sound files may be triggered in this manner and from scripting Used in the mojunction example switch lever the toggle action is automatically triggered when the lever is operated and the sound plays The sound doesn t play until the trigger message happens as a result of the lever operating nostartdelay 0 or 1 default 0 If not set the sound will have a short delay before playing this stops flanging flanging is a really nasty sound caused when several copies of the same sound are played at once dayloop daysingle morning night These have no current function in Trainz and have only been put in for user reference Each is a single word only Do not use a space Please refer to examples and detailed explanations of additional tags in the earlier chapters of this document HORN SOUNDS Horn sounds are covered on Page 39 however it may be found difficult to get a good horn or whistle sound that can be looped The sound files are horn wav Railyard hornsound non looping horn loop wav The looping hornsound used in Driver horn start wav The starting sound played before the looping hornsound above idle 1 wav Generally used for the bell sound bell keystroke b
377. hnhof username es string table es smallstation platl Platform 1 smallstation plat2 Platform 2 Estaci n Pequefia iconO0 lt kuid 3 10164 gt Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 73 PASSENGER VEHICLE ASSET A passenger vehicle asset allows loading and unloading of passengers No additional script is required for this asset to function As this is configured to operate with the Passenger Station Asset an example config txt file is shown here For more information refer to the Passenger Station and Vehicle Assets Tutorial available for download http files auran com TRS2004 downloads contentcreation SP2 Passenger Asset Tutorial zip Breakdown of Passenger Vehicle Config txt Some config txt tags are explained below Others are covered in the general config txt explanation see Page 10 soundscript Optional sound script for door operation triggered as an event from the animation file mesh The model name The model uses an LOD mesh modelname Im shadow The model shadow name the mesh has been included in a subdirectory left passenger door right passenger door The animated door names these must be named like this to work with passenger stations The mesh has been included in a subdirectory kin The animation file for the door model the mesh has been included in a subdirectory att parent name The door mesh attachment poi
378. i texture txt 40ft mitsui tga 40ft pil texture txt 40ft pil tga The texture files used by the indexed meshes of this product See the section on Texture txt files on Page 96 for more information Containers40ft tga icon texture texture txt The product icon images 64x64 TGA File Listings config txt kuid lt kuid 56113 1007 gt username kind allows mixing instance type icon texture mass product category category region category era description mesh table default mesh auto create pils mesh auto create matsui mesh auto create capital mesh auto create blue mesh auto create thumbnails 0 image width height Download this asset test40ft Container product 1 instance icon_texture texture 22000 lt kuid 3 10042 gt 90 1980s Test 40ft Container asset AOft_container im 1 AOft_pils im 1 AOft_matsui im 1 AOft_capital im 1 40ft blue im 1 thumb jpg 240 180 This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip trainz build 2 5 IC category class Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 303 Product Lumber Product mesh lumberstack im Directory Structure auto create 1 A typical asset of this kind has the following File Directory thumbnails Structure
379. ial name black encapsulated in the file and will look for a matching black texture or black texture txt file in the asset You can however change the actual Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 194 graphic file names and refer to them correctly in the text of the texture txt file Requirements There are some conditions of use of modified or cloned in built assets You may freely use the files from TRS2006 to make new models or modify textures for your own purposes for personal use on your own computer If you wish to share the new or modified models with others the following conditions apply for all assets they are to be uploaded to and made available from the Auran Download Station as a condition of use This was a condition of use for the original Content Creation Art Source files additionally for assets using or based on in built assets provided by a Third Party Creator you must have permission from the creator of the original asset before sharing or uploading any files Examples for the following Kinds are included in this chapter Activity Html Asset Profile Behavior x Industry Multiple Industry Scenery Bogey Industry Coal Mine Scenery Trackside Bogey Animated Bogey i Interior Diesel Steam Engine Bogey Steam Bogey Interior Electric Texture Bridge s Interior Steam Texture Group Buildable Library Track Chunky Track s Map Tr
380. iding window val right sliding window GetValue if seat0 cd seat0 val seat0 GetValue if seatl cd seatl val seatl GetValue if sanding lever cd sanding lever val sanding lever GetValue if whistle lever cd whistle lever val whistle lever GetValue if regulator lever cd regulator lever val regulator lever GetValue if fire plates cd fire plates val fire plates GetValue if blowdown lever cd blowdown lever val blowdown lever GetValue cd fireboxDoorOpen fire plates GetValue 0 9 if firebox firebox SetNamedValue amount burning coal 0 5 if fire plates Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 57 firebox SetNamedValue door open fire plates GetValue firebox SetNamedValue fire life loco GetEngineParam fire temperature firebox SetNamedValue steam piston cycle loco GetEngineParam steam piston cycle if boiler needle boiler needle SetValue GetPressureParam steam boiler pressure if waterInjector0 waterInjector0 SetValue loco GetEngineSetting injector if waterInjectorl waterInjectorl SetValue loco GetEngineSetting injector void UserSetControl CabinControl p control float p value Interface Log control if p control reverser lever loco SetEngineSetting reverser p value else if p con
381. ight tga Bziliaht op bmp E light light_op texture txt Bd lightmask2 bmp Bd lightmask bmp E lightyellow texture txt LE lightyellow tga E lightyellow lightmask texture txt trans_base_night im trans_platform E anim kin LE cabwindow tga E cabwindow cabwindow textur catenary tga B catenary catenary texture txt 2 concrete15 texture txt EZ concrete15 tga K door20 jpa B door20 texture txt E insulator2 texture Ext IEjinsulator2 tga IE latticepost tga B latticepost latticepost texture E platformt texture txt platformi tga E roof texture txt IEjrocf tga siding3 texture txt LE siding3 tga ij trans platForm im O trans platform night Ljlight1 taa E light1 lightmask2 texture txt E light1 lightmask texture txt E light texture txt I light tga Bd lightmask2 bmp Ei lightmask bmp E lightyellow texture txt Llightyellow tga trans platform night im Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg various tga The texture graphic files for the various textures used in the asset various texture txt The texture txt files for the various textures used in the asset usually generated when the model is exported See the section on Texture txt files on Page 96 for more information idle wav The sound files used in the asset trans base im trans base night im trans turnt
382. image width height CatchPoint im 1 thumb jpg 240 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 310 Steam Engine Directory Structure A typical asset of this kind has the following File Directory Structure E config txt ims thumb jpg Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg File Listings config txt kuid kuid 56113 1235 trainz build 2 5 category class ZE category region US category era username testSteamEngine kind steam engine description Test Steam Engine asset Based on the UP Big Boy engine file flowsize trainbrakepipe epreservoirpipe no3pipe no4pipe auxreservoirvent auxreservoir no3 auxreservoir trainbrakepipe autobrakecylindervent auxreservoir_autobrakecylinder equaliser_mainreservoir equaliservent equaliserventhandleoff equaliserventemergency no3pipevent no3pipe_mainreservoir compressor trainbrakepipe_reservoir trainbrakepipevent no3pipe_autobrakecylinder epreservoirpipe_autobrakecylinder mainreservoir_ep vacuumbrakepipe vacuumbrakepipereleasevent vacuumbrakepipevent vacuumbrakereservoir_vacuumbrakepipe vacuumbrakecylinder_vacuumbrakepipe highspeedexhauster_vacuu
383. imki rmb a tga E mk1_rmb_a_lowest texture txt mki rmb a lowest tga E mk1_rmb_b texture txt 2 mk1_rmb_b tga g mk1_rmb_b_lowest texture txt 2 mk1_rmb_b_lowest tga E mki rmb br bld custd body im E mki rmb br bld custd body lm txt E mk1_rmb_br_bld_custd_body_low im es mki rmb br bld custd body lowest i E window interior texture txt EE window tinterior tga iC3left door Gi Env_glass bmp Env glass texture txt BzjEnv metal bmp E left_door im E left_door kin E mki_door texture txt 2 mk1_door tga E window interior kexture Ext EE window Hinterior tga Yright_door BzjEnv glass bmp E Env glass texture Ext EH Env_metal bmp 5 mk1 door texture Ext 2 mk1_door tga E right door im right door kin E window interior texture txt EE window tinterior tga mk1_rmb_br_bld_custd_shadow E black texture txt ig black tga E mki rmb br bld custd shadow pm Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg various tga The texture graphic files for the various textures used in the asset various bmp The opacity texture graphic files for the various textures used in the asset various texture txt The texture txt files for the various textures used in the asset usually generated when the model is exported See the section on Texture txt files on Page 96 for more information start wav The sound files used in the asset tra
384. imulator 2006 The Content Creator s Guide Version 2 0 243 if direction Vehicle DIRECTION FORWARD Unload the water report sideFlags LoadingReport LEFT SIDE else if direction Vehicle DIRECTION _ BACKWARD if GetProcessInput multi consumer producer waterQueue waterAsset gt 0 report sideFlags LoadingReport RIGHT SIDE vehicle UnloadProduct report if waterWBModified Ensure we are tracking this if we are waiting for a way bill to complete in its entirety 1 spaceAvailable waterQueue GetQueueSpace if avWBRemain gt 0 avWBRemain avWBRemain report amount report CreateUnloadingReport waterQueue spaceAvailable direction vehicle GetRelationToTrack me out_ track0 if direction Vehicle DIRECTION FORWARD report sideFlags LoadingReport LEFT SIDE else if direction Vehicle DIRECTION _ BACKWARD report sideFlags LoadingReport RIGHT_SIDE vehicle UnloadProduct report Ensure we are tracking this if we are waiting for a thread void MultipleMain void way bill to complete in its entirety if waterWBRemain gt 0 M essage msg waterW BRemain waterWBRemain report amount Vehicle vehicle string triggerName wait 1 Unload the avgas 1 on Scriptlet Enabled 1 if GetProcessInput multi_consumer_producer avgasQueue avgasAsset gt 0 i if scriptletEnabled if lav WBModified t f
385. in previous Trainz builds In TRS2006 the Content Creator Plus module will automatically assign a CONTENT ID when you create a new asset It will not repeat a number and keeps track of Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 4 all content numbers installed so you do not have to keep a separate list or spreadsheet of CONTENT ID numbers for your model assets A CONTENT ID number is also assigned automatically when you save a layout map The combination of a creator s USER ID and the CONTENT D is unique and will not conflict with assets created by others Note Previous versions of Trainz used Content ID Ranges for KUID creation The automatic assignment of CONTENT _ ID numbers in TRS2006 has obsoleted the need for or the usefullness of a specific range of numbers for different kinds of assets Version ID Number The third number is the asset Version ID number The default for all assets is 0 e g lt KUID2 xxx yyyyy 0 gt Should this asset require revisions after release to the Trainz Download Station the Version ID for each subsequent revision may be updated as follows First revision lt KUID2 xxx yyyyy 1 gt Second revision lt KUID2 xxx yyyyy 2 gt Third revision lt KUID2 xxx yyyyy 3 gt Etc The maximum version number is 127 After the maximum version number is used rare a new Content ID needs to be allocated for this asset and the previous one needs to be added to the obs
386. ine geographical location road traffic and weather conditions Container Structure A well formed region kind has the following container structure 3 region E thumbnails 0 See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS region kuid kuid trainz build data category class data category region data category era data username data kind data watercolor data defaultjunction data ontheright data longitude data latitude data altitude data car0 kuid thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be YM Map See the Maps and Scenarios section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that appears in the surveyor menu kind Must be Traincar Additional Tags watercolor RGB oolour value of the water for the region defaultjunction Default type of junction in this region ontheright Cars drive on the
387. ing It cannot be fixed by flipping normals Use the Reset Transform utility to align object pivot points and bounding boxes with the World coordinate system To reset an object s transform select the object and on the Utilities panel click Reset XForm In the Reset Transform rollout click Reset Selected You can collapse the object modifiers to absorb the corrected rotation and scale values into the object mesh If this fails to work using a double sided texture may fix the problem Hiding and Grouping The hide function allows you to display only the parts of a model you want to work on It is useful for complicated objects made up of many individual objects so you can see what you are working on and when exporting only certain parts of a model Grouping is also useful allowing easier selection of a number of objects to transform or hide If a group is opened the hide function is disabled until the group is closed Grouped objects cannot be linked to dummies in animation the grouped objects will not show in Trainz Perspective and User Views These allow you to rotate around an object and see the object from different angles Perspective view centers on the centre of the view box for zooming so you have to move the object often to zoom into different parts It also has a clipping box which makes parts of the object vanish as you zoom closer User view allows you to zoom in and out to any point on the object easily does no
388. ing effects and attachment points for rail track and roads MOJunction Junction control levers which are attached to track junctions include sound and may be offset a specified distance from the track They can be used to replace the default junction lever MOSignal A train signal with lights coronas It specifies the aspects the signal is capable of displaying the light points activated when each state is displayed and the corona details The signal may be offset a specified distance from the track Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 7 MOSpeedBoard A Speed limit sign for Trains It displays the maximum limit sign texture made by the creator and the sign may be offset a specified distance from the track The limit to control train speed is specified in the asset in metres per second Paintshed Skin A reskin texture for a locomotive or rolling stock asset Paintshed Template A template for particular locomotives and rolling stock that may be used in the integrated Paintshed utility The template may be painted in different colour schemes Pantograph The animated mechanisms on the roof of electric locomotives that conduct electricity from the catenary wires above It is referenced by the pantograph tag in a traincar config txt file Product An individual product commodity that Trainz compatible rolling stock and industry assets are able to process It specifies the type
389. ints shadows Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 124 Leave as default 0 unticked box upright Specifies whether the bridge legs point vertically or perpendicular to the spline visible on minimap Specifies whether the object track is displayed on the minimap width Width of track mesh in meters THIS KIND HAS THE FOLLOWING CONTAINERS Track Sound String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions TAGS bendy carrate casts shadows endlength grounded isroad istrack length repeats rgb shadows upright visible on minimap width kuid trainz build category class category region category era username kind chunky mesh chunky info alias author category keyword contact email contact website description description cn description cz description de description es description fr description it description nl description pl description ru divider dont flip terminator hidden initiator invisible license light organisation terminator uncached alphas username cn username CZ username de username es username fr username it username nl username pl username ru KIND DRIVERCHARACTER Description The locomot
390. ints in 3D space giving information on various aspects of the train as follows a limfront Marks the front of the train used for coupling Should be roughly the same distance from origin as a limback Bogeys can be further forward than a limfront if desired Determines the forward headlight position Height above origin or Z 0 89m 2 10 8 a limback Marks the rear of the train used for coupling See a limfront Height above origin or Z 0 89m 2 10 8 a bog0 Front bogey attachment Used for positioning the train on the track Positioned at absolute centre of front bogey a bog1 Rear bogey attachment Used for positioning the train on the track Positioned at absolute centre of rear bogey a bog 2 3 etc Any other bogey attachments a exhaust 0 1 etc e Smoke generator attachments where needed a light 0 1 etc Light corona attachments On a locomotive use a lightO a light2 even numbers for the forward lights and a light1 a light3 odd numbers for the rear lights Thsi allows the correct lights to show depending on running direction a cabfront Attachment point for the front cabin of a loco Located at the centre of cabin a cabback Attachment point for the rear cabin of a loco Use this for dual cab locomotives Located at the centre of cabin Front back cab toggled using the Alt C key when using the internal camera mode a pant 0
391. ion A command for the train driver to accomplish a specific task Container Structure A well formed drivercommand kind has the following container structure config txt E driveto texture txt amp drivetocommand gs See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS drivercommand kuid kuid trainz build data category class data category region data category era data username data kind data supports null driver character data class data script data thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 126 category class Should be YD Driver Command See the Maps amp Scenarios section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that appears in the driver menu kind Must be drivercommand KIND DOUBLE TRACK Description Track splines that may place two or more
392. ion 2 0 115 KIND ACTIVITY Description An activity is a scripted scenario that details the locomotives and rolling stock used in a map the driver settings commands and scripts A train driver can undertake a sequence of planned moves a scenario Container Structure Awell formed activity kind has the following container structure e air wav alarm wav E assetcheck gse e beep wav E config Ext eJ deadman wav Am ies TET See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS activity kuid kuid trainz build data category class data category region data category era data username data kind data class data script file driver settings autopilotmode data startingtime data timerate data deraillevel data showhelp data controlmethod data weather data changeability data thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be YS Scenario See the Maps amp Scenarios section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document
393. ion 2 0 249 ret ret size req Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip rate GetProcessInput multi consumer producer GetQueue av in q GetAsset FindAsset avgas if rate gt 0 if avgasQueue GetQueueCount lt 145000 or avWBRemain gt 0 approx 25 of full ResourceRequirement req new ResourceRequirement req resource avgasQueue GetProductFilter GetProducts 0 This is how many we have asked for Wait till it is fullfilled if we are not already waiting for a waybill to be completed req amount 465600 12 tank cars if avgasQueue GetQueueCount lt 145000 and avWBRemain 0 avWBRemain 465600 req dst me req dstQueue avgasQueue ret ret size req j j return ret j public void AppendDriverDestinations string destNames string destTracks 1 StringTable stringTable GetAsset GetStringTable destNames destNames size stringTable GetString multi_PickupDropoff destTracks destTracks size out_track0 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 250 Industry Coal Mine Directory Structure A typical asset of this kind has the following File Directory Structure E baynumbers texture txt IEbaynumbers tga E brickwall texture txt IE brick
394. iption description cn description cz description de description es description fr description it description lever2 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 157 mesh file soundscript toggle trigger data distance data nostartdelay data repeat delay data sound 0 data thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be WX Accessories See the Wayside section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that appears in the surveyor menu kind Must be mojunction trackside This is a value that is the distance in meters the object is placed relative to the center of the track Negative values will put the object on the left side of the track and positive values will appear on the right Mesh Table Default Contains the default mesh Auto create should be set to true 1 in order to make the mesh visible Lever 1 Lever 2 These are the alternate m
395. is a value from 0 0 to 1 0 which describes the time of day when this effect will start Values range as follow 0 midnight 0 25 6am 0 5 midday 0 75 6pm 1 0 midnight The following modes are suitable for use with Twinkles generated effects as a tfx file 5 f set to stack this allows the use of two tags inherit velocity range 0 to 1 this is to tell the particle that it will inherit the velocity of the emitter This can have different effects depending on the verlocity and direction of the locomotive scale range 0 to 1 the scale of the emitter or the scale rate of the particles Small values increase the precision of the effect with regards to regulator usage A typical layout for this mode is as follows smokeO0 attachment a smokeO0 mode stack file chimneymoving tfx color 0 0 0 0 enabled 1 inherit velocity 0 0 scale 0 98 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 392 6 If set to lowpressurevalve the effect is turned on and off in relation to the boiler pressure in the engine spec for the locomotive When the maximum boiler pressure is reached when driving the effect will be activated until the boiler pressure drops below the specified maximum pressure A typical layout for this mode is as follows smoke4 attachment a smoke3 mode lowpressurevalve file safetyvalve tfx color 0 0 0 0 enabled 1 7 If set to anim when p
396. is not rail tracks shadows Leave as default 0 unticked box upright Specifies whether the bridge legs point vertically or perpendicular to the spline visible on minimap Specifies whether the object track is displayed on the minimap THIS KIND HAS THE FOLLOWING CONTAINERS Track Sound String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions TAGS bendy carrate casts shadows endlength grounded isroad istrack length repeats rgb shadows upright visible on minimap width kuid trainz build category class category region category era username kind unit mesh alias author category keyword contact email contact website description description cn description cz description de description es description fr description it description pl description nl description ru divider dont flip terminator hidden initiator invisible license light organisation terminator uncached alphas username cn username cz username de username es username fr username it username nl username pl username ru Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 155 KIND MOCROSSING Description Combined rail and road crossings that react to trains or script co
397. is the color of the train headlight corona not the lighting itself Please download the examples and source files from the links on the next page Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 35 TRAINCAR EXAMPLES The following models were developed for TRS2004 and are still useful as examples These contain mesh files as well as ingame files Download the following rolling stock descriptions and examples for reference COAL HOPPER A Coal Hopper is a typical example of a rolling stock item that uses an animated load representation This asset also has animated opening doors and particle effects each controlled by a script Download a zipped pack containing a PDF description in game files and source 3dsmax 4 and gmax files of the TRS asset Coal hopper http www auran com TRS2004 downloads contentcreation TRS2004 Coal Hopper zip TANK CAR A Tank Car is a typical example of a rolling stock item that can take a liquid load Download a zipped pack containing a PDF description in game files and source 3dsmax 4 and gmax files of the TRS asset GATX Oilco Tank Car http www auran com TRS2004 downloads contentcreation TRS2004_Tank_Car zip CONTAINER FLATCAR The Container Flat is a typical example of a rolling stock item that can take a variety of loads by attachment Download a zipped pack containing a PDF description in game files and source 3dsmax 4 and gmax files of the TRS
398. isible in Surveyor and not Driver For tracks this is especially handy so you know when it starts and ends but it won t be there when driving around attached track Information on the track to be attached to the model by Trainz This includes a name for the track trackO the track KUID to be used and attachment points placed in the 3dsmax gmax model to define the curve for the attached track to follow The points use the a name naming convention any names may be used but using the track name a track0a for rails and the road name a road0a is convienient A specified road spline connection will generate road traffic See Page 75 for more details on using the attachment points and the special orientation of the axis at the ends of the track Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 14 EFFECT KIND ANIMATION This effect is used when a mesh has a variety of animations Usually the animations will be controlled by a script related to the asset An example of the kind animation effect is the PB15 interior coalman The script for this ties in the animations with the coal requirements of the steam locomotive coalman mesh coalman coalman im auto create 1 att parent default att a coalman effects shovel kind animation anim coalman coalman_shovel kin wave kind animation anim coalman Coalman_wave kin ECC Breakdown of KIND AN
399. it tga The file extension should be excluded here ie OLD Sky rather than qLD Sky texture txt string table 1 container config txt all The string table stores a list of text strings to be used by the industry script string table container config txt all These alternative string tables store translated strings supports null driver character boolean config txt drivercommand Command can be executed without a driver present in the selected loco surveyor name label boolean config txt general Specifies whether this item has floating name label text surveyor only boolean config txt general Adding this means the attached mesh will only be visible in Surveyor and not Driver surveyor only boolean leffects ID attachment Adding this means the attached mesh effect will only be visible in Surveyor and not Driver terminator folder config txt splines Name of model to use at end of bridge placed in subfolder with same name test collisions boolean mesh table ID interior Mouse cannot be used for this mesh Collision mesh used instead Ie animated levers texture path filename config txt general An image texture file texture texture path filename leffects ID texture Texture reference denoting the texture texture replacement file to be swapped by this effect effect texture kuid smoke smoke block Kuid of the texture to be used for the effect texture kuid kuid leffects ID corona effect Add this tag o
400. itchpanel_right texture txt switchpanel_right tga tgv_inti texture txt tg _inti tga tg _int2 texture txt tg _int2 tga tg _int3 texture txt tqv int3 tga thumb jpg tract front texture Ext tract front tga tract left texture Ext tract left tga tract right Eexkure Ext tract right tga tract_base texture txt oh hb ho ho Hb Bo hb hb wh hs tract_base tga tract_top texture txt tract_top tga E traction pm yoltmeterO_15 texture txt voltmeterO 15 tga voltmeterQ 30 texkure Ext voltmeterO 30 tga E wheelslip prn IE wheelslip tga Ei wheelslip_op bmp wheelslip wheelslip_op texture txt window texture txt 2 sound a air_horn_3 wav E cabin Ext E lever 2 wav E lever 4 wav a lever_5 wav a notch_1 wav a reverser wav a switch 6 wav E throttle wav Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg cabin txt A text file mapping sounds to their respective interior elements air horn 3 wav lever 2 wav lever 4 wav lever_ 5 wav notch 1 wav reverser wav switch 6 wav throttle wav The sound files associated with the interior elements various tga various bmp various texture txt Various graphic files used by the asset The texture files used by the progressive meshes of this interior See the section on Texture txt files on Page 96 for more information bar meter needle pm brake pm
401. ith LOD reduction must comprise of indexed meshes or im files only exported from gmax or 3dsmax No pm files are used in LOD TRS2004 looks for these im files through an Im txt LOD mesh file which is referenced from the asset s config txt file The pb 15 body Im txt file in this example is the text file that lists the details of the various meshes to be used depending on viewing distance The four referenced files are called pb 15 body lowest im pb 15 body low im pb 15 body med im and pb 15 body im The last file is the highest quality for close viewing distance Refer to Page 370 for information on Level of Detail Night Directory This is an example of the night mesh being placed in a night subdirectory Reverser Directory The reverser im mesh file is for the reverser used in the cab of the locomotive As the reverser is animated in the model an animation file reverser kin has been exported from 3dsmax or gmax Shadow Directory This is used to cast a shadow of the locomotive on the ground when the Shadow option is turned on in the Trainz configuration setup menu This is a very simple low polygon mesh to assist Trainz performance to match the outline of the locomotive shape and textured plain black Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 97 Example Asset Main CCP Screen This is the main CCP screen for the model showing the container structure to the left and tag
402. ive driver character This specifies the picture icon that appears in Driver as the engine driver Container Structure A well formed drivercharacter kind has the following container structure SS DriverCharacter m thumbnails 0 See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS drivercharacter kind data face texture file kuid kuid mesh kuid username data trainz build data category class data category region data category era data kuid table 0 kuid thumbnails 0 image file width data height data 1 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be OHD Locomotive Driver See the Organism section of the Classes and Codes appendix located at the end of this document for more information category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 125 See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the text name of the driver kind Must be drivercharacter Thumbnails As well as the 240x180 image used as
403. ize 100 allowed products queued size 100 allowed products queue size 100 allowed products processes multi consumer producer start enabled 1 duration 30 inputs outputs icono lt kuid 3 10164 gt a a a Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 71 PASSENGER STATION ASSET A passenger station industry asset has more attributes than normal industry assets It allows loading and unloading of passengers and a spawn and delete process for passengers It relies on a script to function An example config txt file is shown for the a basic two platform passenger station asset Some similar multiple attachment point entries in the original asset have been omitted for brevity For more information refer to the Passenger Station and Vehicle Assets Tutorial available for download http files auran com TRS2004 downloads contentcreation SP2 Passenger Asset Tutorial zip Breakdown of Passenger Station Config txt Some config txt tags are explained below Others are covered in the general config txt explanation see Page 10 icon texture The icon for the asset used for the Drive To command the file is a 64x64 tga texture with no alpha channel passenger height This value sets the height of the passenger asset in metres to suit the platform model height queues The queues field defines the passe
404. king not currently used highspeedexhauster _ flowsize engine Flowsize for vacuum braking not vacuumbrakepipe currently used config txt traincar References the KUID number for the traincar horn sound config txt general Window preview icon see information box config txt general Window preview icon see information box config txt general Window preview icon see information box config txt general Window preview icon see information box icon texture path filename config txt product The in game representation of the texture product when specifying the load type for a compatible rollingstock item driver Should be a 64x64 TGA path filename thumbnails ID Image filename indbrakefull pressure engine Brake cylinder pressure for independant brake service independantbrakecylinder voume enin The engine brake cylinder volume independantbrakecylinder start pressure engine The engine brake cylinder volume on loading the game info page path filename config txt profile Filename of the HTML information html page for the session inherit velocity smoke 1 smoke block For a smoke cone or steam emitter tells the particle that it will inherit the velocity of the emitter initial boiler temperature steam steam engine This allows the engines to be at an almost ready to go state when the session starts queue initiator folder config txt splines Name of the model to use at the start of bridge placed in subfolde
405. l asset of this kind has the following example files in the Directory Structure custom displacements Gi Displacement01 bmp Gi DisplacementO2 bmp DHII bmp MountainO1 brmp Displacement01 bmp Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 340 Trainz Railroad Simulator 2006 CHAPTER 8 Modeling Guidelines The purpose of this chapter is to assist in creating and installating custom TRS assets We assume that third party developers have a basic knowledge of 3dsmax or gmax and therefore only give references to model requirements rather than present a modelling tutorial The chapter includes modelling information on the interface between 3dsmax gmax and Trainz exporting models into Trainz animation solving problems with exports polycount textures bump mapping guidelines opacity interiors steam engine settings animation events Level of Detail load texture replacement aliasing trains bogies pantographs transfer tables fixed track chunky mesh track splines and the trainzoptions file Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 341 3DSMax gmax Interface with Trainz The interface between creating the models and exporting to Trainz can be an area of frustration when the model does not show in Trainz or animation operates incorrectly or not at all This section discusses how to set up 3dsmax gmax place things
406. l information and choices will be available for data entry for instance selecting the mesh file will make it visible in the graphics window when choosing attachment points within the mesh for tag data you will be offered the actual mesh attachment point name for choosing 8 Save the config txt file CCP knows where to place it in the created directory If any error messages appear click with the Left Mouse Button LMB click on each error message to be taken to the tag within the model Examine the data and fix the errors 9 Some entries and changes to the asset may not appear until the asset is committed RMB click on the New Asset name in the main screen of CMP and select Edit Commit The temporary directory is closed and any new error messages that are generated may be examined 10 Launching Trainz from within CMP will allow the new asset to be examined after placing in Surveyor Of course if there are dependencies that have not been specified at this early stage or not enough containers or tags added in CCP the asset may not show up in Trainz 11 Alternately when working on the asset the asset does not have to be committed manually to view it in Trainz When launching Trainz you will be asked to confirm that any assets open for editing should be committed before proceeding Any uncommitted asset will not show in Trainz 12 If you have selected the settings within CMP to re open asset after exiting Trainz
407. l kinds kuid The unique identifier number for the asset When creating new assets with Content Creator Plus the asset kuid will be automatically generated See Page 4 for more information on kuids Example value 56113 1107 0 trainz build The Trainz build number for which the asset was created TRS2006 assets will have a trainz build number of 2 5 automatically generated from CCP Note When editing an asset in Content Creator Plus the trainz build will automatically be upgraded to 2 5 in order to support newly added tags and functions TRS2006 with the Service patch 1 will show a build of 2 6 however CCP will generate config txt files with a build of 2 5 Example Value 2 5 category class The class code for this asset A full list of class codes is provided in the Chapter 11 Category Class appendix The category class has been in use since Trainz SP3 Example Value LM Monorail Vehicles category region The region code for this asset A full list of region codes is provided in the Chapter 11 Region Codes appendix This is similar in function to the category region XX tags which have been in use since Trainz SP3 however category region has been reformatted to allow multiple regions on a single line A semicolon is used to separate individual values Whitespace is not permitted Example Value AD AE AU category era The era code for this asset A full list of era codes is provided i
408. l values 0 0 0 press and right click these 3dsmax icons This makes the object and it s pivot aligned correctly to the origin of the scene The next step is to open each 3dsmax Now is the time to export the object to a Trainz mesh file im Note When a lever is inserted into the default mesh it is attached at the lever s origin regardless of the geometry the lever has Setting the pivot point of the object earlier and aligning the object to the origin in it s own scene reduces the possibility of alignment errors The rotation is always through the attachment point s Z axis and the in game notch display defaults from the positive Y location clockwise around the Z axis Altering the angle settings in the config can adjust the notch position Refer to the config txt example earlier Phase 8 Exporting and Config setup Exporting the objects is very simple You will need the Trainz Exporter Plugin for 3dsmax http www auran com TRS2004 downloads contentcreation TRS_Max4_Plugin_Bump zip or the gmax Asset Creation Studio http www auran com trainz creation Trainz Asset Creation Studio zip Select the objects within the scene that you want exported from the command panel press File Export Selected select Trainz Format and remember to type in the file extension in the File name dialogue box All mesh files should be within the same directory as the config or in a directory within the same path The config
409. lQueue GetQueueCount lt 27500 or oilWBRemain gt 0 approx 14 min to empty ResourceRequirement req new ResourceRequirement req resource crudeOilQueue GetProductFilter GetProducts 0 This is how many we have asked for Wait till it is fullfilled if we are not already waiting for a waybill to be completed Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 248 req amount 543000 if crudeOilQueue GetQueueCount 27500 and oilWBRemain 0 oilWBRemain 543000 10 tank cars req dst me req dstQueue crudeOilQueue ret ret size req j j rate GetProcessInput multi consumer producer GetQueue diesel_q GetAsset FindAsset diesel if rate gt 0 if dieselQueue GetQueueCount lt 232800 or dieselWBRemain gt 0 6 tankers ResourceRequirement req new ResourceRequirement req resource dieselQueue GetProductFilter GetProducts 0 This is how many we have asked for Wait till it is fullfilled if we are not already waiting for a waybill to be completed req amount 776000 if dieselQueue GetQueueCount lt 232800 and diesel WBRemain 0 dieselWBRemain 776000 20 tankers req dst me req dstQueue dieselQueue ret ret size req j j rate GetProcessInput multi consumer producer GetQueue petrol q GetAsset FindAsset petrol if rate
410. laced and can refer to it s visual load state whether through a load animation or attachment Any load animations are set up within the mesh table Processes required The input and output settings of the industry You can specify the amount of input and output for each queue referenced product as well as the duration or rate in seconds for that process to take place All queues and processes are linked through the industry asset s script file Industry functionality Perhaps the simplest examples of industry functionality are the TRS released Coalmine and the Powerstation assets When the coal hopper enters the trigger radius of the coalmine loading bay it s script interacts with the hoppers own script Particle effects pfx from the coalmine visually display the coal entering the hopper and the hopper animated load rises to show it s full state The coalmine s own animated load pile reduces as does it s commodity level Similarly when the full hopper enters the Powerstation trigger radius the hopper s animated load lowers the side doors open and the pfx effects on the hopper itself initiate The animated load pile in the Powerstation increases and it s commodity level increases The hopper pfx and the animated doors are both controlled by the hopper gs script file Refer IN GAME VISUALISATION OF PRODUCTS Page 16 Note Animation Events Sounds events and generic events can be linked to an animation key frame to
411. lacing an attachment for a whistle steam effect the attachment must be named a whistle for the effect to turn on when the whistle key is pressed A typical layout for the effect is shown below smoke7 attachment a whistle mode anim file whistle tfx color 0 0 0 0 enabled 1 color The color of the smoke effect e g 150 150 150 255 for dark smoke 255 255 255 150 for steam 150 150 255 255 for water Default is 255 255 255 255 accel Acceleration A vector pointing in the direction of the sum of all forces affecting this smoke effect Essentially lt z gt describes gravity and lt x gt lt y gt describe the force of wind Default is 0 0 0 loop Time in seconds to loop the smoke sequence Only valid if mode is set to time Not functional in TRS SEQUENCE PROPERTIES The following properties can be set to a single value or a set of values for multiple phases of the smoke effect Please note that phases must not overlap as only one phase can be active at any one time If a property has a set of values it must be the same length as start If a single value is given then it will be used for all phases of the effect See Example 1 using multiple phases start period See mode rate The rate of emission in particles per second for modes time speed and timeofday or the number of particles to emit over the animation period for anim mode default 4 velocity The initial speed of emi
412. land Cyprus Czech Republic Germany Djibouti Denmark Dominica Dominican Republic Algeria Ecuador Estonia Egypt Western Sahara Spain Ethiopia Finland Fiji Falkland Isl Malvinas Micronesia Faroe Islands France Gabon Great Britain Grenada Georgia Ghana Gibraltar Greenland Guadeloupe Fr Equatorial Guinea Guyana Fr Gambia Guinea Greece Guatemala Guam US Guinea Bissau Guyana Hong Kong Heard amp McDonald Isl Honduras Croatia Haiti Hungary Indonesia Ireland Israel India British Indian O Terr Iraq Iran Iceland Italy Jamaica Jordan Japan Kenya Kirgistan Ex USSR Cambodia Kiribati Comoros Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 400 KN St Kitts Nevis Anguilla KP Korea North KR Korea South KW Kuwait KY Cayman Islands KZ Kazachstan LA Laos LB Lebanon LC Saint Lucia LI Liechtenstein LK Sri Lanka LR Liberia LS Lesotho LT Lithuania LU Luxembourg LV Latvia LY Libya MA Morocco MC Monaco MD Moldavia Ex USSR MG Madagascar MH Marshall Islands ML Mali MM Myanmar MN Mongolia MO Martinique Fr MR Mauritania MS Montserrat MT Malta MU Mauritius MV Maldives MW Malawi MX Mexico MY Malaysia MZ Mozambique NA Namibia NC New Caledonia Fr NE Niger NF Norfolk Island NG Nigeria NI Nicaragua NL Netherlands NO Norway NP Nepal NR Nauru NT Neutral Zone NU Niue NZ New Ze
413. latform mesh cage cage im anim cage anim kin use parent bounds 1 FIXEDTRACK A fixedtrack in TRS could be likened to a model train sectional track system They snap into position when moved onto another track in Surveyor Technically all a fixedtrack comprises is a mesh asset with an attached track or tracks and surveyor only rendered arrows so the user knows where the fixedtrack segment starts and ends The model consists of a few attachment points using the a name naming convention set up accurately in 3dsmax or gmax and a single invisible polygon to allow exporting and for in game asset selection Note that correct track end attachment orientation is essential The Y axis must point out at the correct angle The Z axis must point up Mid points only need to be in the correct spline path See diagram to the right When a spline track is attached to a fixedtrack the fixedtrack will update to the attached track type unless the tag useadjoiningtracktype 0 is used see example config txt file The arrows are inserted at each end as a kind attachment referenced by the arrow s KUID lt KUID 3 10092 gt Each fixedtrack asset needs a preview mesh as spline tracks will not render in the Preview window A preview mesh can simply be setup as a kind mesh This way the preview mesh will never be selectable or seen in Surveyor Crossing Attachments Curve Attachments Y Y a track0c Y a tracklb
414. lationToTrack me out_ track0 if direction Vehicle DIRECTION FORWARD report sideFlags LoadingReport LEFT SIDE else if direction Vehicle DIRECTION _ BACKWARD report sideFlags LoadingReport RIGHT_SIDE vehicle LoadProduct report Already done something to the queue if so set flag so that we don t unload it again just for this multi ind if report amount gt 0 petrolWBModified true Load the coal Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 237 if GetProcessOutput multi consumer producer coalQueue coalAsset gt 0 1 spaceAvailable coalQueue GetQueueCount report CreateLoadingReport coalQueue spaceAvailable direction vehicle GetRelationToTrack me out_ track0 if direction Vehicle DIRECTION FORWARD report sideFlags LoadingReport LEFT SIDE else if direction Vehicle DIRECTION _ BACKWARD report sideFlags LoadingReport RIGHT_ SIDE vehicle LoadProduct report Already done something to the queue if so set flag so that we don t unload it again just for this multi ind if report amount gt 0 coalWBModified true j Load the cont20 if GetProcessOutput multi consumer producer cont20ftQueue cont20ftAsset gt 0 1 spaceAvailable cont20ftQueue GetQueueCount report CreateLoadingReport cont20ftQueue spaceAvailable direction
415. ld category class category region e category era s username cn cz de es fr it nl pl ru kind description cn cz de es fr it nl pl ru author organisation contact email contact website category keywords license Other Regularly Used Containers Mesh Table anim x auto create animation loop speed critical animation use parent bounds att att parent opacity light test collisions i mesh night mesh base radius collision parent Effects Name Effect name font fontsize fontcolor Corona Effect kind att directional frequency max distance object size texture kuid wave shift Texture Replacement Effect kind texture Attachment Effect kind att default mesh surveyor only Animation Effect kind anim e looped speed Tracksound Container track sound priority track track parent bogey Soundscript Container repeat delay distance ambient x attachment nostartdelay e trigger value range Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 103 volume sound Queue Container size animated mesh custom attachments initial count passenger queue e product kuid e allowed products conflicts with queues attachment points allowed categories Smoke Container d attachm
416. le Mesh Table Default Contains the default mesh Auto create should be set to true in order to make the mesh visible Additional Containers As well as containing all of the common tags and containers detailed in Chapter 5 the buildable kind also contains additional containers and tags that are specialised to the requirements of the kind Attached Track Container Auto generated spline track Generated through attachment points located within the default mesh Attached tracks update automatically to the spline track connected to it in Surveyor You may over ride this auto update feature by adding useadjoiningtracktype 0 below Note Correct track end attachment orientation is essential The Y axis must point out at the correct angle The Z axis must point up refer to Page 75 The Attached Track Container has the following tags and containers track Kuid of the track to be used useadjoiningtracktype Indicates whether the track type should change to match that of the first track joined to the object vertex Attachment points at which to place track Attached Trigger Container A Trigger is a point along an attached track with a specified radius When a compatible rollingstock item enters this radius it triggers a set of commands controlled through its script A trigger is setup in an industries or buildable config txt The Attached Trigger Container has the following tags att The attachment poin
417. le intro disable Don t forget to start the commands with a hyphen and save the file 4 To determine the coordinates for the viewpoints to be used for a cabin cameralist six valkues are required 0 0 0 0 0 left right front back up down yaw pitch To determine these variables add the following line to the trainzoptions txt file freeintcam Pan around the interior in Driver using arrow keys and mouse Viewing co ordinates are displayed at the bottom left of the screen Make sure you include any negative sign for coordinates where appropriate when entering them in CCP for the config txt file VIEWPOINTS IN SURVEYOR If you wish to move around easily in Surveyor to take a screen shot for instance there are two keyboard functions that are useful In TRS2006 hold down the Alt key and type either u or y Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 386 on the key board Alt u this allows you to move the viewpoint around the scenery to get in closer or to frame a section for a screenshot Use the keyboard scroll arrow keys and the Page Up and Page Down keys to move and zoom This is the most useful as you can move anywhere and the compass point and menus are removed from the view for a clean screenshot Alt y this allows you to walk around the scenery at ground level the height is not adjustable Since the menus are removed this is a mode only for viewing or taki
418. le Portal asset available on the Auran Content Creation Art Source CDs Breakdown of Portal Config txt Some config txt tags are explained below Others are covered in the general config txt explanation see Page 10 region Surveyor region type Surveyor type light Sets lighting to be used for object to be ambient or directional 0 sets ambient lighting and object is lit by general light value uniform coloring 1 sets directional light which is affected by the position of the sun shows shadows on the object surfaces script Name of Script to be used with this asset class Script class icon texture The in game representation of the asset when specifying a drive to command in Driver category class The class code for this asset Refer to Appendices kuid table KUIDs required for this asset to function correctly sample only shown the rolling stock listed in the consists entry default Default is the main mesh of the asset mesh The model name auto create 1 The model is generated automatically when placed or when you load a map which includes the model In some instances you don t want the mesh visible as this may be controlled through script If auto create is 0 the mesh will not be visible when placed Portal Config txt kuid lt KUID2 21 gt kind industry light 1 kuid table obsolete table description trainz build 2 5 username Portal script PortalTunnel
419. ler needle im brake needle im flaman_ needle im speedo needle im fireplates im The indexed mesh components used to create the interior asset More information on modelling interior assets can be found on Page 358 of this document Cabin txt A text file mapping sounds to their respective interior elements air brake2 wav air brake wav boiler blow down wav boiler blow down end wav brakehandle wav brakes wav coal into firebox1 wav coal into firebox2 wav coal into firebox3 wav coal shovel1 wav coal shovel2 wav coal shovel into combined wav cylinder cocks1 wav cylinder cocks2 wav cylinder cocks full wav fire roar wav firebox close wav firebox open wav metal footstep left wav metal footstep right wav regulator1 wav regulator2 wav reversing lever notch wav reversing lever throw wav rutnut wav sanding lever1 wav sanding lever2 wav seat unfold wav shovel hit wav tender handbrake wav throttle wav whistle end wav whistle mid loop wav whistle start wav window open wav The sound files associated with the interior elements File Listings Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 278 config txt kuid kind username trainz build cameradefault category class description lt kuid 56113 1015 gt interior testSteamInterior 2 5 0 z Test interior for a steam locomotive Based on the Mallard interior category region
420. line models must be constructed starting on the origin and extending in the negative Y axis direction The top view in the diagram shows the correct placement and dimensions L1 orL origin initiator terminator length L 1 or spline length L Y L x 3dsmax gmax Top view The initiator may be rotated 180 degrees to create a terminator model if required Attachment points will be automatically generated in Trainz at ground level The model heights need to be adjusted in 3dsmax gmax so a road or track will connect at the correct levels origin ground level g in Trainz by 3dsmax gmax Front view For additional notes on splines refer to Page 385 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 78 KIND BRIDGE TUNNEL This kind is used for creating road and rail tunnels terminator Name of model to use at start of bridge placed in subfolder with same name Name of model to use at end of bridge placed in subfolder with same name Config txt kuid lt KUID2 1 gt endiength kind bridge Length in meters of the initiator and terminator models Refer to Page 78 for information on constructing initiator length 20 and terminator models bendy 1 bridgetrack KUID 4f44 4d44 44 trackoffsets 2 5 2 5 height 8 istrack 1 initiator oz tunnel start terminator oz tunnel end endlength 20 kuid table O lt KUID HHH gt username description
421. line of the mesh asset polycount guide for the various types of assets Of course being a real time 3D engine we strongly suggest you keep the polygon count to a minimum In other words in what environment is the asset being used Do you have a single house in the middle of a desert or is the house surrounded by trees power lines other houses and buildings a train track and a 100 000 polygon full train consist zipping by every 10 minutes Based on this thought then consider the following User system variations User system Performance MESH POLYCOUNT GUIDE If you need a ladder use alpha maps if you need a steel structure use alpha maps if you want to model a signal pole only use a 5 sided oylinder if a locomotive has lots of pipes and handrails make the pipes 3 or 4 sided and use the same smoothing group to get the pipe effect In Trainz introduce assets gradually if you were approaching a forest with a number of different types of trees introduce a few of each type in the scene before you get to the main forest Trainz will then have the trees loaded into memory gradually instead of suffering the frame rate impact of many assets having to be loaded in a short time The following table will give you a guide for creating your models Slight variations to these are possible but it is not advisable for example to use 17 000 polygons for a locomotive body
422. look for the file and select by the 64x64 size mass The physical mass of the product or is that virtual mass For Containers and Passengers this is calculated in kilograms unit e For Liquid and Bulk loads this is calculated in kilograms litre product texture The texture to be used with load texture replacement i e When a hopper loads woodchips instead of it s default load of coal Refer to Load Texture Replacement pdf for details allows mixing 1 Products with this tag may be combined in a single queue along with other products of the same category Eg Lumber and 20ft Container on a flatcar By default allows mixing is set to O Therefore by default a queue will only allow one product category at a time To look at allows mixing from another angle liquid products should never have allows mixing enabled Otherwise you have the potential to mix petrol with oil all within the same tanker and don t think cars like 2 stroke fuel too much We have placed Products and Product Category files in the scenarios directory This location is not mandatory though AVIATION FUEL PRODUCT Aviation Fuel Product Config txt kind product Aviation Fuel directory structure scenarios kuid lt KUID 3 10045 gt aviation Fuel username Aviation Fuel C E AvGas tga product category lt KUID 3 10044 gt instance type resourc icon texture icon texture texture Config txt Bae icon texture tex
423. lows mixing is set to 0 Therefore by default a queue will only allow one product category at a time To look at allows mixing from another angle liquid products should never have allows mixing enabled Otherwise you have the potential to mix petrol with oil within the same tanker altitude Po config txt altitude of this region ambient boolean soundscript ID mesh object 0 or 1 default 0 is off Ambient sounds have no 3D position and may be stereo Non ambient positional sounds are positioned on the object and must be mono see attachment above angle float list degrees config txt turntable Specifies the angles at which the turntable stops Not used if the turntable is set up as animation angles float list mesh table ID interior Rotational boundaries in radians relative to its attachment point anim path filename kin config txt pantograph The anim kin animation file for the pantograph path filename kin effects ID Reference to the animation file kin anim path filename kin mesh table ID mesh object The animation file kin exported from 3dsmax or gmax animated mesh mesh table ID queues ID industry Animated mesh which changes as the queue becomes full animation loop speed float mesh table ID mesh object This tag must be here if the asset is to animate when placed If this tag is not here when placed the animation will not play by default but may play if c
424. lp 0 dcc 1 cabin controlmethod O clear 1 cloudy 2 drizzle 3 rain 4 stormy 5 light snow 6 medium snow 7 heavy snow weather 0 none 1 periodic 2 extreme changeability kuid table A list of named assets used in the scenario Scripts refer to assets eg trains by the names in this table KIND TEXTURE You can now reference a simple texture as an asset These can be referenced by kuid for use as a custom corona for example Typical mesh config txt kind texture kuid lt KUID 3 10112 gt 2 been B configs lt j Men redcorona texture txt redcorona tga Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 86 KIND BUILDABLE A Kind buildable is a variant of Kind Scenery and may be used in place of a normal scenery item with the following attributes It inherits the Kind scenery attributes It allows attached track to be used as part of the model refer to Page 75 for information of the attachments and orientation and It does not support processes use Kind Industry for this purpose MISCELLANEOUS CONFIG TXT TAGS There are a number of useful miscellaneous tags used in config txt files that may not have been covered fully in previous Kind examples A brief summary is provided for some of these here invisible 1 A tag only used for Kind track the track will only show in Surveyor For other meshes use surveyor only 1 to make it invisible i
425. ls or animate will need to be detached from the main model To do this select the polygons or elements you want detached and through the 3dsmax modify panel press the detach button and name the new object txt reference Since you have already worked out the pivot points of all your objects all you have to do is align the attachment points to your object pivot points Press the icon above and To make life a heck of a lot easier later on it pays to move the pivot point of each new object to it s logical position le For needles and levers the pivot point should be the centre of rotation with the rotation around the Z axis Align lever shaft in the Positive Y direction select the object to align to To do this access the 3dsmax Hierarchy panel and press Affect Pivot Only From here you can centre and align the pivot to the object and move it to the preferred Align position X Y amp Z Current and Target Pivot Point Note gmax users It is of course possible to skip Phase 3 to 6 and create the realtime textures yourselves with a 2d editing program such as Photoshop of Paintshop Pro before assigning them to the model Study the cab interiors that Auran has included in TRS as correct lighting variations truly add to the 3D feel of the interior Studying how light falls on and reflects off differerent materials and adding this knowledge to your textures could be the difference between a nice cab and an a
426. lslip pm none default lever switch pm a switchO 0 1 0 1 0 1 0 0 default lever switch pm a switch 1 0 1 0 1 att parent switch2 kind mesh att limits angles notches notchheight att parent switch3 kind mesh att limits angles notches notchheight att parent switch4 kind mesh att limits angles notches notchheight att parent switch5 kind mesh default lever switch pm a switch2 0 1 0 1 0 1 0 0 default lever switch pm a switch3 0 1 0 1 0 1 0 0 default lever switch pm a switch4 0 1 0 1 0 1 0 0 default lever switch pm a switch5 0 1 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 273 notchheight att parent switch6 kind mesh att limits angles notches notchheight att parent Switch7 kind mesh att limits angles notches notchheight att parent switch8 kind mesh att limits angles notches notchheight att parent switch9 kind mesh att limits angles 0 0 default lever switch pm a switch6 0 1 0 1 0 0 default lever switch pm a switch7 0 1 0 1 0 1 0 0 default lever switch pm a switch8 0 1 0 1 0 0 default lever switch pm a switch9 notches notchheight att parent
427. lstep lets you specify the step size of roll angles for this object Other example values are 1 5 20 etc The default rollstep is 1 0 Where n is 0 or 1 default This lets you disable rotation on a scenery object 0 to disable 1 to enable default Where min and max are values in degrees This tag lets you set the roll yz rotation range normal object rotation is an xy rotation If you want your scenery object to support rolling then use this tag to set the minimum and maximum roll range By default objects have a min max roll range of 0 to 0 config txt rotate yz range config txt Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 421 TAG OR CONTAINER DATA TYPE PARENT APPLIES DESCRIPTION CONTAINER TO rotstep float degrees config txt general Where n is a value in degrees This lets you specify the step size of rotation angles for this object Other example values are 1 10 20 90 180 etc The default rotstep is 1 0 running number string consists vehicle industry Running number of the vehicle ID safety valve high flow steam steam engine Higher pressure valve release Nominal hole size safety valve high pressure steam steam engine When boiler pressure hits this value in kPa the safety valve high flow release is initiated safety valve low flow steam steam engine Lower pressure valve release Nominal hole size safety valve low pressure steam steam engine When
428. lt b gt lt br gt You strayed out onto the mainline Next time try and stay off the mainline lt font gt msg done shunting lt font color 000000 size 4 gt Consist assembled successfully take train out of yard onto the NW branchline as described in the instructions lt font gt thumbnails 0 image thumb jpg width 240 height 180 File html the html file is of this form lt html gt lt body gt lt img src traffic jpg gt lt body gt lt html gt Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 232 Industry Multiple Industry Directory Structure A typical asset of this kind has the following File Directory Structure 2 concrete texture txt EZ concrete tga E config txt EZJicon_multiple tga multiple industry im s multipleindustry gs recess texture txt EJrecess taa thumb jpg Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg concrete texture txt concrete tga recess texture txt recess tga The texture files used for the industry asset See the section on Texture txt files on Page 96 for more information icon_multiple tga The image files used as an icon for the industry multiple_industry im Th
429. lt kuid 171456 100032 gt 2 5 TR testDoubleTrack bridge lt kuid 1 100396 gt 0 QQ 1840s Test double track asset thumb jpg 240 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 205 DriverCharacter Directory Structure A typical asset of this kind has the following File Directory Structure Drivercharacter gi cafe32 bmp Z cafe64 texture txt I cafe64 tga config txt Ezjthumb jpg Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg cafe64 texture txt The texture file which references cafe64 tga See the section on Texture txt files on Page 96 for more information cafe64 tga 64x64 Targa Image file cafe32 bmp The 32x32 thumbnail image used for the small driver portraits in the Driver Settings menu or the train properties in driver File Listings config txt kuid lt kuid 56113 1236 gt trainz build 2 5 category class OHD category region AU category era 1930s 1940s 1950s 1960s 197 0s 1980s 1990s 2000s 2010s username testHenk kind drivercharacter face texture Cafe64 texture mesh kuid 3 10128 description This is Henk thumbnails 0 image thu
430. m 1 crate3 im 1 crate4 im 1 crate5 im 1 crate6 im 1 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 300 crate mesh crate im auto create 1 thumbnails 0 image thumb jpg width 240 height 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example_Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 301 Product Diesel Fuel Product Directory Structure A typical asset of this kind has the following File Directory Structure config txt E24 Diesel taa icon texture texture txt Ezjthumb jpa Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg icon texture texture txt diesel tga The product icon images 64x64 TGA See the section on Texture txt files on Page 96 for more information File Listings config txt kuid trainz build category class category region category era 0s 2000s 2010s username kind allows mixing instance type icon texture mass product category description thumbnails 0 image width height lt kuid 171456 100040 gt 2 5 00 1950s 1960s 1970s 1980s 199 testDiesel Fuel product 1 resource icon texture texture 0 89 lt kuid 3 10044 gt Test Diesel
431. m 0 to 255 describing the effect s initial opacity transparency lt x gt lt y gt lt z gt Are vector components pointing in the direction of the sum of all forces affecting this smoke effect Essentially lt z gt describes gravity and lt x gt lt y gt describe the force of wind lt n gt Is a decimal number Refer also to Chapter 5 for additional explanations MAIN PROPERTIES mode Describes the mode or type of this smoke effect This affects how start and period are interpreted Default is time In all modes period can be set to 1 default to imply the phase is active until the next phase begins 1 If set to time start is a set of time values in seconds after the creation of this effect s parent object when this phase of the effect will start Period is the duration of time this effect will remain active Scenery objects currently only support time mode 2 If set to speed start is a speed in meters per second m s and period is not used Note 1 m s 3 6 km hr All other sequence attributes rate velocity lifetime minsize maxsize are interpolated so there are smooth transitions between phases See smoke3 in Example 2 3 If set to anim start is a value from 0 0 to 1 0 which describes the start time into the object s animation cycle period is a value from 0 0 to 1 0 that describes the duration over which the effect is active start period must not exceed 1 0 4 If set to timeofday start
432. m the centreline Any number of tracks can be attached to the spline only splines with the same track offsets can be connected together THIS KIND HAS THE FOLLOWING CONTAINERS Track Sound String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions TAGS bendy carrate casts shadows endlength grounded isroad istrack length repeats rgb shadows upright visible on minimap width kuid trainz build category class category region category era username kind bridgetrack height trackoffsets alias author category keyword contact email contact website description description cn description cz description de description es description fr description it description nl description pl description ru divider dont flip terminator hidden initiator invisible license light organisation terminator uncached alphas username cn username CZ username de username es username fr username it username nl username pl username ru KIND BUILDABLE Description A variant of Kind Scenery with similar attributes but allowing attached track to be used as part of the model Does not support processes as used in a Kind Industry Container Structure A well formed buildable kind has the following
433. mScaleNormXY 4 0 l scale X Y inat properties for the water asset IPAO SORENESS of the normal map for better interpolation File Listings Perlin config txt AnimPerlinFreq 15 0 kuid lt kuid 56113 1226 gt AnimPerlinSpeed 10 0 trainz build 2 5 AnimPerlinOctaves 3 0 category class EW category region 00 category era 2010s username TestWater S AnimFFT WindVec 15 0 5 0 Direction and speed kind water2 of the wind affecting length of the waves AnimPhillipsA 1 0e 3 Phillips spectrum constant affecting heights of the waves description This is a test water2 kind written for the 2006 CCG thumbnails AnimFFTSeed 0 Reduce height of waves in direction perpendicular to wind CosMin lt cos dir lt CosMax 0 image thumb jpg acrossCosMax Default 1 1 disabled 1 0 same width 240 direction 0 0 perpendicular 1 0 opposite height 180 acrossCosMim Default 1 1 acrossRatio Default 1 0 Reduce height of waves in direction opposite to wind Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 339 oppositeCos Default 1 1 disabled 1 0 same direction 1 0 opposite direction Default 1 0 oppositeRatio j water config txt version 1 00 WaterManager config data WaterManager WaterManagerGeneric WaterMaterial 1 materialColor 0 20 0 45 0 45 0 8
434. mation anim coalman Coalman_shovel2loop kin wipebrow kind animation anim coalman Coalman wipebrow kin Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 53 PB15Cabin gs This is the PB15 steam interior script file This script is responsible for mapping all the steam specific controls to the physics system and for handling PB 15 specific functions such as the coal shovelling dude include train gs include locomotive gs include cabin gs class PBl5CabinData isclass CabinData public float fire plates val public float left window val public float right window val public float left sliding window val public float right sliding window val public floa seat0 val public floa seatl val public float sanding lever val public floa whistle lever val public float regulator lever val public float blowdown lever val public bool fireboxDoorOpen uH Gh ct ch ict cb ct ct ict ct ct class PB15Cabin isclass Cabin Locomotive loco CabinControl speedometer CabinControl main_reservoir needle CabinControl brake cylinder0 needle CabinControl brake cylinderl needle CabinControl no3 pipe needle CabinControl brake pipe needle CabinControl equaliser needle CabinControl flow needle CabinControl ampmeter needle0 CabinControl ampmeter needlel CabinControl throttle lever CabinControl reverser lever CabinControl train brake lever CabinControl
435. max or gmax mesh model Container Structure A well formed chunky track kind has the following container structure 3 chunky track kuid table E thumbnails 0 See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS Kuid Table chunky track The kuid of the track road used in the asset should be present here as should those of any other referenced bendy data acses carrate data Additional Tags casts shadows data passenger height endlength data Used when making a station Indicates the height of the grounded data platform on which the passengers stand isroad data THIS KIND HAS THE FOLLOWING l istrack data CONTAINERS length data Queues Container Smoke Container SoundScript repeals data Container Mesh Table Attached Track Container p Attached Trigger Container String Table Chinese String rgb data Table Czech String Table Dutch String Table French String Table German String Table Italian String Table shadows data Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails upright data Privileges Extensions Consists Container visible on minimap data TAGS width data kuid trainz build category class category region category era username kind alias author autoname kuid kuid category keyword class contact email contact website description description cn description cz description de trainz
436. maximum volume 4 set the initial boiler temperature at 80 85 of working boiler temperature 5 set the safety valve values see comment below 6 suggest firebox to boiler heat flow and burn rate of 0 06 as a good starting point 7 boiler to piston flow and piston to atmosphere flow usually 0 0035 8 the water injector rate at 15 to start shovel coal mass at 35 and fuel energy value at 20 9 the boiler volume approximately 10x real volume see the table in the Content Creation Guide for three sets of figures that cover proportionally appropriate loco sizes Testing Suggestions 1 starting with the loco and train on a long level section adjust the speed and power with the boiler to piston and piston to atmosphere flows 2 carefully adjust the firebox to boiler heat flow the max fire temperature along with the fuel energy settings the boiler steam production can be made to be prototypical and produce enough steam providing the locomotive is hauling a train within its capacity and is driven with the correct use of the valve gear 3 during this process the injector is tuned in to feed enough water at just below maximum demand 4 the shovel rate is used to adjust the amount of coal used and to supply heat 5 the fuel value is another adjustable in the fire parameters This should give a config txt file that reasonably reproduces the real performance in Trainz hauling standard Auran cars most
437. may be straight or curved and snap into position when moved on to another auto create data track in Surveyor effects arrow0 att data default mesh kuid surveyor only data kind data arrow1 Container Structure A well formed fixedtrack kind has the following container att data structure default mesh kuid surveyor only data kind data attached track Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 137 trackO track kuid vertices 0 data 1 data 2 data thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be TF Fixed Track See the Track section of the Classes and Codes appendix located at the end of this document for more information category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that appears in the surveyor menu kind Must be fixedtrack preview mesh kuid The mesh to be used in the surveyor preview area This is useful when an asset has a large bounding box i e the Airport with it s jet animation also see below Mesh Table De
438. mb jpg width 240 height 180 cafe32 bmp 32 32 cafe64 texture txt Primary Cafe64 tga Alpha Cafe64 tga Tile none Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example_Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 206 Driver Command Directory Structure A typical asset of this kind has the following File Directory Structure E config txt E driveto texture txt driveto tga a drivetocommand gs R drivetoschedulecommand gs thumb jpa Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg driveto texture txt The texture txt file See the section on Texture txt files on Page 96 for more information driveto tga The texture file for the drivercommand icon drivetocommand gs The trainz script file referenced in the config txt drivetoschedulecommand gs A trainz script file which is a dependency of drivercommand gs File Listings config txt kuid lt kuid 56113 1268 gt trainz build 2 5 category class YD category region 00 category era 30s 1840s 1800s 1810s 1820s 18 username testDrivercommand kind drivercommand supports null driver character 1 script DriveToCommand gs class DriveToCommand description Test command This do
439. mbnail image referenced in the thumbnails container If your asset has a trainz version of 2 5 you should use an image from a thumbnail container instead at which time these files may be deleted if you wish to decrease the filesize of your asset UP_Bigboy_art_icon texture txt UP_Bigboy_art_icon tga The icon texture files 128x64 pixels in dimension bb_alpha bmp bb_alpha texture txt bb_alpha tga bb_alpha bb_alpha texture txt BB_Bolts texture txt BB Bolts tga BB Bolts bump texture txt BB Bolts bump tga BB Bolts LOW texture txt BB Bolts LOW tga BB Bolts med texture txt BB Bolts med tga bb main01 texture txt bb main01 tga bb main texture txt bb main tga bb main bump texture txt bb main bump tga bb main LOW texture txt bb main LOW tga bb main MED texture txt bb main MED tga Env glass bmp Env glass texture txt Env metal bmp Env metal texture txt generic texture txt generic tga generic LOW texture txt generic LOW tga generic med texture txt generic med tga windowtinterior texture txt windowtinterior tga black texture txt black tga The texture files used by the indexed meshes See the section on Texture txt files on Page 96 for more information UP Bigboy body Im txt Level of Detail or LOD file See the section on LOD meshes on Page 378 for more information UP Bigboy body im UP Bigboy body low im UP Bigboy body med im UP Bigboy shadow im The indexed mesh files used by the trainc
440. mbrakepipe volume scale trainbrakepipe 0 2 epreservoirpipe 0 2 no3pipe 0 2 no4pipe 0 2 auxreservoir 0 0384678 autobrakecylinder 0 00969387 vacuumbrakepipe vacuumbrakereservoir vacuumbrakecylinder mainreservoir equaliser independantbrakecylinder 0 0103239 pressure scale 1 0 0094694 1 compressor mainreservoir 0 00946941 highspeedexhauster 0 brakepipe 0 00595441 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 311 brakeinitial brakefull indbrakefull trainbrakepipe start epreservoirpipe start no3pipe start no4pipe start auxreservoir start autobrakecylinder start vacuumbrakepipe start vacuumbrakereservoir start vacuumbrakecylinder start mainreservoir start equaliser start independantbrakecylinder start mass scale fuel motor resistance adhesion maxvoltage maxspeed brakeratio max accel max decel axle count surface area moving friction coefficient air drag coefficient throttle notches steam firebox to boiler heat flow firebox efficiency boiler volume 0 00560291 0 00398601 0 00398601 0 00440781 0 00504051 0 00489991 0 00876641 0 00440781 0 00489991 1 6 2156e 006 minimum volume maximum volume initial boiler temperature water injector rate 20 piston volume min 8 715 piston volume max 232 4 piston area 0 285 piston angular offsets 0 0174 0 8028 1 5254 2 3736 3 0333 3 9444 4 5413 5 5152 firebox to
441. me description trainz build 2 5 category class GL category region UK category era 1980s Breakdown of Groundtexture Config txt region Surveyor region clutter mesh Not a requirement Optional only See below GROUNDTEXTURE CLUTTER MESH Ground textures can now reference a mesh and insert the mesh automatically as the ground is painted Painting over a clutter mesh ground texture effectively deletes the clutter meshes and texture The mesh it refers to is can be standard scenery object or kind mesh Clutter meshes must have only one 3dsmax material assigned to it only Polycounts must be very low Note The draw distance is very short for clutter mesh assets We suggest only scrubs or grasses be used like the example below Ground Clutter Mesh Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 64 KIND SCENERY Typical Scenery Config txt kuid lt KUID2 1 gt kind scenery The example right shows how flexible the mesh table can be Note this asset has 2 animations One as part of he light 1 default mesh and another external mesh inserted into an cb e S attachment point within the default mesh the radar p 3 kuid table Note We no longer need the UTC tag autoanimation 1 O d as all animations are now referenced through the mesh table mesh table The night mesh default night has also changed from UTC It too is now referenced throu
442. me ru Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 141 KIND HTML ASSET Description An html asset example is the ingame tutorial The config txt file references one or more html pages The html asset can be referenced from the scripts and from some of the Surveyor rules Container Structure A well formed html asset kind has the following container structure 3 html asset i thumbnails 0 See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS html asset kuid kuid trainz build data category class data category region data category era data username data kind data thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should by YH HTML Asset See the Maps amp Scenarios section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username Though this asset doesn t appear in the Surveyor menu the username is used to identify the asset in the Con
443. measurement and the picture icon that displays the product in the simulator Produce and materials are product examples Container Structure A well formed product kind has the following container structure product E mesh table default thumbnails 0 See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS the asset in the Content Manager Plus and Content product Creator Plus programs kuid kuid kind trainz build data Must be pantograph category class data Mesh Table category region data anim category era data The anim kin animation file for the pantograph animation username data Refer to Page 380 for more details of pantographs kind data allows mixing data THIS KIND HAS THE FOLLOWING instance type data CONTAINERS mass data String Table Chinese String Table Czech String Table Dutch String Table French String Table German String product category kuid Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete icon texture file Table Thumbnails Privileges Extensions Mesh Table product texture file TAGS mesh table kuid trainz build category class category region category era username kind alias author category default keyword contact email contact website description h fil description cn description cz description de description mes nG es d
444. mesh surveyor only attached track track0 track useadjoiningtracktype vertices 0 1 track1 track useadjoiningtracktype turnoutdiamond im 1 attachment a track0a lt kuid 3 10092 gt 1 attachment a trackOb lt kuid 3 10092 gt 1 attachment a track1a lt kuid 3 10092 gt 1 attachment a track1b lt kuid 3 10092 gt 1 lt kuid 67598 38001 gt 0 a track0a a trackOb lt kuid 67598 38001 gt 0 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 223 a track1a a track1b lt kuid 3 10092 gt lt kuid 67598 38001 gt lt kuid 171456 60520 gt thumbnails 0 image thumb jpg width 240 height 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example_Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 224 Fixed Track Junction Directory Structure A typical asset of this kind has the following File Directory Structure E config txt E rail oz texture txt IE rail oz tga EZ railsection_ger_sleepersa tga E railsection_ger_sleepersa railsection_ger_sleepersa texture txt Hi thumb jpg i turnout l im blades anim kin blades im z rail_oz texture txt IEjrail oz tga lever E anim kin IE arrows tga 2 arrows arrows texture Ext
445. mesh file which is referenced via the asset s config txt file Note Only Figure 4 the hi res version is bump mapped Bump mapping will be ignored if the graphics card does not support it Use only non formated text to create the Im txt file i e Use a simple text editor such as notepad The use of upper and lower case letters in the tag names are important please follow the example Refer to the Im file in the next column for information LOD Mesh File PB 15 body Im txt Auran s steam loco version 1 0 offset 0 01 calcPoint center multiplier 1 0 animationCutOff 0 00 renderCutOff 0 00 attachmentCutOff 0 06 mesh 0 07 name PB 15 body lowest im mesh 0 30 name PB 15 body low im mesh 0 52 name PB 15 body med im mesh 1 0 name PB 15 body im Breakdown of LOD Mesh File Version 1 0 offset 0 01 The offset that prevents popping between two levels of detail repeatedly calcPoint center The position where the level of detail is calculated from center near far PB 15 bogy lowest im 600 polys 64x64 tex bogies attachments flagged Cull bogies represented in mesh see next page Figure 1 Figure 3 PB_15_body_low im 1947 polys 256x256 tex Figure 2 PB_15_body im 10578 polys 1024x512 tex amp bump mapped Figure 4 Trainz Railroad Simulator 2006 The Content
446. mesh model for selection att parent x shadow reverser default night forward coalman att a coalman a steam boilerblowdown1 a fireboxsmoke a driver a coalman a outsideviewO a outsideviewl a outsideview2 a outsideview3 animation loop speed f Bal Example Asset Smoke Container The menu allows appropriate values to be entered for the smoke effects Note that some values can be removed or other input boxes added for additional values for the tags E traincar smoke O obsolete table a i iia attachment asmoko mr shadow mode fanim P reverser default night forward color 15000000 15000000 15000000 140 000000 5 E 0 000000 X O smoke2 Remove d O smoke3 O smoke4 iod smoke5 foe fi x O smoke6 TIR 4 000000 O smoke O kuid table Remove Add E bogeys Bo 1 accel 0 000000 0 000000 0 850000 sel 2 velocity 4 000000 Remove Add lifetime 4 000000 Remove Add minsize 0 500000 Remove Add maxsize 5 000000 Remove Add Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 99 Example Asset Smoke Attachment Dropdown Box The selection box uses a dropdown menu to display the attachment points found in the mesh model for selection O obsolete table E mesh table P default P shadow P reverser Pj default night forward j coalman O smoke O smoke O smoke2 attachment
447. mesh table ID interior For collision proxy meshes in an interior mesh table this specifies the parent object to be proxied is 3 TAG OR CONTAINER DATA TYPE PARENT APPLIES DESCRIPTION CONTAINER TO compressor compressor pressure engine The compressor maximum pressure gms m conesize smoke 1 smoke block Defines the size of the smoke cone along the x y z axis conflicts with queues subcontainer queues ID industry This queue and the conflicting queue s cannot be used simultaneously consists container config txt industry The consists tag stores information on consists that can be generated by the industry consists vehicle ID User supplied identifier contact email string config txt general Author contact email and contact website are useful information particularly if a user has a question on your models or would like to offer help or suggestions contact website string config txt general Author contact email and contact website are useful information particularly if a user has a question on your models or would like to offer help or suggestions controlmethod Driver control setting dcc cabin coupling mask boolean consists ID industry Coupling mask that applies to the consist 0 will block off all coupling activity while 1 will mean you can couple with a vehicle critical animation boolean mesh table ID mesh object When enabled this forces the animation to continue playi
448. meter needle ampmeter needlel GetNamedControl vampmeter2 needle throttle lever GetNamedControl vthrottle lever train brake lever GetNamedControl trainbrake lever train lapbrake lever GetNamedControl trainbrakelap lever loco brake lever GetNamedControl vindependantbrake lever dynamic brake lever GetNamedControl dynamicbrake lever wheelslip light GetNamedControl wheelslip light horn rope GetNamedControl horn light switch GetNamedControl light switch waterGlassLeft dial GetNamedControl waterglass left waterGlassRight dial GetNamedControl waterglass right firebox GetNamedControl firebox boiler needle GetNamedControl boiler needle regulator lever GetNamedControl regulator reverser lever GetNamedControl reverser waterInjector0 GetNamedControl vwater injector 0 waterInjectorl GetNamedControl water injector 1 fire plates GetNamedControl fire plates left window GetNamedControl left window right window GetNamedControl right window left sliding window GetNamedControl left sliding window right sliding window GetNamedControl right sliding window seatO GetNamedControl seatO0 seatl GetNamedControl seati sanding lever GetNamedControl sanding lever whistle lever GetNamedControl whistle lever blowdown lever GetNamedControl blowdown_ lever
449. mits angles mousespeed mesh auto create att att parent kind mousemode limits angles mousespeed driver window mesh auto create 1 a watervalve 4 default lever exact 0 1 0 0 5 1 watervalveB im 1 a watervalve 5 default lever exact drifter im 1 a drifter default lever exact 0 1 0 0 5 1 window im 1 a windowA default notches notchheight kind fireman window mesh auto create att att parent limits angles notches notchheight kind cylinder cocks mesh auto create att att parent kind mousemode limits angles mesh auto create att att parent kind mousemode limits angles speedo needle1 kind mesh att window im 1 a windowB default 0 1 0 0 012 0 1 1 1 lever cylindercocks im 1 a cylindercocks default lever exact 0 1 watervalveA im 1 a steamvalve default lever exact 0 1 0 0 5 needle needles flaman_needle im Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 282 att parent auto create limits mesh auto create att att parent kind mousespeed mesh auto create att att parent kind mousespeed blower mesh auto create att att parent kind mousespeed mesh auto create att att parent kind mousespeed mesh auto create att
450. mojunction mosignal mospeedboard scenery trackside scenery traincar turntable script The script file gs or gse file Kinds that use this tag activity behavior bogey bridge buildable chunky track double track drivercharacter drivercommand engine enginesound environment fixedtrack groundtexture hornsound html asset industry interior library mesh reducing track mesh mocrossing mojunction mospeedboard paintshed skin paintshed template pantograph product category product profile region scenery trackside scenery steam engine texture group texture track tracksound traincar tunnel turntable water2 snapgrid This lets you specify the size of the grid in meters the object snaps to We recommend factors fractions of 720 as this is the size of a base board and the positioning may do odd things across section borders eg 1 2 5 10 20 30 40 45 60 80 90 120 180 240 360 720 Kinds that use this tag buildable fixedtrack industry mocrossing mojunction mosignal mospeedboard scenery trackside scenery traincar turntable snapmode Specifies the alignment of the turntable to the surveyor grid 1 origin snaps to grid intersections use when removing even dighole values 2 origin snaps to the center of a grid square use when removing odd dighole values Kinds that use this tag buildable fixedtrack industry mocrossing mojunction mosignal mospeedboard
451. moke effect This affects how start and period are interpreted time speed anim timeofday stack lowpressurevalve color Four values the R G B colour value and opacity of the effect rate The rate of emission in particles per second for modes time speed and timeofday or the number of particles to emit over the animation period for anim mode Default is 4 velocity The initial speed of emitted smoke particles Default is 1 lifetime Time in seconds that smoke particles exist Default is 3 minsize Start size of smoke particles Default is O maxsize End size of smoke particles Default is 3 accel Acceleration A vector pointing in the direction of the sum of all forces affecting this smoke effect Essentially lt z gt describes gravity and x y describe the force of wind Default is 0 0 0 conesize Conesize is a float array that can contain 1 2 or 3 float values It will define the size of the cone along the x y z axis Imagine if the cone fitted in a cube if you only use 1 float it will assign that value to both x and y axis If you use 2 values it will use the different values for Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 110 x and y and if you use 3 it will use them for the three axis X y Z direction The vector at which the smoke travels enabled Specifies whether the effect is enabled or not endcolor The final colour the smoke effect shifts to
452. motor resistance adhesion maxvoltage maxspeed brakeratio max accel max decel throttle notches axle count surface area moving friction coefficient air drag coefficient throttle power 0 0 0 00665741 0 00553261 0 00553261 0 00553261 0 00553261 0 00560291 0 00946941 0 00553261 0 00560291 1 6 2156e 006 1 config txt cont Trainz Railroad Simulator 2006 The Content Creator s Guide Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 214 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 215 Engine Electric Directory Structure A typical asset of this kind has the following File Directory Structure E config txt Hi thumb jpg Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg File Listings config txt kuid lt kuid 56113 1234 gt trainz build 2 5 category class ZE category region CZ category era 1980s 1990s 2000s 201 Os username testEngine Electric kind engine description asset Based on the TGV Test electric engine flowsize trainbrakepipe 170000 epreservoirpipe no3pipe no4pipe auxreservoirvent auxreservoir_no3 auxr
453. mp The texture files for the pantograph asset gg1_panto_a texture txt gg1_panto_b gg1_panto_ b texture txt The texture files for the asset See the section on Texture txt files on Page 96 for more information gg1_pantograph pm The progressive mesh used for the pantograph an older file type File Listings config txt kind pantograph kuid lt kuid 171456 100023 gt username testPantograph trainz build 2 5 category class ZP category region 00 category era 1960s 1970s 1980s description Test pantograph asset thumbnails thumb jpg This asset is available for download from the TRS2006 n website at http files auran com TRS2006 Downloads A typical asset of this kind has the following FileiDirectory Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 295 Paintshed Template Directory Structure A typical asset of this kind has the following File Directory Structure config txt Ei consist_mask bmp Ei Front_mask bmp Gi left_mask bmp EJ main_mask bmp Ei preview mask bmp Bzjrear mask bmp Ej right rask bmp ims thumb jpg Eijtop_mask bmp Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg consist_mask bmp The template image used as a basis for the consist menu icon front_mask bmp The template image used as a basis for the texture on the front of the tr
454. mple Value MOSignal description cn cz de es fr it pl ru The human readable description of the asset This is an optional tag To compliment the English description a variety of additional tags allow for equivalent descriptions to be supported across other languages These are as follows description cn Chinese description cz Czech description de German description es Spanish description fr French description it Italian description pl Polish description ru Russian Example Value This is a test activity written for the 2006 CCG author The human readable author name text This is an optional tag Example Value Scott Cameron organisation The organisation name as specified by the asset author This is an optional tag Example Value Auran contact email Email address specified by the asset author This is an optional tag Example Value helpdesk auran com contact website Website URL specified by the asset author This is an optional tag Example Value www auran com category keywords To improve the searchability of assets generic search keywords may be included in the config txt file Each keyword should be a lowercase word with no punctuation Keywords should be English and as neutral as possible Keywords are separated by a semicolon Whitespace is not permitted within the category keywords tag Example Value scott auran example ccg test lice
455. mple text file Each event consists of the frame number followed by the event type Sound Event or Generic Event then the event name Sound events are generally referenced as a trigger within the asset s config txt file or through script All events start on a new line should there be more than one Sound and Generic Events A Sound Event tells TRS when to play a sound relative to an animation keyframe A Generic Event is an animation keyframe reference for script timing and control Example 1 Lumbermill The animation in the max file is set up over 1000 frames We want a single sound to play on frame 760 as a log runs through the mill on the conveyor When exporting the kin animation we are queried for an event file lumbermill evt 760 Sound Event logcut 999 Generic Event animstop An exerpt from the TRS Lumbermill config txt file note the trigger soundscript log cut trigger logcut attachment a sawsound nostartdelay 1 repeat delay 1 distance 10 400 sound log cutting wav Note For script reference please refer to index chm found in Trainz scripts docs directory Export Animation E 3 Lowrange High range e Query for event file OF x Figure 1 Export Animation window Example 2 Looping sounds Not only can we control when a single sound plays but we can also control the start and the stop of a looping sound by adding another Sound_Event with a
456. mulator 2006 The Content Creator s Guide Version 2 0 409 bogeys ID subcontainer TAG OR CONTAINER DATA TYPE PARENT APPLIES DESCRIPTION CONTAINER TO bridgetrack kuid Kuid of the track type to be used buffer speed float metres second config txt trackside Used for buffers specifies the maximum speed up to which the buffer will stop a train burn rate idle steam steam engine The coal consumption rate when the engine is at idle cameradefault integer config txt interior The in cab camera view Trainz defaults to when entering the cab cameralist container config txt List of camera viewpoints camera float list cameralist interior A camera contains 5 numeric coordinates that determine the placement and orientation of the camera These are 0 0 0 0 0 left right front back up down yaw pitch To determine these variables add freeintcam to the trainzoptions txt Pan around the interior using arrow keys and mouse Co ordinates are displayed at bottom left of screen industry asset s script file cart kuid config txt map Each of these tags stores the kuid of a car to be used on the roads car kuid config txt region Each of these tags stores the kuid of a car to be used on the roads carrate float seconds config txt splines Defines traffic density on road minimum seconds between each car generated 0 No traffic Number must be greater than 3 casts_shadows boolean config txt splines Toggles wheth
457. mum volume Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 417 TAG OR CONTAINER DATA TYPE PARENT APPLIES DESCRIPTION CONTAINER TO are emitted 0 mode speed anim smoke 1 smoke block Describes the mode or type of this timeofday time smoke effect This affects how start and period are interpreted time speed anim timeofday mode0 1 subcontainer mesh table mesh object Predefined submesh identifier Mesh showing lever in first position model subcontainer mesh table mesh object Predefined submesh identifier Mesh showing lever in second position motor container config txt engine A container to define motor characteristics for an engine mousespeed float mesh table ID interior This controls the use of the mouse on screen Use this to control the mouse speed and push pull direction for levers and dials mousespeed 1 Inverts mouse direction mousespeed 2 Doubles mouse speed in default direction mousespeed 0 5 Inverts mouse direction and halves the speed moving friction coefficient P motor Friction coefficient when moving name name leffects ID name effect When name name is specified it uses the asset s changeable name Changed through the Edit Properties icon the icon in Surveyor name string leffects ID name effect The default text when placed If name Graceland for example was used the sign would never be able to be changed even thoug
458. n cn description cz description de description es description fr description it description pl description nl description ru license organisation username cn username cz username de username es username fr username it username nl username pl username ru KIND PROFILE Description A Profile is known as a Session in Trainz This kind creates a session defining a single route with different consists starting points and industry outputs Different sets of trains may be used in each different session Container Structure A well formed profile kind has the following container structure ei profile E thumbnails 0 O kuid table See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS profile kuid kuid trainz build data category class data category region data category era data username data kind data map kuid kuid info page file thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should by YP Profile Session See the Maps amp Scenarios section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values categ
459. n 1 00 Water DetailAnim configuration file Is used from DefaultWater config txt DetailAnim animSampleRate 10 Sample rate samples per sec animPeriod 5 Looping period in sec animSpeed 2 0 Speed of waves animSize 128 128 Bump map dimentions animWorldSize 450 0 Size of one tile animMaxHeight 0 4 Max height of the wave animScaleNormXY 4 0 scale X Y coordinates of the normal map for better interpolation FFT animFFTWindVec 15 0 5 0 Direction and speed of the wind affecting length of the waves animPhillipsA 1 0e 3 Phillips spectrum constant affecting heights of the waves animFFTSeed 0 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 61 water config txt Calm Water Note indicates start of creator notes only version 1 00 WaterManager config data WaterMaterial materialColor 0 20 materialRI 0 3 opacityAmount 0 5 DetailAnimFile WaterGeometry UVScrollVelocity TileUVScale GridSpacing 1 TileGridSize 2 WaveFreq 0 MaxAmp 0 Mesh animation TileGridSize MaxAmp 3 WaveFreq 0 1 0 WaterManager WaterManagerGeneric 0 45 0 45 0 8 opacityTex WaterOpacity texture WaterGeometry config data Li Size 0 15 70 25 of one cell of Number of vertices in one tile Number of vertices in one tile Compil
460. n Driver refer to Page 14 for an example trigger 1 Used for a trackside object to send script messages default night forward default night reverse This is the name for a sub mesh attached to a locomotive to show a beam of light for example in the direction of movement of the locomotive Trainz recognises the name and turns on the correct mesh depending on the running direction Note in the example the use of auto create 0 to make the mesh invisible when placed The mesh will be visible when the light switch is activated default night Similar to the previous tag but not dependent on running direction use parent bounds Used for an animated object A bounding box is a fairly default mesh loco body loco body lm auto create 1 default night forward mesh loco body night night im auto create 0 att a bog0 att parent default generic term used to describe the size of an object for clipping purposes If the bounding box goes off the screen the game will stop rendering the object The idea is that the bounding box completely wraps the object but this is not always the case Animation for example may cause the object to pass outside its precalculated bounding box Distance is not relevant it s simply a question of whether the bounding box is on the screen or not The tag relates the sub mesh bounding box to the main mesh bounding box and makes the animated sub mesh continuously visible The tag is pla
461. n box im att parent fire plates att a selection box auto create 1 kind collision proxy opacity 0 collision parent fire plates The fire_plates are kind animated lever The mouse cannot select this mesh as it has the test collisions 0 tag Note the fire_plates collision box has auto create 1 but has an opacity 0 Also the parent mesh it defaults to is the fire plates That is you have to mouse over the fire _ plates collision box in order to move the fire_plates The a selection_box attachment is named a r handlearm a selection box in 3dsmax as it is linked to the animated bone called b r handlearm b r firebase at origin 0 0 0 and insertion point b r handlearm Note Moving attachment points for other models Attachments use the a name convention and allow the attachment of a submesh to a specific point in a mesh If the attachment point in the main mesh is to move with an animation of that mesh the special naming convention above must be used for the point to follow the animation and allow the submesh to then follow the point For example a submesh is to be attached to a main mesh using the attachment name a lever This attachment point in the main mesh must be linked to a helper point called b r pivot that is animated The attachment point in the 3dsmax gmax model must be named a r pivot a lever In the config txt file the attachment point will be entered as a lever Note the helper point in 3
462. n the Chapter 11 Era Codes appendix This is similar in function to the category era XX tags which have been in use since Trainz SP3 however category era has been reformatted to allow multiple eras on a single line A semicolon is used to separate individual values Whitespace is not permitted Example Value 1990s 2000s Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 106 username cn Cz de es fr it pl ru The human readable name of the asset The username tag is mandatory To compliment the English username a variety of additional optional tags allow for equivalent usernames to be supported across other languages These are as follows username cn Chinese username cz Czech username de German username es Spanish username fr French username it Italian username nl Dutch username pl Polish username ru Russian Example Value testActivity kind The asset kind chosen in CCP and must be one of the Auran supplied asset kinds i e kind industry Once you have selected a Kind it cannot be changed from within the CCP editor For example you are making a Kind Scenery asset and have entered some data and then realise you would like to have trains pick up products at the model and this option is not available for Kind Scenery You need to scrap the asset and select Kind Buildable and re enter the data in this Kind See Chapter 2 for a complete list of kinds Exa
463. n this page For general information on soundfiles and soundscripts for other uses see Page 395 Steam sound requirements are described on the following page ENGINESOUND DIESEL AND ELECTRIC Diesel enginesound Directory Structure Config txt Diesel enginesound enginesound kuid kuid 56113 1243 El alco trainz build 2 5 bem El config Ext category class s75 down 2 1 av category region US category era B down3 2 wav 19805 19905 2000s down4 3 wav username testEngineSound Die down5 4 wav BEST kind enginesound E down 6 Bway description Test Engine Sounds for down 7 6 wav diesel or electric down 8 Fay thumbnails Deng idle 1 wav image thumb jpg idle 2 way width 240 idle 3 wav height 180 idle 4 wav j idle Sway idle 6 wav idle 7 wav idle 8 wav stop wav up 1 2 wav up 2 Sway up 3 4 wav up 4 5 wav up 5 6 wav up 5 7 wav up 8 wav Gr GF Gr Gr GF Gr GF Gr Bs Br Gr GF Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 37 ENGINESOUND STEAM Custom steam sounds can be created for TRS The following is a general break down of the required sounds needed and a brief description of how the sounds are used by TRS These sound files described can be downloaded in zip format from this location http www auran com TRS2004 downloads contentcreation TRS2004_Steam_Sound zip Steam
464. n will not be interpreted correctly 4 Do not include blank entries lines for comments in Kuid tables or the obsolete listing Trainz does not need to process additional blank entries 5 At the start of a line any text or symbol that is not a recognised tag in Trainz will be ignored If you mistype a tag name Trainz will jump over this line Make sure tags are entered correctly with no unnecessary spaces correct hyphens or underscores and full path names as necessary CCP will also give error messages for any unrecognised names or misspelled tags 6 The description entry uses a single pair of quotation marks do not include additional marks within the description or the entry will be truncated The Description is displayed on the Download Station so make it informative perhaps including what the model is called and under what directory it is to be found in Trainz This will assist a user in finding the model in the Surveyor menu 7 The CCP program creates the config txt file checks for errors and indicates if you have not included necessary mandatory tags and files It makes the model suitable for the Download Station and must be used to create the upload file It places an apparent blank line at the top This line contains hidden code used by the Download Station process and should not be removed or the config txt file will not function t tabs the entries across the page and inserts quotes around descriptive words
465. na red lt KUID 3 10112 gt road lt KUID gt mesh table default mesh road im anim boomgates kin auto create 1 effects polel lightl kind corona att a polel lampO texture kuid KUID 3 polel light2 kind corona att a polel lampl texture kuid KUID 3 10112 gt 10112 gt booml lightl kind corona att a booml light0 directional 0 texture kuid KUID 3 booml light2 kind corona att a booml lightl directional 0 texture kuid KUID 3 10112 10112 attached track track track KUID 71 15 vertices 0 a track0a ah a track0b road track lt KUID 4 4 gt useadjoiningtracktype 0 vertices 0 a road0a L a road0b string table username QR Level Crossing category class TR description QR level crossing with animated boomgates and flashing lights string table A list that can be accessed in script scriptlet code Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 85 KIND ACTIVITY An activity is a scripted scenario Config txt kind activity kuid KUID 14 160 username Highland Valley DCC scriptlibrary SP3S1DCC scriptclass SP3S1DCC driver settings autopilotmode 0 startingtime 0 4 timerate 1 deraillevel 0 showhelp 0 controlmethod 0 weather 3 changeability 1 kuid table highland valley lt KUID 12 132 gt f7 sfred lt
466. nail image for this asset A 240x180 jpeg idle 1 wav The looping sound played while the horn is held down start wav The sound played when the horn is first sounded stop wav The sound played when the horn is released File Listings config txt kind kuid trainz build category class category region category era username three part description thumbnails 0 image width height hornsound lt kuid 56113 1013 gt 2 5 ZH QQ 1800s testHornsound 3 Part 1 A 3 part horn sound thumb JPG 240 180 Trainz Railroad Simulator 2006 The Content Creator s Guide HTML Asset Directory Structure A typical asset of this kind has the following File Directory Structure E config txt a magle 1 htrml a maglev 3 html Ezjthumb jipa LD images amp button done tga button done off tga EEE button done on tga EEE button next tga EEE button next off taa EEE button next on tga EE button prev tga button prev off tga EEE button prev on tga Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg maglev 1 html maglev 3 html The HTML pages to be used in game various button tga Image file used in the index html HTML pages File Listings config txt username testHTML Asset kind html asset kuid lt kuid 171456 100036 gt trainz build 2 5 category class
467. name Britain workingscale 0 workingunits 0 water lt KUID 1 8009 gt region Britain etc THUNDERBOX Conigbd S kuid lt KUID gt region Australia light 1 kind scenery type Residential soundscript dayloop repeat delay 15 50 distance 5 50 sound strain_l wav ero Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 395 Breakdown of Soundscripts repeat delay 1 or 2 numbers min max in sec time to delay between the end of the sound playing and playing it again randomised between min max default min 0 default max min attachment Attachment point on the object to which the sound is attached Default The sound will attach to the origin of parent object not used for ambient sound distance 2 numbers meters 1st number the distance at which the sound is played at 100 2nd number The cut off distance Doesn t affect the volume of the sound default 50m 150m sound List of wav files to play randomly picked volume Gain of the sound Default 1 0 100 ambient 0 or 1 default 0 is off Ambient sounds have no 3D position and may be stereo Non ambient positional sounds are positioned on the object and must be mono see attachment above value range 2 numbers currently used only for day night sound effects Midnight is 0 5 midday 0 0 or 1 0 Where the numbers are not the same this sets t
468. nce 5 200 sound sound coal into fireboxl wav mesh table 0 146 0 773 f default 0 075 E25 0 561 0 049 mesh PB interior main im auto create 1 trainbrake lever mesh brake lever brake lever im auto create 1 att a brake limits 0 4 angles 0 75 0 35 notches 0 0 5 1 0 notchheight 1 1 1 radius 0 16 att parent default kind lever left_window mesh window sides im auto create 1 limits 0 1 0 angles 0 1 notches 0 1 0 notchheight 1 1 att a window 1 att parent default kind lever right window mesh window sides im auto create 1 att a window r att parent default limits 0 1 0 angles 0 1 notches 0 1 0 notchheight 1 1 kind lever left sliding window mesh window sliding im auto create 1 att a windowsliding 1 att parent default limits 0 1 0 angles 0 0 009 notches 0 1 0 notchheight 1 1 kind lever Continues next page Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 50 im right sliding window mesh window sliding im auto create 1 att a windowsliding r att parent default limits 0 1 angles 0 0 009 notches 0 1 0 notchheight 1 1 kind lever cylinder drain limits 0 4 angles 0 0 3 mesh cylinder clean cylinder clean im auto create 1 Limits O0 10 notches 0 1 0 notchheight 1 1 att a cylinderclean att parent default kind lever regulator mesh regulator regulator
469. nctional in Trainz For example normally a traincar requires a reference to a bogey if you neglect to select the appropriate bogey container for the asset no error message will be displayed but the asset may not show or operate correctly in Trainz Using mandatory tags only may not be sufficient for an asset to operate correctly or to your expectation in Trainz Please refer to the chapters on Kinds Containers Tags and asset examples for guidance on the containers and tags required for a particular Kind Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 90 Using Content Creator Plus Creating a new Asset In the Content Manager Plus Program clicking on the button New will open Content Creator Plus and display the New Asset window from which you can select a base Kind to use as a template PANTOGRAPH Tho animated mechanisms on the roof of electric locomotives that conducts electricity from the catonary wires above It is referenced by the pantograph tag in a traincar config Ge HH 4 a pisses 4 amp The displayed list shows all the asset Kinds supported by Trainz Click on the name of the Kind that you want to create and the program will generate the basic config txt structure for that kind using the mandatory tags You may also add additional optional tags and containers to your config txt file for a more complex asset Refer also to the notes for containers
470. nd files used for slowing down sounds relative to each of the 8 notches idle 1 wav idle 2 wav idle 3 wav idle 4 wav idle 5 wav idle 6 wav idle 7 wav idle 8 wav The various sound files used for idle sounds relative to each of the 8 notches up 1 2 wav up 2 3 wav up 3 4 wav up 4 5 wav up 5 6 wav up 6 7 wav up 7 8 wav The various sound files used for speeding up sounds relative to each of the 8 notches File Listings config txt kuid lt kuid 171456 100016 gt trainz build 2 5 category class ZS category region UK category era 1960s 1970s 1980s 1990s 200 Os username testEngineSound Diesel or Electric kind enginesound Test Enginesound based on the BR Class 37 Sounds description thumbnails 0 image thumb jpg width 240 height 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 220 Enginesound Steam Directory Structure A typical asset of this kind has the following File Directory Structure Z config txt a loco stationary fast wav aj loco stationary med wav a loco stationary slow wawv ES piston stroke1 wav E piston stroke2 wav a piston stroke3 wawv E piston stroke4 wav a smoke stack hiss wav a steam loop wav thum
471. ndTexture Clutter Mesh kind groundtexture texture ugly bmp clutter mesh lt kuid 3 10128 gt description A very ugly Ground Texture with a whole bunch of Alaistair s running around as the clutter mesh thumbnails 0 image thumb jpg width 240 height 180 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 228 Hornsound 1 Part Download this asset Directory Structure This asset is available for download from the TRS2006 ine ee website at http files auran com TRS2006 Downloads A typical asset of this kind has the following File Directory Example_Download zip Structure v config txt ES horn wav a idle 1 way thumb jpg Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg horn wav Railyard hornsound non looping idle1 wav Generally used for the bell sound bell keystroke b File Listings config txt kuid lt kuid 56113 1269 gt trainz build 2 5 category class ZH category region AN category era 1990s 2000s 2010s username testHornsound 1 Part kind hornsound thumbnails 0 image thumb jpg width 240 height 180 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 229 Hornsound 2 Part Directory Structure Download this asset This asset is available for download from the TRS2006 website at http files au
472. nded isroad istrack length repeats rgb shadows upright visible on minimap 1 width 7 9 kuid lt kuid 56113 1008 gt trainz build 2 5 category class TR username testMeshReducing Track kind track unit_mesh rockwall category region 00 category era 1980s 2000s 2010s description Test Mesh Reducing Track asset This asset appears in the splines menu in surveyor The asset has two distinct meshes one for far and one for close This illustrates the way in which Mesh Reducing Track works in game thumbnails 0 image thumb jpg width 240 height 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 288 MOCrossing Directory Structure A typical asset of this kind has the following File Directory Structure E config txt a crossing bell 1 wawv Ezjthumb ipg level_crossing_oz E anim kin s level crossing oz imn E level_crossing_oz texture txt EJlevel_crossing_oz tga B level_crossing_oz_lights texture txt level crossing oz lights tga Bzdlevel crossing oz signs bmp E level crossing oz signs tga E level_crossing_oz_signs level_crossing_oz_signs texture txt Required Files config txt The config file for the asset thumb jpg The thumbnail image for this ass
473. nds that the process runs for Inputs Container Processes subcontainer amount Amount required as input queue Queue from which to take input Outputs Container Processes subcontainer amount Amount to output queue Queue in which to place output Queue Container size Size of queue animated mesh Animated mesh which changes as the queue becomes full custom attachments Not used initial count The initial number of items in the queue product kuid The product type used to fill initial count Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 145 allowed products The allowed products in this queue conflicts with queues This queue and the conflicting queue s cannot be used simultaneously attachment points List of attachment points for this queue on which products are visualised Use this OR animated mesh allowed categories The allowed product categories in this queue Notes Perhaps the simplest examples of industry functionality are the TRS released Coalmine and the Powerstation assets When the coal hopper enters the trigger radius of the coalmine loading bay it s script interacts with the hoppers own script Particle effects pfx from the coalmine visually display the coal entering the hopper and the hopper animated load rises to show it s full state The coalmine s own animated load pile reduces as does it s commodity level Similarly when the f
474. ndustry model asset coalmine im The indexed mesh used for the asset coalmine kin The animation file used for the asset coalmine gs The script file used to outline the behavior of the industry load im load im globe im The model mesh files for the main model the animated coal load coal pile and lights coalmine kin load kin anim kin The animation files for the mine coal load coal pile and lights File Listings config txt username Test Coal Mine kind industry light 1 nightmode lamp script coalmine class iconO kuid trainz build category class category region category era kuid table CoalMine lt kuid 3 10164 gt lt kuid 171456 100012 gt 2 5 AU 1980s 1990s 2000s lt kuid 3 10051 gt lt kuid 44179 60013 gt Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 251 diesel soundscript daysingle repeat delay distance sound 0 truck runO trigger attachment repeat delay distance sound 0 truck idle trigger attachment repeat delay distance sound 0 coal dump trigger attachment nostartdelay repeat delay distance sound 0 clunk attachment trigger nostartdelay repeat delay lt kuid 3 10011 gt coal mine ambient wav truck runO a sound 0 0 5 200 truck_run wav truck_idle a sound 0 0 truck idle wav coal dump a sound
475. ne were used so the default mesh can be controlled by script att The mesh and animation if present is inserted at a mesh attachment point rather than the origin without this line the mesh is placed relative to the origin of the parent model att parent name The tag tells Trainz in which mesh the attachment point is located The insertion attachment point is located within the mesh name as listed in the config txt kuid table A list of KUIDs required for this asset to function correctly A kuid table must be included where the config txt references additional KUIDs such as a bogey or a pantograph including Auran built in KUIDs The Download Station performs a search and those found are added to the download pack obsolete table The obsolete table describes the asset s revision history This field was used extensively for pre TRS assets as each version required a unique Content ID However in order to make the content creator s life a little easier Trainz now uses the KUID2 format which adds another number as a version number For KUID2 information see Page 4 TRS and the Trainz Download Station automatically detects the most recent version of an asset whether it be through the KUID2 Version ID or through the obsolete table If there are no obsoletes leave the obsolete tags out preview mesh kuid Only add this to reference a different mesh for the Surveyor preview window This is useful when an as
476. ng a screenshot Press the Esc key to exit either mode Note in TRS2004 these commands were Alt fly and Alt walk typing the individual letters while holding the Alt key down To take a screen shot press the Print Screen key The captured image is pasted to the clipbpoard and also placed in the C Program Files Auran TRS2006 ScreenShots directory as a tga image for a default installation of Trainz When you initially install Trainz you may have to create the Screenshots directory The tga image size depends on the set resolution of your screen The tga file is quite large preserving the best quality You should convert the images to a jpg file for uploading to the forum to reduce the image transfer size Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 387 Trainz Railroad Simulator 2006 CHAPTER 9 Uploading to the Download Station The purpose of this chapter is to familiarise users with the new Uploading and Content Distribution procedures made available by Content Creator Plus The Download Station combined with CMP makes it easy to retrieve assets and maps for TRS2006 Asset dependencies are gathered automatically when downloading and installed in TRS2006 Assets with missing dependancies can be frustrating when they are not included on the Download Station and we are sure you would understand if we ask that creators upload their assets to assist others to easily find useful models
477. ng when off screen Impacts performance when enabled decoupling mask boolean consists ID industry Coupling mask that applies to the consist 0 will mean you can t decouple vehicles in the train while 1 means you can decouple vehicles defaultjunction Default type of junction in this region ID i default mesh effects ID The KUID of the attached mesh effect default night subcontainer mesh table mesh object Main night window mesh on scenery and industry and traincar assets Modeled to the same 3d space as the default mesh and is inserted at the default mesh origin Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 411 TAG OR CONTAINER DATA TYPE PARENT APPLIES DESCRIPTION CONTAINER TO default night forward subcontainer mesh table mesh object The name for a submesh attached to a locomotive to show a beam of light for example in the direction of movement of the locomotive Trainz recognises the name and turns on the correct mesh depending on the running direction default night reverse subcontainer mesh table mesh object The name for a submesh attached to a locomotive to show a beam of light for example in the direction of movement of the locomotive Trainz recognises the name and turns on the correct mesh depending on the running direction deraillevel 0 1 2 driver settings Derail setting none arcade realistic description Translated description of the as
478. ng with animated boom gates and signals Single Caternary 200 each Based on per pole structure Semiphore Signal post 300 each Ladders should be 2 sided alpha mapped Coloured light Signal post 300 each Ladders should be 2 sided alpha mapped 3D Passengers 140 each Typical House 150 each The Australian houses currently in Trainz average about 150 polygons Typical Large Building 300 each Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 347 KIND MAX POLYCOUNT NOTES Other Scenery Objects Varies Just don t go overboard Put the detail in the textures Remember not to go overboard with the texture sizes either 512x512 pixels is too big for a house The UTC German Lumber Yard for example including it s forklift and scary looking driver came to only 1714 polys The logs are 5 sided cylinders the dominant chimney stack is an 8 sided cylinder SHADOW Loco 700 900 each Just enough to model loco form usually including buffers SHADOW Passenger cars less than 300 SHADOW Tank cars etc less than 500 SHADOW Bogeys less than 100 Simple box and wheel faces are usually enough The images above are examples of the kind of detail you can get within the polygon boundaries above Body 10 578 polygons hi res L O D version Front bogey 696 polygons Rear bogey 4018 polygons TOTAL 15 292 polygons body amp bogeys With respect to Level of Detail this loc
479. nger product the size and the initial count when placed Passenger attachment points placed in 3dsmax gmax are referenced but only a limited number have been included in this example passenger on X Queue name for the passenger on platform and must be of this form where X is the platform number starting at 0 Passenger off queues must be named similarly size The size of the queues must match the number of attachment points Note the special name for the attachment points for seated passengers the name ends in sitNN where NN is any two characters usually digits processes The input and output settings of the passenger asset You can specify the amount of input and output for each queue referenced product as well as the duration or rate in seconds for that process to take place This asset spawns or deletes passengers from the model passenger spawn X The queue name for the passenger spawn process The name must be of this form where X is the platform number starting at 0 Passenger off queues must be named similarly string table Defines the name for each platform track iconO Window preview icon see information on Page 68 Passenger Station config txt kuid lt KUID2 1 gt username Small Station kind industry light 1 trainz build 2 5 icon texture icon small station tga Script SmallStation class SmallStation passenger height 1 204 kuid table passenger
480. nly when you want to specify your own texture for the corona It specifies the KUID of a kind texture asset See KIND TEXTURE texture kuid lt blank gt effects ID corona effect If the texture kuid tag is not present the corona will use the default yellow orange texture in TRS textures container config txt texturegroup The textures container stores a list of additional textures to be used in the texture group three part boolean config txt hornsound Specifies that the hornsound has a beginning middle and ending sound throttle notches i motor o Jengine The number of notches for the throttle throttle power config txt A container for throttle settings thumbnails container config txt all Any asset may specify a thumbnail or preview image thumbnails ID thumbnails User supplied identifier timerate float driver settings activity Time progression 1 real time 2 double speed etc track kuid attached track ID scenery with Kuid of the track to be used track track trackID attached trigger industry The track name which the train must be ID on to trigger apply Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 424 TAG OR CONTAINER DATA TYPE PARENT icm DESCRIPTION CONTAINER boolean config txt Specifies that the object is a trackmark trackoffsets float list metres config txt splines Distance in meters the rail s are attached to the center of the spline A
481. ns base im trans base night im trans turntable im trans platform night im The indexed meshes used for the asset File Listings config txt iconO origin description engine mass username kind enginespec kuid trainz build category class category region category era soundscript door open trigger nostartdelay repeat delay distance sound 0 door close trigger lt kuid 3 10164 gt UK Test Pasenger car asset 0 28000 Test Passenger Car traincar lt kuid 1 42004201 gt lt kuid 171456 100026 gt 2 5 pe QQ 1970s 1980s door open 1 1 0 start wav door close Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 326 nostartdelay repeat delay distance sound 0 start wav mesh table default mesh mk1 rmb br bld custd body mk1 rmb br bld custd body Im auto create 1 shadow mesh mk1 rmb br bld custd shadow mk1 rmb br bld custd shadow pm left passenger door mesh left door left door im mk1 rmb br bld custd body anim left door left door kin mk1 rmb br bld custd body auto create 1 att a doors att parent default right passenger door mesh mk1_rmb_br_bld_custd_body right_door right_door im anim mk1_rmb_br_bld_custd_body right door right door kin auto create 1 att a doors att parent default queues passengers size
482. nse The asset s license agreement as written by the author This is an optional tag Example Value This is an example license Other Regularly Used Containers Some containers are not present in every single kind but appear across a number of different common kinds The most common of these are detailed in this section Mesh Table This is the preferred method of asset mesh reference for most mesh asset types It gives good control over mesh placement usage and animations There are some asset types that cannot use a Mesh Table These include all Bridges Tunnels Rails Pantographs and other Spline Objects eg Fences or Caternaries Important Note Any asset that uses a mesh table will not be compatible with pre TRS 2004 versions of Trainz i e Ultimate Trainz Collection UTC TRS will of course still read UTC assets Just remember that as with most major software releases backwards compatibility is usually achievable while forwards compatibility is often impossible Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 107 Mesh tables allow you to specify main meshes parent and submeshes that may be attached to the main mesh eg night meshes Attached meshes are placed at the origin of the parent mesh by default unless you specify an attachment point in the parent mesh and reference it in the sub mesh entries see below Mesh Tables may contain the following tags and subcontainers
483. nstance then model the track check rails as part of the bridge model Opacity Texture Bleeding Opacity maps or Alpha channels may be used to make large areas of a plane transparent for example making a scenery backdrop to place at the edge of the baseboard A scenery picture is used for the texture and the sky area above the tree line is made transparent using an opacity map as the Alpha channel This allows the Trainz sky to show through the backdrop plane When viewed from some directions often the top edge of the backdrop plane in the sky area shows a phantom line being the texture colour bleeding from the bottom of the plane to the top When exported the texture txt file for the plane has the Tile st option By changing this to Tile s the line may become invisible The s and the t options are related to the x and y axis tiling in the x or y direction so experiment to find the correct option to delete The plane may have transparency on the top and sides Phantom line so use the Tile none option to turn off the tiling for both directions Texture txt example a separate bmp opacity map Primary riverl tga Alpha riverl bmp Tile none Texture txt example an alpha channel within the tga file Primary riverl tga Alpha riverl tga Tile none If you re export the model after changing these values they will revert to the original Tile st settings You will need to amend the lines in the file a
484. nt for a list of valid category era values username Asset username Though this asset doesn t appear in the Surveyor menu the username is used to identify the asset in the Content Manager Plus and Content Creator Plus programs kind Must be hornsound Additional Tags two part Indicates that the Railyard and Driver hornsounds are different The Driver hornsound is looping If this tag is not present the hornsound defauts to UTC equivalent non looping format See Chapter 7 for an example of a two part hornsound three part Specifies that the hornsound has a beginning middle and ending sound See Chapter 7 for an example of a three part hornsound THIS KIND HAS THE FOLLOWING CONTAINERS String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions TAGS kuid trainz build category class category region category era username kind author category keyword contact email contact website description description cn description cz description de description es description fr description it description pl description nl description ru license organisation three part two part username cn username cz username de username es username fr username it username nl username pl userna
485. nt is located within the mesh name queues The queues field defines the passenger product the size and the initial count when placed Passenger attachment points placed in 3dsmax gmax are referenced but only a limited number have been included in this example passengers The name you choose for the queue size The size of the queues must match the number of attachment points note the special names for seated passengers a sitNN for standing passengers a standNN where NN is any two characters usually digits Each point must have a unique name initial count The initial number at starting passenger queue Enables the queue to carry passengers when set to 1 product kuid The passenger product kuid required for this vehicle Passenger Vehicle Config txt kuid lt KUID2 21 gt name BR MK1 RMB Example kind traincar trainz build 2 5 engine 0 mass 28000 bogey lt kuid 3 10061 gt enginespec lt kuid 1 42004201 gt soundscript door open trigger door open nostartdelay 1 repeat delay 1 distance 5 170 sound start wav door close trigger door close nostartdelay 1 repeat delay 1 distance 5 170 sound start wav mesh table default mesh mk1 rmb body mkl rmb body lm auto create 1 shadow mesh mk1 rmb shadow mkl1 rmb shadow pm left passenger door mesh mk1 rmb body left door left door im anim mkl rmb body left door left door kin auto create 1
486. ntable Queue Container The queues container states which product or products the industry can use It contains the size of each product the initial count when placed and can refer to it s visual load state whether through a load animation or attachment Any load animations are set up within the mesh table The queue container contains the following tags size Size of queue animated mesh Animated mesh which changes as the queue becomes full custom attachments Not used initial count The initial number of items or quantity in the queue passenger queue Not used product kuid The product type used to fill initial count allowed products The allowed products in this queue conflicts with queues This queue and the conflicting queue s cannot be used simultaneously attachment points List of attachment points for this queue on which products are visualised use this OR animated mesh allowed categories The allowed product categories in this queue Kinds that use the Queue Container buildable fixedtrack industry mocrossing mojunction mosignal mospeedboard scenery trackside scenery traincar turntable Smoke Container More information on smoke and particle effects can be found in Chapter 10 The Smoke Container allows the following tags attachment The attachment point stored in the mesh file to place the smoke effect a smokeO0 for example mode Describes the mode or type of this s
487. ntemergency no3pipevent no3pipe mainreservoir compressor trainbrakepipe reservoir trainbrakepipevent no3pipe autobrakecylinder epreservoirpipe_autobrakecylinder mainreservoir_ep vacuumbrakepipe vacuumbrakepipereleasevent vacuumbrakepipevent data data data data data data data data data data data data data data data data data data data data data data data data data data data data vacuumbrakereservoir_vacuumbrakepipe data vacuumbrakecylinder_vacuumbrakepipe data highspeedexhauster_vacuumbrakepipe data engine kuid kuid volume trainz build data scale data category class data trainbrakepipe data Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 129 epreservoirpipe data motor no3pipe data resistance data no4pipe data adhesion data auxreservoir data maxvoltage data autobrakecylinder data maxspeed data vacuumbrakepipe data brakeratio data vacuumbrakereservoir data max accel data vacuumbrakecylinder data max decel data mainreservoir data throttle notches data equaliser data axle count data independantbrakecylinder data surface area data pressure moving friction coefficient data scale data air drag coefficient data compressor data throttle power mainreservoir data See Chapter 7 Examples for various Throttle Power values highspeedexhauster data dynamic brake brakepipe data See Chapter 7 Examples for various Dynamic Brake brakeinitial data values brakefull data
488. ntent Manager Plus and Content Creator Plus programs kind Must be engine Additional Containers As well as containing all of the common tags and containers detailed in Chapter 5 the engine kind also contains additional containers and tags that are specialised to the requirements of the kind Throttle Power Container Contains acceleration variables as used in cabin mode eg 1 0 30 5 25 At speed 5 acceleration 25 10 15 12 0 See Chapter 7 for example Throttle Power values Dynamic Brake Container Contains deceleration variables for dynamic braking in cabin mode eg 1 1 333 0 2 30 5 25 At speed 5 deceleration 25 10 15 12 0 See Chapter 7 for example Dynamic Brake values Pressure Container Stores brake system pressures The Pressure Container has the following tags scale Multiplies pressure by given value generally leave this setting compressor 120psi expressed in grams m Compressor maximum pressure mainreservoir Main reservoir maximum pressure highspeedexhauster For vacuum braking not currently in use generally leave this setting brakepipe 80psi expressed in grams m Brake pipe pressure when fully charged brakeinitial 72psi expressed in grams m Brake pipe pressure after initial service reduction for self lapping brakes brakefull 57psi expressed in grams m Brake pipe pressure after full service reduction for self lapping brakes
489. ntrol This allows animation special lighting effects and attachment points for rail track and roads Container Structure A well formed mocrossing kind has the following container structure 3 mocrossing m soundscript dayloop O sound mesh table default m attached track road O vertices tracki L vertices track2 O vertices E thumbnails 0 See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS mocrossing kuid kuid trainz build data category class data category region data category era data username data kind data soundscript dayloop repeat delay data distance data sound 0 file mesh table default mesh file anim file auto create data attached track road1 track kuid useadjoiningtracktype data vertices 0 data 1 data track1 track kuid useadjoiningtracktype data vertices 0 data 1 data thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be WX Accessories See the Wayside section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era
490. nts length width to be removed from the surveyor grid to accommodate the turntable pit The grid divisions are 10 metres square Kinds that use this tag buildable fixedtrack industry mocrossing mojunction mosignal mospeedboard scenery trackside scenery traincar turntable floating Obsolete tag Kinds that used this tag buildable fixedtrack industry mocrossing mojunction mosignal mospeedboard scenery trackside scenery traincar turntable height Height from the track level to the base Should be negative for bridges and positive for tunnels Kinds that use this tag bridge buildable double track fixedtrack industry mocrossing mojunction mosignal mospeedboard scenery trackside scenery traincar tunnel turntable height range min max eg height range 10 100 where min and max are values in meters This allows you to specify the minimum and maximum height ranges for adjusting the height of this object with the Adjust Height tool in Surveyor s Object Tools panel All scenery objects have a default min max height range of 0 and 0 i e they do not by default allow you to adjust the height Adding a height range is particularly useful for ships buoys placed on water and for Station accessories Kinds that use this tag buildable fixedtrack industry mocrossing mojunction mosignal mospeedboard scenery trackside scenery traincar turntable iconO icon1 icon2 icon3 Sm
491. ny number of tracks can be attached to the spline only splines with the same track offsets can be connected together track parent kuid tracksound Tracksound The parent eg bridge industry tunnel of the track to which this sound will apply trackside float metres config txt trackside This is a value that is the distance in meters the object is placed relative to the center of the track Negative values will put the object on the left side ofthe track and positive values will appear on the right kuid tracksound The kuid of the tracksound object to be used tracksound container config txt Tracksound A sound asset that is referenced by track or bogeys to play a different sound from the default track train sound for example when a train travels over a bridge or through a tunnel trainbrakepipe flowsize Flowsize for the brake pipe trainbrakepipe volume 1 Volume for the brake pipe trainbrakepipe reservoir flowsize Flowsize for the brake pipe reservoir trainbrakepipe start pressure Brake cylinder pressure on loading the game trainbrakepipevent flowsize Flowsize for the brake pipe vent trainz build build code config txt general The Trainz build is the version number for which this asset was created boolean config txt Specifies that the object is a trigger trigger string soundscript ID mesh object A trigger may be used in an event file evt associated with an animation It plays at selected key fr
492. nz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 2 and you can expect a steep learning curve should you decide to dive in and learn asset creation However on the plus side the benefits are well worth it and if you take the time to learn it well you will certainly be able to create some masterpieces The free gmax program lacks a few features of 3dsmax notably a rendering option that allows you to see a rendered picture of the mesh asset in the program while being developed and the ability to export specular lighting and bump mapped textures These exports enhance the visual effects of a locomotive boiler for instance but nevertherless gmax is able to do most things that a creator wishes for models in Trainz 3 Create textures Creating textures for your assets is a very important part of the content creation process Making good textures is one of the hardest things to do but they can be the difference between a good looking model and a great looking model Textures are created for Trainz using any 3 party program that supports the creation of 2D art like Adobe Photoshop or Paint Shop Pro There are a number of free programs that may be available but they may lack the functionality of the commercial programs There are special requirements for texture types and sizes for models details are given in this document 4 Create a Config txt file config txt file Each and every item of content
493. o acknowledge the assistance of a number of members of the community who have made formal submissions with comments and suggestions on the revision of the CCG They are Wulf 9 for script assistance Andi06 for the table of tags and containers trw089 and Eric Whitmore for contributions to steam LieLestoSbrat for Twimkles advice Phil_C dh2k3 PerRock wylie swordfish maggs davidt diecastgalore ad60200 and all other respondents with suggestions and assistance Their input has been invaluable and has assisted us to address many of the community questions about content creation A general thank you is also extended to the wider Trainz community for their forum posts on content creation issues and suggestions Finally thanks to lan Manion and Scott Cameron for taking on the revision to suit the new TRS2006 release The Brew Crew January 2007 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 428
494. o compliment the English String Table a variety of additional String Tables allow for equivalent strings to be supported across other languages Thumbnails Any asset may specify a thumbnail or preview image The exact usage of this image may vary depending on the asset kind and the build of Trainz but the following usages are historically common 32x32 standard icon representation for display in lists 128x64 kind traincar list icon in Surveyor 512x512 kind traincar preview image in Surveyor 240x180 Download Station thumbnail image mandatory Note The Art files directory in previous versions of Trainz may now be replaced by the Thumbnails container To allow for the generic specification of thumbnail images the following format is adopted for TRS2006 E thumbnails 0 1 2 Any number of thumbnail entries may be present however it is recommended that no more than 3 images are used The specified width and height must match the actual width and height of the image file in pixels Supported image formats include 32 bit uncompressed targa tga this supports an alpha channel 24 bit windows bitmap bmp gt Jpeg jpg When displaying an image the closest sized image required by the function in terms of pixel dimensions will generally be used in Trainz Extensions Third parties may sometimes wish to include additional config txt tags in an asset s config txt file for the purposes
495. oading and unloading operations unload left im unload right im coal hopper body im coal hopper body low im The indexed mesh files used by the traincar asset File Listings config txt kuid trainz build category class username kind engine mass category region category era enginespec script class iconO description lt kuid 56113 1001 gt 2 5 XG testTraincar Hopper traincar 0 15000 90 1990s 2000s 2010s lt kuid 1 42004201 gt hopper gs Hopper lt kuid 3 10164 gt Test Coal Hopper Asset Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 317 soundscript auto create door close queues trigger door close load0 nostartdelay 1 size repeat delay 1 0 initial count 0 distance animated mesh load sound product kuid lt kuid 44179 60013 gt 0 coupling_1 wav allowed categories mesh table 0 lt kuid 3 10040 gt default smoke0 mesh coal hopper body coal attachment a unload left pfxO hopper body Im mode time auto create color 0 0 0 250 shadow rate 8 mesh coal hopper shadow coal hopper shadow pm velocity 2 load lifetime mesh coal hopper body load load minsize pm maxsize anim coal hopper body load load kin enabled auto create smoke1 use parent bounds attachment a unload left pfx1 effects mode time product texture color 0 0 0 250 kind texture replacemen
496. odes appendix located at the end of this document for more information category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that appears in the surveyor menu kind Must be water2 THIS KIND HAS THE FOLLOWING CONTAINERS String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions TAGS kuid trainz build category class category region category era username kind author category keyword contact email contact website description description cn description cz description de description es description fr description it description pl description nl description ru license organisation username cn username cz username de username es username fr username it username nl username pl username ru Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 192 Trainz Railroad Simulator 2006 CHAPTER 7 Kind Examples The purpose of this chapter is to define all the Kinds that are included in TRS2006 and to describe the Con
497. oefficient air drag coefficient throttle power 0 0 0 00609501 0 00560291 0 00447811 0 00447811 0 00447811 0 00447811 0 00507566 0 00876641 0 00447811 0 00507566 1 6 2156e 006 Trainz Railroad Simulator 2006 The Content Creator s Guide Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 218 135 thumbnails 0 image thumb jpg width 240 height 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example_Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 219 Enginesound Diesel Electric Directory Structure A typical asset of this kind has the following File Directory Structure E config txt a down 2 1 wav a down 3 2 wav a down 4 3 way a down 5 4 wav a down 6 S wav down 7 6 way a down 8 7 wav a idle 1 way a idle 2 way a idle 3 way a idle 4 way a idle S way idle 6 way a idle 7 wav ES idle 8 wav Ezjthumb ipg up 1 2 wav a up 2 3 way a up 3 4 wav up 4 S way up 5 6 way a up 6 7 wav up 7 S way Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg down 2 1 wav down 3 2 wav down 4 3 wav down 5 4 wav down 6 5 wav down 7 6 wav down 8 7 wav The various sou
498. of the archived traincars A typical structure of an aliased loco could be as follows World customi ia trains Config txt x tga x texture txt y tga y texture txt The textures must have exactly the same names and have exactly the same quantity and pixel dimensions that the aliased mesh uses The shadow file of the aliased loco will also be read if present kuid lt KUID2 1 gt alias lt KUID 10 183 gt L The KUID of name train company Auran origin AU bogey lt KUID gt engine 1 interior lt KUID gt fonts 1 mass 97600 kind traincar running numbers rn 0 0003 rn 1 0004 rn 2 0005 rn 3 0006 smoke shade 0 18 smoke random 2 5 smoke slowlife 6 smoke fastlife 0 8 smoke height 1 7 smoke fastspeed 3 2 enginespec lt KUID 1 42004209 gt enginesound lt KUID 12 2100 gt hornsound lt KUID 1 42003103 gt description kuid table O lt KUID tt d 4 1 dd 1 lt KUID d 1 1 1d 2 lt KUID HEHED obsolete table username My locomotive trainz build 1 5 category class AC category region 0 AT category era 0 1980s the aliased mesh Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 376 BOGEYS Download Source files from the Trainz Website POLYGON LIMI
499. ogey for example in the traincar config txt bogey lt KUID gt bogey 1 lt KUID 4 4 bogey 2 r KUID 44B d4 4144 In TRS2006 the bogey container in the config txt file uses a boolean 0 or 1 to set the direction for example in the traincar config txt lt kuid 1 100009 gt reversed 0 If the bogey has animation the animation will have reversed orientation this will cause bogey animation to play in reverse The attachment point for the bogey also has to be rotated 180 degrees in 3dmax gmax to correct the rotation direction Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 33 KIND TRAINCAR A traincar is a Locomotive or Rolling stock asset One of the main features of TRS is that traincars namely rolling stock have the ability to transport commodities products and to interact with compatible industry assets As there are a range of products and product categories each rolling stock type is set up differently to accommodate the load type both visual representation and through it s config For this reason we have made available individual downloads for the various rolling stock types Refer to KIND PRODUCT amp KIND PRODUCT CATEGORY for further information The following example is a config txt file from a locomotive Note the mesh table and animation setup kuid KUID2 fddfd d444 4 42 category class AC category region AU
500. olete table To make a new version asset in CMP right click on the asset and select Create New Version The version number will be incremented in the new model Trainz will use the highest version number found for the asset Obsoleting a KUID2 asset of the same content ID number does not require the use of the obsolete table Obsoleting is a process of replacing a previous item with a more recent one for updating improving or replacing a faulty model Example 1 A model lt KUID2 171456 38001 3 gt is to be replaced by a newer version The new number KUID2 171456 38001 4 is used in the new config txt file The previous model will be replaced obsoleted Example 2 A model lt KUID 171456 27001 gt UTC version is to be replaced using the new KUID2 format and with a new number lt KUID2 171456 27002 1 gt Note the new content ID number is different from the original asset In this case the obsolete table container is used to show the old model KUID to be obsoleted In this way the new KUID is linked to that of the older asset Important Notes 1 lt KUID2 xxx yyyyy 0 gt is exactly equal to lt KUID xxx yyyyy gt in the old KUID format These will be read as duplicates should they be used simultaneously 2 Similarly lt KUID2 xxx yyyyy 1 gt acts as a KUID2 format obsoletion of lt KUID xxx yyyyy gt 3 Using the zero 0 as the first version is acceptable however the display on the Download Stati
501. omotive s polygons can be reduced very easily The pipework valve and gauge details within the cab equate to 4775 polygons The pipework and handrails on each side of the boiler equate to 948 polygons The coupling and pipe at the front equate to 459 polygons Removing these items within the LOD files means a body reduction of 6182 polygons without any loss of form There are more examples of cab interior polygon counts on Page 358 In summary train body polygon recommendations excluding bogies Diesel loco 3500 9000 polygons Steam loco Up to 12000 polygons As a general rule of thumb less is always better Train body shadow polygon recommendations Less than 1000 polygons modeled to the same basic shape and 3D space as the body No attachments are required within the shadow file Holes in the shadow mesh windows for instance can cause streaks of grey from the model windows to the shadow on the ground fill in all holes in the shadow mesh Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 348 TRAINS 3D STUDIO MAX AND GMAX MODEL GUIDELINES ATTACHMENT POINTS In 3dsmax amp gmax Create tab Helpers Point To maintain correct alignment attachment points should be created in the TOP viewport The front end of the train body should be on the Left hand side when displayed in the RIGHT viewport in 3dsmax gmax ie in TOP view the loco should face down the page These are po
502. on mousespeed 2 Doubles mouse speed in default direction mousespeed 0 5 Inverts mouse direction and halves the speed test collisions Mouse cannot be used for this mesh collision mesh used instead i e animated levers opacity Usually used for the window mesh to give transparency and the impression of reflection Additional Containers As well as containing all of the common tags and containers detailed in Chapter 5 the interior kind also contains additional containers and tags that are specialised to the requirements of the kind CameraList Container Contains a list of camera coordinates for the interior cameras relative to a cabfront camera A camera contains 5 numeric coordinates that determine the placement and orientation of the camera These are 0 0 0 0 0 left right front back up down yaw pitch To determine these variables add freeintcam to the trainzoptions txt file Pan around the interior using arrow keys and mouse See Page 386 for information Co ordinates are displayed at bottom left of screen Additional Tags cameradefault Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 150 The in cab camera view Trainz defaults to when entering the cab Extra notes on modelling interiors can be found on Page 358 Interior Attachment types These values should be used as the name of your mesh table entries when constructing an interior ie a throttle sho
503. on 50ft boxcar body pm 50ft boxcar shadow pm The older progressive meshes used for the asset 20865 USA traincar lt kuid 1 42004201 gt enginespec description iconO kuid username trainz build category class category region category era queues load size initial count product kuid allowed products 0 mesh table default mesh Boxcar body pm auto create shadow mesh Boxcar shadow pm auto create bogeys 0 bogey reversed thumbnails 0 image width height Test Roilling Stock assset lt kuid 3 10164 gt lt kuid 171456 100013 gt Test 50 Boxcar 2 5 XB US 1960s 1970s lt kuid 3 10013 gt lt kuid 3 10013 gt SOft_Boxcar_body 50ft_ 50ft Boxcar shadow 50ft lt kuid 1 100074 gt 0 thumb jpg 240 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 325 Traincar Passenger Car Directory Structure A typical asset of this kind has the following File Directory Structure E Config txt e start wav Cjmki rmb br bld custd body Gi Env _glass bmp E Env glass texture Ext Ga eEnv_metal bmp E Env metal texture Ext lllowest bog tga E lowest bog lowest bogop texture Ext Ei lowest_bogop bmp E mk1 rmb a texture txt H
504. on Vehicle DIRECTION BACKWARD and triggerName trig3 return true if direction Vehicle DIRECTION FORWARD and triggerName trig0 return true If the train has already stopped then fall thru and allow this load as well if triggerName trig0 or triggerName trig1 or triggerName trig2 or triggerName trig3 1 if vehicle GetMyTrain IsStopped return true return false j void PerformStoppedLoad Vehicle vehicle string triggerName if triggerName trig0 or triggerName trig1 or triggerName trig2 or triggerName trig3 1 bool avWBModified false bool cont20WBModified false bool cont40WBModified false bool goodsWBModified false bool logWBModified false bool lumberWBModified false bool coalWBModified false bool woodchipWBModified false bool oilWBModified false bool dieselWBModified false Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 236 bool petroIWBModified false bool waterWBModified false int spaceAvailable LoadingReport report int direction if ite IsTrainCommand vehicle GetMyTrain Industry LOAD_COMMAND 1 Attempt to load everything Load the crudeoil if GetProcessOutput multi consumer producer crudeOilQueue crudeOilAsset gt 0 spaceAvailable crudeOilQueue GetQueueCount report
505. on and the installed file will be in the UTC KUID format without the KUID2 format display It is recommended that you start the numbering at one 1 if this is a problem to you 4 The Download Station displays a History of obsoleted models If an obsoleted model has never been placed on the Download Station do not include it in your obsolete table it will result in a History error notification when you try to upload the asset 5 While you may use leading zeros in the KUID system a version 02 will be the same as 002 or 2 and the zeros will be truncated It is recommended not to use any leading zeros An asset placed in your map will display show as the latest installed version When retrieving an asset from the Download Station the newest version will be automatically provided and the Download Station will display a History tag for the model versions For further examples of the use of the obsolete table refer to Chapter 2 TRAINZ Build Trainz build is the numbering system allocated to each released version of Trainz Content may be created for different versions making use of the newer functions in a more recent release Consequently some models will not function in earlier versions of the simulator It is important for models to list the version of Trainz for which they are compatible For older Trainz builds this is done by entering a Trainz Build number in the model config txt file The Content Creator Plus
506. on1 icon2 icon3 license light nightmode organisation preview mesh kuid preview scale rgb rollstep rotate rotate yz range rotstep script snapgrid snapmode surveyor name label surveyor only user gradient track username cn username cz username de username es username fr username it username nl username pl username ru Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 139 KIND GROUNDTEXTURE Description A ground texture is tiled in Surveyor to color and cover the base grid It can optionally reference a low polygon mesh and insert the mesh automatically as the ground is painted Container Structure A well formed groundtexture kind has the following container structure 3 groundtexture i thumbnails 0 See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS groundtexture kuid kuid kind data trainz build data category class data username data category region data category era data texture file thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be G Ground GA Arid GL Lush GS Seasonal See the Ground section of the Classes and Codes appendix located at the end of this document for more inf
507. onState idle2 false SetFXAnimationState loop2shovel SetFXAnimationState vloop2shovel lse if s wave if shovellingCoal if waving waving true SetFXAnimationState wave false SetFXAnimationState wave true thread void RunAnimation void SetFXAnimationState idlel true wait on Animation Event Coalman_loopl end SetFXAnimationState idlel false SetFXAnimationState idle2 true continue on Animation Event Coalman loop2 end SetFXAnimationState idle2 false SetFXAnimationState idlel true continue on Animation Event Coalman loop2shovel end SetFXAnimationState loop2shovel false SetFXAnimationState shovel true continue on Animation Event Coalman shovel end SetFXAnimationState shovel false SetFXAnimationState wipebrow true continue on Animation Event Coalman wipebrow end SetFXAnimationState wipebrow false SetFXAnimationState shovel2loop true continue on Animation Event Coalman shovel21loop end SetFXAnimationState shovel2loop false SetFXAnimationState idlel true shovellingCoal false continue on Animation Event Coalman wave end SetFXAnimationState wave false SetFXAnimationState idlel true waving false continue HH Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0
508. on_bexture texture Ext 20 ft CONTAINER Mesh Dimensions Length 6 10 metres Width 2 44 metres Height 3 05 metres Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 20 40 FT CONTAINER PRODUCT 40ft Container Product Config txt kind product kuid lt KUID 3 10041 gt icon texture texture txt username 40ft Container product category lt KUID 3 10042 gt instance type instance icon texture icon_texture texture 7 gt Primary Containers40ft tga Alpha Containers40ft tga Tile none Containers4Oft tga mass 22000 mesh table default mesh 40ft container im pils mesh 40ft pils im matsui mesh 40ft matsui im capital blue mesh 40ft blue im allows mixing 1 64x64 32 bit 40ft Container directory structure scenarios i 4 fE container z Hj 40Ft_blue tga zt E 40ft capital tga 4 ft db tga BE 40Ft_mitsui tga EE 40ft pil tga Hj Containers40Ft taa E u E 4 ft container irr Es 40ft matsui im Ei 4 ft nils im 40Ft_blue texture bet 40Ft_capital texture txt 4 ft db texture txt 40ft_mitsui texture txt 40Ft_pil texture txt Config txt icon_bexture texture Ext 40 ft CONTAINER Mesh Dimensions Length 12 20 metres Width 2 44 metres Height 3 05 metres Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 21 LUMBER PRODUC
509. onal origin disable extra track sounds enginespec enginesound hornsound category region category era fonts max coupler gap use coupler sounds description asset Based on the Maglev mesh table default mesh TRO08 Maglev body im auto create shadow mesh shadow Maglev shadow im left passenger door mesh TRO8Cab LeftDoors im anim TRO8Cab LeftDoors kin auto create att att parent right passenger door mesh TRO08Cab RightDoors im anim TRO8Cab_RightDoors kin auto create 1 53000 Transrapid Germany 1 lt kuid 37522 2 gt lt kuid 1 42003002 gt lt kuid 60723 54000 gt DE 2000s 0 0 0 Test electric traincar TRO8_Maglev_body TRO8_Maglev_ TRO8_Maglev_body TRO8_Maglev_body 1 a doors default TRO8_Maglev_body TRO8_Maglev_body Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 323 att att parent queues passengers passenger queue product kuid size initial count bogeys bogey element0 reversed bogey thumbnails width height kuid table a doors default 4 lt kuid 3 10060 gt 92 5 0 lt kuid2 171456 149 1 gt trO8 icon trO8 icon 128 64 thumb jpg 240 180 lt kuid 1 100141 gt lt kuid 37522 2 gt lt kuid 1 42003002 gt lt kuid 60723 54000 gt lt kuid 10 216 gt lt kuid 3 10060 gt l
510. ont Digit textures digit_1 tga to digit_6 tga replaced automatically with alohanumber textures alohanumber 0 to alohanumber 9 as numbers are changed via the Surveyor Trains tab Edit Properties icon the icon 2 two fonts Digit textures digit 1a tga to digit 6a tga and digit 1b tga to digit 6b tga replaced automatically with alohanumber textures alohanumber 0a to alphanumber 9a and alphanumber Ob to alohanumber 9b as numbers are changed via the Surveyor Trains tab Edit Properties icon the icon Enginespec References the engine KUID number This specifies the driver physics boundaries for the traincar Refer KIND ENGINE Page 25 enginesound References the KUID number for the traincar s sound Refer to KIND ENGINESOUND Page 37 hornsound References the KUID number for the traincar horn sound Refer Chapter 3 KIND HORNSOUND Page 39 cabinsway strength strength is a floating point number This controls the magnitude of the random roll in internal view The roll is also affected by the speed of the train Negative numbers are not used 0 no sway larger numbers 2 6 etc 7 larger sway smoke 0 Sets boundaries for smoke steam vapor and similar effects Refer Smoke Effects Chapter 10 on Page 391 description Description of the model for Railyard information and display on the Download station with the model light color RGB headlight colour eg 255 255 255 This
511. ontrolled by script A different value e g 0 5 2 0 may be used in the tag to play the animation at a different speed from that created in 3dsmax or gmax Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 407 TAG OR CONTAINER DATA TYPE PARENT APPLIES DESCRIPTION CONTAINER TO animdist float config txt bogey Leave this tag out if the bogey is not animated The distance traveled in meters by the bogeys in 1 second 30 frames of animation Bogey animations exported from Gmax or 3ds Max are called anim kin att helper attached trigger industry Attachment point stored in the mesh ID file att helper leffects ID effects ID The effect insertion point The attachment point must be orientated correctly in 3dsmax or gmax helper mesh table ID mesh object The mesh and animation if present is inserted at a mesh attachment point rather than the origin without this line the mesh is placed relative to the origin of the parent model attached track container config txt scenery with Auto generated spline track Generated track through attachment points located within the default mesh Attached tracks update automatically to the spline track connected to it You may over ride this auto update feature by adding useadjoiningtracktype 0 Note Correct track end attachment orientation is essential The Y axis must point out at the correct angle The Z axis must point up
512. or selection box selection box att parent water injector 0 att a selection box auto create 1 kind collision proxy opacity 0 collision parent water injector 0 water injector 1 mesh injector injector im anim injector injector kin auto create 1 limits 0 1 0 notches 0 1 0 Continues next page Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 51 notchheight 1 1 att a injectorl att parent default kind animated lever test collisions 0 mousespeed 1 0 water injector 1 collision box mesh injector selection_box selection_box im att parent water_injector 1 att a selection box auto create 1 kind collision proxy opacity 0 collision parent water injector 1 fire plates mesh fireplates fireplates im anim fireplates fireplates kin auto create 1 kind animated lever test collisions 0 notches 0 1 0 notchheight 1 1 Limits O0 1 0 fire plates collision box mesh fireplates selection box selection box im att parent fire plates att a selection box auto create 1 kind collision proxy opacity 0 collision parent fire plates water valve0 mesh water valve water valve im auto create 1 att a water valveO att parent default kind lever water valvel mesh water valve water valve im auto create 1 att a water valvel att parent default kind lever water valve2 mesh water valve water valve im auto create 1 att a
513. or the model for instance if you use Joe s Trainz or Cripple Creek Logging Company origin config txt The Country Abbreviation paintshed skin used kuid config txt paintshed skin Kuid of the paintshed skin used if applicable paintshed skin used kuid config txt paintshed Kuid of the paintshed skin to be used template for this template paintshed template used kuid config txt paintshed skin Kuid of the paintshed template used if applicable pantograph kuid config txt traincar The pantograph kuid number inserted at a pant0 a pantl etc Use this tag only when needed passenger height float metres config txt industry This value sets the height of the passenger asset in metres to suit the platform model height Doesn t work passenger queue queues ID Defines this as a passenger station queue period smoke smoke block The usage of period depends on the value of the mode tag If the mode is set to time period is the duration of time this effect will remain active Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 419 TAG OR CONTAINER DATA TYPE PARENT APPLIES DESCRIPTION CONTAINER TO permit commit boolean privileges Allows the end user to commit changes to this asset 1 l l Allows the end user to open this asset 1 permit edit boolean privileges for editing 1 permit listing boolean privileges Allows the end user to view this object in the surveyor pickers if
514. ore information corona green tga corona red tga corona white tga corona yellow tga The corona textures used to light the signals qr 01 im The signal indexed mesh file File Listings config txt kuid trainz build category class category region category era username kind function description trackside lt kuid 56113 1266 gt 2 5 NA AU 1980s 1990s 2000s 2010s testMOSignal mosignal TrackSignal Sample MOSignal asset 2 5 10 8 6 4 2 0 10 8 7 5 3 1 9 8 6 4 2 0 9 8 7 5 3 1 11 12 13 corona white tga corona white tga corona white tga corona white tga corona white tga corona white tga corona white tga corona white tga Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 202 corona white tga corona green tga corona yellow tga corona red tga corona white tga corona white tga mesh table default mesh QR 01 im auto create 1 thumbnails 0 image thumb jpg width 240 height 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 293 MOSpeedboard Directory Structure A typical asset of this kind has the following File Directory Structure E config txt Download this asset
515. ormation category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that appears as a mouseover hint in the surveyor menu Textures are also sorted alphabetically by username kind Must be groundtexture texture The texture file Should be a 128x128 pixel bitmap Additional Tags clutter mesh Ground textures can now reference a mesh and insert the mesh automatically as the ground is painted Painting over a clutter mesh ground texture effectively deletes clutter meshes and texture The mesh it refers to can be a standard scenery object kind mesh Clutter meshes must have only one Max material assigned to it Polycounts must be very low THIS KIND HAS THE FOLLOWING CONTAINERS String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions TAGS kuid trainz build category class category region category era username kind texture author category keyword clutter mesh contact email contact website description description cn description cz description de d
516. orrect Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 353 Material Naming Conventions For straight bump mapped materials with or without alpha no reflection allowed name m tbumptex For bump materials with reflection or gloss no alpha allowed name m tbumpgloss Fig n a Pe 22 25 X P15 989 107 18 lire amp Bim D Wee 2 5ided FaceMap Faceted FaceMap Faceted E cw m Hep I9 None fe Ambient Coke T07 Ir RV Die Coie i 5 Mapi iph 15 l ga fV Difute Coke TT 2 SSS ws Speci Coke TX Hone I Specuts Coke fT None Speculs Level TOT Hone l Speculw Level T z Hons Gennes UU Hone l M Giese i fim Hone Selliminaton TOO 2 None SeHkminsion M 2 Mone Opacky Ez Woe M Opacky X Mone w F FReCoe IN 5 We 1 FReCox I S 5 Hoe F Bump ee 3I Map 29 ipb 15 bump tga R Bump ooo cece 3 Map 31 pb iri bump ga E a Map ti jEr in Specular Level EBEN Glssines 37 2 4 Softer OT Specular Values Xl The specular setting is controlled by the whiteness slider left The whiter it is the higher the value Ensure Specular Level is 100 For bump mapped materials the Glossiness value
517. ory class category region category era username kind author category keyword class contact email contact website description description cn description cz description de description es description fr description it description pl description nl description ru license organisation username cn username cz username de username es username fr username it username nl username pl username ru Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 134 KIND ENGINESOUND Description An engine sound specification detailing the locomotive engine sound files referenced by the enginesound tag in a traincar kind Container Structure A well formed enginesound kind has the following container structure amp enginesound thumbnails 0 See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS enginesound kuid kuid trainz build data category class data username data kind data category region data category era data thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be ZS Enginesound See the Train Parts section of the Classes and Codes appendix located at the end of this document category region See the Region Cod
518. ory era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that appears in the surveyor and driver menus kind Must be profile Additional Tags map kuid Kuid of the map attached to this session info page Filename of the HTML information page for the session THIS KIND HAS THE FOLLOWING CONTAINERS String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 169 Table Thumbnails Privileges Extensions TAGS kuid trainz build category class category region category era username kind map kuid author category keyword contact email contact website description description cn description cz description de description es description fr description it description pl description nl description ru info page license organisation username cn username cz username de username es username fr username it username nl username pl username ru KIND REGION Description A region is chosen in Surveyor to create a new map or route This Kind creates a new region in addition to the in built regions such as Australia or USA for example The region can def
519. otive ENGINE FILE SD40 2 Diesel locomotive kuid KUID 1 42004221 kind engine rem SD402 flowsize trainbrakepipe 170000 epreservoirpipe 0 1 no3pipe 0 1 no4pipe 0 1 auxreservoirvent 0 1 auxreservoir no3 0 1 auxreservoir trainbrakepipe 0 1 autobrakecylindervent 0 1 auxreservoir autobrakecylinder 0 1 equaliser mainreservoir 0 06 equaliservent 0 06 equaliserventhandleoff 0 1 equaliserventemergency 0 1 no3pipevent 1 5 no3pipe mainreservoir 0 1 compressor 10 trainbrakepipe reservoir 1 trainbrakepipevent 0 06 no3pipe autobrakecylinder 0 1 epreservoirpipe autobrakecylinder 0 1 mainreservoir ep 0 1 vacuumbrakepipe 0 1 vacuumbrakepipereleasevent 0 1 vacuumbrakepipevent 0 1 vacuumbrakereservoir vacuumbrakepipe 0 1 vacuumbrakecylinder vacuumbrakepipe 0 1 highspeedexhauster vacuumbrakepipe 0 1 volume scale 1 trainbrakepipe 0 2 epreservoirpipe 0 2 no3pipe 0 2 no4pipe 0 2 auxreservoir 0 0384678 autobrakecylinder 0 00969387 vacuumbrakepipe 0 vacuumbrakereservoir 0 vacuumbrakecylinder 0 mainreservoir 0 9 equaliser 0 5 independantbrakecylinder 0 0103239 pressure scale 1 compressor 0 00946941 mainreservoir 0 00946941 highspeedexhauster 0 brakepipe 0 00736041 brakeinitial 0 00693861 brakefull 0 0044992 indbrakefull 0 005075 WARNING ALTERING ENGINE FIGURES MAY RESULT IN UNDESIRED EFFECTS IN PERFORMNACE AND BEHAVIOR OF YOUR TRAINS MAKE BACK UP COPIES OF YOUR ENGINE CONFIG FILES trainbrakepipe
520. ough the KUID2 system or through the obsolete table The obsolete table container has been included to maintain backwards compatibility with older assets and it is recommended that the KUID2 system be used instead Privileges As of TRS2006 limited content protection applied but only to built in JArchived assets The following tags were used privileges permit commit iv x permit edit V x permit listing V x The permit tags grant or deny the user specific access rights By default all permissions are granted on an asset Setting one of these tags to false 0 removed the permission Built in assets may deny you some options permit commit Allows the end user to commit changes to this asset permit edit Allows the end user to open this asset for editing permit listing Allows the end user to view this object in the surveyor pickers if it is of an appropriate kind It does not affect the visibility of the asset within the CMP asset list String Table cn cz de es fr it nl pl ru Every asset can have a string table A string table is a list of text strings that are defined in the string table section of the asset s config txt file as follows string table Introduction Comment 2 Welcome to the Trainz CCG x This is a comment x The quick brown fox X On their own these string tables are not used The string tables become useful for scripting and are referenced in the script T
521. ow assets and config txt files are used Please refer to later chapters for the new look config txt files constructed using CCP Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 6 KINDS Trainz recognises a number of Kinds of assets Each Kind has different attributes allowing different asset functions and behaviour to be used in the simulator In creating a new asset a suitable Kind must be chosen The following is a list of all the Kinds that may be created in TRS2006 with a brief description Activity An activity is a scripted scenario that details the locomotives and rollingstock used in a map the driver settings commands and scripts A train driver can undertake a sequence of planned moves a scenario Behavior A configurable behavior module that forms part of a session Bogey Bogeys are locomotive or rolling stock wheel mechanisms sometimes known as Trucks This asset is for attachment to a traincar locomotive or rollingstock and can include animation and a shadow model Bridge Road or rail bridges and similar assets as variable length splines The bridge kind may include initiator and terminator segments and shadows The height and gradient of the bridge spline may be varied in Surveyor Buildable A variant of Kind Scenery with similar attributes but allowing attached track to be used as part of the model It does not support processes as used in a Kind Industry Chunky Tr
522. ow to navigate the CCP interface and menus A Workflow Process A logical process should be used to create an asset This is a brief summary of one such process 1 Using a pixel editing program for example Photoshop or Paint Shop Pro create textures for the new model asset and save to a temporary directory 2 Create the mesh model in 3dsmax or gmax texture and map the model and save the files to the directory 3 Open CCP and choose the New asset option to select an appropriate Kind for the model in the example used in this chapter it would be a Kind traincar 4 Enter as much data as possible description username for example following the guidelines in the previous Chapter 3 for selecting containers and tags and entering values 5 Find the newly created directory for the asset it will be called New Asset or in some instances may have a coded name until the config file is first saved and committed with a relevant Username tag The New Asset will also appear in the Content Manager Plus main Screen 6 Make any appropriate subdirectories in this model directory and export the mesh files and textures from 3dsmax or gmax into the directory After exporting the mesh file remember to use the Resource Collector from within 3dsmax or gmax to gather and place all the texture files in the directory 7 Continue to add containers and tags in CCP for the model Now you have a im mesh file in the directory additiona
523. ped for Trainz versions prior to the use of Content Creation Plus Models in TRS2006 Most model asset files may be opened in Content Creator Plus using the option Open in Explorer or an asset may be cloned to make a new model Some files provided by Third Party Creators are not available for modification or viewing the privileges tag options have been used to prevent access to protect the creators assets This option was only available for supplied assets built in to TRS2006 It is not available for new creations uploaded to the Download Station For those accessible assets the config txt and texture files are then available The texture files however are compiled with the texture txt file and are not directly available for modification For example a file may be called black texture without a txt extension and is know as a Trainz file It is not a plain text file A cloned asset will use the compiled texture files correctly as specified in the original exported asset mesh files however if you wish to modify the texture the original graphics file needs to be recovered The file may be extracted using the program TgaTools2 available for download from file C CCG 20Project Downloads mwgfx htm Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 193 Modifying Texture Files After installing the program configure it to refer to an external graphic editor such as Paint Shop Pro or Photoshop using the Pr
524. petrolQueue GetQueueSpace report CreateUnloadingReport petrolQueue spaceAvailable direction vehicle GetRelationToTrack me out _ track0 if direction Vehicle DIRECTION FORWARD report sideFlags LoadingReport LEFT SIDE else if direction Vehicle DIRECTION _ BACKWARD report sideFlags LoadingReport RIGHT_SIDE vehicle UnloadProduct report Ensure we are tracking this if we are waiting for a way bill to complete in its entirety if petroIWBRemain gt 0 petrolWBRemain petroIWBRemain report amount j Il Unload the coal if GetProcessInput multi consumer producer coalQueue coalAsset gt 0 1 if coalWBModified spaceAvailable coalQueue GetQueueSpace report CreateUnloadingReport coalQueue spaceAvailable direction vehicle GetRelationToTrack me out _ track0 if direction Vehicle DIRECTION FORWARD report sideFlags LoadingReport LEFT SIDE else if direction Vehicle DIRECTION _ BACKWARD report sideFlags LoadingReport RIGHT_SIDE vehicle UnloadProduct report Ensure we are tracking this if we are waiting for a way bill to complete in its entirety if coalWBRemain gt 0 coalWBRemain coalWBRemain report amount Unload the cont20 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 241 if GetProcessInput multi consumer producer cont20ftQueue cont20f
525. pfx parameters and reference it via the config txt It is assumed the reader is already familiar with creating and exporting models from either 3dsmax or gmax Method Smoke effects are added to custom trains and scenery objects in two steps 1 Add attachment points to the original model 2 Add smoke tags to the object s config txt file Adding Attachment Points Attachment points are added to the original model using 3dsmax or gmax wherever a smoke effect is desired See figures 1 and 2 below to locate the Insert Point tool After a point is inserted it must be given a name with a prefix of a to identify it as an attachment point e g a smoke a steam a safety a mist etc The attachment point should also be rotated so that its Y axis is pointing in the direction that smoke particles will be emitted Ensure Axis Tripod is checked to see the point s orientation use the Hierarchy Affect Pivot Only option Dummy Grid Point N Tape X Protractor Name and Color Parameters Display t Marker 3dsmax insert point gmax insert point in 3dsmax or gmax When finished save and export the model as per normal Make sure you rotate the point itself and not the axis when aligning the point Unselect the Hierarchy Affect Pivot Only option before rotating Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 391 PFX FROM CONFIG TXT ADDING SMOKE TAGS Smoke blocks are add
526. pg The thumbnail image for this asset A 240x180 jpeg general_goods im crate2 im crate3 im crate4 im crate5 im crate6 im crate7 im The assorted indexed mesh files used to represent this product when placed on an item of rollingstock Using more of these files creates a greater variety of meshes to be displayed when items of rollingstock are carrying this product crate tga crate texture txt crate_2 tga crate_ 2 texture txt crate 3 tga crate texture 3 txt crate_ 4 tga crate 4 texture txt crate 5 tga crate 5 texture txt crate 6 tga crate 6 texture txt crate 7 tga crate 7 texture txt The texture files used by the indexed meshes of this product generalgoods tga icon texture texture txt The product icon images 64x64 TGA See the section on Texture txt files on Page 96 for more information File Listings config txt kuid trainz build category class category region category era username kind allows mixing instance type icon texture mass product category description mesh table default mesh auto create crate2 mesh auto create crate3 mesh auto create crate4 mesh auto create crate5 mesh auto create crate6 mesh auto create lt kuid 171456 100039 gt 2 5 IC QQ 2000s testGeneral Goods product 1 instance icon_texture texture 1400 lt kuid 3 10042 gt Test General Goods Asset general goods im 1 crate2 i
527. ple Download zip Structure IE config txt Ezjthumb jpg Ed ualy bmp Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg ugly bmp The 128x128 bitmap image used as a ground texture File Listings config txt kuid trainz build category class category region category era username kind texture description example thumbnails 0 image width height lt kuid 56113 1246 gt 2 5 GL AU 1980s 1990s 2000s 2010s testGroundTexture groundtexture ugly bmp A very ugly ground texture thumb jpg 240 180 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 227 Groundtexture Clutter Mesh Download this asset Directory Structure This asset is available for download from the TRS2006 P nM website at http files auran com TRS2006 Downloads A typical asset of this kind has the following File Directory Example Download zip Structure IE config txt Ezjthumb jpg Ed ualy bmp Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg ugly bmp The 128x128 bitmap image used as a ground texture File Listings config txt kuid lt kuid 56113 1247 gt trainz build 2 5 category class GL category region AF category era 1980s 1990s 2000s username testGrou
528. plied to the surface of the load in the rollingstock item for example the load in the back of a coal hopper Car See the section on Texture txt files on Page 96 for more information coal icon tga icon texture texture txt The product icon images 64x64 TGA File Listings config txt kuid trainz build category class category region category era username kind allows mixing instance type icon texture mass product category product texture thumbnails lt kuid 171456 100038 gt 2 5 B 90 1850s testCoal product 1 resource icon texture texture 0 86 lt kuid 3 10040 gt coal texture Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 299 Product General Goods Product Directory Structure A typical asset of this kind has the following File Directory Structure E config txt crate2 im S crate3 im E crate4 im 5 crateS im crate amp im crate7 im 2 crate texture txt Hi crate tga crate 2 texture txt crate _2 tga E crate 3 texture txt Hi crate_3 tga crate_4 texture txt crate_4 tga B crate 5 texkure Exk iE crate 5 tga E crate 6 texture txt HE crate_6 tga crate 7 texture txt EI crate_7 tga s general goods im H GeneralGoods tga B icon_texture texture txt Ezjthumb jpg in l Required Files config txt The config file for the asset thumb j
529. pline and Trainz performance Bendy 1 Bendy 0 Upright 1 Upright 0 length and endlength A spline may be made by specifying a length value in the config txt file To add a different model at the start or end of the spline Initiators and Terminators are used Initiator Name of model to use at start of bridge placed in sub folder with same name Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 385 terminator Name of model to use at the end of the bridge placed in a sub folder with same name length Length of the main spline track segment in meters endlength Length in meters of the initiator and terminator models terminator L1 initiator L1 spline L spline L The initiator or terminator is a fixed length and the main spline model repeats as in the diagram above In 3dsmax gmax the initiator terminator and spline models must be constructed starting on the origin and extending in the negative Y axis direction The top view in the diagram shows the correct placement and dimensions L1 orL origin initiator terminator length L1 or spline length L Y L x 3dsmax gmax Top view The initiator may be rotated 180 degrees to create a terminator model if required Attachment points will be automatically generated in Trainz at ground level The model heights need to be adjusted in 3dsmax gmax so a road or track will connect at the correct l
530. port report bool UnloadFlag false return UnloadFlag The following lines should be included in the config txt file for the engine Config txt entries script steamtank class Steam Tank Auxiliary Tender or Water Gin for Steam Locos Script by Wulf 9 This is a complete class save to the filename and use as is by copying all the text between the dotted lines slw_auxtender gs II Auxiliary tender or water gin distributor and feeder script II Will run automatically when directly coupled in single or multiple II to an active steam loco and tender combination Not for tank locos II GetVehicleProductQueue is a specially customised adaptation of II GetVehicleQueue by Mike Carter c TrainzProRoutes com 2004 II This code is c Wulf_9 Saxon Locomotive Works March 2005 NOT to be used in payware without prior written agreement II II Freeware creators are encouraged to use and share this script provided the code is distributed in UNMODIFIED form Any and all support obligations and other liabilities shall reside with the author of the asset to which this script belongs include vehicle gs class SLW_ATWG isclass Vehicle Asset waterAsset Train thisTrain float rsd bool active 0 update 0 float EndLoad LoadingReport report if active PostMessage me SLW_ATWG Trainz Railroad Simulator 2006 The Content Creator s Guide
531. ppears in the surveyor menu kind Must be Track rgb This value should be left as default grounded Height in meters for the road to be offset from terrain eg 0 4 length Length of track segment in meters eg 4 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 154 repeats The number of times the mesh is placed between spline points eg 4 width Width of track mesh in meters eg 0 5 Additional Tags Kind mesh reducing track is derived from kind track and shares most of the same tags which are detailed in the KIND TRACK section of this chapter unit mesh The filename of the long mesh which must be placed in a subdirectory of the same name as the mesh Only the file name is entered not the directory name nor the file extension For example if the full pathname and extension is rockwall rockwall im Enter only rockwall in the text input box bendy Switches how track is bent on corners set as 1 allows the mesh to be deformed as the spline is bent around corners carrate Defines traffic density on road minimum seconds between each car generated 0 No traffic Number must be greater than 3 for traffic to flow casts shadows Toggles whether the shadow model is displayed or not endlength Length in meters of the initiator and terminator models isroad Specifies track is a road with cars set to 1 for cars to appear on road istrack 0 This
532. psi reduction equals 64 psi in the pipe Due to the 2 5 1 ratio of auxiliary reservoir volume to brake cylinder volume the 26 psi reduction puts 64 psi into the brake cylinder As the pressure in the reservoir and the pressure in the cylinder is now equal no more air will flow into the brake cylinder and making a further reduction in brake pipe pressure will have no effect on braking Equalisation occurs at different pressures depending on the train pipe feed pressure 100 psi pipe e g the UK locos 7 bar equalisation at 71 psi 90 psi pipe e g the US locos equalisation at 64 psi 72 psi pipe e g French amp Queensland locos equalisation at 49 psi The easiest way to set your custom content to the desired brake pipe feed pressure is to copy the entire pressure section from the config of a loco that uses the pressure you desire Note Converting PSI to Grams m cubed e g 90psi 90 14 7 0 0000703 104 7 x 0 0000703 0 00736041 THIS KIND HAS THE FOLLOWING CONTAINERS String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions Throttle Power Container Dynamic Brake Container Pressure Container Mass Container Motor Container Flowsize Container Volume Container TAGS kuid trainz build categ
533. r 2006 The Content Creator s Guide Version 2 0 313 Texture Group Directory Structure A typical asset of this kind has the following File Directory Structure Gi 1 bmp 2 bmp Gi 3 bmp Z config txt thumb jpg Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg 1 bmp 2 bmp 3 bmp The texture files stored within this asset which will be referenced via script from another asset File Listings config txt kuid trainz build category class category region category era username kind description textures thumbnails 0 image width height Download this asset lt kuid 171456 100034 gt 2 5 Jo QQ 1810s testTextureGroup texture group Test texture group 1 bmp 2 bmp 3 bmp thumb jpg 240 180 This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example_Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 314 Track Directory Structure A typical asset of this kind has the following File Directory Structure E config txt default im rail texture txt IEjrail tga Ezjthumb jpg E track texture txt IE track tga E track track texture txt Required Files config txt The config file for the asset thumb jp
534. r 9b tga The running number images and opacity masks consist bmp consist a bmp bb15000 art icon texture txt The image used as the train icon in the train menu 128x64 bmp and accompanying alpha map preview bmp preview a bmp bb15000 art 512 texture txt These image files are used to show a 512x512 preview texture when the image is available on the download station This is valid for 2004 assets but in TRS2006 this functionality has been replaced with the 240x180 thumbnail image referenced in the thumbnails container If your asset has a trainz version of 2 5 you should use an image from a thumbnail container instead at which time these files may be deleted if you wish to decrease the filesize of your asset File Listings config txt origin category class product id product version product type pantograph engine interior fonts mass kind enginespec enginesound hornsound username description AU AUSTRALIA paintshed 1 4 reskin lt kuid 1 100860 gt 1 lt kuid 1 100554 gt 2 90000 traincar lt kuid 1 42004205 gt lt kuid 1 42003002 gt lt kuid 1 42003101 gt testPaintshed Skin paintshed skin Generated in Paintshed and edited in CCP alias kuid lt kuid 10 182 gt lt kuid 56113 1005 gt Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 paintshed template used paintshed skin used category region cate
535. r is a locomotive or rollingstock item A loco or B unit will have the engine tag set to true Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 185 mass Mass in Kilograms ie 7000 description Description of model which is used for the Railyard information enginesound References the kuid number for the traincar s sound asset hornsound References the kuid number for the traincar horn sound asset enginespec References the engine kuid number This specifies the driver physics boundaries for the traincar pantograph The pantograph kuid number inserted at a pantO a pant1 etc Use this tag only when needed company The Locomotive or car owner eg QR interior Kuid number of the interior inserted at a cabfront This tag should only be used when required an interior is needed when the traincar is a locomotive Mesh Table default The main traincar mesh auto create Specifies that this mesh is automatically created visible without needing to resort to a script shadow The mesh model to be used as a shadow Bogey Container The bogey container stores the bogeys used for the loco rollingstock item The functionality of a bogey can be determined by naming it as follows bogey The bogey kuid number default for a bogO and a bog1 bogey 1 The bogey kuid number for a bog1 Used only if different to a bog0 A Bogey container has the following tags
536. r the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg coal dump1 wav coal load1 wav coupling 1 wav Sound files referenced within the hopper gs script file hopper gs Script file detailing some functionality of the traincar asset coal hopper art 512 texture txt coal hopper art 512 tga These image files are used to show a 512x512 preview texture when the image is available on the download station This is valid for 2004 assets but in TRS2006 this functionality has been replaced with the 240x180 thumbnail image referenced in the thumbnails container If your asset has a trainz version of 2 5 you should use an image from a thumbnail container instead at which time these files may be deleted if you wish to decrease the filesize of your asset coal hopper art icon texture txt coal hopper art icon tga The icon texture files 128x64 pixels in dimension coal hopper body Im txt Level of Detail or LOD file See the section on LOD meshes on Page 378 for more information erz3d texture txt erz3d tga black texture txt black tga load map texture txt load map tga The texture files used by the indexed and progressive meshes See the section on Texture txt files on Page 96 for more information load pm coal hopper shadow pm The progressive meshes used by the traincar asset unload left kin unload right kin load kin The animation files used by th traincar asset for l
537. r vent Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 408 TAG OR CONTAINER DATA TYPE PARENT APPLIES DESCRIPTION CONTAINER TO auto create boolean mesh table ID mesh object The model is generated automatically when placed or when you load a map which includes the model In some instances you don t want the mesh visible as this may be controlled through script If auto create is 0 the mesh will not be visible when placed autoname boolean config txt general When enabled automatically assigns a unique name to this object as it is placed autopilotmode boolean driver settings Al driver setting off on auxreservoir_autobrakecylinder flowsize engine Flowsize of the auxiliary reservoir automatic brake cylinder auxreservoir_no3 flowsize engine Flowsize of the auxiliary independent brake pipe auxreservoir_start pressure engine Flowsize of the auxiliary reservoir pressure on loading the game irc flowsize engine Flowsize of the auxiliary reservoir brake pipe auxreservoir trainbrakepipe auxreservoirvent flowsize Flowsize of the auxiliary reservoir vent motor Resistance axle count config txt scenery Specifies whether the object is treated as a backdrop or not stays visible even when far from the camera backdrop boolean bendy boolean config txt splines Switches how track is bent on corners set as 1 allows the mesh to be deformed as the spline is bend around corn
538. r with same name hnputs ID inputs User supplied identifier instance type instance config txt product Instance type resource is used when resource there is no mesh or one only mesh is referenced in the mesh table Ie Liquids Bulk loads etc instance is used when more than one mesh is in the mesh table Ie Passengers General Goods 200 max size per Asset interior kuid config txt traincar References the KUID number for the traincar interior cab view Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 414 TAG OR CONTAINER DATA TYPE PARENT APPLIES DESCRIPTION CONTAINER TO isroad boolean config txt splines Isroad Istrack Two boolean tags detailing the behavior of the bridge If the isroad is set to true then cars are placed on the bridge Both values should not be set to true istrack boolean config txt splines Isroad Istrack Two boolean tags detailing the behavior of the bridge If the isroad is set to true then cars are placed on the bridge Both values should not be set to true junction lever mesh subcontainer junction vertices fixed track The mesh selected from the mesh ID table to be used as a junction lever junction vertex helper janction vertices fixed track The attachment point located in mesh ID file at which to place the lever junction vertices container config txt fixed track The Junction Vertices Container contains the tags needed to h
539. rackName industry to drive to DriveToCommand parent public void SetParent DriveToCommand newParent 1 parent newParent j Starts executing this schedule command on the given drive character public bool BeginExecute DriverCharacter driver 1 Train train driver GetTrain if train cant drive if we dont have a train return false Industry industry cast lt Industry gt Router GetGameObject industryName if industry cant drive to an industry which doesn t exist return false return driver NavigateToIndustry industry trackName j we should really implement EndExecute to allow the game to determine the success of this command Provides an icon for this command so it can be seen on the driver s schedule Uses the industry icon to indicate the destination public object GetIcon void Industry industry cast lt Industry gt Router GetGameObject industryName return cast lt object gt industry j public string GetTooltip void 1 StringTable strTable GetAsset GetStringTable string userTrackName trackName Industry industry cast lt Industry gt Router GetGameObject industryName if industry 1 string destNames new string 0 string destTracks new string 0 industry AppendDriverDestinations destNames destTracks int i Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 2
540. rakepipe Brake pipe volume epreservoirpipe For electro pneumatic braking not currently in use generally leave this setting no3pipe Independent brake pipe no4pipe Bail pipe not currently in use generally leave this setting auxreservoir Auxiliary reservoir volume autobrakecylinder Brake cylinder volume vacuumbrakepipe For vacuum braking not currently in use generally leave this setting vacuumbrakereservoir Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 178 For vacuum braking not currently in use generally leave this setting vacuumbrakecylinder For vacuum braking not currently in use generally leave this setting mainreservoir Main reservoir volume equaliser Equalising reservoir volume independantbrakecylinder Loco brake cylinder volume Steam Power Coordinate Container This container is a graph similar to the throttle and dynamic brake graphs for Velocity incoming Power multiplier outgoing Coordinate Element The steam power graph provides a speed m s vs power multiplier modifier which controls the power output of the pistons on a steam train This is intended to allow fine adjustments to a working steam engine and should not be used for large adjustments to the performance characteristics eg 0 1 0 20 1 1 THIS KIND HAS THE FOLLOWING CONTAINERS String Table Chinese String Table Czech String Table Dutch String Tabl
541. ral 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 itis 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 FilelD 10 Refer to KIND TRAINCAR for links to in game examples descriptions and source files of the various types of product compatible rolling stock Bulk Load Category Config txt kind product category kuid KUID 3 10040 username Bulk Load Bulk Load KUID 3 10040 Passenger Category Config txt Liquid Load Category Config txt Liquid Load lt KUID 3 10044 gt lt KUID 3 10091 gt kind product category kuid lt KUID
542. ralist camera0 0 564 0 984 0 987 13 528 0 137 cameral 0 707 0 333 1 023 6 189 0 049 camera2 1 317 0 949 1 023 13 501 0 122 camera3 1 058 0 522 0 887 0 1 0 089 camera4 1 382 0 78 0 987 6 592 0 194 camera5 1 361 0 923 1 137 6 902 0 503 camera6 0 618 0 715 1 023 0 983 0 234 cameradefault 3 mesh table default mesh gen dd40 int im auto create 1 Fan Switch kind lever auto create 1 mesh switch red im att a switchO DD40 Cab interior limits 0 1 angles 0 2 notches 0 1 notchheight 0 0 mousespeed 1 radius 0 05 att parent default switchlight0 kind light mesh switchlight pm att a switch0 auto create 0 att parent default Wiper Switch kind lever auto create 1 mesh switch red im att a switchl limits O 1 angles 0 2 notches 0 1 notchheight 0 0 mousespeed 1 radius 0 05 att parent default switchlightl kind light mesh switchlight pm att a switchl auto create 0 att parent default Switch 3 kind lever auto create 1 mesh switch pm att a switch2 limits O 1 angles 0 2 notches 0 1 notchheight 0 0 Continues next page Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 40 mousespeed 1 radius 0 05 att parent default switchlight2 kind light mesh switchlight pm att a switch2 auto create 0 att parent default Switch 4 kind lever auto create 1 mesh switch pm att
543. ran com TRS2006 Downloads A typical asset of this kind has the following FileiDirectory Example Download zip Structure E config txt horn wav a horn loop wav horn_start way idle 1 way EZ thumb jpg Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg horn wav Railyard hornsound non looping horn_loop wav The looping hornsound used in Driver horn_start wav The starting sound played before the looping hornsound above idle 1 wav Generally used for the bell sound bell keystroke b File Listings config txt kuid trainz build category class category region category era username kind two part thumbnails 0 image width height lt kuid 56113 1273 gt 2 5 7H AN 1840s 1860s 1870s 1880s testHornsound 2 Part hornsound 1 thumb jpg 240 180 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 230 Hornsound 3 Part Download this asset This asset is available for download from the TRS2006 Directory Structure website at http files auran com TRS2006 Downloads A typical asset of this kind has the following File Directory Example Download zip Structure config txt Ezjthumb ipg horn idle 1 way a stark wav E stop wav Required Files config txt The config file for the asset thumb jpg The thumb
544. rant cars Sleeping cars Special cars e g Gaming Cars Private cars Composite passenger cars RAILCARS amp MULTIPLE UNIT SETS AC electric DC electric Diesel amp diesel electric Diesel hydraulic Petrol Steam SPLINES Fences Roads Platforms Structure Vegetation TRACK Bridge Rails Tunnel Fixed Track VEHICLES Air Land Sea WAYSIDE Signalling Trackside signage Accessories FREIGHT CARS Auto transporter Open sides Auto box car Box car covered van Dangerous goods General service Insulated Flat Articulated Intermodal Depressed center Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 398 XFH XFM XG XGB XGC XGE XGR XGS XGT XH XHB XHC XHE XHR XHS XHT XI XIB XIT XL XLA XLC XLH XR XRI XRM XS XSN XSU XT XTA XTS XTM XV XVG XVP Heavy duty General service Gondola open wagon Bottom dumping Combination bottom end side dumping End dumping Rotary dumping Side dumping Covered Hopper Bottom dumping Combination bottom end side dumping End dumping Rotary dumping Side dumping Covered Foundry Bottle torpedo cars Tipper slag cars Livestock Single deck Multiple deck and convertible Horse box Refrigerated Ice chilled Mechanically chilled Special Novelty Unclassified Tanker Domeless Single dome Multiple dome Ventilated car louvred van General service Produce service MAPS amp SCE
545. rate 2 velocity 1 lifetime 2 minsize 0 05 maxsize 1 smoke3 attachment a smoke0 mode speed color 100 100 100 200 start 0 10 20 30 rate 3 5 7 9 velocity 3 4 5 lifetime 4 3 2 minsize 0 3 maxsize 2 5 Dye Trainz Railroad Simulator 2006 The Content Creator s Guide SOUND SCRIPTS Soundscripts give ambient or directional sounds to objects They cannot be used on track bridge or spline objects Refer to the new tracksound container options to change track sound on a bridge or tunnel for example Wav files should be located within the same directory as the config txt file Examples as follows MOJUNCTION Config txt kuid lt KUID gt kind mojunction region Australia trackside 2 light 1 mesh table modeO mesh leverl leverl im auto create 1 model mesh lever2 lever2 im soundscript toggle trigger toggle distance 5 100 nostartdelay 1 repeat delay 1 sound points wav etc PEOPLE CROWD Contig txt kind scenery region Australia kuid lt KUID gt type People soundscript daysingle repeat delay 0 distance 3 150 sound crowd 1 wav eto MAP Config txt kind map kuid lt KULD gt soundscript morning ambient 1 value range 1 0 1 volume 0 3 sound ctry day 1 wav night ambient 1 value range 0 0 9 volume 0 3 sound night_loop wav user
546. re Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 30 Note Converting PSI to Grams m cubed e g 90psi 90 14 7 0000703 104 7 x 0000703 00736041 STEAM ENGINE FILE BREAKDOWN Generally identical to a diesel engine file with the addition of the following Units Pressure in kPa Volume in Litres Mass in kg Flow sizes nominal figure Temperature degrees Kelvin steam firebox volume 1000 0 Physical volume of firebox in Litres firebox to boiler heat flow 0 055 Rate of heat flow from firebox to boiler and vice versa firebox efficiency 0 995 Atmosphere leakage 1 0 No leakage boiler volume 3000 0 Physical volume of boiler in Litres water injector rate 4 0 Water injection rate into boiler in Litres second westinghouse volume 100 Westinghouse volume in Litres piston volume min 1 48 The volume of the space in the cylinder ahead of the piston at the end of a full stroke piston volume max 68 7 The volume of the space in the cylinder ahead of the piston at the start of a full stroke piston area ssssssssss 0 177 The cross section of one piston in m It is assumed there is one piston only on each side of the locomotive piston angular offsets 0 1 See the additional notes in Comments and New Tags below piston to atmosph
547. re information 37 bogey vlow im Lowest quality LOD mesh 37 bogey low im Low quality LOD mesh 37 bogey med im Medium quality LOD mesh 37 bogey im The bogey mesh file anim kin The bogey animation file not listed in the config txt a kind bogey knows to reference this file 37bogie2 tga 37bogie4 tga 37bogie tga envmap1 tga Various texture files 37bogie2 texture txt 37bogie4 texture txt 37bogie texture txt envmap1 texture txt Various texture txt files See the section on Texture txt files on Page 96 for more information File Listings config txt kuid kuid 56113 1228 trainz build 2 5 7B category class username testBogey kind bogey direct drive 0 00 category region category era 2000s 2010s description Test Bogey This bogey is based on the Class 37 Green bogey and is oriented to be used on that particular vehicle mesh table default mesh 37_bogey m auto create 1 thumbnails 0 image thumb jpg width 240 height 180 LOD Im txt File This file is created in a text editor outside of CCP It is important to use the correct capitalisation and brackets in this file 37 bogey Im txt version 1 0 offset 0 01 calcPoint 7 center multiplier 1 0 animationCutOff 0 00 mesh 0 1 name 37_bogey_vlow im mesh 0 2 name 37 bogey low im mesh 0 3 37 bogey lm txt cont Trainz Railroad Simulator
548. renced for the model you need to specify a mesh file Clicking on the button will allow you to browse for the filename The program will load the referenced mesh file and display it in the 3D viewport This viewport only appears in Content Manager Plus when a valid mesh is loaded Buttons below the viewport allow the camera to be moved rotated or zoomed Alternatively you can control the model with your mouse by interacting directly with the 3D Viewport Use the Mousewheel to zoom in and out Hold the Left mouse button down and drag to move the display Hold the Right mouse button down to drag to rotate the display 4 Error Message Box When you load or save a config txt file the program will validate your data input to make sure that everything is correct The error box is used to output error warning messages to the user to assist error checking if the model is not working in Trainz Clicking on an error message within CCP with the Left mouse button will jump to the relevant tag in the config txt file in CCP that is causing the error You can also Right click on the message which will bring up a contextual menu that will let you copy the error message to the clipboard Note Trainz offers many options containers and tags for an asset and a user may select those that are considered appropriate for a particular Kind CCP may not prompt you for a container or tag that is required to make the asset fully fu
549. rencing it s kuid through a mesh table An example is the in built fixed track assets where Red arrows visible in Surveyor indicate the ends of the fixed track segment Rather than having an arrow mesh in each fixed track asset directory a lot of memory space is saved by making the fixed track asset reference the red arrow mesh kuid and it only needs to be cached once Using attached meshes should only be for kind scenery or kind mesh WARNING Never cross reference a kind attachment kuid with the assets own kuid or an instant fatal error will occur kind The effect kind att The insertion point of the attached mesh by default the insertion point of the default mesh a mesh0 for example default mesh The KUID of the attached mesh surveyor only Adding this tag means the attached mesh will be only visible in Surveyor and not Driver Animation Effect This effect is used when a mesh has a variety of animations Usually the animations will be controlled by a script related to the asset An example of the kind animation effect is the PB15 interior Coalman The script for this ties in the animations with the coal requirements of the steam locomotive kind The effect kind anim Reference to the animation file name kin looped Use only if the animation is looping Default 0 i e not looped speed Speed factor of the animation Default 1 2 Double speed Kinds that use the Mesh Table Container bogey
550. report width 128 f height 64 SetMeshAnimationState left door true SendMessage me pfx 0 1 SetMeshAnimationState right door true SendMessage me pfx 2 3 Asset meAsset GetAsset World PlaySound meAsset coal dumpl wav 1000 0f 20 0f 1000 0f me return 1 0 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 319 Deactivate particles and play a sound as the hopper is ending the unload operation float EndUnload LoadingReport report Sleep 1 0 SetMeshAnimationState left door false SendMessage me pfx 0 17 SetMeshAnimationState right door false SendMessage me pfx 2 37 return 1 0 coal hopper body Im txt version 1 0 offset 0 01 calcPoint center multiplier 1 0 animationCutOff 0 00 mesh 0 25 1 name coal hopper body low im j mesh 1 0 name coal hopper body im j Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example_Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 320 Traincar Diesel Engine Directory Structure A typical asset of this kind has the following File Directory Structure config txt j thumb jpg 9 am_angreen_body E angreen_gm12_sidegrill angreen_gm12_sidegrill_opacity text
551. res will need to be in a pixel ratio V Animate Light a eii of power of 2 for the filter to function i e 512x512 Using Muliple Layers aic 256x512 512x1024 etc Of course these are the same 3D Preview C Setto1 0 dimensions as TRS2004 so you shouldn t have a problem Refer to Important Notes Normal Maps below Figure 5 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 352 Important Notes Normal Maps Once the bump map has been converted to a RGB Normal Map do not apply any changes to it like scale blur sharpen etc If you wish to alter the normal apply the changes to the greyscale height map then re generate The normal map does not have to be the same dimensions as the diffuse map Normal maps can be smaller to save texture space larger for finer grain bumps but the later is not advisable at 1024x512 As above do not apply changes to an already generated normal map At no time should you save RGB normal maps in a lossy file format i e jpg or other compression file format This is due to the fact that compression de normalises normals Use only uncompressed 24 bit tga s Keep all mapping clean i e Don t stretch your mapping co ordinates You can get some seriously undesirable effects Bump Mapped Materials 3D Studio Max 4 4 2 5 1 The setup has altered from previous exporters This is to allow specular control of bump mapped surfaces see not
552. reversed Ticking this box in CCP will make the bogey have a reversed orientation Note This will cause bogey animation to play in reverse unless attachment points are rotated 180 degrees Affects the direction of the bogey relative to the traincar bogey The KUID of the bogey asset See Chapter 7 for an example asset of this kind Additional Tags cabinsway Cabin sway multiplier eg 2 backlength Obsolete backpivot Obsolete disable extra track sounds Disables the click clack tracksounds 0 1 ditch color RGB ditch light colour Eg 255 255 255 fonts Indicates how many types of numbering fonts used eg 0 no fonts used 1 one font Digit textures digit 1 tga to digit 6 tga replaced automatically with alphanumber textures alphanumber 0 to alpohanumber 9 as numbers are changed via the Surveyor Trains tab Edit Properties icon the icon 2 two fonts Digit textures digit 1a tga to digit 6a tga and digit 1b tga to digit 6b tga replaced automatically with alohanumber textures alphanumber Oa to alphanumber 9a and alphanumber Ob to alphanumber 9b as numbers are changed via the Surveyor Trains tab Edit Properties icon the icon fonts path Replaces asset filename usage for fonts frontlength Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 186 Obsolete frontpivot Obsolete light color RGB headlight colour Eg 255 255 255 max
553. rg truck silver class103_redbeige_bogey class 55 bogey CN U2g Drivers CN U2g Lead Truck Ci pb 18 bod night reverser History pb 15 body im amp pb 15 body lm id a pb 15 body low im Desktop pb 15 body lowest im TON pb_15_body_med im My Documents My Network P Mesh Files 1M LM LM TXT v Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 101 Trainz Railroad Simulator 2006 CHAPTER 5 Common Containers and Tags Some container and tags are common to every kind The purpose of this chapter is to detail those common containers and tags and to show their usage These will not be described again in later Chapters Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 102 Chapter 5 Contents Across all kinds a number of tags and containers are required as basic prerequisites eg kuid tags while others apply to all kinds though they aren t mandatory eg author information tags This section details those tags and containers which are present in all kinds as well as some of the more regularly used containers tags The following tags and containers are defined in this chapter Additional notes on their usage are shown in Chapter 6 where relevant Common Containers Kuid Table Obsolete Table String Table cn cz de es fr it nl pl ru Thumbnails Extensions Common Tags kuid trainz bui
554. rid segments length width to be removed from the surveyor grid to accommodate the turntable pit light Sets lighting to be used for object to be ambient or directional 0 sets ambient lighting and object is lit by general light value uniform colouring 1 sets directional light which is affected by the position of the sun shows shadows on the object surfaces Notes ANIMATED TURNTABLES Turntables can be set up with creator defined animation Keyframes can be specified as the stopping points much like angles above Use attached tracks at keyframe points A TRS2004 test asset is available for download it does have mesh files but is not complete with all scripts required to fully function for information only http www auran com TRS2004 downloads contentcreation TransporterTestAsset zip and also the example in Chapter 7 and the additional notes on modelling on Page 381 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 191 THIS KIND HAS THE FOLLOWING CONTAINERS Mesh Table Queues Container Smoke Container Soundscript Container Attached Track Container Attached Trigger Container String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions TAGS kuid trainz build c
555. rigin chunky ino A B C D E F G chunky info O 2 1 2 0 2 0 85 0 3 0 7 chunky info texture file The texture file with the track texture on the left and a rail texture on the right is 128 x 128 uncompressed tga and may have an alpha layer The texture is mapped to the mesh shape above using the values in the drawing below as fractions of the 128 pixel width 0 01 0 225 y 0 525 0 74 0 75 0 83 0 91 0 99 CM NNN 0 75 0 0 0 Origin Fraction 0 01 0 225 0 525 0 74 0 75 0 83 0 91 0 99 Pixels 1 29 67 95 96 106 117 127 SPLINES Splines have a number of tags that have special effects in Trainz and alos need to be constructed in a certain way in 3dsmax or gmax For example the effect of the following tags are explained in the diagrams upright 0 This effects how vertical the objects in the spline are for example a row of poles 0 the poles will be placed at right angles to the slope of the ground 1 the poles will be truly vertical regardless of the ground slope bendy Switches how track is bent on corners set as 1 allows the mesh to be deformed as the spline is bent around corners Notes bendy and upright have a visible effect for Kind Track splines see diagram below For Kind Bridge or Tunnel the splines show as in bendy 1 bendy 0 has no visual effect However bendy 1 should always be entered in the config txt file for bridge and tunnel Kinds as the tag improves handling of the s
556. rname fr username it username nl username pl username ru KIND SCENERY Description A basic scenery asset that supports night lighting smoke particle effects sound and animation It is height adjustable and forms the majority of map objects used Container Structure A well formed scenery kind has the following container structure 3 scenery i soundscript E dayloop O sound if mesh table default el thumbnails 0 See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS scenery kuid kuid trainz build data category class data category region data category era data username data kind data mesh table default mesh file auto create data thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class See the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 171 Asset username This will be the name that appears in the su
557. roll yz rotation range normal object rotation is an xy rotation If you want your scenery object to support rolling then use this tag to set the minimum and maximum roll range By default objects have a min max roll range of 0 to 0 rollstep n Where n is a value in degrees Used in conjunction with rotate yz range rollstep lets you specify the step size of roll angles for this object Other example values are 1 5 20 etc The default rollstep is 1 0 height range min max eg height range 10 100 Where min and max are values in meters Custom scenery objects are height adjustable and this tag allows you to specify the minimum and maximum height ranges for changing the height with the new Adjust Height tool in Surveyor s Object Tools panel Adding a height range is particularly useful for ships buoys placed on water and for Station accessories Note Animation Events Sounds events and generic events can be linked to an animation key frame to give great control over sound and script timing for industry and scenery assets Refer to Page 369 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 66 KIND INDUSTRY An industry is best described as a scenery asset with product processing functionality Industry assets interact with compatible rolling stock assets through their script file See note at bottom of page Tags that apply in a scenery asset may also apply in an industry asset
558. rser lever pm att a reverser lever limits 0 2 angles 0 55 0 55 notches 0 0 5 1 notchheight 1 1 1 att parent default independantbrake lever kind lever Continues next page Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 4 auto create 1 mesh ind brake lever pm att a ind brake lever limits 0 32 angles O0 0 75 0 8 0 9 notchheight 1 radius 0 15 att parent default trainbrake lever kind lever auto create 1 mesh train brake lever pm att a train brake lever limits 0 4 angles 0 2 4 notches 0 0 25 0 27 0 29 0 35 0 37 0 39 0 41 0 43 Oey 0 75 1 notchheight 1 2g X Sy Ly dy 1 radius 0 15 att parent default Zu p 2p up 1 25 25 25 throttle lever kind lever auto create 1 mesh throttle lever pm att a thottle lever limits 0 8 angles 1 2 0 notches 0 0 125 0 75 0 875 1 notchheight 1 radius 0 35 att parent default 0 25 2 2p 2p 2r dynamicbrake lever kind lever auto create 1 mesh dynamic lever pm att a dynamic brake limits 0 2 angles 0 1 2 notches 0 0 5 1 notchheight 1 1 1 radius 0 35 att parent default light switch kind lever auto create 1 att a light switch mesh dial pm limits 0 1 angles 0 4 5 notches 0 0 5 1 notchheight 0 0 0 att parent default ampmeter needle kind needle auto create 1 2 2 0 335 2 0 31 0 45 2 2 0 2 5
559. rsion 2 0 149 See the Era Codes appendix located at the end of this document for a list of valid category era values kind Must be interior Mesh Table kind The type of interior object the particular mesh defines It affects the behavior of the mesh in Trainz Kinds lever Levers switches dials etc animated lever Animated Levers etc Eg in steam cabs collision proxy Mouse collisions for animated levers needle Gauge needles i e Speedo brake pres pullrope Pull rope horn as in the F7 light Wheelslip light limits Mathematical boundaries Trainz uses to determine the objects function These values vary as different objects use different mathematical units angles Rotational boundaries in radians relative to its attachment point Refer to the radian degree circle diagram below 105 7x 12 90 amp 2 75 5x 12 45 x 4 30 x 6 165 117 12 15 x 12 0 0 amp 180 360 2x 345 231 12 330 11x 6 255 172 12 250 3x72 285 19x 12 notches The position of notches within the angle boundaries These are represented as decimal points between and including 0 and 1 notchheight The size of the notches specified radius The notch position relative to the attachment point mousespeed This controls the use of the mouse on screen Use this to control the mouse speed and push pull direction for levers and dials mousespeed 1 Inverts mouse directi
560. rt pressure engine Equaliser reservoir pressure on loading the game equaliservent flowsize engine Flowsize for electro pneumatic braking equaliserventemergency flowsize engine Flowsize for electro pneumatic braking equaliserventhandleoff flowsize engine Flowsize for electro pneumatic braking ExtensionsContainer extensions container config txt all Asset specific data camera motion down faces smoke 1 smoke block The direction the smoke effect faces This is the driver icon used in TRS Must be 64x64 pixels Indicates the direction of the vehicle face texture path filename config txt drivercharacter texture consists vehicle ID smoke facing boolean industry file path filename tfx firebox efficiency smoke block The twinkle file to be used optional steam steam engine The atmospheris leakage a measure of efficiency 1 no leakage The rate of heat flow from the firebox to boiler and vice versa The rate of heat flow from the firebox to boiler when the locomotive is idle firebox to boiler heat flow steam 1 steam engine firebox to boiler heat flow idle steam 1 steam engine firebox volume steam 1 steam engine Physical volume of the firebox in litres flowsize container config txt leffects ID config txt engine A container for pipe flow sizes fontcolor rgb value corona effect The colour of the sign text in r g b fonts integer traincar Indicate
561. rveyor menu kind Must be scenery Mesh Table Default Contains the default mesh Auto create should be set to true in order to make the mesh visible Additional Tags backdrop Specifies whether the object is treated as a backdrop or not stays visible even when far from the camera random color high hsb For clutter mesh objects specifies a color range for tinting purposes Hue Saturation Brightness HSB color space random color low hsb KIND SCENERY TRACKSIDE Description A special scenery asset attached to rail track with the offset distance from the track specified in the asset Examples could include a signal box or dummy track sign or track object Container Structure A well formed scenery trackside kind has the following container structure O scenery trackside m mesh table E default kuid table amp thumbnails 0 See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS scenery trackside For clutter mesh objects specifies a color range for kuid kuid tinti H turation Bright HSB inting purposes Hue Saturation Brightness HSB color trainz build data space Note that there are other containers and tags that apply category class data to a scenery asset such as sound smoke animation a t a that are not shown here See example file in Chapter 7 a ME data category era data THIS KIND HAS THE FOLLOWING
562. rveyor menu the username is used to identify the asset in the Content Manager Plus and Content Creator Plus programs kind Must be mesh Mesh Table Default Contains the default mesh Auto create should be set to true in order to make the mesh visible THIS KIND HAS THE FOLLOWING CONTAINERS Mesh Table String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions TAGS kuid trainz build category class category region category era username kind alias author category keyword class contact email contact website description description cn description cz description de description es description fr description it description pl description nl description ru iconO icon1 icon2 icon3 license organisation preview mesh kuid preview Scale script username cn username cz username de username es username fr username it username nl username pl username ru Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 153 KIND MESH REDUCING TRACK Description Mesh Reducing Track is used to create poly efficient splines The asset consists of a short high detailed mesh and a longer less detailed mesh based on the same object The short mesh is displayed when
563. s repeat delay 1 or 2 numbers min max in seconds time to delay between the end of the sound playing and playing it again randomised between min max Default min 0 default max min distance value below distance Two numbers in meters The first number is the distance at which the sound is played at 100 The second number is the cut off distance It doesn t affect the volume of the sound Default 50m 150m ambient Ambient sounds have no 3d position and may be stereo Non ambient positional sounds are positioned on the object and must be mono attachment Attachment point on the object to attach the sound to a soundO for example nostartdelay If not set the sound will have a short delay before playing This stops flanging an objectionable sound caused when several copies of the same sound are played at once trigger Currently used only for levers The sound doesn t play until the trigger message happens value range Two numbers currently used only for day night sound effects Midnight is 0 5 midday 0 0 or 1 0 Where the numbers are not the same this sets the start and end times for the sound to play Default 0 0 off volume Gain of the sound Default 1 0 100 sound Filename wav file of the sound to be played Kinds that use the Soundscript Container buildable fixedtrack industry interior mocrossing mojunction mosignal mospeedboard scenery trackside scenery traincar tur
564. s bigtap im E black texture txt IEjblack tga E blackhead texture txt Ei blackhead tga E brass texture txt ibrass tga E bumpy _blackhead texture txt EE bumpy _blackhead tga s coal im E coal texture txt EE coalfire tga E config txt 3 copper texture txt EZ copper tga s cylindercocks im darkmetal texture txt IE darkmetal tga s drifter im s Fire im E fire texture txt s Firebox im E firebox texture txt EZ firebox tga EZ firebox_glow tga Ei firebox_glow_op bmp E Firebox_glow firebox_glow_op texture txt s Fireglow im E Flaman texture txt i flaman tga EZ flame_test2 tga Ei glass bmp Ei glass tga glass glass texture txt Hi glassw bmp Ei glassw tga E glassw glassw texture txt a injector im mallard_interior im E red texture Ext Ire red tga s regulator im E roof texture txt IE rocf tga smalltap im EJ thumb jpg Thumbs db s trainbrake lever imn E waterhose texture Ext waterhose tga a watervalvea im a watervalveb im s window im fireplates E blackhead texture txt rea blackhead tga E bumpy_blackhead texture txt irs bumpy blackhead tga E darkmetal texture txt darkmetal tga s Fireplates im Fireplates kin 2yselection_box black texture txt black tga s selection box im needles s boiler needle im s brake needle im s flaman_needle im E needles texture txt needles tga s
565. s Stop coal consumer nterface Print CoalMine LumberMain Process Stop coal consumer message received stopping default animation and smoke stack particles SendMessage me pfx 0 17 StopMeshAnimation default continue on Animation Event animstop 1 hf Y GetProcessStarted logs consumer and GetProcessEnabled logs consumer nterface Print Animation Event animstop message received stopping default animation StopMeshAnimation default make sure we didn t overshoot the end of the animation SetMeshAnimationFrame default 2 it s actually possible to receive the Animation Event message multiple times even though we tell the game engine to stop the animation this can occur if the frame rate is low and the animation repeats multiple times inside one frame it s important that we check for this situation otherwise a script exception will result if animating 1 animating false if processing we are making the assumption that there is only one process coal_consumer if there were more we would have to be careful to finish the correct process here PerformProcessOutput coal consumer PerformProcessFinished coal consumer j j continue Called by the game once when a process is ready to start see Industry gs void NotifyProcessStarted string processName Anter
566. s available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example_Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 336 Turntable Not animated Directory Structure A typical asset of this kind has the following File Directory Structure E config txt thumb jpg base E base im Ej oz roundhouse bmp E oz roundhouse texture Ext oz roundhouse tga E oz roundhouse interior texture txt EZ 0z_roundhouse_interior tga E oz roundhouse interior oz roundhouse texture Ext Ej pit dirt bmp E pit_dirt texture txt EZ pit_dirt tga E pit_dirt pit_dirt texture txt E rail texture txt rail tga E wood n spinner texture Ext ires wood n spinner tga turntable E turntable im E wood n spinner texture txt Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg various tga The texture graphic files for the various textures used in the asset various bmp The opacity texture files used in the asset various texture txt The texture txt files for the various textures used in the asset usually generated when the model is exported See the section on Texture txt files on Page 96 for more information idle wav The sound files used in the asset base im turntable im The indexed meshes used for the asset File Listings config txt kuid lt kuid 171456 100030 gt kin
567. s how many types of numbering fonts used float metres corona effect folder fontsize leffects ID config txt The size of the sign text fonts path traincar Replaces asset filename usage for fonts frame rate float frames second config txt turntable Generally make this 30 frames per second frequency float per second effects ID corona effect This variable specifies the frequency in Hz or flashes per second e g 1 for once per second 0 5 for once every 2 seconds 2 for twice per second fuel mass fuel energy i steam engine The fuel level not currently used steam engine The relative energy of the fuel in kilojoules per kilogram of coal function TrackSignal config txt trackside Must be set to TrackSignal Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 413 splines Height in meters for the road to be offset from terrain scenery Height from the track level to the base Should be negative TAG OR CONTAINER DATA TYPE PARENT APPLIES DESCRIPTION CONTAINER TO height float metres config txt splines Height from the track level to the base Must be a negative value in order to raise the bridge above the ground f thumbnails ID Image height height range min max metres config txt scenery height range min max eg height range 10 100 Where min and max are values in meters highspeedexhauster pressure 1 engine Pressure for vacuum bra
568. s of the kind Steam Container The Steam Container stores specialised variables related to steam engines The Steam Containers has the following tags boiler to piston flow Relative energy boiler volume Physical volume of boiler in Litres burn rate Coal consumption rate burn rate idle Coal consumption rate when idle firebox efficiency Atmosphere leakage 1 0 No leakage firebox to boiler heat flow Rate of heat flow from firebox to boiler and viseversa firebox to boiler heat flow idle Rate of heat flow from firebox to boiler when idle firebox volume Physical volume of firebox in Litres fuel energy Relative energy in kilojoules per kilogram of coal main reservoir volume Main reservoir volume in litres max fire coal mass The maximum mass of coal the firebox can take in kilograms max fire temperature Maximum heat obtainable in degrees K Kelvin scale temperature piston angular offsets Leave this setting piston volume min The volume of the space in the cylinder ahead of the piston at the end of a full stroke piston volume max The volume of the space in the cylinder ahead of the piston at the end of a full stroke piston area The cross section of one piston in m2 It is assumed there is one piston only on each side of the locomotive piston to atmosphere flow Atmospheric leakage from piston Nominal hole size safety valve low pressure When boiler pressure hits this value in kP
569. s textures assigned to the first pass of the DD40 interior front Generally match the ratio of physical model dimensions to the texture This way we eliminate details being stretched when mapping It is fairly important to limit the highlight and shadow variations to the hires diffuse textures as this will be created by 3dsmax during the render phase Adding dirt and subtle surface texture is usually necessary keep detail and texture consistent over all hires textures In many cases we will also create and assign greyscale bump maps to add additional surface variation and relief You can alter the material properties by altering the specular and glossiness settings before the next texture pass of rendering Hi res diffuse map 800h x 887w for the DD40 cab Hi res bump map 800h x 887w for the DD40 cab e E a Ema Wo o LE w n o L L Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 359 Phase 4 Lighting Placement Once the first texture pass is finished it is now time to strategically add lighting to the scene 3D Studio Max ships with a variety of light types The ones we generally use are the following Target Spotlight R The main light source for the scene Acts as the sun Ambient lighting and additional highlights given a negative multiplier value removes light to accentuate shadows l e Under benches Q Omni Light You ll h
570. s that have been entered in the top container for the Kind Traincar container Some of these tags are mandatory but many are optional traincar obsolete table h tabl ji E live kuid 56 10024 o i eii category class AS Steam Loco amp Tender Z i jamai interior PB intei KE x smoke engine Iv D smokel C smoke2 usemame QR PB15 new D smoke3 O socket mass 37000 O smoke5 E smokes origin RU X D smoke kuid table dl A B E bogeys E fonts o x i I enginespec PB Engine config EE x enginesound p EE x hornsound smoke_shade smoke random smoke slowlife smoke fastlife smoke height smoke fastspeed ju xj E x fF x F x r x I x description The 3ft6in qauge PB 15 Class were built throughout the early 1900 s by Walkers Ltd at Maryborough x The locomotives were of 4 6 0 wheel arangement and were a variant on the B 15 Class the B 15 Class of the 19th Century Early examples were fitted with Stephenson valve gear but those built from 1924 onward were fitted x category region category era trainz build Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 98 Example Asset Dropdown Selection Box for the Coalman Mesh The selection box uses a dropdown menu to display the attachment points found in the
571. s the various sound file to be used Html Asset An html asset example is the ingame tutorial The config txt file references one or more html pages The html asset can be referenced from scripts and from some of the Surveyor rules Industry A scenery asset with product processing functionality Industry assets interact with compatible rolling stock assets through their script file and asset triggers An Industry asset supports product queues and attached track Interior A traincar interior asset It allows the interior mesh model to be defined and may have attached levers and controls to operate a locomotive in cab mode It also creates an interior for rolling stock Library Coded modules that interact with other coded modules Mesh A mesh that is never referenced through Surveyor panels but referenced from another asset It could be referenced through the preview mesh kuid tag or as a kind attachment effect like the red arrows used on fixed track assets Mesh Reducing Track Mesh Reducing Track is used to create poly efficient splines The asset consists of a short high detailed mesh and a longer less detailed mesh based on the same object The short mesh is displayed when the camera is close to the asset whilst the long mesh is shown when less detail is required when the viewpoint is further away MOCrossing Combined rail and road crossings that reacts to trains or script control This allows animation special light
572. sFanSlowingDown return fanSpeed 0 0 StopMeshAnimation vfan thread void SpeedFanUp void DD40CabinData cd cast DD40CabinData loco GetCabinData if isFanSpeedingUp return isFanSpeedingUp true isFanSlowingDown false Speed it up while fanSpeed 1 0 fanSpeed fanSpeed 0 1 SetMeshAnimationSpeed fan fanSpeed StartMeshAnimationLoop fan Sleep 0 5 if lisFanSpeedingUp return fanSpeed 1 0 SetMeshAnimationSpeed fan fanSpeed isFanSpeedingUp false void UpdateFan void DD40CabinData cd cast lt DD40CabinData gt loco GetCabinData if cd animatingFan SpeedFanuUp else SlowFanDown void UpdateWipers void DD40CabinData cd cast DD40CabinData loco GetCabinData Don t need to worry about else as it will be handled when the loop is done if cd animatingWiper SetMeshAnimationSpeed wipers 1 0 StartMeshAnimationLoop wipers Continues next page Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 46 thread void RunAnimation void DD40CabinData cd cast lt DD40CabinData gt loco GetCabinData wait on Animation Event wiperstop if cd animatingWiper StopMeshAnimation wipers continue he INTERIOR CONFIG TXT BREAKDOWN script class This refers to the name of the script file and the class of asset it is the class must ma
573. scenery trackside scenery traincar turntable surveyor name label Specifies if this item has a floating name label text Kinds that use this tag buildable fixedtrack industry mocrossing mojunction mosignal mospeedboard scenery trackside scenery traincar turntable surveyor only Adding this means the attached mesh will only be visible in Surveyor and not Driver Kinds that use this tag buildable fixedtrack industry mocrossing mojunction mosignal mospeedboard scenery trackside scenery traincar turntable texture An image texture file Kinds that use this tag buildable drivercharacter fixedtrack groundtexture industry mocrossing mojunction mosignal mospeedboard product scenery trackside scenery texture group texture traincar turntable Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 113 Trainz Railroad Simulator 2006 CHAPTER 6 All Other Containers and Tags Chapter 5 described the Containers and Tags that are common to all model assets The purpose of this chapter is to define and describe the remaining Containers and Tags used in TRS2006 and to show the structure of containers and tags entered in Content Creator Plus The chapter should also give a guide on particular containers and tags required to make a workable asset Please refer to Chapter 7 for example assets using the Container and Tags and for the directory structure of model assets Tr
574. scription cn description cz description de description es description fr description it description pl description nl description ru license organisation username cn username cz username de username es username fr username it username nl username pl username ru KIND TEXTURE GROUP Description Defines a group of textures as an asset that can be referenced from another asset or via scripting Container Structure A well formed texture group kind has the following container structure 3 texture group D textures i thumbnails 0 See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS texture group kuid kuid trainz build data category class data category region data category era data username data kind data textures 0 file 1 file 2 file thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 180 category class Should be one of the following values J Texture JC Corona JI Icon JP Particle Effect Texture JO Other Texture See the Texture section of the Classes and Codes appendix located at the end of this document category region See the Region
575. se of the name tag to objects that have a use for the attribute EFFECT KIND CORONA A corona is a glow light effect It is a simple texture that is inserted at an attachment point within the mesh Coronas can be added to any asset that uses a mesh table Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 12 Examples of coronas used in game can be seen on the Airport and Airport basic assets The Jumbo Jet the Cessna and the Airport tower all use flashing coronas Breakdown of KIND CORONA kind corona required The effect kind att required The corona insertion point in the main mesh Typical Kind Corona mesh table set up texture kuid optional Add this tag only when you want to specify your own texture for the corona It specifies the KUID of a kind texture asset See KIND TEXTURE mesh table default mesh asset lm auto create 1 effects 0 kind corona att a corona0 texture kuid lt KUID 3 10110 gt frequency 2 directional 0 object size 0 20 kind corona att a coronal If the texture kuid tag is not present the corona will use the default yellow orange texture in TRS frequency 2 optional This variable specifies the frequency in Hz or flashes per second e g 1 for once per second 0 5 for once every 2 seconds 2 for twice per second directional 0 optional The default for coronas is to be aligned to the attachment point to face th
576. sed in Surveyor H lines have been omitted in this example Refer to the example Portal model available on the Auran Content Creation Art Source CDs running number The default number for the vehicle It is changeable in Surveyor attached track Track to be attached to the model including a name for the track out trackO the track KUID to be used and attachment points placed in the 3dsmax gmax model attached trigger A point on the attached track with a specified radius When a compatible rolling stock item enters this radius it triggers a set of commands controlled through script iconO Window preview icon see information on Page 68 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 69 MULTI INDUSTRY NEW This is an industry object used to set up your own industry with loading and unloading of products on attached track The example model consists of track with attachment points and triggers allowing you to place your own buildings to suit It relies on a script to function An example config txt file is shown for the asset Breakdown of Multi Industry New Config txt Some config txt tags are explained below Others are covered in the general config txt explanation see Page 10 script Name of Script to be used with this asset class Script class icon texture The in game representation of the asset when specifying a Drive To command in Driver preview mesh kuid
577. segments length width to be removed from the surveyor grid to accommodate the turntable pit ANIMATED TURNTABLES Turntables can now be set up as an animation Keyframes can be specified as the stopping points much like angles above Use attached tracks at keyframe points keyframes Specifies where on the animation the turntable is to stop frame rate Generally make this 30 Example The example below shows the entries using an animation file for a transfer table model For a sample model see http www auran com TRS2004 downloads contentcreation TransporterTestAsset zip kuid lt KUID 44179 60004 gt light 1 kind turntable username transporter track lt KUID 1 100966 gt snapmode 1 dighole 4 8 keyframes 0 100 201 300 400 601 looping 0 frame rate 30 nightmode home mesh table default mesh trans base trans base im auto create 1 turntable mesh trans platform trans platform im anim trans platform anim kin Etc Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 84 KIND MOCROSSING This is an example level crossing consisting of script animated boom gates and flashing lights however only the config txt entries are discussed here Some duplicate entries in the config txt file for the corona effects are not shown to conserve space Note that an animated mocrossing can be created without the use of scripts the animation being triggered automa
578. ser vent equaliserventhandleoff Flowsize of the equaliser to the atmosphere when in the handle off position equaliserventemergency Flowsize of the emergency equaliser vent no3pipevent Flowsize of the independent brake pipe no3pipe mainreservoir Flowsize of the independent brake main reservoir compressor Flowsize of the compressor trainbrakepipe reservoir Flowsize of the brake pipe reservoir trainbrakepipevent Flowsize of the brake pipe vent no3pipe autobrakecylinder Flowsize of the independent automatic brake pipe cylinder epreservoirpipe autobrakecylinder Flowsize of the electro pneumatic automatic brake cylinder reservoir mainreservoir_ep Flowsize of the electro pneumatic main reservoir vacuumbrakepipe Flowsize of the vacuum brake pipe vacuumbrakepipereleasevent Flowsize of the vacuum brake pipe release vent vacuumbrakepipevent Flowsize of the vacuum brake pipe vent vacuumbrakereservoir_vacuumbrakepipe Flowsize of the vacuum brake pipe reservoir vacuumbrakecylinder_vacuumbrakepipe Flowsize of the vacuum brake pipe cylinder highspeedexhauster_vacuumbrakepipe Flowsize of the high speed exhauser vacuum brake pipe Volume Container The volume container stores information regarding the size of pipes and appliances Generally these settings should remain unaltered The Volume Container has the following tags scale Multiplies volume by given value generally leave this setting trainb
579. set dighole float length width config txt scenery Specifies the number of grid segments length width to be removed from the surveyor grid to accommodate the turntable pit direct drive boolean config txt bogey When direct drive is present the bogey animation is linked to the steam piston and physics system If this tag is not included the piston and steam sounds will not work directional boolean effects ID corona effect The default for coronas is to be aligned to the attachment point to face the NEGATIVE Z direction This is especially useful for Traincars disable extra track sounds Disables the click clack tracksounds 0 1 distance min max metres soundscript ID mesh object 2 numbers meters 1st number is the distance at which the sound is played 100 2nd number is the cut off distance Doesn t affect the volume of the sound Default 50m 150m ditch color rgb value config txt traincar RGB ditch light colour Eg 255 255 255 divider folder config txt splines Name of the model to use as the middle bridge section Placed in subfolder with same name don t flip terminator boolean config txt splines Terminator model isn t mirrored on one side driver settings container config txt activity Specify the settings of this scenario similar to Driver s settings screen duration float process ID industry Length of time in seconds that the process runs for dynamic brake container engin
580. set has a large bounding box i e the Airport with it s jet animation By using a different smaller mesh it will fit better in the preview window It can also reduce the polycount on screen It is also used for an asset that does not have a mesh fixed track fro example username The human readable English name of this asset Language versions are available description The human readable multi line English description of this asset It displays on the Download Station with your model so please make it useful and informative so others may understand your model for instance entering what the model is called and under which name and category it may be found in Surveyor It is very useful in finding an installed model Language versions are available region The country region to which this asset belongs not used for TRS2006 category region is used instead see below trainz build The Trainz build is the version number for which this asset was created Refer to Page 5 for further information kind The asset kind Must be one of the Auran supplied asset kinds i e kind industry category class The class code for this asset Refer to Appendices category region A list of REGION codes or REGION GROUP codes formatted by CCP into one tag line in the config txt file Refer to Appendices Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 11 category era A list of ERA codes formatted by
581. sets Details of how to load texture replacement is shown on Page 372 2 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 rollingstock has the potential to carry several product types such as a flat car itis 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 3 View details Driver information window display This of course can be used for all rollingstock items but specifically it is the means to see the load of rollingstock that cannot otherwise visually display it s load i e Tank Cars and enclosed Box Cars Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 167 Box cars can be set up to take General Goods but 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 rollingstock item s config For script reference please refer to the API Programmer s Reference Manual http www auran com TRS2004 trssp4dl dfile php FilelD 10 THIS KIND HAS THE FOLLOWING CONTAINERS Mesh Table String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Tabl
582. should be left as default Additional Tags Kind bridge is derived from kind track and shares most of the same tags which are detailed in the KIND TRACK section of this chapter grounded Height in meters for the road to be offset from terrain chunky mesh Name of texture to apply to rail The texture must be within a directory of the same name ie textureName textureName texture txt The chunky mesh value will simply be the name of this directory ie textureName Refer to Page 385 for details of the texture file used chunky info These values in metres define the shape of the mesh created for the track See drawing below E ux 0 0 0 Origin a gt lt chunky_info 0 2 1 2 0 2 0 85 0 3 0 7 chunky_info A B C D E F G bendy Switches how track is bent on corners set as 1 allows the mesh to be deformed as the spline is bent around corners carrate Defines traffic density on road minimum seconds between each car generated 0 No traffic Number must be greater than 3 for traffic to flow casts_shadows Toggles whether the shadow model is displayed or not endlength Length in meters of the initiator and terminator models isroad Specifies track is a road with cars set to 1 for cars to appear on road istrack 0 This is not rail tracks 1 This is rail track length Length of track segment in meters repeats The number of times the mesh is placed between spline po
583. since TRS2004 makes it easy to point the config txt file data to the required subdirectories For some Kinds certain files may be required to be placed in particular directories and the creator has no choice in the layout of the directories The creator will make the required sudirectories and place the files In these instances requirements will be shown in the examples in the following Chapters and pages In other instances it may be more convienient to use only one main directory for all meshes and texture files for the asset This can result in a smaller cdp file than if subdirectories were used For example sometimes a night mesh model may use the same texture files as the day mesh model If these same textures are placed in the main directory and also in a night subdirectory the files are actually loaded twice in the cdp package The same file in different locations or a different texture file using the same file name in a separate subdirectory are converted to binary form in the packaging process and are given a unique binary identifier This means that they have to be loaded individually into Trainz memory and can effect the frame rate and loading of Trainz Kinds and Container Relationship Each Kind has unique attributes but also shares some attributes with other Kinds The tables in Chapter 11 show the types of containers that are available in each Kind These will indicate which asset Kind may be the most suitable
584. sound effects Midnight is 0 5 midday 0 0 or 1 0 Where the numbers are not the same this sets the start and end times for the sound to play Default 0 0 off kuid consists vehicle industry The kuid of the vehicle to be used ID float smoke smoke block The initial speed of emitted smoke particles Default is 1 subcontainer attached track ID scenery with Attachment points at which to place track track boolean config txt splines Specifies whether the object track is displayed on the minimap soundscript ID Gain of the sound Default 1 0 100 container config txt engine A container for the soze of pipes and appliances for an engine region flowsize Flowsize of the vacuum brake pipe Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 426 TAG OR CONTAINER DATA TYPE PARENT APPLIES DESCRIPTION CONTAINER TO water injector rate steam steam engine The water injection rate into the boiler in Litres second wave shift leffects ID corona effect Affects the flashing intensity pattren on the corona ems E ms Undosumened Dennis _ eonfigext map Undocumented weather 0 7 driver settings activity Weather setting clear cloudy drizzle rain stormy light snow medium snow heavy snow Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 427 ACKNOWLEDGEMENTS We would like t
585. sounds can be located in the default enginesound directory These file are the steam engine idling sounds played after the steam engine is stationary for 1 2 and 3 minutes e loco stationary fast wav after 1min loco stationary med wav after 2mins loco stationary slow wav after 3mins Note Silent wav files may be used for the above for locomotives that do not use an aircompressor for example most UK locomotives Piston stoke sounds played every 180 degrees revolution of the piston wheel played in sequence and repeated up to about 40 kph piston stroke1 wav piston stroke2 wav piston stroke3 wav piston stroke4 wav From 40 kph upwards the following sound loop is cross faded as the piston sounds die off In TRS2004 the loop is pitched shifted through code relative to the locomotive s velocity In TRS2006 the pitch shift is not currently functional Steam loop wav The general hiss from the smoke stack smoke stack hiss wav Config txt Steam enginesound Directory Structure kuta ee i E trainz build 2 enginesound category class ZS c category region US H eeu sn category era 19805 19905s 2000s em E config txt username testEngineSound loco stationary Fast wav Steam i kind enginesound E pees a INPUNE description Test Steam Engine a E loca stationary slow way Sounds based on the PB15 E piston_strokel way thumbnails E 0 Pe
586. speed 0 5 for half speed speedlimit float metres second config txt trackside This value is the maximum speed allowed in meters per second start smoke smoke block The usage of stard depends on the value of the mode tag If the mode is set to time start is a set of time values in seconds after the creation of this effect s parent object when this phase of the effect will start If the mode is set to speed start is a speed in meters per second m s and period is not used Note 1 m s 3 6 km hr All other sequence attributes rate velocity lifetime minsize maxsize are interpolated so there are smooth transitions between phases If the mode is set to anim start is a value from 0 0 to 1 0 which describes the start time into the object s animation cycle If the mode is set to timeofday start is a value from 0 0 to 1 0 which describes the time of day when this effect will start Values range as follow 0 midnight 0 25 6am 0 5 midday 0 75 6pm 1 0 midnight start enabled boolean process ID industry Specifies whether the process starts enabled startingtime 0 1 driver settings activity Time of day Range is from 0 to 1 0 5 midday Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 423 TAG OR CONTAINER DATA TYPE PARENT APPLIES DESCRIPTION CONTAINER TO storm path filename tga config txt environment Name of image file for stormy sky File should be 256 x 256 pixel 24b
587. speedo_needle im Sreverser brass texture txt rea brass tga s reverser im reverser kin selection _box E black texture txt black tga s selection box im Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 277 sound a air brake2 wav ES air brake wav a boiler blow down wav ES boiler blow down end wav a brakehandle wav ES brakes wav cabin txt a coal into firebox1 wav ES coal into firebox2 wav ES coal into firebox3 wav ES coal_shovell way a coal shovel2 wav a coal_shovel_into_combined wav a cylinder cocks1 wav E cylinder cocks2 wav a cylinder cacks Full wawv fire roar wav ES firebox _close way a firebox open wav metal_Footstep_left wav metal_Footstep_right way a regulatori wav a regulator2 wawv a reversing lever notch wav reversing lever throw wawv a rutnut way a sanding_leverl way sanding_lever2 way a seat unfold wawv a shovel_hit way a tender handbrake wav a throttle wav a whistle end wawv ES whistle mid loop wawv a whistle_start way a window open wav waterglasses 5 water texture txt trea water tga s waterglass left im E waterglass left kin s waterglass_right im E waterglass right kin Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg firebox glow op bmp glass bmp glassw bmp black tga blackhead tga brass tga bumpy_blackhead tga co
588. ssetToIndustryProductInfo diesel diesel in coal consumer true AddAssetToIndustryProductInfo coal coal out coal_ consumer false Enabled or disabled on startup Depends on if we have fuel D if dieselInQueue GetQueueCount gt 0 1 nodiesel false SetMeshAnimationFrame default 2 StartrMeshAnimationLoop default nodiesel true StopMeshAnimation default SetMeshAnimationFrame default 1098 p CoalMain public Requirement GetRequirements void Requirement ret new Requirement 0 if dieselInQueue GetQueueCount lt 77600 or dieselWBRemain gt 0 Approx 25 of full ResourceRequirement req new ResourceRequirement req resource dieselInQueue GetProductFilter GetProducts 0 This is how many we have asked for Wait till it is Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 260 fullfilled if we are not already waiting for a waybill to be completed req amount 232800 6 tank cars if dieselInQueue GetQueueCount lt 77600 and diesel WBRemain 0 dieselWBRemain 232800 req dst me req dstQueue dieselInQueue ret ret size req j return ret j public void AppendDriverDestinations string destNames string destTracks 1 StringTable stringTable GetAsset GetStringTable destNames destNames size stringTable GetString coalmine loadBay
589. sts tag stores information on consists that can be generated by the industry The Consists Container has the following Tags show in consist menu Boolean flag that dictates whether this train appears in the consist menu 0 false 1 true The consist menu was along the bottom of the screen in the original Trainz and UTC but is no longer present It effectively stopped a user from getting access to an Al train Redundant for most uses except for legacy scenario usage coupling mask Coupling mask that applies to the consist 0 will block off all coupling activity while 1 will mean you can couple with a vehicle decoupling mask Decoupling mask that applies to the consist 0 will mean you can t decouple vehicles in the train while 1 means you can decouple vehicles Consist Element Consist subcontainer vehicle The kuid of the vehicle to be used facing Indicates the direction of the vehicle running number Running number of the vehicle Processes Container Processes The input and output settings of the industry You can specify the amount of input and output for each queue referenced product as well as the duration or rate in seconds for that process to take place All queues and processes are linked through the industry asset s script file The Processes Container has the following tags and containers start enabled Specifies whether the process starts enabled duration Length of time in seco
590. support product version For paintshed support engine Specifies whether the traincar is a locomotive or rollingstock item A loco or B unit will have the engine tag set to true mass Mass in Kilograms ie 7000 interior Kuid number of the interior inserted at a cabfront This tag should only be used when required an interior is needed when the traincar is a locomotive enginesound References the kuid number for the traincar s sound asset enginespec References the engine kuid number This specifies the driver physics boundaries for the traincar hornsound References the kuid number for the traincar horn sound asset paintshed skin used Kuid of the paintshed skin used if applicable paintshed template used Kuid of the paintshed template used if applicable fonts Indicates how many types of numbering fonts are used eg 0 no fonts used 1 one font Digit textures digit 1 tga to digit 6 tga replaced automatically with alohanumber textures alphanumber 0 to alpohanumber 9 as numbers are changed via the Surveyor Trains tab Edit Properties icon the icon 2 two fonts Digit textures digit 1a tga to digit 6a tga and digit 1b tga to digit 6b tga replaced automatically with albhanumber textures alphanumber Oa to alphanumber 9a and alphanumber Ob to alphanumber 9b as numbers are changed via the Surveyor Trains tab Edit Properties icon the icon Mesh Table default
591. t multi consumer producer lumberQueue lumberAsset gt 0 1 if IlumberWBModified 1 spaceAvailable lumberQueue GetQueueSpace report CreateUnloadingReport lumberQueue spaceAvailable direction vehicle GetRelationToTrack me out_ track0 if direction Vehicle DIRECTION FORWARD report sideFlags LoadingReport LEFT SIDE else if direction Vehicle DIRECTION _ BACKWARD report sideFlags LoadingReport RIGHT_SIDE vehicle UnloadProduct report Ensure we are tracking this if we are waiting for a way bill to complete in its entirety if lumberWBRemain gt 0 lumberWBRemain lumberWBRemain report amount j Il Unload the woodchips if GetProcessInput multi consumer producer woodchipsQueue woodchipsAsset gt 0 1 if woodchipWBModified spaceAvailable woodchipsQueue GetQueueSpace report CreateUnloadingReport woodchipsQueue spaceAvailable direction vehicle GetRelationToTrack me out _ track0 if direction Vehicle DIRECTION FORWARD report sideFlags LoadingReport LEFT SIDE else if direction Vehicle DIRECTION _ BACKWARD report sideFlags LoadingReport RIGHT_SIDE vehicle UnloadProduct report Ensure we are tracking this if we are waiting for a way bill to complete in its entirety if woodchipWBRemain gt 0 woodchipWBRemain woodchipW BRemain report amount j Trainz Railroad S
592. t radius out load3 a track1d kuid 1 15 a track2a a track2b a track2c a track2d lt kuid 1 15 gt a track3a a track3b a track3c a track3d lt kuid 1 15 gt a track4a a track4b a track4c a track4d a trigO a trig1 2 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 in load0 att radius in load1 att radius in load2 att radius in load3 att radius queues coal out size animated mesh product kuid initial count allowed products 0 diesel_in size animated mesh product kuid initial count allowed products 0 processes coal_consumer start enabled duration inputs 1357500 load lt kuid 44179 60013 gt 543000 lt kuid 44179 60013 gt 310400 load_diesel lt kuid 3 10011 gt 155200 lt kuid 3 10011 gt outputs 0 amount queue smoke0 attachment mode color accel rate velocity lifetime minsize maxsize enabled smoke attachment mode color accel rate velocity lifetime minsize maxsize enabled smoke2 attachment mode color accel rate velocity 22620 coal out a stack0 time 46 46 39 150 0 5 0 3 0 8 3 a stack1 time 176 176 176 100 0 5 0 3 0 8 3 a load_top0 time 25 25 25 220 0 5 0 3 0 8 3 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 255 maxsi
593. t points are activated when each state is displayed The supported aspects are configured by reference number as follows STOP STOP THEN PROCEED CAUTION AND LEFT DIVERGE CAUTION AND RIGHT DIVERGE CAUTION PROCEED AND LEFT DIVERGE PROCEED AND RIGHT DIVERGE ADVANCED CAUTION PROCEED ONOOaARWNH O The following two aspects are only used for scenarios 9 SLOW 10 MEDIUM SPEED The aspect section of the config txt is arranged as follows signals 0 light 7 light 6 0 1 2 3 4 light 6 Note Don t forget the space between the number and bracket if you are editing by hand in Explorer Looking at the example above under the heading signals we see the states the signal is capable of displaying in the left column From this extract we can see that this signal is capable of displaying aspects 0 2 amp 4 When aspect 0 stop is displayed light point 7 is activated When aspect 2 caution left is displayed light points 6 0 1 2 3 4 are activated When aspect 4 caution is displayed light point 6 is activated Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 81 LIGHTS Each light point needs to have a corona associated with it Coronas are stored in each signal object s directory alongside it s textures Examples have been packaged within the zip file this document was located lights corona corona white tga When light points 0 4 are activat
594. t rate 8 texture load map texture velocity 2 left door lifetime mesh coal hopper body unload left minsize unload left im maxsize anim coal hopper body unload left unload left kin enabled smoke2 auto create right door attachment a unload right pfxO mesh coal hopper body unload mode ime right unload_right im color 0 0 0 250 anim coal_hopper_body unload_ 8 right unload_right kin 2 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 318 lifetime hopper gs minsize maxsize Hopper gs enabled smoke3 Copyright C 2003 Auran Developments Pty Ltd attachment a unload right pfx1 All Rights Reserved mode time color 0 0 0 250 rate 8 include vehicle gs velocity 2 lifetime Hopper scriplet class No threads only call overridden callbacks from Vehicle that minsize are called by an Industry maxsize enabled class Hopper isclass Vehicle Play sound hopper is starting to be loaded bogeys 0 bogey lt kuid 1 100063 gt float BeginLoad LoadingReport report Asset meAsset GetAsset reversed 0 thumbnails 0 World PlaySound meAsset coal loadl wav 1000 0f image thumb jpg 20 0f 1000 0f me width 240 return 0 0 height 180 1 Activate particles and play a sound as the hopper is beginning to unload image coal hopper art coal hopper art icon texture float BeginUnload LoadingReport
595. t stored in the mesh file to place the trigger radius Radius in meters of the trigger track The track name which the train must be on to trigger Consists Container The consists tag stores information on consists that can be generated by the industry The Consists Container has the following Tags show in consist menu Boolean flag that dictates whether the train appears in the consist menu 0 false 1 true The consist menu was along the bottom of the screen in the original Trainz and UTC but is no longer present It effectively stopped a user from getting access to an Al train Redundant for most uses except for legacy scenario usage coupling mask Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 122 Coupling mask that applies to the consist 0 will block off all coupling activity while 1 will mean you can couple with a vehicle decoupling mask Decoupling mask that applies to the consist 0 will mean you can t decouple vehicles in the train while 1 means you can decouple vehicles Consist Element Consist subcontainer vehicle The kuid of the vehicle to be used facing Indicates the direction of the vehicle running number Running number of the vehicle KIND CHUNKY TRACK Description Track and rails for Trains the common flexi track defining the cross section shape and properties of the track Chunky track uses a texture file but does not require a 3ds
596. t Only box to toggle on off Turn on the axis information again to verify the rotation of the point has been done correctly a bog a limfront and a limback are some of the important attachments for rollingstock models As these have specific placements it may be helpful to save a file of these points as a template so you can merge it with your next model With a few adjustments you can quickly incorporate the template into the model and be sure the point names and orientation are correct General Modeling Notes A few general notes on other aspects of 3dsmax gmax when creating models may be helpful Hidden Surfaces and Polycount Any surface that will not be seen in Trainz should be deleted to reduce the polycount and the effect on performance When you initially create a number of shapes the default settings usually have more segments than you need For example a cylinder by default has 5 height segments and 18 sides These should be reduced to suit the purpose many cylinders need only one height segment unless they are to be bent and small handrails need no more than 4 or 5 segments and sometimes 3 can be used or hidden surface also deleted especially if a smooth modifier is applied to blend the texture around the corners odf the shape Planes default to 4 by 4 segments this is not usually required If the 3dsmax gmax window is set to Smooth Highlights the actual number of segments may not be noticed Change to Wir
597. t clip the view but it also does not rotate the object about the centre point of view Each viewing option has advantages and disadvantages for modelling The mouse wheel is very useful in zooming Model Centre of Rotation A model should be centred on the origin as this will be the centre of rotation in Trainz If an object is set off centre the origin is away from the object in 3dsmax gmax it will appear very small in the Trainz Surveyor menu selection window Config txt File The requirements of the config txt file have been covered in the this document The commands recognised by Trainz are known as tags These are gathered into containers It is advisable to create all config txt files using CCP This will format correctly and determine any errors However if you must manually edit the file a few important points should be mentioned here 1 The config txt file must not include any formatted code or symbols A simple text editor such as Notepad is to be used the file must be saved as UTF 8 code not ANSI This encoding option is available from the save dialogue box Do not use a program such as MS Word that can introduce unwanted formatting including non standard quotation marks 2 While the order of the tags within containers may be varied leave the lines in the order as created in CCP 3 Brackets and quotation marks must be matching pairs the same number of left and right facing brackets or tags and informatio
598. t file with the following entries and save it with the name black texture txt Primary black tga Tile none 2 black black texture this is a texture using a black tga file and either includes an alpha channel in the same file or refers to a separate black bmp file for the Aloha channel or opacity map Because the names are the same it is impossible to determine which option was used by the original creator Either of the following options will work in the cloned asset If you have saved the original file as a tga file with the included alpha channel in that file create a new text file with the following entries and save it with the name black black texture txt Primary black tga Alpha black tga Tile none If you have saved the original file as a tga file with the alpha channel as a separate bmp file from your graphic editor create a new text file with the following entries and save it with the name black black texture txt Primary black tga Alpha black bmp Tile none 3 black black_op texture this is a texture using a black tga file and refers to a separate black op bmp file for the Alpha channel or opacity map Create a new text file with the following entries and save it with the name black black op texture txt Primary black tga Alpha black op bmp Tile none Note Do not change the name of the texture file from the original for example make black texture become blacknew texture txt The exported im files have the mater
599. t kuid2 171456 149 1 gt Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example_Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 324 Traincar Rollingstock Directory Structure This is a boxcar example A typical asset of this kind has the following File Directory Structure B config txt uj thumb jpg C350ft boxcar body E 50ft boxcar body pm e 50ft map texture rea 50ft map tga E darkmetal_2 lower ladder texture irs darkmetal_2 lower ladder tga E env metal texture rea env metal tga E grate texture grate tga E handrail copy handrail_op texture handrail copy handrail_op tga E ladder copy ladder_op texture ladder copy ladder op tga E steering_alph steer_op texture steering_alph steer_op tga C350ft boxcar shadow E 5oft_boxcar_shadow pm E black texture black tga Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg various tga The texture graphic files for the various textures used in the asset various bmp The opacity texture graphic files for the various textures used in the asset various texture txt The texture txt files for the various textures used in the asset usually generated when the model is exported See the section on Texture txt files on Page 96 for more informati
600. t tga E Ih sideupper texture Ext ih _sideupper tga E needle darkred texture txt l needle darkred tga E needle red texture txt l needle red tga E needle white texture txt lE needle white tga E rear panel texture Ext rear _panel tga E rh consolebevel texture txt l rh consolebevel tga rh consolefront texture txt l rh consolefront tga rh consoleside texture txt rh _consoleside tga E rh_raisededge_h texture txt rh raisededge h tga E rh raisededge v texture txt l rh raisededge v tga E rh raisedfloor texture txt rh _raisedfloor tga rh side texture Ext IE rh side tga rh sidefront texture txt IE rh sidefront tga E rh sideupper texkure Ext Krh _sideupper tga E roof_hi texture txt roof _hi tga E rope texture txt EJrope tga E speedo_face texture txt I speedo_face tga speedo Ihside texture txt speedo Ihside tga E speedo rhside texture txt I speedo_rhside tga E speedo_stand texture txt speedo_stand tga E speedo top texture Ext I speedo top tga switch panel texture txt IE switch panel tga EZjthumb ipg EE vert_blind tga Ei vert_blind_alpha bmp E vert_blind vert_blind_alpha texture txt warninglight_off texture txt LE warninglight_off tga E westing basetop texkure Ext IE westing_basetop tga E westing_blackcyl texture txt IE westing_blackcyl tga westing blackcyltop texture Ext LE westing bla
601. tAsset gt 0 1 if cont20WBModified 1 spaceAvailable cont20ftQueue GetQueueSpace report CreateUnloadingReport cont20ftQueue spaceAvailable direction vehicle GetRelationToTrack me out _ track0 if direction Vehicle DIRECTION FORWARD report sideFlags LoadingReport LEFT SIDE else if direction Vehicle DIRECTION _ BACKWARD report sideFlags LoadingReport RIGHT_SIDE vehicle UnloadProduct report Ensure we are tracking this if we are waiting for a way bill to complete in its entirety if cont20WBRemain gt 0 cont20WBRemain cont20WBRemain report amount j j Unload the cont40 if GetProcessInput multi consumer producer cont40ftQueue cont40ftAsset gt 0 if cont40WBModified spaceAvailable cont40ftQueue GetQueueSpace report CreateUnloadingReport cont40ftQueue spaceAvailable direction vehicle GetRelationToTrack me out _ track0 if direction Vehicle DIRECTION FORWARD report sideFlags LoadingReport LEFT SIDE else if direction Vehicle DIRECTION _ BACKWARD report sideFlags LoadingReport RIGHT_SIDE vehicle UnloadProduct report Ensure we are tracking this if we are waiting for a way bill to complete in its entirety if cont40WBRemain gt 0 cont40WBRemain cont40WBRemain report amount j j Unload the gengoods if GetProcessInput multi consumer producer gengoods
602. tQueueCount lt 30 and cont20WBRemain 0 cont20WBRemain 30 req dst me req dstQueue cont20ftQueue Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 246 ret ret size req rate GetProcessInput multi consumer producer GetQueue 40ft cont q GetAsset FindAsset cont40ft if rate gt 0 if cont40ftQueue GetQueueCount lt 30 or cont40WBRemain gt 0 ResourceRequirement req new ResourceRequirement req resource cont40ftQueue GetProductFilter GetProducts 0 This is how many we have asked for Wait till it is fullfilled if we are not already waiting for a waybill to be completed req amount 30 if cont40ftQueue GetQueueCount lt 30 and cont40WBRemain 0 cont40WBRemain 30 req dst me req dstQueue cont40ftQueue ret ret size req j j rate GetProcessInput multi consumer producer GetQueue gen goods q GetAsset FindAsset gengoods if rate gt 0 if gengoodsQueue GetQueueCount lt 15 or goodsWBRemain gt 0 1 ResourceRequirement req new ResourceRequirement req resource gengoodsQueue GetProductFilter GetProducts 0 This is how many we have asked for Wait till it is completed req amount 40 if gengoodsQueue GetQueueCount lt 15 and goodsWBRemain 0 goodsWBRemain 40 req dst me req dstQueue gengoodsQueue
603. tainer and Tags that are applicable to each Kind with examples Please refer to Chapter 6 for a complete description of the Containers and Tags used Examples The test examples are taken from the models built into TRS2006 primarily those developed by Auran not supplied by Third Party Creators As such many are older models and the config txt files have been updated by Content Creator Plus The example files are available for download and they include the config txt files and the textures but not the 3dsmax or gmax meshes as these were not available in many instances Some of the models are relatively simple and do not show or use all of the container and tag options available for that particular Kind The config txt file is displayed in this chapter to show the typical containers used and the type of data that is entered for the tags Please Note The actual working config txt file requires and includes brackets to separate containers and tags These are not shown in the config txt in this chapter for clarity and brevity Please refer to the actual example config txt file for full working files Additional Examples Additional examples are available for download please refer to the earlier Content Creation Guide for TRS2004 for the download links Many of these files include the mesh files Examples are included on the Content Creation Art Source CD s available for purchase from the Auran website All these earlier assets were develo
604. tch air brake2 wav pantograph lever change notch lever 4 wav trainbrake lever change notch air brake wav driver window change notch seat unfold wav fireman window change notch seat unfold wav Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 284 Library Directory Structure A typical asset of this kind has the following File Directory Structure EJ button done tga 2 button done on tga config txt i default msgbox html E displayhtmlpageslib qs H thumb jpg Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg button done on tga button done tga Graphic files default msgbox html HTML file used for this asset displayhtmlpageslib gs Script file File Listings config txt kind username script class kuid trainz build category class category region category era description thumbnails 0 image width height library test HTML Pages Library DisplayHTMLPagesLib gs DisplayHTMLPagesLib lt kuid 171456 100073 gt 2 5 YR 90 1990s 2000s A test Library asset thumb jpg 240 180 Download this asset This asset is available for download from the TRS2006 website at http files auran com
605. tch that stated within the script file cameralist Multiple in cab camera positions relative to a cabfront 0 0 0 0 0 left right front back up down yaw pitch To determine these variables add freeintcam to the trainzoptions txt file Pan around the interior in Driver using arrow keys and mouse See Page 386 for information Viewing co ordinates are displayed at the bottom left of the screen Make sure you include any negative sign for coordinates where appropriate when entering them in CCP for the config txt file cameradefault The in cab camera view Trainz defaults to when entering the cab INTERIOR ATTACHMENT TYPES pantograph_lever Pantograph lever switch For raising and lowering pantographs on electric locos horn Locomotive s horn independantbrake_lever Independent Loco brake lever reverser_lever Reverser lever Forward Neutral Reverse throttle_lever Throttle power handle trainbrake_lever Train brake lever self lapping trainbrakelap_lever Train brake lever with lap position dynamicbrake_lever For selecting dynamic brake bplocomain_needle Main reservoir pressure needle bploco_equalizer Equalising reservoir pressure needle bptrainbrakepipe_needle Brake pipe pressure needle bptrainbrakecylinder_needle Brake cylinder pressure needle speedo_needle Speedometer needle ampmeter_needle Power meter needle flow_needle Flow gauge needle windows Textured mesh with low opaci
606. ted smoke height float config txt traincar How hard particles are pushed out of the stack Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 422 TAG OR CONTAINER DATA TYPE PARENT APPLIES DESCRIPTION CONTAINER TO smoke slowlife float config txt traincar Longevity of smoke particles at low speed smoke Ismke conainr configxt txt smoke block A container for smoke values snapgrid float metres config txt scenery Where n is a value in meters This lets you specify the size of the grid the object snaps to We recommend factors fractions of 720 as this is the size of a base board and the positioning may do funny things across section borders e g 1 2 5 10 20 30 40 45 60 80 90 120 180 240 360 720 The default snapgrid is 10 snapmode 0 1 2 config txt scenery Where n is either 0 default 1 or 2 Use snapmode to enable snapping of a scenery object to the snap grid 0 will disable grid snapping default 1 will enable grid snapping 2 will enable an offset grid snapping Offset grid snapping will cause objects to be snapped to the grid but will also offset the objects position by 2 the grid size essentially positioning the object in between the normal grid lines sound subcontainer soundscript ID mesh object List of wav files to play randomly picked object speed float leffects ID animation effect Speed factor of the animation Default 1 2 for double
607. ted automatically trainz build Automatically set to 2 5 for 2006 assets category class See the Classes and Codes appendix located at the end of this document to select an appropriate class category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that appears in the surveyor menu kind Must be scenery Mesh Table Default Contains the default mesh Auto create should be set to true in order to make the mesh visible Additional Tags collate meshes Enables clutter mesh support eg fast trees buffer speed Used for buffers specifies the maximum speed up to which the buffer will stop a train speedlimit This value is the maximum speed allowed in meters per seconds preview mesh kuid The mesh to be used in the surveyor preview area This is useful when an asset has a large bounding box i e the Airport with it s aircraft animation trackmark Specifies that the object is a trackmark trackside This is a value that is the distance in meters the object is placed relative to the center of the track Negative values will put the object on the left side of the track and positive values will appear on the right trigger Specifies that the object is a trigger
608. tent Creator s Guide Version 2 0 329 velocity lifetime minsize maxsize smoke4 attachment mode color rate velocity lifetime minsize maxsize smoke5 attachment mode color rate velocity lifetime minsize maxsize smoke6 attachment mode color accel start rate velocity lifetime minsize maxsize smoke attachment a safety01 time 255 255 255 150 45 0 5 0 4 a safety02 time 255 255 255 150 45 0 5 0 4 a smoke0 speed 50 50 50 255 0 0 1 5 0 5 10 20 5 12 15 20 2 5 3 5 4 5 5 5 2 3 4 4 0 4 2 3 4 5 mode color accel start rate velocity lifetime minsize maxsize bogeys 0 bogey reversed 1 bogey reversed thumbnails 0 image width height 1 image icon tga width height speed 50 50 50 255 0 0 1 5 0 5 10 20 5 12 15 20 2 5 3 5 4 5 5 5 2 3 4 4 0 4 2 3 4 5 lt kuid 523 10071 gt 0 lt kuid 523 10072 gt 0 thumb jpg 240 180 up bigboy icon up bigboy 128 64 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 UP Bigboy body Im txt version 1 0 offset 0 01 calcPoint center multiplier 1 0 animationCutOff 0 00 renderCutOff 0 00 attachmentCutOff 0 06 mesh 0 25 1 name UP Bigboy body low im j mesh 0 52 1 name UP Bigboy body med im mesh 1 0 name UP Bigboy body im j Download this asset This asset is a
609. tent Manager Plus and Content Creator Plus programs kind Must be html asset THIS KIND HAS THE FOLLOWING CONTAINERS String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions TAGS kuid trainz build category class category region category era username kind author category keyword contact email contact website description description cn description cz description de description es description fr description it description pl description nl description ru license organisation username cn username cz username de username es username fr username it username nl username pl username ru Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 142 KIND INDUSTRY Description A scenery asset with product processing functionality Industry assets interact with compatible rolling stock assets through their script file and asset triggers An Industry asset supports product queues and attached track Container Structure A well formed industry kind has the following container structure industry O kuid table if mesh table f default if effects arowO Garrow E attached track out track D vertices amp attached trigger Pj
610. terior Diesel 262 Interior Electric 269 Interior Steam 277 Library 285 Map 286 Mesh 287 Mesh Reducing Track 288 MOCrossing 289 MOJunction 291 MOSignal 292 MOSpeedboard 294 Pantograph 295 Paintshed Template 296 Paintshed Skin 297 Product Coal Product 299 Product General Goods Product 300 Product Diesel Fuel Product 302 Product 40ft Container Product 303 Product Lumber Product 304 Product Passenger Product 305 Product Category 307 Profile 308 Scenery 309 Scenery Trackside 310 Steam Engine 311 Texture 313 Texture Group 314 Track 315 Tracksound 316 Traincar Coal Hopper 317 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 ix Traincar Diesel Engine 321 Traincar Electric Engine 323 Traincar Rollingstock 325 Traincar Passenger Car 326 Traincar Steam Locomotive 328 Tunnel 332 Turntable Animated 333 Turntable Not animated 337 Water2 339 Displacements 340 CHAPTER 8 Modeling Guidelines 3DSMax gmax Interface with Trainz 342 3DSMAX GMAX INITIAL SETUP 342 MERGING AND EXPORTING 342 ANIMATION REQUIREMENTS 343 ATTACHMENTS 344 GENERAL MODELING NOTES 344 CONFIG TXT FILE 345 PROBLEMS WITH MODEL EXPORTS 346 POLYCOUNT 347 TRAINS 3D STUDIO MAX AND GMAXMODEL GUIDELINES 349 ATTACHMENT POINTS 349 TEXTURES AND FILE SIZES 350 LOCOMOTIVE NUMBERING 350 BUMP MAPPING INFORMATION 351 TEXTURES AND OPACITY EFFECTS 355 PLACEMENT IN 3DSMAX GMAX 355 OPACITY FADE OUT 355 ALPHA CHANNEL U
611. the moving b r platform uses the special notation in 3dsmax or gmax shown above the cabfront track attachment points and flashing coronas on the platform use the a r platform notation as part of the attachment point name however only the attachment point name itself is used in the config txt file For example the track attachment point at one end of the moving platform is called a r platform a itrackOa in 3dsmax or gmax The name entered in the config txt file is a itrackOa If the platform had a night mesh attached it also would need to be attached in this manner Naming conventions The naming of the track attachment points is not important in TRS2006 For circular turntables in TRS2004 the names used above were reserved names recognised and interpreted by Trainz to place the attached track correctly for example a track on the rotating turntable was a itrackOa and a itrackOb the i denoting an inner track on the platform The attached track on the base was labeled as a Ai a r platform a itrack a a otrack0a and a otrackOb the o denoting an outer track and the a and b denoting the extremities of the track attachment In TRS2006 mesh tables are now used to list all the attached track and this default notation is not now required It has been used in this example for consistency Animation Key Frames An animation file exported from 3dsmax or gmax will specify the key frames that coincide with
612. the 128 pixel width 0 01 0 225 0 525 0 74 0 75 0 83 0 91 0 99 y SSS NN 0 75 0 0 0 Origin Fraction 0 01 0 225 0 525 0 74 0 75 0 83 0 91 0 99 Pixels 1 29 67 95 96 106 117 127 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 76 KIND TRACK ROAD This is used for creating roads config txt kuid lt KUID2 1 gt kind track length 5 grounded 0 4 istrack 0 width 7 9 bendy 1 isroad 1 uncached alphas 1 carrate 55 username description trainz build 2 5 category class SR category region AU category era 1990s Breakdown region Surveyor region type Surveyor type length Length of track segment in meters grounded Height in meters for the road to be offset from terrain istrack 0 This is not rail tracks width Wiath of track mesh in meters bendy Switches how track is bent on corners set as 1 allows the mesh to be deformed as the spline is bent around corners isroad Specifies track is a road with cars 1 for cars to appear on road 0 for no cars to appear uncached alphas This is used in certain situations to improve alpha sorting This should only be set to 1 for tracks that use an alpha texture and are always placed flat near the ground This is only used on road splines carrate Defines traffic density on road minimum seconds between each car generated 0 No traffic Number must be greater t
613. the aligning linking and animation redone 7 The lettering on a sign using the a name attachment point option is not visible or is facing the wrong way The axis of the attachment point is not facing the correct direction You must rotate the attachment point not the axis in 3dsmax gmax Refer to Page12 for the corrrect method and orientation Orientation can also be a problem with corona visibility 8 Deleting a model in Trainz sometimes leaves the track attachment points behind or attachment point changes do not show When developing a mocrossing type object you may have changed the location of attachment points in 3dsmax gmax If the model has already been placed in Trainz these changes do not show unless the original model is deleted and replaced When a model is deleted sometimes the attachment point circles remain Change to the Track menu in Surveyor to delete the obsolete attachment points 9 Changes to queue values in the config txt file do not show in Trainz You have made changes to commodity start values for instance in an industry within the config txt file An already placed model in Trainz will not register these changes delete the model and replace it to have the changes take effect We hope these ideas assist you in solving problems Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 346 POLYCOUNT 3D STUDIO MAX AND GMAX MODEL GUIDELINES This page contains an out
614. the b r dummies the objects themselves are also linked to the dummies and only the dummies are animated not the bones or objects The animation of the dummies is constrained by the structure of bones Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 343 Attachments Attachments are the means of specifying how sub meshes or other effects are placed or attached in a model An attachment point is located in the model and reference is made from the config txt file to define its use and function Attachment points use the a name convention to be recognised in Trainz For an attachment point to move with an animated dummy there is a special naming convention for the point in 3dsmax gmax e g a r dummy a name Refer to Page 363 and Page 381 for further explanation of this option Attachment points should be created in top view and the orientation of the axis will then be consistent Sometimes the attachment point may not be facing the correct direction and has to be rotated realigned Refer to other sections for advice on any special orientation required for different attachment points for track names bogeys coupler points and effects Be aware that the point itself must be rotated correctly not the axis of the point The Hirerachy Affect Pivot Only option may be turned on to determine the orientation of the point it must then be turned off before rotating the point click on the Affect Pivo
615. the camera is close to the asset whilst the long mesh is shown when less detail is required and the camera is further from the asset Container Structure A well formed mesh reducing track kind has the following container structure 3 mesh reducing track i thumbnails 0 O kuid table See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS mesh reducing track carrate data casts shadows data endlength data grounded data isroad data istrack data length data repeats data rgb data shadows data upright data visible on minimap data width data kuid kuid trainz build data category class data category region data category era data username data kind data unit mesh data bendy data thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be TR Rails See the Rails section of the Classes and Codes appendix located at the end of this document for more information category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that a
616. the opacity of a material This option however will make the whole surface to which the material is applied transparent to the degree chosen in the percentage selection 10096 being opaque Blinn Basic Parameters umination Ambient Color Diffuse Opacity Specular It will not allow the fine control of the opacity texturing that the Alpha channel provides Opacity Interference If there are two opacity planes transparency close together and behind each other there may be some display issues in Trainz Current graphic cards are not always capable of determining the depth order of opacity texture in a scene in Trainz This means that an object behind another object both using transparency may actually be shown in front of the foreground object An example would be a footbridge using transparency to show the timber lattice construction being behind a train with transparent windows the footbridge supports may actually appear in front of the train instead of behind This effect can occur on different parts of the same model but also with separate objects It may be reduced by using only black and white in the opacity map If grey is used the effect can be accentuated see Page 355 Special Use of Opacity Reflection Materials The methods outlined above may be extended to give other lighting effects using the additional Reflective materials slot in the 3dsmax gmax Material Navigator A nightwindows directory is often
617. the recommended process for loading the opacity effects Of course there are instances where the separate opacity map is useful see reflective materials below Example The images show a window tga texture and a corresponding bmp opacity map The window frame will show in the model because the corresponding area on the opacity map is white The green glass area will be translucent show a green tinge in this example because the black areas are actually a grey rgb 64 64 64 Once again it is good practice to combine this opacity file as the Alpha channel of the original tga texture file Applying Opacity to Models When modelling a building with windows in 3dsmax gmax as an example the windows should be constructed as separate planes and the window texture with the opacity applied to those planes This has two effects only requiring a small opacity map to match the window texture instead of a very large opacity texture of the whole building with a few opacity areas cut out more importantly it is essential to prevent the complete wall being see through from different angles in Trainz An opacity map that is part of a larger wall map can create this vanishing wall effect and flickering Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 355 Opacity Settings in 3DSMax gmax In the 3dsmax gmax material editor there is an opacity settings box where you can change
618. thumbnails indbrakefull data 0 trainbrakepipe_ start data image file epreservoirpipe_start data width data no3pipe_start data height data no4pipe_ start data auxreservoir_start data TAGS AND CONTAINERS autobrakecylinder_start data The following tags are further defined in Chapter 5 vacuumbrakepipe_start data kuid vacuumbrakereservoir_start data Generated automatically vacuumbrakecylinder_start data trainz build mainreservoir_start data Automatically set to 2 5 for 2006 assets equaliser_start data category class independantbrakecylinder_start data Should be one of the following mass AA Electric Multi current AC AC Electric AD DC Electric AE Experimental or Special AG Gas scale data Turbine AH Diesel Hydraulic AL Diesel amp Diesel fuel data Electric AM Mammal AS Steam Loco amp Tender Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 130 AT Steam Tank See the Motive Power section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username Though this asset doesn t appear in the Surveyor menu the username is used to identify the asset in the Co
619. tiator invisible license light organisation track_turntable terminator uncached_alphas username cn username cz username de username es username fr username track kuid it username nl username pl username ru useadjoiningtracktype data vertices KIND TURNTABLE 0 data Description 1 data A turntable asset for moving or rotating traincars track base specifying the static and moving part of the turntable g Animated rotation turntable and lateral translation track kuid transfer table assets are supported useadjoiningtracktype data Container Structure vertices A well formed turntable kind has the following container structure 0 data See Chapter 7 for an example asset of this kind 1 data A TYPICAL ASSET OF THIS KIND MAY HAVE THE track1 base FOLLOWING TAGS track data turntable E useadjoiningtracktype data kuid kuid vertices trainz build data 0 data category class data 1 data category region data track2 base category era data track kuid username data mE useadjoiningtracktype data kind data vertices snapmode data 0 data dighole data 1 data light data track3 base angle data track kuid looping data mE useadjoiningtracktype data mesh table vertices default 0 data mesh file 1 data Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 190 track4 base track kuid useadjoiningtracktype data vertices 0 data 1 data track10 base track kuid useadjoiningtracktype data vertices 0
620. tically by a train Animation events may also be linked to an animation key frame to give control over effect and script timing The track and road types are specified in the attached track and the meshes are within the mesh table An invisible road KUID may be useful for this type of model Breakdown class Script class a a script Script file name kuid table Lists the dependencies track road corona mesh Name of the default mesh model anim Animation file attached to the default mesh att Attachment point for the sub mesh att parent Defines the mesh to which the sub mesh is attached auto create 1 The mesh is visible when the model is placed effects The attached effects coronas directional 0 The default alignment is overridden so the corona always faces the screen texture kuid KUID for the corona attached track Track type that will be joined between the attachment points The names a track and a road are not mandatory any name using the a name convention may be used The attachment points are defined in the model mesh Refer to Page 75 for attachment orientation useadjoiningtracktype 0 prevents the track used being updated to match the attached track config txt kuid KUID2 44EEdE THEE 4 1 light 1 kind mocrossing trainz build 2 5 category region AU category era 1980s region Australia class modular xing script xing gs KUID table coro
621. tically set to 2 5 for 2006 assets category class Should be TR Rails See the Track section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that appears in the surveyor menu kind Must be track rgb This value should be left as default Additional Containers As well as containing all of the common tags and containers detailed in Chapter 5 the track kind also contains additional containers and tags that are specialised to the requirements of the kind Additional Tags bendy Switches how track is bent on corners set as 1 allows the mesh to be deformed as the spline is bent around corners carrate Defines traffic density on road minimum seconds between each car generated 0 No traffic Number must be greater than 3 for raffic to flow casts shadows Toggles whether the shadow model is displayed endlength Length in meters of the initiator and terminator models grounded Height in meters for the road to be offset from terrain isroad Specifies track is a road with cars set to 1 for cars to appear on road istrack 0 This is not rail tracks length Length of track s
622. tion pantograph and interior to make a complete asset Container Structure A well formed traincar kind has the following container structure 5 traincar if mesh table default P shadow E bogeys bogey bogey 1 P bogey 2 E thumbnails o A TYPICAL TRAINCAR KIND MAY HAVE THE FOLLOWING TAGS traincar kuid kuid trainz build data category class data category region data category era data username data kind data engine kuid mass data description data enginesound kuid hornsound kuid enginespec kuid pantograph kuid company data interior kuid mesh table default mesh file auto create data shadow mesh data bogeys bogey reversed data bogey kuid thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class See the Motive Power section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username This will be the name that appears in the surveyor menu kind Must be Traincar engine Specifies whether the trainca
623. tion fr description it description pl description ru dighole floating height range icon texture iconO icon1 icon2 icon3 license light nightmode organisation passenger height preview mesh kuid preview scale rgb rollstep rotate rotate yz range rotstep script snapgrid snapmode speedlimit surveyor name label surveyor only trackmark trackside trigger username cn username cz username de username es username fr username it username nl username pl username ru Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 160 KIND MOSPEEDBOARD Description A speed limit sign for Trains It displays the maximum limit sign texture made by the creator and the sign may be offset a specified distance from the track The limit to control train speed is specified in the asset in metres per second Container Structure A well formed mospeedboard kind has the following container structure mospeedboard E mesh table default i thumbnails 0 See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS mospeedboard kuid kuid trainz build data category class data username data kind data category region data category era data trackside data speedlimit data mesh table default mesh file auto create data thumbnails 0 image file width data height data TAGS AND CONTAINERS The following tags are further
624. ton stroke4 wav From 40 kph upwards the following sound loop is cross faded as the piston sounds die off The loop is pitched shifted through code relative to the locomotive s velocity steam loop wav The general hiss from the smoke stack smoke stack hiss wav Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 135 THIS KIND HAS THE FOLLOWING CONTAINERS String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions TAGS kuid trainz build category class category region category era username kind author category keyword contact email contact website description description cn description cz description de description es description fr description it description pl description nl description ru license organisation username cn username cz username de username es username fr username it username nl username pl username ru KIND ENVIRONMENT Description Additional sky textures specifying the normal night and stormy sky images to be used in Trainz Container Structure A well formed environment kind has the following container structure amp environment thumbnails 0 See Chapter 7 for an example asset of this kind A TYPICAL ASSET O
625. tra texture say 128x256 can be added Reflection maps are supported 16 bit colour bmp We generally set train body reflection amounts in 3dsmax to 10 and windows to 25 Opacity Maps 8 bit greyscale bmp are also supported to the EXACT same pixel dimensions as the diffuse map Where possible opacity maps should be included as an alpha channel of the main diffuse texture tga file A separate opacity map degrades the performance of Trainz as the extra file has to be processed separately Reflection and Opacity maps must not be used together within the same texture Reflection and Opacity maps must not be used on digits Window opacity is derived from the material and opacity settings see the diagram on the right LOCOMOTIVE NUMBERING TRS supports dynamic locomotive numbering for custom content using alpha numbers Otherwise known as running numbers Digits are modeled as 6 individual rectangular polygons offset from the face of the Loco body about 5mm Digit polygons must be texture mapped using the correct texture naming and alpha number naming conventions as follows If one font type used Digit textures digit 1 tga to digit 6 tga are replaced automatically with alohanumber textures alphanumber 0 to alpohanumber 9 If two or more font type used Digit textures digit 1a tga to digit 6a tga and digit 1b tga to digit 6b tga etc are replaced automatically with a 7 5 la ls a reer ea l e z
626. trol throttle lever loco SetEngineSetting throttle p value el el el el el el el el lse if p control train brake lever loco SetEngineSetting train auto brake p value lse if p control train lapbrake lever loco SetEngineSetting train lap brake p value lse if p control loco brake lever loco SetEngineSetting loco auto brake p value lse if p control dynamic brake lever loco SetEngineSetting dynamic brake p value lse if p control horn rope todo lse if p control pantograph lever loco SetEngineSetting pantograph p value lse if p control light switch loco SetEngineSetting headlight p value lse if p control regulator lever loco SetEngineSetting regulator p value el lse if p control waterInjector0 or p control waterInjectorl loco SetEngineSetting injectorv p value void UserPressKey string s if s shovel coal PB15CabinData cd cast PBl5CabinData loco GetCabinData if cd fireboxDoorOpen if FireAddCoal if shovellingCoal if waving if fire plates p control GetName value p value 1600 0 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 58 fire plates SetValue 1 0f shovellingCoal true SetFXAnimationState idlel false SetFXAnimati
627. tted smoke particles Default is 1 lifetime Time in seconds that smoke particles exist for Default is 3 minsize Start size of smoke particles Default is 0 maxsize End size of smoke particles Default is 3 In general it is better to use a low emission rate with large particles ie min max size than using a high emission rate with small particles to reduce the impact on frame rate Smoke effects can be quite stunning but are best used in moderation Try experimenting with the different values to get a feel of how they affect the smoke effects Many different types of effects other than smoke are possible with only a little imagination e g waterfalls mist toxic green clouds fire by using a few effects at the same position to simulate the smoke and flames etc Using a model of a factory with a chimney an attachment point called a smoke is placed at the top of the chimney with it s Y axis pointing up The factory is then exported as an indexed mesh im file type to the Trainz world custom scenery factory folder and the model s art assets are copied to the same location The following smoke container entries in the config txt file will cause smoke to come out of the factory s chimney between 6am and midday and 3pm and 6pm EXAMPLE 1 SMOKE FROM A FACTORY S CHIMNEY Config txt kuid lt KUID2 1 gt region Britain kind scenery type Industrial light 1 smoke0 attachment a smoke mode timeo
628. ture Ext mass 0 800 icon texture texture txt h tabl ud ga Primary AvGas tga Alpha AvGas tga yon Tile none AvGas tga 64x64 32 bit COAL PRODUCT Coal Product Config txt Coal directory structure _ scenarios zen A coal asset kind product kuid lt KUID 44179 60013 gt username Coal instance type resourc m config Ext be y coal texture txt product category lt KUID 3 10040 gt icon texture icon texture texture mass 0 860 TZ Coal_icon taa product texture coal texture mesh table icon texture texture txt Primary Coal icon tga Alpha Coal icon tga Tile none Coal icon tga 64x64 32 bit Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 17 GENERAL GOODS PRODUCT General Goods Product Config txt kind product kuid KUID 3 10013 username General Goods product category lt KUID 3 10042 gt instance type instance icon texture icon texture textur mass 1400 mesh table default mesh general goods im crate2 mesh crate2 im crate3 mesh crate3 im crate4 mesh crate4 im crated mesh crate5 im crate6 mesh crate6 im crate7 allows mixing 1 icon_texture texture txt Primary GeneralGoods tga Alpha GeneralGoods tga Tile none General Goods directory structure scenarios fes general ganads crate tga crate_
629. ture texture mass 65 mesh table male suit mesh MaleSuit im effects walk kind animation anim MaleSuit walk kin looped 1 pissedoff kind animation anim MaleSuit pissedoff kin lookatwatch kind animation anim MaleSuit lookatwatch kin kind animation anim MaleSuit sitdownloop2 kin standup kind animation anim MaleSuit standup kin standloopl kind animation anim MaleSuit standloopl kin looped 1 standloop2 kind animation anim MaleSuit standloop2 kin looped 1 FemaleLongDress mesh FemaleLongDress im effects walk kind animation anim FemaleLongDress walk kin looped 1 lookdownline lookatwatch kind animation anim MaleSuit lookdownline kin Etc Etc shuffle kind animation Etc Etc anim MaleSuit_shuffle kin FemaleLongDressFat FemalemumBaby sitdown Female Pants FemaleShortDress kind animation FemaleSuit anim MaleSuit sitdown kin KidFemale KidMale sitdownloopl MaleFat MaleShirt kind animation MaleShorts anim MaleSuit sitdownloopl kin sitdownloop2 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 24 KIND ENGINE An engine file specifies a traincar s performance and physics parameters TRS now supports steam physics and thus steam engine files have additional fields for this The following examples are of the SD40 2 Diesel locomotive and the PB 15 Steam locom
630. ty semi transparent to give impression of reflection This mesh has the same 3D origin point as the main pm model therefore does not require an attachment point wheelslip_light A warning light mesh that is only visible when the locomotive loses traction This mesh has the same 3D origin point as the main pm model therefore does not require an attachment point Switch0 switch1 etc Switches light_switch Headlight switch INTERIOR ATTACHMENT VARIABLES Kinds lever Levers switches dials etc animated lever Animated Levers etc e g in steam cabs collision proxy Mouse collisions for animated levers needle Gauge needles i e Speedo brake pres pullrope Pull rope horn as in the F7 light Wheelslip light mesh Mesh file to be inserted Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 47 att Attachment point where mesh is inserted If no attachment point is specified the mesh will be inserted at a cabfront the same insertion point as main mesh limits Mathematical boundaries Trainz uses determine the objects function These values vary as different objects use different mathematical units Generally use the default values used in the config files provided angles Rotational boundaries in radians relative to its attachment point Refer to the radian degree circle diagram below to help you out notches The position of notches within the angle boundaries These are repres
631. u angreen_gma angreen_gma texture txt E angreen_gmb angreen_gmb texture txt G gm_angreen_alpha_numbers alphanumber Da tga alphanumber b tga alphanumber_1la tga iren alphanumber 1b tga ire alphanumber 2a tga alphanumber_2b tga alphanumber 3a tga alphanumber 3b tga E alphanumber_4a tga alphanumber 4b tga ire alphanumber 5a tga Ei digit_1a bmp EE alphanumber_5b tga E digit 1a texkure Ext E alphanumber_6a tga Bzidigit 1b bmp EE alphanumber_6b tga E digit_1b texture txt E alphanumber_7a tga Gi digit_2a bmp LE alphanumber_7b tga Bzjdigit 2a bmp EE alphanumber 8a tga E digit 2a texture txt E alphanumber 8b tga Ei digit_2b bmp EE alphanumber_9a tga E digit 2b texture txt KE alphanumber 9b tga Gi digit_3a bmp E digit 3a texture Required Files Gd dicit_sb bmp config txt The config file for the asset E digit 3b texture txt Ei digit_4a bmp thumb jpg The thumbnail image for this asset A E digit 4a texture txt 240x180 jpeg Gi digit_4b bmp E digit_4b texture txt Various digit bmp and alphanumber tga files Gi digit_Sa bmp used for the model and Alpha numbers S digit_Sa texture txt gm_angreen_icon tga The icon texture files 128x64 Gd digit Sb bmp pixels in dimension 3 digit Sb texture txt Ei digit_6a bmp gm_angreen_body pm gm_angreen_shadow pm E digit 6a texture txt progressive mesh files for the model and shadow Ei digit_6b bmp E digit_6b texture txt Vario
632. u can review and approve your own content before the final approval process b You can send a link to your content to others for testing purposes Only you have initial access as the content is not publicly available until you submit the content for approval and approval is granted c You can re check all the Download Station pack information before final approval i e Pack contents category obsoletes descriptions etc d You may have multiple revision uploads for assets of the same KUID e You may delete the content before it is made publicly available Important note Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 389 Preview Area content can only be held for 4 weeks since last revision All testing revisions must be done within this time If you have say 4 assets for upload A locomotive an engine file a bogey and a pantograph and you only update ONE of these assets the other 3 are still on the original 4 week period Waiting Area The waiting area section houses that content which has successfully passed through the automated checks made by the Download Station system and is awaiting visual confirmation from internal Auran staff This is done for a number of reasons including Verifying that the name and description are valid and appropriate Verifying that the correct category is selected Verifying that the thumbnail image is visually acceptable You will receive
633. ublic page php location downloads aki utility Content Creator Plus Manual original full manual installed in C Program Files Auran TRS2006 Docs manuals_cd manuals http files auran com TRS 2006 manuals CCP Manual 1 pdf e Content Manager Plus Manual original full manual installed in C Program FilesVAuran TRS2006 Docs manuals cd manuals http files auran com TRS 2006 manuals CMP Manual 1 pdf Driver Character Files http www auran com TRS2004 downloads contentcreation DriverCharacter zip Asset examples included in this document 38mb http files auran com TRS 2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 xiii Trainz Railroad Simulator 2006 CHAPTER 1 The Basics INTRODUCTION Welcome to the Content Creator s Guide for Trainz Railroad Simulator 2006 This document is designed to assist 3 party content creators design and create functional content for Trainz Railroad Simulator 2006 TRS2006 The purpose of this document is to detail the way in which 3 party content should be designed and built to be compatible with TRS2006 and to describe the use of the new modules in TRS2006 the Content Manager Plus and the Content Creator Plus The Content Manager Plus module manages content on your computer communicates with the Download Station and uploads or downloads content more easily than in previous versions of Trainz The Content Creator Plus module
634. ue spaceAvailable direction vehicle GetRelationToTrack me out _ track0 if direction Vehicle DIRECTION FORWARD report sideFlags LoadingReport LEFT SIDE else if direction Vehicle DIRECTION _ BACKWARD report sideFlags LoadingReport RIGHT_SIDE vehicle UnloadProduct report Ensure we are tracking this if we are waiting for a way bill to complete in its entirety if o11WBRemain gt 0 oilWBRemain oilWBRemain report amount Unload the diesel Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 240 if GetProcessInput multi consumer producer dieselQueue dieselAsset gt 0 1 if IdieseIWBModified spaceAvailable dieselQueue GetQueueSpace report CreateUnloadingReport dieselQueue spaceAvailable direction vehicle GetRelationToTrack me out _ track0 if direction Vehicle DIRECTION FORWARD report sideFlags LoadingReport LEFT SIDE else if direction Vehicle DIRECTION _ BACKWARD report sideFlags LoadingReport RIGHT_SIDE vehicle UnloadProduct report Ensure we are tracking this if we are waiting for a way bill to complete in its entirety if dieseIWBRemain gt 0 diesel WBRemain diesel WBRemain report amount j j Unload the petrol if GetProcessInput multi consumer producer petrolQueue petrolAsset gt 0 1 if IpetroIWBModified 1 spaceAvailable
635. ueue 1 size 40 initial count 0 product kuid lt kuid 3 10060 gt attachment points a passon6l a passsit67 a passon43 3 etc passengers off 0 passenger queue 1 size 26 initial count 0 product kuid lt kuid 3 10060 gt attachment points a passoff01 a passoff15 a passoff03 3 etc passengers off 1 passenger queue 1 size 26 initial count 0 product kuid lt kuid 3 10060 gt attachment points 0 a passoff27 1 a passoff44 2 a passoff29 3 Nr O VHO etc processes passenger spawn 0 start enabled 1 duration 20 outputs 0 amount 1 queue passengers_on 0 passenger spawn 1 start enabled 1 duration 20 outputs O0 amount 1 queue passengers on 1 passenger delete 0 start enabled 1 duration 3 inputs O0 amount 1 queue passengers off 0 passenger delete 1 start enabled 1 duration 3 inputs O0 amount 1 queue passengers off 1 soundscript dayloop repeat delay 0 distance 8 130 sound station amb 2 wav string table smallstation platl Platform 1 smallstation plat2 Platform 2 username fr string table fr Gare petite smallstation platl Plateforme 1 smallstation plat2 Plateforme 2 username it string table it smallstation platl Platform 1 smallstation plat2 Platform 2 Small Station username de string table de smallstation platl Bahnsteig 1 smallstation plat2 Bahnsteig 2 Kleiner Ba
636. uld be called throttle lever pantograph lever Pantograph lever switch For raising and lowering pantographs on electric locos horn Locomotive s horn independantbrake lever Independent Loco brake lever reverser lever Reverser lever Forward Neutral Reverse throttle lever Throttle power handle trainbrake lever Train brake lever self lapping trainbrakelap lever Train brake lever with lap position dynamicbrake lever For selecting dynamic brake bplocomain needle Main reservoir pressure needle bploco equalizer Equalising reservoir pressure needle bptrainbrakepipe needle Brake pipe pressure needle bptrainbrakecylinder needle Brake cylinder pressure needle speedo needle Speedometer needle ampmeter needle Power meter needle flow needle Flow gauge needle windows Textured mesh with low opacity semi transparent to give impression of reflection This mesh has the same 3D origin point as the main im mesh therefore does not require an attachment point wheelslip light A warning light mesh that is only visible when the locomotive loses traction This mesh has the same 3D origin point as the main im model therefore does not require an attachment point switch0 switch1 etc Switches light switch Headlight switch THIS KIND HAS THE FOLLOWING CONTAINERS String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian
637. ull hopper enters the Powerstation trigger radius the hopper s animated load lowers the side doors open and the pfx on the hopper itself initiate The animated load on the Powerstation increases and it s commodity level increases The hopper pfx and the animated doors are both controlled by the hopper gs script file Sounds events and generic events can be linked to animation key frame to give great control over sound and script timing for industry and scenery assets The increasing use of scripts in TRS adds flexibility and control to assets and their functionality THIS KIND HAS THE FOLLOWING CONTAINERS Queues Container Smoke Container SoundScript Container Mesh Table Attached Track Container Attached Trigger Container String Table Chinese String Table Czech String Table Dutch String Table French String Table German String Table Italian String Table Polish String Table Russian String Table Spanish String Table KUID Table Obsolete Table Thumbnails Privileges Extensions Processes Container Consists Container TAGS kuid trainz build category class category region category era username kind alias author autoname category keyword class contact email contact website description description cn description cz description de description es description fr description it description pl description nl description ru dighole floating height range icon texture iconO icon1 icon2 icon3
638. umb jpg width 240 height 180 1 image gm_angreen_icon gm_ angreen icon tga width 128 height 64 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 322 Traincar Electric Engine Directory Structure A typical asset of this kind has the following File Directory Structure E config txt Ezjthumb jpg ros icon IE tr08 icon tga C3tro8 maglev body Hi black bmp 2 black texture txt 3 copy of tr 8 maglev body im z tr08 texture txt Hj tros taa s tr 8 maglev body im s trO8cab_leftdoors im E trO8cab_leftdoors kin 3 trO8cab_rightdoors im E trO8cab_rightdoors kin tr08_magley_shadow Ablack bmp black texture txt B5 maglev shadow im Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg tr 8car icon tga The icon for for the asset tr08 car im tr 8car rightdoors im tr 8car leftdoors im The mesh files for the asset tr 8car rightdoors kin tr08car_leftdoors kin The door animation files tr 8 car shadow im The mesh file for the shadow model various tga various texture txt The texture files for the asset See the section on Texture txt files on Page 96 for more information File Listings config txt kuid kuid 171456 100027 trainz build 2 5 AE category class username testTrainCar Electric kind traincar engine mass company Internati
639. umbnails 0 image file width data height data Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 117 TAGS AND CONTAINERS The following tags are further defined in Chapter 5 kuid Generated automatically trainz build Automatically set to 2 5 for 2006 assets category class Should be YR Rule See the Maps amp Scenarios section of the Classes and Codes appendix located at the end of this document category region See the Region Codes appendix located at the end of this document for a list of valid category region values category era See the Era Codes appendix located at the end of this document for a list of valid category era values username Asset username Though this asset doesn t appear in the Surveyor menu the username is used to identify KIND BOGEY Description Bogeys are locomotive or rolling stock wheel mechanisms sometimes known as Trucks This asset is for attachment to a traincar locomotive or rolling stock and can include animation and a shadow model Container Structure A well formed bogey kind has the following container structure 37_bogey im f 37 bogeyv lm txt amp 37 bogev low im 37_bogey_med im 37 _bogey_vlow im E s7bogie2 texture txt EE 37bogie2 tga E 37bogie4 texture txt EE 37bogiet tga E 37bogie texture txt EE 37bogie tga E config txt enyvmap1 texture Ext EEjenvmapi tga Ezjthumb jpa
640. upportsStoppedLoad Vehicle vehicle string triggerName Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 257 1 if itc IsTrainCommand vehicle GetMyTrain Industry UNLOAD_COMMAND bool vehicleToTrain vehicle GetFacingRelativeToTrain int direction vehicle GetRelationToTrack me in_ track0 if vehicleToTrain direction direction Are we up to the furthest trigger away from the side we entered for diesel if direction Vehicle DIRECTION BACKWARD and triggerName in load0 return true if direction Vehicle DIRECTION FORWARD and triggerName in_load3 return true If the train has already stopped then fall thru and allow this load as well if triggerName in_load0 or triggerName in load or triggerName in_load2 or triggerName in load3 1 if vehicle GetMyTrain IsStopped return true return false void PerformStoppedLoad Vehicle vehicle string triggerName int spaceAvailable dieselInQueue GetQueueSpace LoadingReport report CreateUnloadingReport dieselInQu eue spaceAvailable int direction vehicle GetRelationToTrack me in_ track0 if direction Vehicle DIRECTION FORWARD report sideFlags LoadingReport LEFT SIDE else if direction Vehicle DIRECTION BACKWARD report sideFlags LoadingReport RIGHT SIDE vehicle UnloadProduct report
641. us texture txt files for the textures generated when the model is exported See the section on Texture txt files env glass bmp on Page 96 for more information E env metal texture txt E gm_angreen_a texture txt E gm angreen b texture txt File Listings E gm_angreen_body pm E horn_support horn_support texture txt config txt E light texture txt D E light light texture txt ongin e gm angreen icon engine 1 gm angreen icon Ega C3am angreen shadow username testDieselLoco black texture txt gm_angreen_shadow pm mass 85000 interior lt kuid 1 101211 gt kind traincar fonts 2 smoke_shade smoke_random Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 321 smoke slowlife Download this asset smoke fastlife This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads smoke height Example Download zip smoke fastspeed enginespec lt kuid 1 42004219 gt enginesound lt kuid 1 42003000 gt hornsound lt kuid 523 54610 gt description Test Traincar Diesel kuid lt kuid 171456 100028 gt trainz build 2 5 category class AA category region 00 category era 1960s 1970s mesh table default mesh gm angreen body gm angreen body pm auto create shadow mesh gm angreen shadow gm angreen shadow pm auto create bogeys 0 bogey lt kuid 1 100009 gt reversed 0 thumbnails 0 image th
642. username it username nl username pl username ru KIND MOJUNCTION Description Junction control levers which are attached to track junctions include sound and may be offset a specified distance from the track They can be used to replace the default junction lever Container Structure A well formed mojunction kind has the following container structure D mojunction if mesh table leverl P lever2 ca soundscript Lm toggle O sound m thumbnails Qo See Chapter 7 for an example asset of this kind A TYPICAL ASSET OF THIS KIND MAY HAVE THE FOLLOWING TAGS mojunction vertex z kuid kuid Attachment points at which to place track trainz build data THIS KIND HAS THE FOLLOWING category class data CONTAINERS category region data Queues Container Smoke Container SoundScript category era data Container Mesh Table Attached Track Container Attached Trigger Container String Table Chinese String username data Table Czech String Table Dutch String Table French String Table German String Table Italian String Table kind data Polish String Table Russian String Table Spanish dat String Table KUID Table Obsolete Table Thumbnails uou Be Privileges Extensions me shtable TAGS lever1 kuid trainz build category class category region h fi category era username kind alias author autoname Mee PE category keyword class contact email contact website to create data descr
643. users don t vary or adjust the rollingstock config txt files yet it is not difficult to find tonnage and speed numbers for the locomotives A comment on the safety valve settings Try not to waste water through the safeties keeping the settings close together by setting the safety valves to 15Kpa 2lbs difference allows for a rapid release to bring the pressure back quickly thus emulating the action of Pop type valves This is both deliberate and prototypically accurate to prevent over pressure and ultimately the big bang More practically in Trainz it prevents water wastage Narrow Gauge Geared Locomotives These engines have relatively small cylinders and they use a miniscule amount of water To get the water usage up to an appropriate prototypical rate you will need to multiply the cylinder volume by the gear ratio then you will get it to use the apropriate amount of water The cylinder volume makes no difference to the performance just the water usage so for a geared locomotive such as a Shay Climax or Heisler by multiplying the cylinder volume by the gear ratio then the Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 365 amount of water used will be realistic It is the piston area boiler pressure that gives the output force power that drives the locomotive and train For example a typical Shay locomotive may have a gear ratio quoted as 3 3 1 3 3 to 1 Multiply the boiler volume
644. ustry void DriveToTrack Message msg DriverCommands commands GetDriverCommands msg DriverCharacter driver cast lt DriverCharacter gt msg src string msgData msg minor int industryId Str UnpackInt msgData string trackName Str UnpackString msgData GameObject industry Router GetGameObject industryId if industry return schedule our command Soup soup Constructors NewSoup soup SetNamedTag industryName industry GetName soup SetNamedTag trackName trackName DriveToScheduleCommand cmd cast lt DriveToScheduleC ommand gt CreateScheduleCommand driver soup commands AddDriverScheduleCommand cmd if driver PlayConfirmation Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 209 DriveToScheduleCommand gs DriveToScheduleCommand gs Copyright C 2003 Auran Developments Pty Ltd All Rights Reserved include DriverCommand gs include World gs include Browser gs include KUID gs include Industry gs include DriveToCommand gs include Schedule gs Driver schedule command used by DriveToCommand to get a driver character to take a train to a specific track on an industry class DriveToScheduleCommand isclass DriverScheduleCommand j public string industryName Name of the industry to drive to Name of the track in the public string t
645. ustry kind also contains additional containers and tags that are specialised to the requirements of the kind Attached Track Container Auto generated spline track Generated through attachment points located within the default mesh Attached tracks update automatically to the spline track connected to it You may over ride this auto update feature by adding useadjoiningtracktype 0 Note Correct track end attachment orientation is essential The Y axis must point out at the correct angle The Z axis must point up see Page 75 The Attached Track Container has the following tags and containers track Kuid of the track to be used useadjoiningtracktype Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 144 Indicates whether the track type should change to match that of the first track joined to the object vertex Attachment points at which to place track Attached Trigger Container A Trigger is a point along an attached track with a specified radius When a compatible rollingstock item enters this radius it triggers a set of commands controlled through its script A trigger is setup in an industries config txt The Attached Trigger Container has the following tags att The attachment point stored in the mesh file to place the trigger radius Radius in meters of the trigger track The track name which the train must be on to trigger Consists Container The consi
646. vailable for download from the TRS2006 website at http files auran com TRS2006 Downloads Example_Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 331 Tunnel Directory Structure A typical asset of this kind has the following File Directory Structure E config txt E darkstone texture txt EZ darkstone tga E default im l qr portal tga K thumb ipg wire tga E wire wire texture txt Cjtunnel qr end darkstone texture txt IE darkstone tga qr portal texture txt Eja _portal tga e tunnel qr start im EE wire taa B wire wire texkure Exk Cjtunnel ar start B darkstone texkure Ext IE darkstone tga 2 qr_portal texture txt Ejo _portal tga E tunnel qr end im IE wire tga B wire wire texture Ext Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg default im The middle section of the tunnel asset This mesh is also used as the preview image Must be named default im and placed in the base directory tunnel QR end im tunnel QR start im The indexed meshes used at each end of the tunnel darkstone tga wire tga qr portal tga The texture files used by the indexed meshes for this asset darkstone texture txt wire texture txt qr portal texture txt the texture txt files for the various textures used in the asset usually generated when the model is exported See the s
647. ve softer edges to the circular night shape The yellow colour texture may cover the whole area but a single pixel of colour may be used instead This gives directional lighting a pixel placed to the left of centre will light up the whole circular area but the colour will only be seen from the right side of the object you can experiment There are two important differences between the use of the opacity texture for reflection and when used for the normal transparency effects ifthe reflector object were made in 3dsmax gmax using a square 2 poly plane the opacity file will not cut out the circular shape of the reflector as a circular opacity map might normally do The black border will show in the day time If you want the circular shape to be apparent in the day time the object itself must be that shape and the opacity map acts differently the reverse of transparency The white area allows the yellow light to shine through in a circular shape the black area blocks the yellow light This technique can be applied to normal scenery objects and does not require a nightwindow option or can be used in addition to a nightwindow directory It could be used to make a concrete area light up at night with pools of light if the texture is tiled Choose your colours carefully as the effect can show in the day time Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 356 The following image is the
648. ved locomotive mesh assets for use with custom textures This process is done by aliasing the KUID of the archived traincars Kinds that use this tag bogey bridge buildable chunky track double track drivercharacter fixedtrack industry interior mesh reducing track mesh mocrossing mojunction mosignal mospeedboard pantograph product scenery trackside scenery track traincar tunnel turntable autoname When enabled automatically assigns a unique name to this object as it is placed Kinds that use this tag buildable fixedtrack industry mocrossing mojunction mosignal mospeedboard scenery trackside scenery traincar turntable class This refers to the name of the script file and the class of asset it is the class must match that stated within the script file Kinds that use this tag activity behavior bogey bridge buildable chunky track double track drivercharacter drivercommand engine enginesound environment Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 111 fixedtrack groundtexture hornsound html asset industry interior library mesh reducing track mesh mocrossing mojunction mospeedboard paintshed skin paintshed template pantograph product category product profile region scenery trackside scenery steam engine texture group texture track tracksound traincar tunnel turntable water2 dighole Specifies the number of grid segme
649. ver mesh The mesh selected from the mesh table to be used as a junction lever junction vertex The attachment point located in mesh file at which to place the lever Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 138 Additional Tags preview mesh kuid Each fixedtrack asset needs a preview mesh as spline tracks will not render in the Preview window A preview mesh can simply be setup as a kind mesh This way the preview mesh will never be selectable or seen in Surveyor use gradient track Uses the spline gradient rather than following the ground height A fixedtrack comprises a mesh asset with an attached track or tracks and surveyor only rendered arrows so the user knows where the fixedtrack starts and ends The model has attachment points using the a name naming convention set up accurately in Max or Gmax and a single invisible polygon to allow exporting and for in game asset selection Note Correct track end attachment orientation is essential For the end attachment points the Y axis must point out at the correct angle The Z axis must point up Mid points just need to be in the correct spline path See diagram below TRS2004 released fixedtracks comprise of only curved and straight sections Crossings and junctions are created in TRS2006 using the attached track set up For crossings create two attached track fields For junctions do the same but use one of
650. void AddCommandMenultem DriverCharacter driver Menu menu 1 Train train if driver 1 train driver GetTrain if train return j StringTable strTable GetAsset GetStringTable Menu industriesMenu Constructors NewMenu GameObject industryList World GetIndustryList int i industryCount industryList size if industryCount we dont bother with a Drive To command if there are no industries return for i 0 i lt industryCount i 1 Industry industry cast lt Industry gt industryList 1 string localisedName industry GetLocalisedName string locationNames new string 0 string locationTracks new string 0 industry AppendDriverDestinations locationNames locationTracks if localisedName size if locationNames size i Menu submenu Constructors NewMenu int j for j 0 j lt locationNames size j if locationNames j and locationNames size and locationTracks j and locationTracks j size submenu AddItem locationNames j me DriveToIndustryTrack industry GetId locationTracks j else if train train Exception Error in track names of industry localisedName industriesMenu AddSubmenu localisedName gt submenu j else industriesMenu AddItem localisedName me DriveToIndustry industry GetName j industriesMenu Subdivideltems menu Add
651. wall tga clunk wav coal mine ambient wawv coal texture txt Ei coal tga coal_dump way coal_load wav E coal_mine_ambient way E coalmine gs E coalmine im e coalmine kin E config txt E crane texture txt lcrane tga 5 details html LE diesel icon tga E diesel load im E diesel load kin fuel texture txt IEjfuel tga B gurdurs qurdurs alpha textur E gurdurs gurdurs_alpha tga icon coalmine tga B pipe 04 texkure Ext EE pipe_04 tga E roof texture txt EJroof taa E sides texture txt IE sides2 tga B5 sign texture txt IE sign tga x truck idle wav truck_run wav E vehicles texture txt IE vehicles tga GX warning wav O load E coal texture txt j coal tga 3 load im E load kin O warninglight E anim kin E globe texture txt tres globe tga E warninglight im E wood n spinner texkure Ext EE wood_n_spinner taa Required Files config txt The config file for the asset thumb jpg The thumbnail image for this asset A 240x180 jpeg various tga The texture graphic files for the various textures used in the industry asset various texture txt The texture txt files for the various textures used in the industry asset usually generated when the model is exported See the section on Texture txt files on Page 96 for more information various wav The various sound files used in the industry asset icon_coalmine tga The image files used as an icon for the i
652. water valve2 att parent default kind lever water valve3 mesh water valve water valve im auto create 1 att a water valve3 att parent default kind lever water valve4 mesh water valve water valve im auto create 1 att a water valve4 att parent default kind lever water valves mesh water valve water valve im auto create 1 att a water valves att parent default kind lever blowdown kind lever mesh blowdown blowdown im auto create 1 limits 0 1 0 notches 0 1 0 notchheight 1 1 angles 0 0 01 att a blowdown att parent default mousespeed 1 0 sanding lever kind lever mesh sanding lever sanding lever im auto create 1 limits 0 1 0 notches 0 1 0 notchheight 1 1 angles 0 0 2 att a sanding lever att parent default mousespeed 1 0 whistle lever kind lever mesh whistle lever whistle lever im auto create 1 limits 0 1 0 notches 0 1 0 notchheight 1 1 angles 0 0 3 att a whistle att parent default bplocomain needle Continues next page Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 52 kind needle mesh main res needle main res needle im auto create 1 att a reservoir press red att parent default limits 0 3600 bptrainbrakepipe needle kind needle mesh trainline_needle_black trainline_ needle black im auto create 1 att a brake press black att parent default limits 0
653. wer string table cn cz de Y Y Y 4 fr if pl ru texture replacement v effect ETE LL Y v ES X RUHK s PEL IN LS PEIN LS PE TTT TTT TTS PEt TIN ty LS tt TTT Ty ed EXCITE E L I Lj oon S l1 1 b 1r Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 404 PEL TIS Ty LOL NE 5 veal FY E mr NENNEN eee oro 2 ie o ERE Pose LT I o mu TT K1089j9 jonpoJd SPENNE wort TT wea S UDjS peusjureq PELE oe dus pousjureq BEEREN mson S meson s s bhi wemon S S SS Ss EC SSeS SSM o E u a o g ps p o S 9 9 un TR NERIS IR NR cameralist S LLL S S S S S Ea a a Containers allowed categories allowed products list animation effect attached track attached trigger attachment effect attachment points effects jeonfictswithqueves v v v tt ie ie pL LL ft ee pes S S S CLAE jariversetings S SS S ms E ee extensions junction vertices kuid table mesh table name effect table obsolete pressure privileges processes soundscript steam power string table cn cz de fr if pl ru texture replacement textures throttle power thumbnails tracksound world origin 405 Version 2 0 Trainz Railroad Simulator 2006 The Content Creator s Guide Appendix C Tags and Containers This is a tabulation showing the Containers and Tags
654. wesome one Sdsmax does remove a lot of the guesswork and has the ability to create flowing seemingly natural lit scenes It might take a little extra time but the results are worth it Rendering options are not available in gmax Realtime texture example of the DD40O interior Once the pivot points have been set for all your new objects now is the time to start adding attachment points Add these through the 3dsmax create panel see image below Remember to use the a name naming convention Attachment points are simply points in 3D space where another mesh can inserted through config Attachment point creation v i T eer ela Dipl fe Cerber karku F das Tripod Cos Hox See Mim z v Constant Screen Size B Draw On Top Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 361 These attachments are exported as part of the default mesh or the main mesh Objects for attachment must not be included in the export as they are each exported from their own 3dsmax files and attached to the default mesh separately through config txt reference Save a backup of the 3dsmax file Select each object from the scene and save each one as its own 3dsmax file command panel file save selected You may delete the object from the main mesh scene after you save it sje o file you have just created of the movable objects and move the object to 0 0 0 and make the rotationa
655. witch l window wipers l switch3 l switch4 l switch5 l switch6 l switch7 l switch8 1 cabin fan light l1 window wipers light 1 light3 l light4 l Lights L light6 l light7 1 light8 thread void SlowFanDown void thread void SpeedFanUp void void Update Fan void void UpdateWipers void thread void RunAnimation void float fanSpe ed bool isFanSpeedingUp bool isFanS Attach i e a locomot Param cabin to usual lowingDown this cabin to a game object ive obj Game object to attach this ly a Locomotive void Attach GameObject obj inherited 0obj get cabin data CabinData if cd rese DD40Cab cd loco GetCabinData t the controls from saved values inData ddcd float value 0 0 ANIMATING FAN if ddcd animatingFan fanSpeed 1 0 SetMeshAnimationSpeed fan 1 StartMeshAnimationLoop fan 0 value 1 0 else value 0 0 cabin fan switch SetValue value cabin fan light SetValue value ANIMATING WIPER if ddcd animatingWiper value 1 0 SetMeshAnimationSpeed wipers 1 StartMeshAnimationLoop wipers else value 0 0 0 window wipers SetValue value window wipers light SetValue value SWITCH 3 if ddcd switchOn3 value 1 0 else value 0 0 switch3 SetValue value light3 SetValue value SWITC
656. x180 jpeg profile dat The data file containing information on the session This file is generated by Trainz and is not human readable File Listings config txt kind profile kuid lt kuid 56113 1245 gt username testProfile map kuid lt kuid 56113 1244 gt category class YS trainz build 2 5 category region AU category era 2000s description A Quick Test Profile It s best to make these via Trainz and then edit them in CCP as desired kuid table lt kuid 16 10212 gt lt kuid 16 2025 gt lt kuid 101 10110 gt lt kuid 3 10057 gt lt kuid 3 10058 gt lt kuid 3 10149 gt lt kuid 3 10209 gt lt kuid 3 10186 gt lt kuid 3 10076 gt 9 lt kuid 3 10077 gt 10 lt kuid 3 10081 gt 11 lt kuid 3 10082 gt 12 lt kuid 3 10083 gt 13 lt kuid 3 10090 gt 14 lt kuid 3 10078 gt 15 lt kuid 1 1 gt 16 lt kuid 56113 1244 gt thumbnails 0 thumb jpg image width 240 Download this asset This asset is available for download from the TRS2006 website at http files auran com TRS2006 Downloads Example Download zip Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 308 Scenery Directory Structure A typical asset of this kind has the following File Directory Structure config txt factory_3 way E ger warehouse im floor texture txt trea floor tga E front texture Ext IEjfront tga 2 glass gl
657. xture ktxt rev _bars tga is reversor im E reverser kin B reversing_lever texture txt Ereversing lever tga qu pb 15 shadow El black texture Ext EEiblack tga ix pb 15 shadaow im texture files present they can cause Trainz to crash Good practice at the end of the model development is to remove all the files except the directory structure the mesh im files and config file and re export all meshes and the correct texture files By leaving the mesh im files these can be overwritten during the export without errors being introduced by re typing the mesh names they must match the mesh names used in the config txt file LOD files There are some special mesh and text files in the main body sub directory to use LOD Level of Detail attributes to enhance frame rate in Trainz The aim in Trainz is to keep models as simple as possible reasonably sized textures lowest polycount to achieve a high frame rate minimum display time between frames Briefly Level of Detail or LOD is a technique used for asset mesh reduction Trainz uses a different mesh dependant on the viewing distance a lower quality mesh as viewing distance increases This concept is different from the previous progressive mesh pm reduction That is instead of gradually reducing the polycount of a single mesh you can now have several versions of the same asset each at different polycounts and texture levels Assets w
658. y time You can access this section separately by visiting the Auran website and following the Planet Auran link The Your Content section is divided into the following areas A UPLOAD CONTENT UNPROCESSED 4 B PREVIEW AREA Optional Step 4 WAITING AREA 1 YOUR CONTENT Upload Content You needn t utilize this section as CMP now handles the entire upload process It is recommended that you only use CMP to upload TRS2006 assets Unprocessed The unprocessed section shows the files you have uploaded which have not yet passed through the automated checking process After uploading an asset via CMP you will find it in this section Any files you upload using CMP will be packed into an upload cdp file automatically If you upload many files in one instance they will be compiled into a single file before they are processed online Files are usually processed daily and will remain in this section until they are either verified as valid or rejected If you have uploaded a file and decide that you no longer wish for it to be processed you can mark the offending upload as do not process The file will remain in this area should you change your mind and will be purged at the end of the day Preview Area The preview area acts as a temporary holding bay for previewing and testing your content before it is submitted for approval The main features of the Preview Area are as follows a Yo
659. y have any number of values depending on the type of data it stores for example a vector3 will display three separate text boxes one for each value Float list entry A float list for a tag will take a series of floating point number values putonangdarofiels 057400 1595400 remove 2003300 1551200 reme remove reme Add The list above includes a series of four floats each of which can be removed if required Additional values may be added to the list by clicking on the add button KUIDs The KUID entry is made up of three different parts The user ID the content ID and the version ID bad Fas a f KUIDs are handled internally and are unable to be edited directly Boolean Entry A Boolean entry is a simple true or false value Itis represented by a tick box epbeshes R Clicking with the Left Mouse button in the box will toggle the tick mark on or off A tick represents True or 1 Data choices Where a large list of choices is offered it is convenient for CCP to display the available selections in a combo box Open the box and select a value by clicking on that value with the Left mouse button A tick mark is shown in the box You may select multiple choices by ticking additional Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 9 boxes in the list The category region or category era are examples of multiple selection options while the
660. yProductInfo cont40ft 40ft cont q multi consumer producer false AddAssetToIndustryProductInfo gengoods gen goods c q multi consumer producer false AddAssetToIndustryProductInfo logs logs q multi consumer producer false AddAssetToIndustryProductInfo lumber Iumber q multi consumer producer false AddAssetToIndustryProductInfo woodchips woodchips_q multi consumer producer false AddaAssetToIndustryProductInfo water water q multi consumer producer false AddAssetToIndustryProductInfo avgas av in q multi consumer producer false stop animation on refinery mesh fueling doors are shut and not animated StopMeshAnimation fuelling doors SetMeshAnimationFrame fuelling doors 0 MultipleMain j public Requirement GetRequirements void 1 Requirement ret new Requirement 0 int rate 0 rate GetProcessInput multi consumer producer GetQueue 20ft cont q GetAsset FindAsset cont20ft if rate gt 0 if cont20ftQueue GetQueueCount lt 30 or cont20WBRemain gt 0 ResourceRequirement req new ResourceRequirement req resource cont20ftQueue GetProductFilter GetProducts 0 This is how many we have asked for Wait till it is fullfilled if we are not already waiting for a waybill to be completed req amount 30 if cont20ftQueue Ge
661. yProductInfo diesel diesel q multi consumer producer true false AddaAssetToIndustryProductInfo coal coal q multi consumer producer true false AddAssetToIndustryProductInfo cont20ft 20ft cont q multi consumer producer true false AddAssetToIndustryProductInfo cont40ft 40ft cont q multi consumer producer true false AddAssetToIndustryProductInfo gengoods gen goods c q multi consumer producer true false AddAssetToIndustryProductInfo logs logs q multi consumer producer true false AddaAssetToIndustryProductInfo lumber lumber q multi consumer producer true false AddAssetToIndustryProductInfo woodchips woodchips q multi consumer producer true false AddAssetToIndustryProductInfo water water q multi consumer producer true false AddAssetToIndustryProductInfo avgas av in q multi consumer producer true false AddAssetToIndustryProductInfo oil crude oil q multi consumer producer false AddAssetToIndustryProductInfo petrol petrol q multi consumer producer false AddAssetToIndustryProductInfo diesel diesel q multi consumer producer false AddaAssetToIndustryProductInfo coal coal q multi consumer producer false AddAssetToIndustryProductInfo cont20ft 20ft cont q multi consumer producer false AddAssetToIndustr
662. ygon that acts as a visible glow around the firebox opening Visibility is controlled by TRS fireglow mesh coalfire tga a Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 364 RESEARCHING DATA AND TESTING OF A STEAM LOCOMOTIVE Steam locomotives are quite complicated and many of the performance values entered as tags in the config txt file interact with and influence each other This can make it difficult to firstly choose starting values for the various input data then to vary those values during testing within Trainz to produce a smoothly operating and realistically performing locomotive Using the Steam Locomotive information in this document and entering data for the various settings the following may assist in developing a workable and realistic steam locomotive Research and Record 1 the locomotive data and convert the data to metric values the config txt is ALL in metric 2 the dimensions for the cylinders bore amp stroke 3 boiler working pressure 4 the specific locomotive hauling rating on what percentage grade for cut off and speed 5 the normal service speed with that load on the level and its practical maximum speed and 6 the water and coal consumption per hour sometimes the hardest to find Input in the Config txt file 1 piston area in sq metres 2 piston volume max in litres 3 piston volume min of the cylinder at 396 of the
663. z required the config txt file to be generated by a text editor such as Notepad and saved as UTF 8 code not ANSI This encoding option is available from the save dialogue box Programs such as MS Word that can introduce unwanted formatting including non standard quotation marks are not to be used While it is possible to generate a config txt file in this manner for TRS2006 the Content Creator Plus module will do this work for you when you enter the appropriate data This document gives details on how to create mesh and texture files the config txt file using the Content Creator Plus module and how to incorporate them into the Trainz program 5 Incorporate your asset into TRS2006 Previous versions of Trainz relied on a special directory Downloads where downloaded assets were stored When Trainz initially started it added these files to a cache Subsequently starting Trainz loaded this cache which shortened the loading time considerably Each time a new asset was installed the cache was recalculated If the Download Station Helper were used the cach was automatically recalculated after every asset install Previous versions of Trainz also used a separate Custom model directory to hold your newly created model files This directory was not included in the cache and each time Trainz started files in this directory needed to be added to the cache of downloaded and installed models If you had many models placed in this
664. ze enabled smoke3 attachment mode time color 25 25 25 220 accel 0 5 0 3 0 rate velocity lifetime minsize maxsize enabled smoke4 attachment mode time color 25 25 25 220 accel 0 5 0 3 0 rate 8 velocity 3 lifetime minsize maxsiz enabled smoke5 attachment mode time color 25 25 25 220 accel 0 5 0 3 0 rate 8 velocity 3 lifetime minsize maxsize a load_top1 a load_top2 a load_top3 enabled string table coalmine_loadbay1 coalmine_loadbay2 coalmine_loadbay3 coalmine_loadbay4 coalmine_dieselunload thumbnails 0 image width height 1 image width height 2 image width height Coal load bay 1 Coal load bay 2 Coal load bay 3 Coal load bay 4 Diesel unload bay icon coalmine tga 64 64 diesel icon tga 64 64 thumb jpg 240 180 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 256 coalmine gs include BaseIndustry gs class CoalMine isclass BaseIndustry 1 ProductQueue coalOutQueue dieselInQueue bool scriptletEnabled true bool nodiesel false bool animating false bool processing false Track if they only supply some of the logs that were requested in the waybill int diesel WBRemain 0 bool TriggerSupportsMovingLoad Vehicle vehicle string triggerName 1 if itc ISTrainCommand vehicle GetMyTrain Industry LOAD COMMAND
665. zes nominal figure volume in L mass in kg firebox volume firebox to boiler heat flow firebox efficiency boiler volume water injector rate westinghouse volume main reservoir volume cylinder volume piston volume min piston volume max piston area piston angular offsets piston to atmosphere flow safety valve low pressure safety valve low flow safety valve high pressure safety valve high flow max fire coal mass max fire temperature shovel coal mass burn rate fuel energy boiler to piston flow 1000 0 0 055 0 995 3000 0 4 0 100 50 0 50 0 1 48 68 7 0 177 0 1 0 0021 956 0 0 011 1010 0 0 2 50 0 1873 0 2 0 0 0001 100 0 0 0017 Trainz Railroad Simulator 2006 The Content Creator s Guide Version 2 0 28 DIESEL ENGINE FILE BREAKDOWN kind asset type rem and comment lines not used in tRS2006 flowsize rate of flow through pipes generally leave these settings trainbrakepipe 170000 epreservoirpipe 0 1 no3pipe 0 1 no4pipe 0 1 auxreservoirvent 0 1 auxreservoir_no3 0 1 auxreservoir_trainbrakepipe 0 1 autobrakecylindervent 0 1 auxreservoir_autobrakecylinder 0 1 equaliser_mainreservoir 0 06 equaliservent 0 06 equaliserventhandleoff 0 1 equaliserventemergency 0 1 no3pipevent 1 5 no3pipe mainreservoir 0 1 compressor 10 trainbrakepipe reservoir 1 trainbrakepipevent 0 06 no3pipe autobrakecylinder 0 1 epreservoirpipe autobrakecylinder O 1 mainreservoir ep 0
Download Pdf Manuals
Related Search
Related Contents
AMX NXA-PDU-1508-8 StillClean User`s Manual Wireless 3641/3645 IP-Telefon- und Zubehör Système Alarme GSM APPEL MOBILE Avis urgent de sécurité d`un appareil médical USER MANUAL 取扱説明書 取扱説明書 Samsung T23A750 Felhasználói kézikönyv Brûleur gaz à air soufflé Gasventilatorbrander Copyright © All rights reserved.
Failed to retrieve file