]> Dogcows Code - chaz/yoink/blob - data/scenes/Test.xml
now using cml for vectors and math stuff
[chaz/yoink] / data / scenes / Test.xml
1 <?xml version="1.0" standalone="yes"?>
2 <scene name="Test" playfield_bounds="0 0 -100 1280 500 100"
3 maximum_bounds="-800 0 -300 2400 1000 600">
4
5 <!-- Left end tower block -->
6
7 <!-- Front -->
8
9 <reset_transform/>
10 <translate>-5 0 5</translate>
11 <scale>32</scale>
12
13 <texture>TowerBlock1</texture>
14 <tilemap width="5">
15 2 2 2 2 2
16 1 0 0 1 0
17 1 0 0 1 0
18 1 0 0 1 0
19 1 0 0 1 0
20 1 0 0 1 0
21 1 0 0 1 0
22 1 0 0 1 0
23 1 0 0 1 0
24 1 0 0 1 0
25 1 0 0 1 0
26 1 0 0 1 0
27 1 0 0 1 0
28 1 0 0 1 0
29 4 4 4 4 4
30 </tilemap>
31
32 <!-- Right side -->
33
34 <reset_transform/>
35 <rotate axis="y">90</rotate>
36 <translate>0 0 5</translate>
37 <scale>32</scale>
38
39 <texture>TowerBlock1</texture>
40 <tilemap surface_type="right" width="5">
41 2 2 2 2 2
42 0 0 0 0 0
43 0 0 0 0 0
44 0 0 0 0 0
45 0 0 0 0 0
46 0 0 0 0 0
47 0 0 0 0 0
48 0 0 0 0 0
49 0 0 0 0 0
50 0 0 0 0 0
51 0 0 0 0 0
52 0 0 0 0 0
53 0 0 0 0 0
54 0 0 0 0 6
55 4 5 5 5 4
56 </tilemap>
57
58 <!-- Top -->
59
60 <reset_transform/>
61 <rotate axis="x">90</rotate>
62 <translate>-5 15 0</translate>
63 <scale>32</scale>
64
65 <texture>TowerBlock1</texture>
66 <tilemap surface_type="top" width="5">
67 3 3 3 3 3
68 3 3 3 3 3
69 3 3 3 3 3
70 3 3 3 3 3
71 3 3 3 3 3
72 </tilemap>
73
74 <!-- Leftmost background tower block -->
75
76 <!-- Front -->
77
78 <reset_transform/>
79 <scale>32</scale>
80
81 <texture>TowerBlock1</texture>
82 <tilemap width="7" detail_level="1">
83 2 2 2 2 2 2 2
84 0 1 0 0 0 1 0
85 0 1 0 0 0 1 0
86 0 1 0 0 6 1 0
87 0 1 0 0 0 1 0
88 0 1 0 0 0 1 0
89 0 1 0 0 0 1 0
90 4 4 5 5 5 4 4
91 </tilemap>
92
93 <!-- Right side -->
94
95 <reset_transform/>
96 <rotate axis="y">90</rotate>
97 <translate>7 0 0</translate>
98 <scale>32</scale>
99
100 <texture>TowerBlock1</texture>
101 <tilemap width="6" detail_level="1">
102 2 2 2 2 2 2
103 0 1 0 0 1 0
104 0 1 0 0 1 0
105 0 1 0 0 1 0
106 0 1 0 0 1 0
107 0 1 0 0 1 0
108 0 1 0 0 1 0
109 4 4 4 4 4 4
110 </tilemap>
111
112 <!-- Top -->
113
114 <reset_transform/>
115 <rotate axis="x">90</rotate>
116 <translate>-2 8 -6</translate>
117 <scale>32</scale>
118
119 <texture>TowerBlock1</texture>
120 <tilemap width="9" detail_level="1">
121 3 3 3 3 3 3 3 3 3
122 3 3 3 3 3 3 3 3 3
123 3 3 3 3 3 3 3 3 3
124 3 3 3 3 3 3 3 3 3
125 3 3 3 3 3 3 3 3 3
126 3 3 3 3 3 3 3 3 3
127 </tilemap>
128
129 <!-- Foreground building with pitched roof -->
130
131 <!-- Left wall -->
132
133 <reset_transform/>
134 <rotate axis="y">-90</rotate>
135 <translate>10 0 1</translate>
136 <scale>32</scale>
137
138 <texture>Building</texture>
139 <tilemap surface_type="left" width="4">
140 -1 9 11 -1
141 9 10 12 11
142 15 7 7 16
143 3 5 6 4
144 3 6 5 4
145 </tilemap>
146
147 <!-- Right wall -->
148
149 <reset_transform/>
150 <rotate axis="y">-90</rotate>
151 <translate>13 0 1</translate>
152 <scale>32</scale>
153
154 <texture>Building</texture>
155 <tilemap surface_type="right" width="4">
156 -1 9 11 -1
157 9 10 12 11
158 15 7 7 16
159 3 5 6 4
160 3 8 5 4
161 </tilemap>
162
163 <!-- Front wall -->
164
165 <reset_transform/>
166 <translate>10 0 5</translate>
167 <scale>32</scale>
168
169 <texture>Building</texture>
170 <tilemap width="3">
171 15 7 16
172 3 5 4
173 3 6 4
174 </tilemap>
175
176 <!-- Pitched roof -->
177
178 <reset_transform/>
179 <rotate axis="x">135</rotate>
180 <scale>1 1.5 1.5</scale>
181 <translate>10 5 3</translate>
182 <scale>32</scale>
183
184 <texture>Building</texture>
185 <tilemap width="3">
186 13 13 13
187 13 13 13
188 </tilemap>
189
190 <!-- Finial -->
191
192 <reset_transform/>
193 <translate>10 5 3</translate>
194 <scale>32</scale>
195
196 <texture>Building</texture>
197 <tilemap width="3">
198 18 18 18
199 </tilemap>
200
201 <!-- Cheaty invisible platform -->
202
203 <reset_transform/>
204 <translate>10 4 3</translate>
205 <scale>32</scale>
206
207 <texture>Building</texture>
208 <tilemap surface_type="top" width="3">
209 -1 -1 -1
210 </tilemap>
211
212 <!-- The ground -->
213
214 <!-- Courtyard -->
215
216 <reset_transform/>
217 <rotate axis="x">90</rotate>
218 <translate>-3 0 0</translate>
219 <scale>32</scale>
220 <texture>Scenery</texture>
221 <tilemap surface_type="top" width="13">
222 1 1 1 1 1 1 1 1 1 1 1 1 1
223 1 1 1 1 1 1 1 1 1 1 1 1 1
224 -1 -1 -1 1 0 0 0 0 0 0 0 0 1
225 -1 -1 -1 1 0 0 0 0 0 0 0 0 1
226 -1 -1 -1 1 0 0 0 0 0 0 0 0 1
227 -1 -1 -1 1 0 0 0 0 0 0 0 0 1
228 -1 -1 -1 1 1 1 1 1 1 1 1 1 1
229 </tilemap>
230
231 <!-- Front grass -->
232
233 <reset_transform/>
234 <scale>8 1 1</scale>
235 <translate>1 -0.5 5</translate>
236 <scale>32</scale>
237 <texture>Scenery</texture>
238 <billboard tile="2" u_scale="8" detail_level="2"/>
239
240 <!-- Back grass -->
241
242 <reset_transform/>
243 <scale>8 1 1</scale>
244 <translate>1 -0.5 1</translate>
245 <scale>32</scale>
246 <texture>Scenery</texture>
247 <billboard tile="2" u_scale="8" detail_level="2"/>
248
249 <!-- Left grass -->
250
251 <reset_transform/>
252 <scale>4 1 1</scale>
253 <rotate axis="y">-90</rotate>
254 <translate>1 -0.5 1</translate>
255 <scale>32</scale>
256 <texture>Scenery</texture>
257 <billboard tile="2" u_scale="4" detail_level="2"/>
258
259 <!-- Right grass -->
260
261 <reset_transform/>
262 <scale>4 1 1</scale>
263 <rotate axis="y">-90</rotate>
264 <translate>9 -0.5 1</translate>
265 <scale>32</scale>
266 <texture>Scenery</texture>
267 <billboard tile="2" u_scale="4" detail_level="2"/>
268
269 <!-- Fence behind house -->
270
271 <reset_transform/>
272 <scale>11 1 1</scale>
273 <translate>7 0 0</translate>
274 <scale>32</scale>
275
276 <texture>Scenery</texture>
277 <billboard tile="4" u_scale="11" detail_level="2"/>
278
279 <!-- Background building with pitched roof -->
280
281 <!-- Front wall -->
282
283 <reset_transform/>
284 <translate>19 0 0</translate>
285 <scale>32</scale>
286
287 <texture>Building</texture>
288 <tilemap width="4" detail_level="1">
289 -1 9 11 -1
290 9 10 12 11
291 15 7 7 16
292 3 6 5 4
293 3 5 6 4
294 3 8 5 4
295 </tilemap>
296
297 <!-- Left wall -->
298
299 <reset_transform/>
300 <rotate axis="y">-90</rotate>
301 <translate>19 0 -3</translate>
302 <scale>32</scale>
303
304 <texture>Building</texture>
305 <tilemap surface_type="left" width="3" detail_level="1">
306 15 1 16
307 3 7 4
308 3 5 4
309 3 0 4
310 </tilemap>
311
312 <!-- Right wall -->
313
314 <reset_transform/>
315 <rotate axis="y">-90</rotate>
316 <translate>23 0 -3</translate>
317 <scale>32</scale>
318
319 <texture>Building</texture>
320 <tilemap surface_type="right" width="3" detail_level="1">
321 15 0 16
322 3 7 4
323 3 6 4
324 3 2 4
325 </tilemap>
326
327 <!-- Left pitched roof -->
328
329 <reset_transform/>
330 <rotate axis="x">135</rotate>
331 <scale>1 1.5 1.5</scale>
332 <rotate axis="y">-90</rotate>
333 <translate>21 6 -3</translate>
334 <scale>32</scale>
335
336 <texture>Building</texture>
337 <tilemap width="3" detail_level="1">
338 13 13 13
339 13 13 13
340 </tilemap>
341
342 <!-- Right pitched roof -->
343
344 <reset_transform/>
345 <rotate axis="x">-135</rotate>
346 <scale>1 1.5 1.5</scale>
347 <rotate axis="y">-90</rotate>
348 <translate>21 6 -3</translate>
349 <scale>32</scale>
350
351 <texture>Building</texture>
352 <tilemap width="3" detail_level="1">
353 13 13 13
354 13 13 13
355 </tilemap>
356
357 <!-- Finial -->
358
359 <reset_transform/>
360 <rotate axis="y">-90</rotate>
361 <translate>21 6 -3</translate>
362 <scale>32</scale>
363
364 <texture>Building</texture>
365 <tilemap width="3" detail_level="1">
366 18 18 18
367 </tilemap>
368
369 <!-- More ground to the right -->
370
371 <!-- Ground under house -->
372
373 <reset_transform/>
374 <rotate axis="x">90</rotate>
375 <translate>10 0 0</translate>
376 <scale>32</scale>
377 <texture>Scenery</texture>
378 <tilemap surface_type="top" width="3">
379 1 1 1
380 1 1 1
381 -1 -1 -1
382 -1 -1 -1
383 -1 -1 -1
384 -1 -1 -1
385 1 1 1
386 </tilemap>
387
388 <!-- Left part of centre courtyard -->
389
390 <reset_transform/>
391 <rotate axis="x">90</rotate>
392 <translate>13 0 0</translate>
393 <scale>32</scale>
394 <texture>Scenery</texture>
395 <tilemap surface_type="top" width="8">
396 1 1 1 1 1 1 1 1
397 1 1 1 1 1 1 1 1
398 1 0 0 0 0 0 0 0
399 1 0 0 0 0 0 1 1
400 0 0 0 0 0 0 1 1
401 1 0 0 0 0 0 0 0
402 1 1 1 1 1 0 0 0
403 </tilemap>
404
405 <!-- Front grass -->
406
407 <reset_transform/>
408 <scale>12 1 1</scale>
409 <translate>14 -0.5 5</translate>
410 <scale>32</scale>
411 <texture>Scenery</texture>
412 <billboard tile="2" u_scale="12" detail_level="2"/>
413
414 <!-- Back grass -->
415
416 <reset_transform/>
417 <scale>4 1 1</scale>
418 <translate>14 -0.5 1</translate>
419 <scale>32</scale>
420 <texture>Scenery</texture>
421 <billboard tile="2" u_scale="4" detail_level="2"/>
422
423 <!-- Front grass next to door -->
424
425 <reset_transform/>
426 <scale>1 1 1</scale>
427 <translate>13 -0.5 3</translate>
428 <scale>32</scale>
429 <texture>Scenery</texture>
430 <billboard tile="2" u_scale="1" detail_level="2"/>
431
432 <!-- Back grass next to door -->
433
434 <reset_transform/>
435 <scale>1 1 1</scale>
436 <translate>13 -0.5 2</translate>
437 <scale>32</scale>
438 <texture>Scenery</texture>
439 <billboard tile="2" u_scale="1" detail_level="2"/>
440
441 <!-- Left grass -->
442
443 <reset_transform/>
444 <rotate axis="y">-90</rotate>
445 <translate>14 -0.5 1</translate>
446 <scale>32</scale>
447 <texture>Scenery</texture>
448 <tilemap width="4" detail_level="2">
449 2 -1 2 2
450 </tilemap>
451
452 <!-- Grass left of house -->
453
454 <reset_transform/>
455 <rotate axis="y">-90</rotate>
456 <scale>1 1 1</scale>
457 <translate>18 -0.5 0</translate>
458 <scale>32</scale>
459 <texture>Scenery</texture>
460 <billboard tile="2" u_scale="1" detail_level="2"/>
461
462 <!-- Grass right of house -->
463
464 <reset_transform/>
465 <rotate axis="y">-90</rotate>
466 <scale>1 1 1</scale>
467 <translate>24 -0.5 0</translate>
468 <scale>32</scale>
469 <texture>Scenery</texture>
470 <billboard tile="2" u_scale="1" detail_level="2"/>
471
472 <!-- Front grass in centre -->
473
474 <reset_transform/>
475 <scale>4 1 1</scale>
476 <translate>19 -0.5 4</translate>
477 <scale>32</scale>
478 <texture>Scenery</texture>
479 <billboard tile="2" u_scale="4" detail_level="2"/>
480
481 <!-- Back grass in centre -->
482
483 <reset_transform/>
484 <scale>4 1 1</scale>
485 <translate>19 -0.5 2</translate>
486 <scale>32</scale>
487 <texture>Scenery</texture>
488 <billboard tile="2" u_scale="4" detail_level="2"/>
489
490 <!-- Left grass in centre -->
491
492 <reset_transform/>
493 <scale>2 1 1</scale>
494 <rotate axis="y">-90</rotate>
495 <translate>19 -0.5 2</translate>
496 <scale>32</scale>
497 <texture>Scenery</texture>
498 <billboard tile="2" u_scale="2" detail_level="2"/>
499
500 <!-- Right grass in centre -->
501
502 <reset_transform/>
503 <scale>2 1 1</scale>
504 <rotate axis="y">-90</rotate>
505 <translate>23 -0.5 2</translate>
506 <scale>32</scale>
507 <texture>Scenery</texture>
508 <billboard tile="2" u_scale="2" detail_level="2"/>
509
510 <!-- Still more ground -->
511
512 <!-- Right part of centre courtyard -->
513
514 <reset_transform/>
515 <rotate axis="x">90</rotate>
516 <translate>21 0 0</translate>
517 <scale>32</scale>
518 <texture>Scenery</texture>
519 <tilemap surface_type="top" width="7">
520 1 1 1 1 1 0 0
521 1 1 1 1 1 0 0
522 0 0 0 0 0 0 0
523 1 1 0 0 0 0 0
524 1 1 0 0 0 0 0
525 0 0 0 0 0 0 0
526 0 0 0 1 1 1 1
527 </tilemap>
528
529 <!-- Fence to right of back house -->
530
531 <reset_transform/>
532 <scale>4 1 1</scale>
533 <translate>24 0 0</translate>
534 <scale>32</scale>
535
536 <texture>Scenery</texture>
537 <billboard tile="4" u_scale="4" detail_level="2"/>
538
539 <!-- Grass in front of fence -->
540
541 <reset_transform/>
542 <scale>4 1 1</scale>
543 <translate>24 -0.5 1</translate>
544 <scale>32</scale>
545 <texture>Scenery</texture>
546 <billboard tile="2" u_scale="4" detail_level="2"/>
547
548 <!-- Grass to left of tower block -->
549
550 <reset_transform/>
551 <scale>2 1 1</scale>
552 <rotate axis="y">-90</rotate>
553 <translate>26 -0.5 5</translate>
554 <scale>32</scale>
555 <texture>Scenery</texture>
556 <billboard tile="2" u_scale="2" detail_level="2"/>
557
558 <!-- Grass to right of tower block -->
559
560 <reset_transform/>
561 <scale>2 1 1</scale>
562 <rotate axis="y">-90</rotate>
563 <translate>35 -0.5 5</translate>
564 <scale>32</scale>
565 <texture>Scenery</texture>
566 <billboard tile="2" u_scale="2" detail_level="2"/>
567
568 <!-- Next bit of grass -->
569
570 <reset_transform/>
571 <scale>5 1 1</scale>
572 <translate>35 -0.5 5</translate>
573 <scale>32</scale>
574 <texture>Scenery</texture>
575 <billboard tile="2" u_scale="5" detail_level="2"/>
576
577 <!-- Back grass -->
578
579 <reset_transform/>
580 <scale>6 1 1</scale>
581 <translate>34 -0.5 1</translate>
582 <scale>32</scale>
583 <texture>Scenery</texture>
584 <billboard tile="2" u_scale="6" detail_level="2"/>
585
586 <!-- Extra bit of back grass -->
587
588 <reset_transform/>
589 <scale>1 1 1</scale>
590 <rotate axis="y">-90</rotate>
591 <translate>34 -0.5 0</translate>
592 <scale>32</scale>
593 <texture>Scenery</texture>
594 <billboard tile="2" u_scale="1" detail_level="2"/>
595
596 <!-- Ground around tower block -->
597
598 <reset_transform/>
599 <rotate axis="x">90</rotate>
600 <translate>28 0 4</translate>
601 <scale>32</scale>
602 <texture>Scenery</texture>
603 <tilemap surface_type="top" width="5">
604 0 0 0 0 0
605 0 0 0 0 0
606 0 0 0 0 0
607 </tilemap>
608
609 <!-- Rightmost ground -->
610
611 <reset_transform/>
612 <rotate axis="x">90</rotate>
613 <translate>33 0 0</translate>
614 <scale>32</scale>
615 <texture>Scenery</texture>
616 <tilemap surface_type="top" width="10">
617 0 0 1 1 1 1 1 1 1 1
618 0 0 1 1 1 1 1 1 1 1
619 0 0 0 0 0 0 0 -1 -1 -1
620 0 0 0 0 0 0 0 -1 -1 -1
621 0 0 0 0 0 0 0 -1 -1 -1
622 0 0 0 0 0 0 0 -1 -1 -1
623 0 1 1 1 1 1 1 -1 -1 -1
624 </tilemap>
625
626 <!-- Right foreground tower block -->
627
628 <!-- Front -->
629
630 <reset_transform/>
631 <translate>28 0 4</translate>
632 <scale>32</scale>
633
634 <texture>TowerBlock1</texture>
635 <tilemap width="5">
636 2 2 2 2 2
637 0 0 0 0 0
638 0 0 0 0 6
639 0 0 0 0 0
640 0 0 0 0 0
641 0 0 0 6 0
642 4 4 4 4 4
643 </tilemap>
644
645 <!-- Right side -->
646
647 <reset_transform/>
648 <rotate axis="y">90</rotate>
649 <translate>33 0 4</translate>
650 <scale>32</scale>
651
652 <texture>TowerBlock1</texture>
653 <tilemap surface_type="right" width="6">
654 2 2 2 2 2 2
655 0 1 0 0 1 0
656 0 1 0 0 1 0
657 0 1 0 0 1 0
658 0 1 0 0 1 0
659 0 1 0 0 1 0
660 5 4 5 5 4 5
661 </tilemap>
662
663 <!-- Left side -->
664
665 <reset_transform/>
666 <rotate axis="y">90</rotate>
667 <translate>28 0 4</translate>
668 <scale>32</scale>
669
670 <texture>TowerBlock1</texture>
671 <tilemap surface_type="left" width="6">
672 2 2 2 2 2 2
673 0 1 6 0 1 0
674 0 1 0 0 1 0
675 0 1 0 0 1 0
676 0 1 0 0 1 0
677 0 1 0 0 1 0
678 5 4 5 5 4 5
679 </tilemap>
680
681 <!-- Top -->
682
683 <reset_transform/>
684 <rotate axis="x">90</rotate>
685 <translate>28 7 -2</translate>
686 <scale>32</scale>
687
688 <texture>TowerBlock1</texture>
689 <tilemap surface_type="top" width="5">
690 3 3 3 3 3
691 3 3 3 3 3
692 3 3 3 3 3
693 3 3 3 3 3
694 3 3 3 3 3
695 3 3 3 3 3
696 </tilemap>
697
698 <!-- Right end tower block -->
699
700 <!-- Front -->
701
702 <reset_transform/>
703 <translate>40 0 5</translate>
704 <scale>32</scale>
705
706 <texture>TowerBlock1</texture>
707 <tilemap width="5">
708 2 2 2 2 2
709 0 1 0 0 1
710 0 1 0 0 1
711 0 1 0 0 1
712 0 1 0 0 1
713 6 1 0 0 1
714 0 1 0 0 1
715 0 1 0 0 1
716 0 1 0 0 1
717 0 1 0 0 1
718 0 1 0 0 1
719 6 1 0 0 1
720 0 1 0 0 1
721 0 1 0 0 1
722 4 4 4 4 4
723 </tilemap>
724
725 <!-- Left side -->
726
727 <reset_transform/>
728 <rotate axis="y">90</rotate>
729 <translate>40 0 5</translate>
730 <scale>32</scale>
731
732 <texture>TowerBlock1</texture>
733 <tilemap surface_type="left" width="5">
734 2 2 2 2 2
735 6 0 0 0 0
736 0 0 0 0 0
737 0 0 0 0 0
738 0 0 0 6 0
739 0 0 0 0 0
740 0 0 0 0 0
741 0 0 6 0 0
742 0 0 0 0 0
743 0 0 0 0 0
744 0 0 0 0 0
745 0 0 0 0 0
746 0 0 0 0 0
747 0 0 0 0 0
748 4 5 5 5 4
749 </tilemap>
750
751 <!-- Top -->
752
753 <reset_transform/>
754 <rotate axis="x">90</rotate>
755 <translate>40 15 0</translate>
756 <scale>32</scale>
757
758 <texture>TowerBlock1</texture>
759 <tilemap surface_type="top" width="5">
760 3 3 3 3 3
761 3 3 3 3 3
762 3 3 3 3 3
763 3 3 3 3 3
764 3 3 3 3 3
765 </tilemap>
766
767 <!-- Background -->
768
769 <reset_transform/>
770 <translate>-0.3 -0.17 -900</translate>
771 <scale>3200 1600 1</scale>
772 <texture>BackgroundFar</texture>
773 <billboard fog="false"/>
774
775 <translate>0 0 300</translate>
776 <texture>BackgroundNear</texture>
777 <billboard blend="true" fog="false"/>
778
779 <!-- Trees -->
780
781 <texture>Trees</texture>
782
783 <!-- Left courtyard -->
784
785 <reset_transform/>
786 <scale>96</scale>
787 <translate>250 -2.5 16</translate>
788
789 <billboard tile="1" detail_level="1"/>
790
791 <!-- Centre courtyard -->
792
793 <reset_transform/>
794 <scale>96</scale>
795 <translate>610 -2.5 85</translate>
796
797 <billboard tile="0"/>
798
799 <reset_transform/>
800 <scale>96</scale>
801 <translate>650 -2.5 115</translate>
802
803 <billboard tile="1"/>
804
805 <!-- Right courtyard -->
806
807 <reset_transform/>
808 <scale>96</scale>
809 <translate>1080 -2.5 10</translate>
810
811 <billboard tile="1" detail_level="1"/>
812
813 <reset_transform/>
814 <scale>96</scale>
815 <translate>1120 -2.5 -15</translate>
816
817 <billboard tile="0" detail_level="1"/>
818
819 <reset_transform/>
820 <scale>96</scale>
821 <translate>1220 -2.5 -30</translate>
822
823 <billboard tile="1" detail_level="1"/>
824 </scene>
This page took 0.066849 seconds and 4 git commands to generate.