]> git.tdb.fi Git - r2c2.git/blob - tracks.dat
Allow custom objects for tracks
[r2c2.git] / tracks.dat
1 /* $Id$ */
2
3 scale 1 87;
4 gauge 16.5;
5 rail_profile
6 {
7         point 1.5 0.0;
8         smooth_point 1.5 0.3;
9         smooth_point 0.8 0.4;
10         smooth_point 0.8 1.4;
11         smooth_point 1.0 1.6;
12         smooth_point 1.0 2.1;
13         smooth_point 0.8 2.3;
14         smooth_point 0.2 2.3;
15         smooth_point 0.0 2.1;
16         smooth_point 0.0 1.6;
17         smooth_point 0.2 1.4;
18         smooth_point 0.2 0.4;
19         smooth_point -0.5 0.3;
20         point -0.5 0.0;
21 };
22 ballast_profile
23 {
24         point 20.0 0.0;
25         point 14.0 8.0;
26         point -14.0 8.0;
27         point -20.0 0.0;
28 };
29
30 track_technique "track.technique";
31
32 // Straight
33
34 track 24064
35 {
36         description "Straight, 64.3mm (R3-R4-R5)";
37         part
38         {
39                 length 64.3;
40         };
41 };
42
43 track 24071
44 {
45         description "Straight, 70.8mm (for slim turnouts)";
46         part
47         {
48                 length 70.8;
49         };
50         autofit_preference 0;
51 };
52
53 track 24077
54 {
55         description "Straight, 77.5mm (R1-R2-R3)";
56         part
57         {
58                 length 77.5;
59         };
60         autofit_preference 2;
61 };
62
63 track 24094
64 {
65         description "Straight, 94.2mm";
66         part
67         {
68                 length 94.2;
69         };
70         autofit_preference 2;
71 };
72
73 track 24172
74 {
75         description "Straight, 171.7mm";
76         part
77         {
78                 length 171.7;
79         };
80         autofit_preference 2;
81 };
82
83 track 24188
84 {
85         description "Straight, 188.3mm (turnout length)";
86         part
87         {
88                 length 188.3;
89         };
90         autofit_preference 2;
91 };
92
93 track 24229
94 {
95         description "Straight, 229.3mm";
96         part
97         {
98                 length 229.3;
99         };
100 };
101
102 track 24236
103 {
104         description "Straight, 236.1mm (slim turnout length)";
105         part
106         {
107                 length 236.1;
108         };
109 };
110
111 // Curves, R1
112
113 track 24107
114 {
115         description "Curve, R1 = 360mm, 7.5°";
116         part
117         {
118                 length 7.5;
119                 radius 360;
120         };
121 };
122
123 track 24115
124 {
125         description "Curve, R1 = 360mm, 15°";
126         part
127         {
128                 length 15;
129                 radius 360;
130         };
131 };
132
133 track 24130
134 {
135         description "Curve, R1 = 360mm, 30°";
136         part
137         {
138                 length 30;
139                 radius 360;
140         };
141 };
142
143 // Curves, R2
144
145 track 24206
146 {
147         description "Curve, R2 = 437.5mm, 5.7° (turnout to 30°)";
148         part
149         {
150                 length 5.7;
151                 radius 437.5;
152         };
153 };
154
155 track 24207
156 {
157         description "Curve, R2 = 437.5mm, 7.5°";
158         part
159         {
160                 length 7.5;
161                 radius 437.5;
162         };
163 };
164
165 track 24215
166 {
167         description "Curve, R2 = 437.5mm, 15°";
168         part
169         {
170                 length 15;
171                 radius 437.5;
172         };
173 };
174
175 track 24224
176 {
177         description "Curve, R2 = 437.5mm, 24.3° (turnout)";
178         part
179         {
180                 length 24.3;
181                 radius 437.5;
182         };
183 };
184
185 track 24230
186 {
187         description "Curve, R2 = 437.5mm, 30°";
188         part
189         {
190                 length 30;
191                 radius 437.5;
192         };
193 };
194
195 // Curves, R3
196
197 track 24330
198 {
199         description "Curve, R3 = 515mm, 30°";
200         part
201         {
202                 length 30;
203                 radius 515;
204         };
205 };
206
207 // Curves, R4
208
209 track 24430
210 {
211         description "Curve, R4 = 579.3mm, 30°";
212         part
213         {
214                 length 30;
215                 radius 579.3;
216         };
217 };
218
219 // Curves, R5
220
221 track 24530
222 {
223         description "Curve, R5 = 643.6mm, 30°";
224         part
225         {
226                 length 30;
227                 radius 643.6;
228         };
229 };
230
231 // Curves, slim turnout
232
233 track 24912
234 {
235         description "Curve, R = 1114.6mm, 12.1° (slim turnout)";
236         part
237         {
238                 length 12.1;
239                 radius 1114.6;
240         };
241 };
242
243 // Curved turnouts, R1
244
245 track 24671
246 {
247         description "Curved turnout, left";
248         part
249         {
250                 length 77.5;
251                 path 0;
252         };
253         part
254         {
255                 start 77.5 0 0;
256                 length 30;
257                 radius 360;
258                 path 0;
259         };
260         part
261         {
262                 length 30;
263                 radius 360;
264                 path 1;
265         };
266 };
267
268 track 24672
269 {
270         description "Curved turnout, right";
271         part
272         {
273                 length 77.5;
274                 path 0;
275         };
276         part
277         {
278                 start 77.5 0 0;
279                 length 30;
280                 radius -360;
281                 path 0;
282         };
283         part
284         {
285                 length 30;
286                 radius -360;
287                 path 1;
288         };
289 };
290
291 // Turnouts, R2
292
293 track 24611
294 {
295         description "Turnout, left";
296         part
297         {
298                 length 188.3;
299                 path 0;
300         };
301         part
302         {
303                 length 24.3;
304                 radius 437.5;
305                 path 1;
306         };
307 };
308
309 track 24612
310 {
311         description "Turnout, right";
312         part
313         {
314                 length 188.3;
315                 path 0;
316         };
317         part
318         {
319                 length 24.3;
320                 radius -437.5;
321                 path 1;
322         };
323 };
324
325 track 24630
326 {
327         description "Turnout, 3-way";
328         part
329         {
330                 length 188.3;
331                 path 0;
332         };
333         part
334         {
335                 length 24.3;
336                 radius 437.5;
337                 path 2;
338         };
339         part
340         {
341                 length 24.3;
342                 radius -437.5;
343                 path 1;
344         };
345 };
346
347 track 24624
348 {
349         description "Turnout, double slip";
350         state_bits 1;
351         part
352         {
353                 length 188.3;
354                 path 0;
355         };
356         part
357         {
358                 length 24.3;
359                 radius -437.5;
360                 path 1;
361         };
362         part
363         {
364                 start 8.34 38.74 -24.3;
365                 length 188.3;
366                 path 2;
367         };
368         part
369         {
370                 start 8.34 38.74 -24.3;
371                 length 24.3;
372                 radius 437.5;
373                 path 3;
374         };
375 };
376
377 // Slim turnouts
378
379 track 24711
380 {
381         description "Slim turnout, left";
382         part
383         {
384                 length 236.1;
385                 path 0;
386         };
387         part
388         {
389                 length 12.1;
390                 radius 1114.6;
391                 path 1;
392         };
393 };
394
395 track 24712
396 {
397         description "Slim turnout, right";
398         part
399         {
400                 length 236.1;
401                 path 0;
402         };
403         part
404         {
405                 length 12.1;
406                 radius -1114.6;
407                 path 1;
408         };
409 };
410
411 // Crossings
412
413 track 24640
414 {
415         description "Crossing, 24.3°";
416         part
417         {
418                 length 188.3;
419         };
420         part
421         {
422                 start 8.34 38.74 -24.3;
423                 length 188.3;
424         };
425 };
426
427 track 24649
428 {
429         description "Crossing, 48.6°";
430         part
431         {
432                 length 103.3;
433         };
434         part
435         {
436                 start 17.49 38.74 -48.6;
437                 length 103.3;
438         };
439 };
440
441 track 24740
442 {
443         description "Slim crossing, 12.1°";
444         part
445         {
446                 length 236.1;
447         };
448         part
449         {
450                 start 2.62 24.75 -12.1;
451                 length 236.1;
452         };
453 };
454
455 // Specials
456
457 track 24977
458 {
459         description "Bumper";
460         object "bumper.object";
461         part
462         {
463                 length 77.5;
464                 dead_end true;
465         };
466 };
467
468 // Layout for selecting tracks
469
470 layout
471 {
472         track 24115
473         {
474                 position 0.0806517 0.139002 0;
475                 rotation 2.22529;
476         };
477         track 24612
478         {
479                 position -0.310086 -0.38055 0;
480                 rotation 1.5708;
481         };
482         track 24172
483         {
484                 position -0.232565 -0.0797749 0;
485                 rotation 1.5708;
486         };
487         track 24611
488         {
489                 position -0.387608 -0.380475 0;
490                 rotation 1.5708;
491         };
492         track 24130
493         {
494                 position 0.155044 -0.08015 0;
495                 rotation 1.5708;
496         };
497         track 24230
498         {
499                 position 0.232566 -0.0802249 0;
500                 rotation 1.5708;
501         };
502         track 24107
503         {
504                 position -0.0249545 0.231617 0;
505                 rotation 2.61799;
506         };
507         track 24224
508         {
509                 position -0.465131 -0.38055 0;
510                 rotation 1.5708;
511         };
512         track 24330
513         {
514                 position 0.310088 -0.0803 0;
515                 rotation 1.5708;
516         };
517         track 24215
518         {
519                 position 0.142158 0.186105 0;
520                 rotation 2.2253;
521         };
522         track 24207
523         {
524                 position 0.0138165 0.298658 0;
525                 rotation 2.61799;
526         };
527         track 24711
528         {
529                 position 0.374455 -0.381008 0;
530                 rotation 1.5708;
531         };
532         track 24530
533         {
534                 position 0.438821 -0.0809179 0;
535                 rotation 1.5708;
536         };
537         track 24430
538         {
539                 position 0.374455 -0.080609 0;
540                 rotation 1.5708;
541         };
542         track 24630
543         {
544                 position -0.19005 -0.380551 0;
545                 rotation 1.5708;
546         };
547         track 24712
548         {
549                 position 0.438821 -0.381316 0;
550                 rotation 1.5708;
551         };
552         track 24624
553         {
554                 position -0.0775215 -0.380625 0;
555                 rotation 1.5708;
556         };
557         track 24640
558         {
559                 position -0.232565 0.185972 0;
560                 rotation 1.5708;
561         };
562         track 24671
563         {
564                 position 0.0775225 -0.380624 0;
565                 rotation 1.5708;
566         };
567         track 24977
568         {
569                 position -0.465131 0.186196 0;
570                 rotation 1.5708;
571         };
572         track 24672
573         {
574                 position 0.155044 -0.380699 0;
575                 rotation 1.5708;
576         };
577         track 24649
578         {
579                 position -0.348827 0.194312 0;
580                 rotation 1.99491;
581         };
582         track 24064
583         {
584                 position 0.0775223 -0.080075 0;
585                 rotation 1.5708;
586         };
587         track 24077
588         {
589                 position -0.0775215 -0.079925 0;
590                 rotation 1.5708;
591         };
592         track 24229
593         {
594                 position -0.387609 -0.079626 0;
595                 rotation 1.5708;
596         };
597         track 24071
598         {
599                 position 2.56295e-07 -0.0799999 0;
600                 rotation 1.5708;
601         };
602         track 24094
603         {
604                 position -0.155042 -0.07985 0;
605                 rotation 1.5708;
606         };
607         track 24188
608         {
609                 position -0.310087 -0.0797 0;
610                 rotation 1.5708;
611         };
612         track 24236
613         {
614                 position -0.465131 -0.0795509 0;
615                 rotation 1.5708;
616         };
617         track 24912
618         {
619                 position 0.310088 -0.380699 0;
620                 rotation 1.5708;
621         };
622         track 24206
623         {
624                 position -0.446223 -0.161726 0;
625                 rotation 2.0944;
626         };
627         track 24740
628         {
629                 position -0.112537 0.138174 0;
630                 rotation 1.5708;
631         };
632 };