]> git.tdb.fi Git - r2c2.git/blob - locos.dat
Simplify some interfaces by using track and block iterators
[r2c2.git] / locos.dat
1 scale 1 87;
2 gauge 16.5;
3
4 vehicle 39230
5 {
6         name "BR 23";
7         locomotive true;
8         function 0 "light";
9         function 1 "smke";
10         function 2 "sfx";
11         function 3 "whst";
12
13         length 154;
14         width 38;
15         height 53;
16
17         object "br23-body.object";
18
19         bogie
20         {
21                 position 33;
22                 axle { position 22; wheel_diameter 11; };
23         };
24         axle { position 20; wheel_diameter 20; powered true; };
25         axle { position -3; wheel_diameter 20; powered true; };
26         axle { position -26; wheel_diameter 20; powered true; };
27         bogie
28         {
29                 position -38;
30                 axle { position -22; wheel_diameter 14; };
31         };
32 };
33
34 vehicle \29820-02
35 {
36         name "BR 50";
37         locomotive true;
38         function 0 "light";
39         function 1 "smke";
40         function 2 "telex";
41         function 3 "sfx";
42         function 5 "whst";
43
44         length 160;
45         width 37;
46         height 50.5;
47
48         object "br50-body.object";
49
50         bogie
51         {
52                 position 37;
53                 object "br50-bogie-front.object";
54                 axle { position 24; wheel_diameter 9; object "br50-axle-front.object"; };
55         };
56         axle { position 29; wheel_diameter 16; powered true; object "br50-axle.object"; };
57         axle { position 9.5; wheel_diameter 16; powered true; object "br50-axle.object"; };
58         axle { position -10; wheel_diameter 16; powered true; object "br50-axle-mid.object"; };
59         axle { position -29.5; wheel_diameter 16; powered true; object "br50-axle.object"; };
60         axle { position -49; wheel_diameter 16; powered true; object "br50-axle.object"; };
61
62         rod
63         {
64                 pivot_axle 2;
65                 position 0 -10.5 -3.5;
66                 limit FIXED;
67                 object "br50-rod-coupling.object";
68         };
69         rod
70         {
71                 pivot_body;
72                 position 27 -14 8;
73                 limit SLIDE_X;
74                 tag "piston";
75                 object "br50-rod-piston.object";
76         };
77         rod
78         {
79                 pivot_axle 2;
80                 position 0 -13 -3.5;
81                 limit ROTATE;
82                 connect "previous" 37.5 0 0 0;
83                 object "br50-rod-main.object";
84         };
85         rod
86         {
87                 pivot_axle 2;
88                 position 1.5 -15 0;
89                 limit ROTATE;
90                 object "br50-rod-eccentric.object";
91         };
92         rod
93         {
94                 pivot_body;
95                 position 10.5 -14.5 16.5;
96                 limit ROTATE;
97                 connect "previous" 0 -4.5 21 0;
98                 tag "link";
99                 object "br50-rod-link.object";
100         };
101         rod
102         {
103                 pivot_body;
104                 position 32 -16 15.5;
105                 limit SLIDE_X;
106                 object "br50-rod-valve.object";
107         };
108         rod
109         {
110                 pivot_rod "link";
111                 position 0.2 -0.5 -2.5;
112                 limit ROTATE;
113                 connect "previous" 22 -1.5 0 0;
114                 object "br50-rod-radius.object";
115         };
116         rod
117         {
118                 pivot_rod "previous";
119                 position 22 -0.5 0;
120                 limit ROTATE;
121                 object "br50-rod-combination.object";
122         };
123         rod
124         {
125                 pivot_rod "piston";
126                 position 0 -1.5 -2;
127                 limit ROTATE;
128                 connect "previous" 5.5 0 0 -11.5;
129                 object "br50-rod-union.object";
130         };
131
132         rod
133         {
134                 pivot_axle 2;
135                 position 3.5 10.5 0;
136                 limit FIXED;
137                 object "br50-rod-coupling.object";
138                 mirror_object true;
139         };
140         rod
141         {
142                 pivot_body;
143                 position 27 14 8;
144                 limit SLIDE_X;
145                 tag "piston";
146                 object "br50-rod-piston.object";
147                 mirror_object true;
148         };
149         rod
150         {
151                 pivot_axle 2;
152                 position 3.5 13 0;
153                 limit ROTATE;
154                 connect "previous" 37.5 0 0 0;
155                 object "br50-rod-main.object";
156                 mirror_object true;
157         };
158         rod
159         {
160                 pivot_axle 2;
161                 position 0 15 1.5;
162                 limit ROTATE;
163                 object "br50-rod-eccentric.object";
164                 mirror_object true;
165         };
166         rod
167         {
168                 pivot_body;
169                 position 10.5 14.5 16.5;
170                 limit ROTATE;
171                 connect "previous" 0 -4.5 21 0;
172                 tag "link";
173                 object "br50-rod-link.object";
174                 mirror_object true;
175         };
176         rod
177         {
178                 pivot_body;
179                 position 32 16 15.5;
180                 limit SLIDE_X;
181                 object "br50-rod-valve.object";
182                 mirror_object true;
183         };
184         rod
185         {
186                 pivot_rod "link";
187                 position 0.2 0.5 -2.5;
188                 limit ROTATE;
189                 connect "previous" 22 -1.5 0 0;
190                 object "br50-rod-radius.object";
191                 mirror_object true;
192         };
193         rod
194         {
195                 pivot_rod "previous";
196                 position 22 0.5 0;
197                 limit ROTATE;
198                 object "br50-rod-combination.object";
199                 mirror_object true;
200         };
201         rod
202         {
203                 pivot_rod "piston";
204                 position 0 1.5 -2;
205                 limit ROTATE;
206                 connect "previous" 5.5 0 0 -11.5;
207                 object "br50-rod-union.object";
208                 mirror_object true;
209         };
210 };
211
212 vehicle \29530-01
213 {
214         name "BR 86";
215         locomotive true;
216         function 0 "light";
217         function 2 "telex";
218
219         length 144;
220         width 33;
221         height 33;
222
223         object "br86-body.object";
224
225         bogie
226         {
227                 position 36;
228                 axle { position 23; wheel_diameter 9; };
229         };
230         axle { position 29; wheel_diameter 16; powered true; };
231         axle { position 9.67; wheel_diameter 16; powered true; };
232         axle { position -9.67; wheel_diameter 16; powered true; };
233         axle { position -29; wheel_diameter 16; powered true; };
234         bogie
235         {
236                 position -36;
237                 axle { position -23; wheel_diameter 9; };
238         };
239 };
240
241 vehicle 36850
242 {
243         name "BR 185";
244         locomotive true;
245         function 0 "light";
246
247         length 218;
248         width 34;
249         height 43;
250
251         object "br185-body.object";
252
253         bogie
254         {
255                 position 60;
256                 object "br185-bogie.object";
257                 axle { position  15; wheel_diameter 14; powered true; object "br185-axle.object"; };
258                 axle { position -15; wheel_diameter 14; powered true; object "br185-axle.object"; };
259         };
260         bogie
261         {
262                 position -60;
263                 object "br185-bogie.object";
264                 axle { position  15; wheel_diameter 14; powered true; object "br185-axle.object"; };
265                 axle { position -15; wheel_diameter 14; powered true; object "br185-axle.object"; };
266         };
267 };
268
269 vehicle \37225-02
270 {
271         name "BR 194";
272         locomotive true;
273         function 0 "light";
274
275         length 212;
276         width 34;
277         height 45;
278
279         object "br194-body.object";
280
281         bogie
282         {
283                 position 45;
284                 object "br194-bogie.object";
285                 // Note: front bogie not powered in model
286                 axle { position 34; wheel_diameter 14; powered true; };
287                 axle { position 6; wheel_diameter 14; powered true; };
288                 axle { position -19; wheel_diameter 14; powered true; };
289         };
290         bogie
291         {
292                 position -45;
293                 object "br194-bogie.object";
294                 rotate_object true;
295                 axle { position 19; wheel_diameter 14; powered true; };
296                 axle { position -6; wheel_diameter 14; powered true; };
297                 axle { position -34; wheel_diameter 14; powered true; };
298         };
299 };
300
301 vehicle 39410
302 {
303         name "BR E 41";
304         locomotive true;
305         function 0 "light";
306         function 3 "sfx";
307         function 5 "whstl";
308
309         length 180;
310         width 35;
311         height 44;
312
313         object "bre41-body.object";
314
315         bogie
316         {
317                 position 42;
318                 object "bre41-bogie.object";
319                 axle { position  18.5; wheel_diameter 14; powered true; object "bre41-axle.object"; };
320                 axle { position -18.5; wheel_diameter 14; powered true; object "bre41-axle.object"; };
321         };
322         bogie
323         {
324                 position -42;
325                 object "bre41-bogie.object";
326                 rotate_object true;
327                 axle { position  18.5; wheel_diameter 14; powered true; object "bre41-axle.object"; };
328                 axle { position -18.5; wheel_diameter 14; powered true; object "bre41-axle.object"; };
329         };
330 };
331
332 vehicle \37574-01
333 {
334         name "BR E 03";
335         locomotive true;
336         function 0 "light";
337         function 2 "sfx";
338         function 3 "whstl";
339         swap_direction true;
340
341         length 219;
342         width 35;
343         height 49;
344
345         // XXX Create proper 3D model for this
346         object "br185-body.object";
347
348         bogie
349         {
350                 position 62;
351                 axle { position 17; wheel_diameter 14; powered true; };
352                 axle { position -8.5; wheel_diameter 14; powered true; };
353                 axle { position -34; wheel_diameter 14; powered true; };
354         };
355
356         bogie
357         {
358                 position -62;
359                 axle { position 34; wheel_diameter 14; powered true; };
360                 axle { position 8.5; wheel_diameter 14; powered true; };
361                 axle { position -17; wheel_diameter 14; powered true; };
362         };
363 };
364
365 vehicle \37504
366 {
367         // XXX The power car is really in the middle, but that configuration isn't supported yet
368         name "BR 420 S-bahn";
369         locomotive true;
370         function 0 "light";
371         function 1 "intlt";
372         function 2 "sfx";
373         function 3 "whstl";
374
375         length 268;
376         width 33;
377         height 44;
378
379         object "br420-body.object";
380
381         bogie
382         {
383                 position 94;
384                 object "br420-bogie.object";
385                 axle { position 14.5; wheel_diameter 10; object "br420-axle.object"; };
386                 axle { position -14.5; wheel_diameter 10; object "br420-axle.object"; };
387         };
388         bogie
389         {
390                 position -96;
391                 object "br420-bogie.object";
392                 rotate_object true;
393                 axle { position 14.5; wheel_diameter 10; object "br420-axle.object"; };
394                 axle { position -14.5; wheel_diameter 10; object "br420-axle.object"; };
395         };
396 };