Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe
  • 0
Ded_MorozZz_11RuS

Помогите со спавном авто в моде

Сделал мод на V3S, по сути тот же вэтрик, но поменял параметры мощности и т.п. , но почему-то в игре он не появляется хотя вроде мод работает исправно. Вот конфиг
class CfgPatches
{
    class DZ_Vehicles_Wheeled_DedV3S
    {
        units[]={};
        weapons[]={};
        requiredVersion=0.1;
        requiredAddons[]={"DZ_Data", "DZ_Vehicles_Wheeled"};
    };
};
class CfgVehicles
{
    class Truck_01_Covered;
    class Truck_01_Beast: Truck_01_Covered
    {
        scope=2;
        displayName="V3S Beast (Улучшенный)";
        descriptionShort="Мощность +50%, красная зона убрана";
        
        model="\dz\vehicles\wheeled\Truck_01\Truck_01_Covered.p3d";
        
        // ПРОСТОЙ И НАДЁЖНЫЙ СПОСОБ - переопределяем только конкретные параметры
        fuelCapacity=150;
        fuelConsumption=40;
        
        class SimulationModule
        {
            // Копируем нужные параметры прямо сюда
            class Engine
            {
                torqueCurve[]={400,0, 1000,495, 1400,540, 1900,510, 2500,390, 5000,0};
                inertia=3.25;
                frictionTorque=100;
                rollingFriction=3;
                viscousFriction=2.5;
                rpmIdle=650;
                rpmMin=750;
                rpmClutch=850;
                rpmRedline=6000;
            };
            
            class Clutch
            {
                maxTorqueTransfer=1080;
                uncoupleTime=0.2;
                coupleTime=0.65;
            };
            
            class Gearbox
            {
                type="GEARBOX_MANUAL";
                reverse=6.2800002;
                ratios[]={4.5, 2.3, 1.4, 1.0, 0.8};
            };
            
            class Steering
            {
                maxSteeringAngle=35;
                increaseSpeed[]={0,35, 50,25};
                decreaseSpeed[]={0,70, 50,60};
                centeringSpeed[]={0,35, 50,25};
            };
            
            class Throttle
            {
                reactionTime=0.12;
                defaultThrust=1.2;
                gentleThrust=0.9;
                turboCoef=2.0;
                gentleCoef=0.5;
            };
            
            class Brake
            {
                pressureBySpeed[]={0,0.9, 10,0.8, 30,0.75, 40,0.7, 60,0.75, 80,0.85};
                gentleCoef=0.6;
                minPressure=0.2;
                reactionTime=0.15;
                driverless=0.1;
            };
            
            class Aerodynamics
            {
                frontalArea=5.75;
                dragCoefficient=0.52999997;
            };
            
            drive="DRIVE_642";
            
            class CentralDifferential
            {
                ratio=0.75;
                type="DIFFERENTIAL_LOCKED";
            };
            
            class Axles
            {
                class Front
                {
                    maxBrakeTorque=17500;
                    wheelHubMass=25;
                    wheelHubRadius=0.30000001;
                    class Suspension
                    {
                        stiffness=65000;
                        compression=3000;
                        damping=7000;
                        travelMaxUp=0.14;
                        travelMaxDown=0.15000001;
                    };
                    class Wheels
                    {
                        class Left
                        {
                            animDamper="damper_1_1";
                            inventorySlot="Truck_01_Wheel_1_1";
                        };
                        class Right
                        {
                            animDamper="damper_2_1";
                            inventorySlot="Truck_01_Wheel_2_1";
                        };
                    };
                };
                
                class Middle
                {
                    maxBrakeTorque=12000;
                    maxHandbrakeTorque=23400;
                    wheelHubMass=45;
                    wheelHubRadius=0.30000001;
                    class Differential
                    {
                        ratio=8.3500004;
                        type="DIFFERENTIAL_LOCKED";
                    };
                    class Suspension
                    {
                        stiffness=55000;
                        compression=2500;
                        damping=8000;
                        travelMaxUp=0.094999999;
                        travelMaxDown=0.125;
                    };
                    class Wheels
                    {
                        class Left
                        {
                            animDamper="damper_1_2";
                            inventorySlot="Truck_01_Wheel_1_2";
                        };
                        class Right
                        {
                            animDamper="damper_2_2";
                            inventorySlot="Truck_01_Wheel_2_2";
                        };
                    };
                };
                
                class Rear
                {
                    maxBrakeTorque=12000;
                    maxHandbrakeTorque=23400;
                    wheelHubMass=45;
                    wheelHubRadius=0.30000001;
                    class Differential
                    {
                        ratio=8.3500004;
                        type="DIFFERENTIAL_LOCKED";
                    };
                    class Suspension
                    {
                        stiffness=55000;
                        compression=2500;
                        damping=8000;
                        travelMaxUp=0.094999999;
                        travelMaxDown=0.125;
                    };
                    class Wheels
                    {
                        class Left
                        {
                            animDamper="damper_1_3";
                            inventorySlot="Truck_01_Wheel_1_3";
                        };
                        class Right
                        {
                            animDamper="damper_2_3";
                            inventorySlot="Truck_01_Wheel_2_3";
                        };
                    };
                };
            };
        };
        
        hiddenSelectionsTextures[]=
        {
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            "#(argb,8,8,3)color(0.9,0.2,0.1,1.0,co)",
            "#(argb,8,8,3)color(0.9,0.2,0.1,1.0,co)",
            "#(argb,8,8,3)color(0.9,0.2,0.1,1.0,co)",
            "#(argb,8,8,3)color(0.9,0.2,0.1,1.0,co)",
            "#(argb,8,8,3)color(0.9,0.2,0.1,1.0,co)",
            "#(argb,8,8,3)color(0.9,0.2,0.1,1.0,co)",
            "#(argb,8,8,3)color(0.9,0.2,0.1,1.0,co)",
            "#(argb,8,8,3)color(0.9,0.2,0.1,1.0,co)",
            "#(argb,8,8,3)color(0.9,0.2,0.1,1.0,co)",
            "#(argb,8,8,3)color(0.9,0.2,0.1,1.0,co)",
            "#(argb,8,8,3)color(0.9,0.2,0.1,1.0,co)"
        };
    };
};

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Поддержка