CCG/Example: Engine (Diesel)
From TrainzOnline
< CCG(Difference between revisions)
(New page: ==Engine (Diesel)== ===Directory Structure=== A typical asset of this kind has the following File\Directory Structure: Image:CCG_engine_dir.jpg ===Required Files=== '''config.txt...) |
|||
Line 15: | Line 15: | ||
===Config.txt File Listing=== | ===Config.txt File Listing=== | ||
− | kuid | + | kuid <kuid:56113:1230> |
− | trainz-build | + | trainz-build 2.5 |
− | category-class | + | category-class "ZE" |
− | category-region | + | category-region "ES" |
− | category-era | + | category-era "2000s;2010s" |
− | username | + | username "testEngine (Diesel)" |
− | kind | + | kind "engine" |
− | description | + | description "Test EngineSpec." |
flowsize | 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 5 | |
− | + | 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 | 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 2 | |
− | + | equaliser 0.5 | |
− | + | independantbrakecylinder 0.0103239 | |
} | } | ||
pressure | pressure | ||
{ | { | ||
− | + | scale 1 | |
− | + | compressor 0.011248 | |
− | + | mainreservoir 0.0081548 | |
− | + | highspeedexhauster 0 | |
− | + | brakepipe 0.00736041 | |
− | + | brakeinitial 0.00665741 | |
− | + | brakefull 0.00553261 | |
− | + | indbrakefull 0.00553261 | |
− | + | trainbrakepipe_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 | mass | ||
{ | { | ||
− | + | scale 1 | |
− | + | fuel 6.2156e+006 | |
} | } | ||
motor | motor | ||
{ | { | ||
− | + | resistance 1 | |
− | + | adhesion 5 | |
− | + | maxvoltage 600 | |
− | + | maxspeed 33.33 | |
− | + | brakeratio 55000 | |
− | + | max-accel 3000 | |
− | + | max-decel 8500 | |
− | + | throttle-notches 32 | |
− | + | axle-count 4 | |
− | + | surface-area 150 | |
− | + | moving-friction-coefficient 0.03 | |
− | + | air-drag-coefficient 0.0025 | |
} | } | ||
Line 122: | Line 122: | ||
0 | 0 | ||
{ | { | ||
− | 0 | + | 0 0 |
} | } | ||
1 | 1 | ||
{ | { | ||
− | 0 | + | 0 30 |
− | 5 | + | 5 25 |
− | 10 | + | 10 15 |
− | 12 | + | 12 0 |
} | } | ||
2 | 2 | ||
{ | { | ||
− | 0 | + | 0 55 |
− | 5 | + | 5 48 |
− | 10 | + | 10 40 |
− | 15 | + | 15 30 |
− | 30 | + | 30 0 |
} | } | ||
3 | 3 | ||
{ | { | ||
− | 0 | + | 0 90 |
− | 5 | + | 5 60 |
− | 10 | + | 10 45 |
− | 15 | + | 15 40 |
− | 30 | + | 30 0 |
} | } | ||
4 | 4 | ||
{ | { | ||
− | 2 | + | 2 120 |
− | 5 | + | 5 70 |
− | 10 | + | 10 60 |
− | 15 | + | 15 55 |
− | 30 | + | 30 0 |
} | } | ||
5 | 5 | ||
{ | { | ||
− | 0 | + | 0 180 |
− | 5 | + | 5 140 |
− | 10 | + | 10 70 |
− | 15 | + | 15 55 |
− | 30 | + | 30 0 |
} | } | ||
6 | 6 | ||
{ | { | ||
− | 0 | + | 0 220 |
− | 5 | + | 5 170 |
− | 10 | + | 10 110 |
− | 15 | + | 15 80 |
− | 30 | + | 30 0 |
} | } | ||
7 | 7 | ||
{ | { | ||
− | 0 | + | 0 230 |
− | 5 | + | 5 220 |
− | 10 | + | 10 200 |
− | 15 | + | 15 100 |
− | 30 | + | 30 0 |
} | } | ||
8 | 8 | ||
{ | { | ||
− | 0 | + | 0 250 |
− | 3 | + | 3 200 |
− | 5 | + | 5 160 |
− | 10 | + | 10 130 |
− | 15 | + | 15 100 |
− | 30 | + | 30 90 |
− | 32 | + | 32 60 |
− | 34 | + | 34 0 |
} | } | ||
} | } | ||
Line 196: | Line 196: | ||
0 | 0 | ||
{ | { | ||
− | 0 | + | 0 0 |
} | } | ||
1 | 1 | ||
{ | { | ||
− | 1.333 | + | 1.333 0 |
− | 2 | + | 2 30 |
− | 5 | + | 5 25 |
− | 10 | + | 10 15 |
− | 12 | + | 12 0 |
} | } | ||
2 | 2 | ||
{ | { | ||
− | 1.333 | + | 1.333 0 |
− | 3 | + | 3 50 |
− | 10 | + | 10 35 |
− | 14 | + | 14 20 |
− | 15 | + | 15 0 |
} | } | ||
3 | 3 | ||
{ | { | ||
− | 1.333 | + | 1.333 0 |
− | 3 | + | 3 60 |
− | 10 | + | 10 40 |
− | 17 | + | 17 20 |
− | 22 | + | 22 0 |
} | } | ||
4 | 4 | ||
{ | { | ||
− | 1.333 | + | 1.333 0 |
− | 4 | + | 4 80 |
− | 10 | + | 10 60 |
− | 20 | + | 20 20 |
− | 25 | + | 25 0 |
} | } | ||
5 | 5 | ||
{ | { | ||
− | 1.333 | + | 1.333 0 |
− | 5 | + | 5 90 |
− | 10 | + | 10 70 |
− | 25 | + | 25 25 |
− | 29 | + | 29 0 |
} | } | ||
6 | 6 | ||
{ | { | ||
− | 1.333 | + | 1.333 0 |
− | 5 | + | 5 150 |
− | 10 | + | 10 80 |
− | 29 | + | 29 70 |
− | 32 | + | 32 0 |
} | } | ||
7 | 7 | ||
{ | { | ||
− | 1.333 | + | 1.333 0 |
− | 5 | + | 5 150 |
− | 10 | + | 10 100 |
− | 32 | + | 32 60 |
− | 36 | + | 36 0 |
} | } | ||
8 | 8 | ||
{ | { | ||
− | 1.33 | + | 1.33 0 |
− | 5 | + | 5 150 |
− | 10 | + | 10 100 |
− | 36 | + | 36 50 |
− | 40 | + | 40 0 |
} | } | ||
} | } | ||
Line 268: | Line 268: | ||
0 | 0 | ||
{ | { | ||
− | image | + | image "thumb.jpg" |
− | width | + | width 240 |
− | height | + | height 180 |
} | } | ||
} | } |
Latest revision as of 11:15, 9 June 2011
Contents |
[edit] Engine (Diesel)
[edit] Directory Structure
A typical asset of this kind has the following File\Directory Structure:
[edit] Required Files
config.txt - The config file for the asset.
thumb.jpg - The thumbnail image for this asset. A 240x180 jpeg.
[edit] Config.txt File Listing
kuid <kuid:56113:1230> trainz-build 2.5 category-class "ZE" category-region "ES" category-era "2000s;2010s" username "testEngine (Diesel)" kind "engine" description "Test EngineSpec." 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 5 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 2 equaliser 0.5 independantbrakecylinder 0.0103239 } pressure { scale 1 compressor 0.011248 mainreservoir 0.0081548 highspeedexhauster 0 brakepipe 0.00736041 brakeinitial 0.00665741 brakefull 0.00553261 indbrakefull 0.00553261 trainbrakepipe_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 adhesion 5 maxvoltage 600 maxspeed 33.33 brakeratio 55000 max-accel 3000 max-decel 8500 throttle-notches 32 axle-count 4 surface-area 150 moving-friction-coefficient 0.03 air-drag-coefficient 0.0025 } throttle-power { 0 { 0 0 } 1 { 0 30 5 25 10 15 12 0 } 2 { 0 55 5 48 10 40 15 30 30 0 } 3 { 0 90 5 60 10 45 15 40 30 0 } 4 { 2 120 5 70 10 60 15 55 30 0 } 5 { 0 180 5 140 10 70 15 55 30 0 } 6 { 0 220 5 170 10 110 15 80 30 0 } 7 { 0 230 5 220 10 200 15 100 30 0 } 8 { 0 250 3 200 5 160 10 130 15 100 30 90 32 60 34 0 } } dynamic-brake { 0 { 0 0 } 1 { 1.333 0 2 30 5 25 10 15 12 0 } 2 { 1.333 0 3 50 10 35 14 20 15 0 } 3 { 1.333 0 3 60 10 40 17 20 22 0 } 4 { 1.333 0 4 80 10 60 20 20 25 0 } 5 { 1.333 0 5 90 10 70 25 25 29 0 } 6 { 1.333 0 5 150 10 80 29 70 32 0 } 7 { 1.333 0 5 150 10 100 32 60 36 0 } 8 { 1.33 0 5 150 10 100 36 50 40 0 } } thumbnails { 0 { image "thumb.jpg" width 240 height 180 } }
[edit] Download this asset
This asset is available for download from the TRS2006 website at:
http://files.auran.com/TRS2006/Downloads/Example_Download.zip