Here's a brief tutorial:An SK race has 2 files:
.race file and .sk file
The format for the .race file looks like this:
switch No Extra Information
115 210 2 1 1 0 14
11 1 16
614 614
-2730.5515 198.8277 17.7266 258.8708
-2730.5515 198.8277 17.7266 258.8708
-2704.0852 171.0001 3.8026
-2706.4489 15.4893 3.8074
-2672.1635 -70.5869 3.8078
-2072.0861 -70.0749 34.7946
-2007.3145 -10.7509 34.1683
-1951.4783 345.2478 33.1301
-1820.2784 503.7692 28.1800
-1847.4680 606.0377 34.6383
-1691.1619 731.2337 22.7546
-1555.8347 964.8956 6.8881
-1678.0496 1186.9477 17.3264
-2001.4462 1176.0629 44.9197
-2143.3830 1126.4025 70.2794
-2143.2392 783.0396 69.0394
-2206.6081 731.7432 49.2044
-2261.0722 646.1558 48.9197
-2271.6750 508.4194 34.6385
-2343.5275 457.7749 32.2450
-2338.5803 309.3127 38.6040
-2706.4914 157.8556 3.9200
To break it down:
115 210 2 1 1 0 14
11 1 16
614 614
In the 1st line from left to right:
- Waiting time before race starts, in seconds. (Usually I make this 55 seconds, just enough for all the players to get a car and drive to the grid. In this case its 115 seconds (MSR) so players have extra time to tune their cars.)
- Total time of race, in seconds.
- Weather, time, CP size, etc. etc. <-- Not sure with the order but what I do when I make an SK race is that 1st I enter buildmode and do a normal race then I just get the .race file and edit it.
In the 2nd line from left to right:
- Special 1. (IMPORTANT: ALWAYS SET THIS TO 11 IF YOU WANNA MAKE AN SK RACE, because this is the value of an SK race.)
- Special 2. (IMPORTANT: ALWAYS SET THIS TO 1 IF YOU WANNA MAKE AN SK RACE, because this is the value of a hardcore race.)
- Special 3. (IMPORTANT: ALWAYS SET THIS TO 16 IF YOU WANNA MAKE AN SK RACE, because this value is a bug fix for SK mode.
)
3rd line is the vehicle IDs but this line is unnecessary since the vehicle coords and IDs will be on the .sk file.
NOTE: If you check the grid coords, both lines are the same. THIS IS IMPORTANT. You must ALWAYS set the 2 grid coords in the same spot.
-2730.5515 198.8277 17.7266 258.8708
-2730.5515 198.8277 17.7266 258.8708
Okay, unto the .sk file:
561 -2713.8591 190.6315 3.9507 268.8719
560 -2713.8298 194.8616 3.9534 268.6572
559 -2713.3586 200.1701 3.9514 270.1534
558 -2713.7417 205.0421 3.9546 268.6015
562 -2699.3599 192.6270 3.9516 133.8207
565 -2699.4602 187.3248 3.9536 138.7323
561 -2699.4534 182.8934 3.9506 133.8400
560 -2699.3928 199.8449 3.9530 139.7815
559 -2692.5391 222.0049 3.8752 88.8443
558 -2683.3992 221.8412 3.7832 88.8635
562 -2674.4785 221.6639 3.8059 88.8624
565 -2691.7368 213.2529 3.8756 90.2332
561 -2682.1838 213.3382 3.8782 90.3339
565 -2670.3125 213.4711 3.8769 90.3589
565 -2659.7495 213.6043 3.8403 93.1315
560 -2692.0608 149.7829 3.9522 88.1051
565 -2685.6101 149.5521 3.9544 89.2735
562 -2689.4773 237.5773 3.9590 264.8415
560 -2675.6414 236.1958 3.9609 234.6924
560 -2693.0300 225.3277 4.0327 89.1955
560 -2683.4153 225.1926 4.0336 89.1952
560 -2674.8550 225.0257 4.0307 89.7370
560 -2692.0725 205.2288 4.0409 359.0709
560 -2685.7500 204.5660 4.0411 359.4327
560 -2681.4321 205.4075 4.0452 0.2356
560 -2675.5508 205.1999 4.0414 0.5384
560 -2671.7749 204.7256 4.0409 0.5720
560 -2666.9041 204.6413 4.0414 358.9120
560 -2663.1094 204.6203 4.0416 0.1647
560 -2657.6252 205.0603 4.0409 356.4882
560 -2654.0044 230.4189 4.0335 178.5130
560 -2654.1577 242.6303 4.0336 178.6209
560 -2653.8279 256.6418 4.0330 180.2875
560 -2653.8904 269.0699 4.0342 180.2871
560 -2639.0220 229.2927 4.0336 180.1955
560 -2639.0566 239.5593 4.0343 180.1949
560 -2639.0886 249.2709 4.0340 180.1944
560 -2639.1160 257.2133 4.0329 180.1938
560 -2639.1631 271.2752 4.0337 180.1937
560 -2691.6025 231.7369 4.0404 128.9442
The format is simple:
vehicleid x y z angle
NOTE: I always make 40-50 car spawns, so everyone in the server won't run out of cars.
Some TIPZ to help you:
- Usually what I do when I make an SK race, 1st I make a normal race in buildmode then just get the .race file and edit it with SK settings.
- The .sk file must be made from scratch so you must enter debug and do /save.
Hope this helps.
- Taken from the PM I sent MadMax.