1<?xml version="1.0"?> 2<track name="Valencia"> 3 4 <racing-line show="0" /> 5 6 <sky> 7 <sides>textures/sky_sides.png</sides> 8 <top>textures/sky_top.png</top> 9 <bottom>textures/sky_bottom.png</bottom> 10 <smooth/> 11 </sky> 12 13 <!-- map-background> 14 <image>../../Reference/Valencia/valencia.png</image> 15 <offset>[ -450, -300 ]</offset> 16 <size>[ 2142.75, 1440 ]</size> 17 </map-background --> 18 19 <!-- Material Properties --> 20 21 <material name="track" type="asphalt"> 22 <friction>1.0</friction> 23 <restitution>0.1</restitution> 24 <rolling>1.0</rolling> 25 <drag>0.0</drag> 26 <bump-amplitude>0.01</bump-amplitude> 27 <bump-wavelength>100.0</bump-wavelength> 28 <texture> 29 <file>textures/track2.png</file> 30 <length>200.0</length> 31 <smooth/> 32 <mipmap/> 33 </texture> 34 </material> 35 36 <material name="grass" type="grass"> 37 <friction>0.7</friction> 38 <restitution>0.1</restitution> 39 <rolling>5.0</rolling> 40 <drag>20.0</drag> 41 <bump-amplitude>0.08</bump-amplitude> 42 <bump-wavelength>4.0</bump-wavelength> 43 <texture> 44 <file>textures/grass.png</file> 45 <width>10.0</width> 46 <length>12.0</length> 47 <smooth/> 48 <mipmap/> 49 </texture> 50 </material> 51 52 <material name="gravel" type="gravel"> 53 <friction>0.8</friction> 54 <restitution>0.0</restitution> 55 <rolling>40.0</rolling> 56 <drag>200.0</drag> 57 <bump-amplitude>0.05</bump-amplitude> 58 <bump-wavelength>2.0</bump-wavelength> 59 <texture> 60 <file>textures/gravel3.png</file> 61 <width>10.0</width> 62 <length>10.0</length> 63 <smooth/> 64 <mipmap/> 65 </texture> 66 </material> 67 68 <material name="tires" type="rubber"> 69 <friction>1.0</friction> 70 <restitution>0.8</restitution> 71 <rolling>1.0</rolling> 72 <drag>5.0</drag> 73 <bump-amplitude>0.0</bump-amplitude> 74 <bump-wavelength>1.0</bump-wavelength> 75 <texture> 76 <file>textures/red-tires.png</file> 77 <width>0.33</width> 78 <length>3.0</length> 79 <smooth/> 80 <mipmap/> 81 </texture> 82 </material> 83 84 <material name="rail" type="metal"> 85 <friction>1.0</friction> 86 <restitution>0.1</restitution> 87 <rolling>1.0</rolling> 88 <drag>0.0</drag> 89 <bump-amplitude>0.0</bump-amplitude> 90 <bump-wavelength>1.0</bump-wavelength> 91 <texture> 92 <file>textures/rail.png</file> 93 <width>0.34</width> 94 <length>10.0</length> 95 <smooth/> 96 <mipmap/> 97 </texture> 98 </material> 99 100 <material name="wall" type="concrete"> 101 <friction>1.0</friction> 102 <restitution>0.1</restitution> 103 <rolling>1.0</rolling> 104 <drag>0.0</drag> 105 <bump-amplitude>0.0</bump-amplitude> 106 <bump-wavelength>1.0</bump-wavelength> 107 <texture> 108 <file>textures/blue-wall.png</file> 109 <width>4.0</width> 110 <length>4.0</length> 111 <smooth/> 112 <mipmap/> 113 </texture> 114 </material> 115 116 <material name="kerb" type="kerb"> 117 <friction>1.0</friction> 118 <restitution>0.1</restitution> 119 <rolling>1.0</rolling> 120 <drag>0.0</drag> 121 <bump-amplitude>0.06</bump-amplitude> 122 <bump-wavelength>2.0</bump-wavelength> 123 <texture> 124 <file>textures/orange-yellow-kerb.png</file> 125 <width>2.0</width> 126 <length>8.0</length> 127 <smooth/> 128 <mipmap/> 129 </texture> 130 </material> 131 132 <!-- Segment Properties --> 133 134 <segment name="straight"> 135 [ wall track kerb track kerb track wall ] 136 </segment> 137 <segment name="left turn"> 138 [ rail grass kerb track kerb gravel tires ] 139 </segment> 140 <segment name="right turn"> 141 [ tires gravel kerb track kerb grass rail ] 142 </segment> 143 <segment name="paved"> 144 [ rail track kerb track kerb track rail ] 145 </segment> 146 <segment name="paved left"> 147 [ rail track kerb track kerb grass rail ] 148 </segment> 149 <segment name="paved right"> 150 [ rail grass kerb track kerb track rail ] 151 </segment> 152 153 <!-- The Track --> 154 <start-direction>122.0</start-direction> 155 156 <road segment="straight"> 157 <resolution>2.0</resolution> 158 <length>100.0</length> 159 <left-width>[ 0.0, 9.0 ]</left-width> 160 <right-width>[ 0.0, 20.0 ]</right-width> 161 <left-road-width>[ 0.0, 8.0 ]</left-road-width> 162 <right-road-width>[ 0.0, 8.0 ]</right-road-width> 163 <left-wall-height>3.2</left-wall-height> 164 <right-wall-height>3.2</right-wall-height> 165 <right-kerb> 166 <start> 167 <transition> 168 <length>4.0</length> 169 <width>1.0</width> 170 </transition> 171 </start> 172 <end> 173 <transition> 174 <length>4.0</length> 175 <width>1.0</width> 176 </transition> 177 </end> 178 <profile>[ 1.2, 0.09 ][ 1.5, 0.09 ][ 1.6, 0.0 ]</profile> 179 </right-kerb> 180 </road> 181 <road segment="straight"> 182 <length>17.0</length> 183 <radius>-75.0</radius> 184 </road> 185 <road segment="straight"> 186 <length>100.0</length> 187 <right-width>[ 50.0, 9.0 ]</right-width> 188 </road> 189 190 <road segment="straight"> 191 <length>158.0</length> 192 <radius>-150.0</radius> 193 <right-width>[ 5.0, 16.0 ]</right-width> 194 <left-width>[ 5.0, 16.0 ]</left-width> 195 <right-kerb> 196 <start><transition/></start> 197 <end><transition/></end> 198 </right-kerb> 199 </road> 200 <road segment="straight"> 201 <length>220.0</length> 202 <braking-marker> 203 <file>textures/50.png</file> 204 <distance>50.0</distance> 205 <size>[ 1.4, 0.7 ]</size> 206 <offset>[ 2.0, 0.0 ]</offset> 207 <side>left</side> 208 </braking-marker> 209 <braking-marker> 210 <file>textures/100.png</file> 211 <distance>100.0</distance> 212 </braking-marker> 213 <braking-marker> 214 <file>textures/150.png</file> 215 <distance>150.0</distance> 216 </braking-marker> 217 <left-kerb> 218 <start> 219 <transition> 220 <length>4.0</length> 221 <width>1.0</width> 222 </transition> 223 </start> 224 <end> 225 <distance>80.0</distance> 226 <transition> 227 <length>4.0</length> 228 <width>1.0</width> 229 </transition> 230 </end> 231 <profile>[ 1.2, 0.09 ][ 1.5, 0.09 ][ 1.6, 0.0 ]</profile> 232 </left-kerb> 233 </road> 234 235 <road segment="straight"> 236 <length>33.0</length> 237 <radius>-18.0</radius> 238 <right-kerb> 239 <start><transition/></start> 240 <end><transition/></end> 241 </right-kerb> 242 </road> 243 244 <road segment="straight"> 245 <length>35.0</length> 246 </road> 247 248 <road segment="straight"> 249 <length>53.0</length> 250 <radius>50.0</radius> 251 <left-kerb> 252 <start><transition/></start> 253 <end><transition/></end> 254 </left-kerb> 255 <right-width>[ 50.0, 9.0 ]</right-width> 256 </road> 257 258 <road segment="straight"> 259 <length>60.0</length> 260 </road> 261 <road segment="straight"> 262 <length>80.0</length> 263 <radius>-400.0</radius> 264 <right-kerb> 265 <start><transition/></start> 266 <end><transition/></end> 267 </right-kerb> 268 </road> 269 <road segment="straight"> 270 <length>75.0</length> 271 </road> 272 273 <road segment="straight"> 274 <length>38.0</length> 275 <radius>25.0</radius> 276 <left-kerb> 277 <start><transition/></start> 278 <end><transition/></end> 279 </left-kerb> 280 <right-width>[ 35.0, 16.0 ]</right-width> 281 </road> 282 283 <road segment="straight"> 284 <length>28.0</length> 285 </road> 286 287 <road segment="straight"> 288 <length>37.5</length> 289 <radius>-25.0</radius> 290 <right-kerb> 291 <start><transition/></start> 292 <end><transition/></end> 293 </right-kerb> 294 <right-width>[ 35.0, 9.0 ]</right-width> 295 <left-width>[ 35.0, 9.0 ]</left-width> 296 </road> 297 298 <road segment="straight"> 299 <length>150.0</length> 300 </road> 301 302 <road segment="straight"> 303 <length>18.0</length> 304 <radius>30.0</radius> 305 </road> 306 307 <road segment="straight"> 308 <length>300.0</length> 309 <radius>-550.0</radius> 310 <left-width>[ 200.0, 25.0 ]</left-width> 311 </road> 312 <road segment="straight"> 313 <length>8.5</length> 314 <radius>-30.0</radius> 315 </road> 316 <road segment="straight"> 317 <length>150.0</length> 318 <braking-marker> 319 <file>textures/50.png</file> 320 <distance>50.0</distance> 321 <size>[ 1.4, 0.7 ]</size> 322 <offset>[ 2.0, 0.0 ]</offset> 323 <side>left</side> 324 </braking-marker> 325 <braking-marker> 326 <file>textures/100.png</file> 327 <distance>100.0</distance> 328 </braking-marker> 329 <braking-marker> 330 <file>textures/150.png</file> 331 <distance>150.0</distance> 332 </braking-marker> 333 </road> 334 335 <road segment="straight"> 336 <length>39.0</length> 337 <radius>-20.0</radius> 338 <right-kerb> 339 <start><transition/></start> 340 <end><transition/></end> 341 </right-kerb> 342 <left-width>[ 30.0, 8.0 ]</left-width> 343 </road> 344 <road segment="straight"> 345 <length>30.0</length> 346 <left-width>[ 4.0, 10.0 ]</left-width> 347 <right-width>[ 4.0, 8.0 ]</right-width> 348 </road> 349 <road segment="straight"> 350 <length>10.0</length> 351 <radius>15.0</radius> 352 </road> 353 354 <!-- Bridge --> 355 <road segment="straight"> 356 <length>125.0</length> 357 <left-width>[ 100.0, 8.0 ]</left-width> 358 <right-width>[ 100.0, 8.0 ]</right-width> 359 <left-width>[ 140.0, 14.0 ]</left-width> 360 <right-width>[ 140.0, 9.0 ]</right-width> 361 </road> 362 363 <road segment="straight"> 364 <length>28.0</length> 365 <radius>-15.0</radius> 366 <right-kerb> 367 <start><transition/></start> 368 <end><transition/></end> 369 </right-kerb> 370 </road> 371 372 <road segment="straight"> 373 <length>30.0</length> 374 <left-width>[ 25.0, 9.0 ]</left-width> 375 </road> 376 <road segment="straight"> 377 <length>400.0</length> 378 <radius>345.0</radius> 379 </road> 380 <road segment="straight"> 381 <length>200.0</length> 382 <radius>800.0</radius> 383 </road> 384 <road segment="straight"> 385 <length>50.0</length> 386 </road> 387 <road segment="straight"> 388 <length>95.0</length> 389 <radius>-500.0</radius> 390 </road> 391 <road segment="straight"> 392 <length>290.0</length> 393 <braking-marker> 394 <file>textures/50-vertical.png</file> 395 <distance>50.0</distance> 396 <size>[ 0.7, 2.0 ]</size> 397 <offset>[ 0.3, 1.5 ]</offset> 398 <side>left</side> 399 </braking-marker> 400 <braking-marker> 401 <file>textures/100-vertical.png</file> 402 <distance>100.0</distance> 403 </braking-marker> 404 <braking-marker> 405 <file>textures/150-vertical.png</file> 406 <distance>150.0</distance> 407 </braking-marker> 408 </road> 409 410 <road segment="straight"> 411 <length>38.0</length> 412 <radius>-20.0</radius> 413 <right-kerb> 414 <start><transition/></start> 415 <end><transition/></end> 416 </right-kerb> 417 </road> 418 <road segment="straight"> 419 <length>28.0</length> 420 </road> 421 <road segment="straight"> 422 <length>26.0</length> 423 <radius>20.0</radius> 424 <left-kerb> 425 <start><transition/></start> 426 <end><transition/></end> 427 </left-kerb> 428 </road> 429 <road segment="straight"> 430 <length>30.0</length> 431 </road> 432 <road segment="straight"> 433 <length>17.5</length> 434 <radius>25.0</radius> 435 <left-kerb> 436 <start><transition/></start> 437 <end><transition/></end> 438 </left-kerb> 439 </road> 440 441 <road segment="straight"> 442 <length>110.0</length> 443 </road> 444 445 <road segment="straight"> 446 <length>62.0</length> 447 <radius>-38.0</radius> 448 <right-kerb> 449 <start><transition/></start> 450 <end><transition/></end> 451 </right-kerb> 452 </road> 453 454 <road segment="straight"> 455 <length>110.0</length> 456 </road> 457 <road segment="straight"> 458 <length>40.0</length> 459 <radius>120.0</radius> 460 </road> 461 <road segment="straight"> 462 <length>90.0</length> 463 </road> 464 <road segment="straight"> 465 <length>110.0</length> 466 <radius>150.0</radius> 467 </road> 468 <road segment="straight"> 469 <length>150.0</length> 470 <radius>-600.0</radius> 471 </road> 472 <road segment="straight"> 473 <length>80.0</length> 474 <radius>600.0</radius> 475 </road> 476 <road segment="straight"> 477 <length>50.0</length> 478 <radius>-550.0</radius> 479 </road> 480 <road segment="straight"> 481 <length>155.0</length> 482 <braking-marker> 483 <file>textures/50-vertical.png</file> 484 <distance>50.0</distance> 485 <size>[ 0.7, 2.0 ]</size> 486 <offset>[ 0.3, 1.5 ]</offset> 487 <side>left</side> 488 </braking-marker> 489 <braking-marker> 490 <file>textures/100-vertical.png</file> 491 <distance>100.0</distance> 492 </braking-marker> 493 <braking-marker> 494 <file>textures/150-vertical.png</file> 495 <distance>150.0</distance> 496 </braking-marker> 497 </road> 498 499 <road segment="straight"> 500 <length>55.0</length> 501 <radius>-20.0</radius> 502 <right-kerb> 503 <start><transition/></start> 504 <end><transition/></end> 505 </right-kerb> 506 </road> 507 508 <road segment="straight"> 509 <length>120.0</length> 510 </road> 511 512 <road segment="straight"> 513 <length>22.0</length> 514 <radius>25.0</radius> 515 <left-kerb> 516 <start><transition/></start> 517 <end><transition/></end> 518 </left-kerb> 519 </road> 520 <road segment="straight"> 521 <length>65.0</length> 522 </road> 523 <road segment="straight"> 524 <length>21.0</length> 525 <radius>-25.0</radius> 526 <right-kerb> 527 <start><transition/></start> 528 <end><transition/></end> 529 </right-kerb> 530 </road> 531 <road segment="straight"> 532 <length>95.0</length> 533 </road> 534 <road segment="straight"> 535 <length>27.0</length> 536 <radius>-30.0</radius> 537 <right-kerb> 538 <start><transition/></start> 539 <end><transition/></end> 540 </right-kerb> 541 </road> 542 543 <road segment="straight"> 544 <length>175.0</length> 545 </road> 546 <road segment="straight"> 547 <length>30.0</length> 548 <radius>-80.0</radius> 549 <right-kerb> 550 <start><transition/></start> 551 <end><transition/></end> 552 </right-kerb> 553 </road> 554 <road segment="straight"> 555 <length>15.0</length> 556 </road> 557 <road segment="straight"> 558 <length>55.0</length> 559 <radius>150.0</radius> 560 </road> 561 <road segment="straight"> 562 <length>100.0</length> 563 <radius>350.0</radius> 564 </road> 565 <road segment="straight"> 566 <length>30.0</length> 567 </road> 568 <road segment="straight"> 569 <length>60.0</length> 570 <radius>150.0</radius> 571 </road> 572 <road segment="straight"> 573 <length>25.0</length> 574 </road> 575 <road segment="straight"> 576 <length>40.0</length> 577 <radius>-60.0</radius> 578 </road> 579 <road segment="straight"> 580 <length>100.0</length> 581 <left-width>[ 50.0, 12.0 ]</left-width> 582 <braking-marker> 583 <file>textures/50-vertical.png</file> 584 <distance>50.0</distance> 585 <size>[ 0.7, 2.0 ]</size> 586 <offset>[ 0.3, 1.5 ]</offset> 587 <side>right</side> 588 </braking-marker> 589 <braking-marker> 590 <file>textures/100-vertical.png</file> 591 <distance>100.0</distance> 592 </braking-marker> 593 <braking-marker> 594 <file>textures/150-vertical.png</file> 595 <distance>150.0</distance> 596 </braking-marker> 597 </road> 598 599 <!-- Hairpin --> 600 <road segment="straight"> 601 <length>37.0</length> 602 <radius>15.0</radius> 603 <left-kerb> 604 <start><transition/></start> 605 <end><transition/></end> 606 </left-kerb> 607 </road> 608 609 <road segment="straight"> 610 <length>50.0</length> 611 </road> 612 613 <!-- Force the track to close --> 614 <circuit/> 615 616 <track-length>5419.0</track-length> 617 618 <!-- Define the timing sectors --> 619 <timing-line>10.0</timing-line> 620 <timing-line>1900.0</timing-line> 621 <timing-line>3400.0</timing-line> 622 623</track> 624