Author | Message |
ijdevil |
#1 2012-05-13 06:38 |
I am messin' around with the tire javas (trying to get familiar with editing) and learned that changing the tc(value) ex. tcDragradial can change the grip, but I heard that its a number you can change too that also affects the grip.
|
|
Mario
Posts: 703
Location: Bulgaria Sofia Occupation: Fast way Age: 121 V$: |
#2 2012-05-13 09:09 |
You can mess with it from the tyre parent java file, but it will affect to all tyres in game.And i realized that there isn't better settings than the originals.
I've import the adjust functions in the children tyre java. So you can play with it without ruin the original settings. *****
package java.game.parts.definitive_tyre_pack; import java.game.parts.rgearpart.reciprocatingrgearpart.*; public class tall_17 extends Tyre { public tall_17( int id ) { tyre_size_label = "245/25 R17"; render_types[0] = 0; // for 5.0 inch wide rims // render_types[1] = 0; // for 5.5 inch wide rims // render_types[2] = 0; // for 6.0 inch wide rims // render_types[3] = parts.definitive_tyre_pack:0x0000001Br; // for 6.5 inch wide rims // render_types[4] = parts.definitive_tyre_pack:0x0000001Br; // for 7.0 inch wide rims // render_types[5] = parts.definitive_tyre_pack:0x0000001Br; // for 7.5 inch wide rims // render_types[6] = parts.definitive_tyre_pack:0x0000001Br; // for 8.0 inch wide rims // render_types[7] = parts.definitive_tyre_pack:0x0000001Br; // for 8.5 inch wide rims // render_types[8] = parts.definitive_tyre_pack:0x0000001Br; // for 9.0 inch wide rims // render_types[9] = parts.definitive_tyre_pack:0x0000001Br; // for 9.5 inch wide rims // render_types[10] = parts.definitive_tyre_pack:0x0000001Br; // for 10.0 inch wide rims // render_types[11] = 0; // for 10.5 inch wide rims // render_types[12] = 0; // for 11.0 inch wide rims // render_types[13] = 0; // for 11.5 inch wide rims // render_types[14] = 0; // for 12.0 inch wide rims // render_types[15] = 0; // for 12.5 inch wide rims // render_types[16] = 0; // for 13.0 inch wide rims // render_types[17] = 0; // for 13.5 inch wide rims // render_types[18] = 0; // for 14.0 inch wide rims // render_types[19] = 0; // for 14.5 inch wide rims // render_types[20] = 0; // for 15.0 inch wide rims // render_types[21] = parts.definitive_tyre_pack:0x0000001Br; // this rendertype as default // SetupTyre(245.0, 25.0, 17.0, 10.0, tcDRIFT, 2.0); calcStuffs(); name = "Sport Tyre 245/40 R17"; value = 600.0; } public void SetupRubber( int RT ) { String compound_label; if (RT == tcDRIFT) // street tyre // { rubber_rigidity = 1.050; load_mul = 0.750*load_mul2; min_rollres = 0.004*roll_res_mul; // tyre: depends on contact patch friction = default_fric/rubber_rigidity; // tyre: static friction (compound efficiency) sliction = 0.800*slic_mul; // tyre: slip ratio (sliction*friction = slipfriction) frictn_x = 1.000; // tyre: longitudinal friction and sliction * ratio = horizontal friction and sliction loadsmooth = 0.250; compound_label = " hard compound street tyre"; police_check_fine_value = 0.0; } } public void updatevariables() { Wheel rim = partOnSlot(1); if (rim) { int render_type_index = clampTo((rim.rim_width-5)*2,0,20); if (render_types[render_type_index]) setRenderType(render_types[render_type_index]); else setRenderType(render_types[21]); SetupTyre(245.0, 25.0, 17.0, rim.rim_width, tcSPORT); super.updatevariables(); } } } |
|
|
|
ijdevil |
#3 2012-05-15 15:14 |
I figured it out
|
|