here we go: i put an example c-magic file from me here... if somebody knows more or something different please correct/comment/change.
it´s time to bring all we know about c-magic values together . like i said before to make this sim even more a sim, and leave the codeblasters behind...
matt
[GP4 magic file]
16 ; fw ai dry
14 ; rw
20 ; 1st
28 ; 2nd
35 ; 3rd
42 ; 4th
49 ; 5th
56 ; 6th
18 ; fw ai wet
16 ; rw
20 ; 1st
27 ; 2nd
34 ; 3rd
41 ; 4th
48 ; 5th
54 ; 6th
16 ; fw
14 ; rw player dry
20 ; 1st
28 ; 2nd
35 ; 3rd
42 ; 4th
49 ; 5th
56 ; 6th
5688 ; brake balance dry
18 ; fw player wet
16 ; rw
20 ; 1st
27 ; 2nd
34 ; 3rd
41 ; 4th
48 ; 5th
54 ; 6th
5738 ; brake balence wet
54 ; hard tyre
53 ; soft tyre
100 ; >= 50 tyretype 1 else 0
16384 ; unused
16384 ; unused
16384 ; unused
16384 ; unused
16990 ; track grip
16384 ; unused
16384 ; unused
24 ; down force, related to next value below
1018 ; ride height
16980 ; air resistance or air density??(prblanco)
7740 ; fuel in kg per lap*3000
384 ; subtracted from diff between field_e2 of 2 cars and then compared to speed of first car
15453 ; tyre wear
64768 ;
increase of grip during a session (cc-cars only??) cc grip factor (added to car.field_108. related to cc grip factor)
512 ; grip finetune
500 ; cc power factor ace
509 ; cc grip factor ace
500 ; cc power factor pro
495 ; cc grip factor pro
490 ; cc power factor semi-pro
481 ; cc grip factor semi-pro
473 ; cc power factor amateur
472 ; cc grip factor amateur
455 ; cc power factor rookie
460 ; cc grip factor rookie
512 ; cc random perf range min
2048 ; cc random perf range max
68 ; ai errors. same chance multiplied with race perc.
68 ; spin recovery range, 1 to 256
2 ; sectors to pit in 1
19 ; sectors to pit in 2
20480 ; pre pit speed limit
13950 ; fuel consumption player
12775 ; fuel consumption ai
1000 ; ai race performance (cc shuffler)
128 ; a segment nr before which flag 0x80 in car.flags_ce is not cleared
86890 ; timing factor? (dw)
0 ; timing factor finetune? (dw)
15400 ; ai tyres
21000 ; same as above (dw)
10 ; rain chance
6 ; segment nr (start of some range)
6 ; segment nr (end of some range)
256 ; ai race grip another perf factor
20000 ; unk (dw)
136 ; unk (dw)
10000 ; black flag penalty
2048 ; black flag
240 ; unk (dw)
115 ; new (dw)
110 ; new (dw)
13 ; new (dw)
0 ; how deep in garage
1814 ; new (dw)
896 ; new (dw)
0 ; orientation in garage (angle)
0 ; new (dw)
0 ; new (dw)
16384 ; unk (dw) (always 16384?)
16384 ; unk (dw) (always 16384?)
16384 ; unk (dw) (always 16384?)
16384 ; unk (dw) (always 16384?)
16384 ; unk (dw) (always 16384?)
16384 ; unk (dw) (always 16384?)
15 ; pitstop group 1 %
29 ; stop 1
5 ; pit window 1
0 ;
0 ;
0 ;
0 ;
0 ;
70 ; pitstop group 2 %
19 ; stop 1
4 ; pit window 1
39 ; stop 2
4 ; pit window 2
0 ;
0 ;
0 ;
15 ; pitstop group 3 %
14 ; stop 1
3 ; pit window 1
29 ; stop 2
3 ; pit window 2
44 ; stop 3
3 ; pit window 3
0 ;
0 ; failure chance : suspension
744 ; failure chance : loosewheel
0 ; failure chance : puncture
0 ; failure chance : engine
744 ; failure chance : transmission
0 ; failure chance : oilleak/waterleak
0 ; failure chance : throttle/brake
0 ; failure chance : electrics
16384 ; unused
16384 ; unused
16384 ; unused
16384 ; unused
19968 ; bump factor
13 ; bump shift
[bumptable]
Edited 1 time(s). Last edit at 10/01/2010 05:03PM by schroeder.