Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

m.shostakovsky

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About m.shostakovsky

  • Rank
    On the Coast
  1. m.shostakovsky

    Base damage

    Are you find how to do this?
  2. m.shostakovsky

    Change default speed params for a car

    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.
×