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