m.shostakovsky 0 Posted April 9, 2021 Hello, I wont change the default speed settings for the car. In DZ\vehicles\wheeled\config.cpp I found next code: class CfgVehicles { ... class Truck_01_Base: CarScript { ... class SimulationModule: SimulationModule { drive="DRIVE_662"; centralDiffRatio=2.1500001; airDragFrontTotal=0.80000001; class Steering { increaseSpeed[]={0,25,50,15}; decreaseSpeed[]={0,50,50,40}; centeringSpeed[]={0,25,50,15}; }; ... } ... } ... } I don't understand how arrays: inceaseSpeed, reduceSpeed and centeringSpeed - work. What is the logic behind them?I can assume that the elements of the array are tied to the gears: inceaseSpeed[0] - 1st gear, inceaseSpeed[1] - 2nd gear, inceaseSpeed[2] - 3rd gear, inceaseSpeed[3] - may be reverse gear. The question is how do they interact, array elements among themselves and arrays among themselves? Can I see how this is implemented in the native code? What should I be guided by when creating a class of my own car? Thanks in advance for helping me with this issue. Share this post Link to post Share on other sites