CCG/Example: Engine (Electric)

From TrainzOnline
< CCG
Jump to: navigation, search

Contents

Engine (Electric)

Directory Structure

A typical asset of this kind has the following File\Directory Structure:

CCG engine dir.jpg


Required Files

config.txt - The config file for the asset.

thumb.jpg - The thumbnail image for this asset. A 240x180 jpeg.


Config.txt File Listing

kuid                                    <kuid:56113:1234>
trainz-build                            2.5
category-class                          "ZE"
category-region                         "CZ"
category-era                            "1980s;1990s;2000s;2010s"
username                                "testEngine (Electric)"
kind                                    "engine"
description                             "Test electric engine asset. Based on the TGV."
  
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.011248
  mainreservoir                         0.0081548
  highspeedexhauster                    0
  brakepipe                             0.00609501
  brakeinitial                          0.00560291
  brakefull                             0.00447811
  indbrakefull                          0.00447811
  trainbrakepipe_start                  0.00447811
  epreservoirpipe_start                 0
  no3pipe_start                         0
  no4pipe_start                         0
  auxreservoir_start                    0.00447811
  autobrakecylinder_start               0.00507566
  vacuumbrakepipe_start                 0
  vacuumbrakereservoir_start            0
  vacuumbrakecylinder_start             0
  mainreservoir_start                   0.00876641
  equaliser_start                       0.00447811
  independantbrakecylinder_start        0.00507566
}
   
mass
{
  scale                                 1
  fuel                                  6.2156e+006
}
  
motor
{
  resistance                            1
  adhesion                              3
  maxvoltage                            600
  maxspeed                              90
  brakeratio                            50000
  max-accel                             12500
  max-decel                             175000
  throttle-notches                      32
  axle-count                            4
  surface-area                          80
  moving-friction-coefficient           0.03
  air-drag-coefficient                  0.00017
}
  
throttle-power
{
  0
    {
      0                                 0
    }
  1
    {
      0                                 20
      1.5                               16
      3                                 10
      10                                1
    }
  2
    {
       0                                40
       1.5                              28
       3                                20
       5                                10
       10                               1
    }
  3
    {
       0                                52
       1.5                              36
       3                                30
       10                               20
       18                               10
       25                               1
    }
  4
    {
       0                                92
       1.5                              76
       3                                58
       5                                50
       15                               40
       30                               24
       40                               1
    }
  5
    {
       0                                132
       1.5                              116
       3                                98
       15                               92
       40                               60
       50                               30
       60                               1
    }
  6
    {
       0                                172
       1.5                              156
       3                                136
       50                               106
       60                               52
       70                               36
       80                               1
    }
  7
    {
       0                                160
       1.5                              150
       30                               140
       50                               130
       70                               70
       80                               50
       90                               1
    }
  8
    {
       0                                160
       1.5                              140
       5                                134
       8                                120
       50                               114
       60                               110
       70                               100
       90                               0
    )
} 
   
dynamic-brake
{
  0
    {
      0                                 0
    }
  1
    {
      0                                 100
      5                                 75
      10                                30
      30                                0
    }
  2
    {
      0                                 150
      5                                 120
      10                                110
      25                                90
      35                                50
    }
  3
    {
      0                                 200
      5                                 180
      10                                150
      25                                110
      50                                60
    }
  4
    {
      0                                 270
      3.5                               230
      5                                 190
      10                                150
      40                                110
      70                                60
    }
  5
    {
      0                                 350
      3.5                               320
      5                                 270
      10                                190
      40                                150
      70                                80
    }
  6
    {
      0                                 400
      10                                360
      15                                300
      30                                220
      60                                100
      90                                80
    }
  7
    {
      0                                 500
      10                                470
      15                                420
      30                                360
      60                                250
      90                                130
      105                               80
    }
  8
    {
      0                                 600
      10                                550
      15                                460
      30                                350
      60                                220
      90                                100
      105                               90
      135                               20
    }
}
   
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


Return to CCG Index

Content Creator's Guide

Kind Examples

Personal tools