Jump to content

dayzepoch

Member
  • Posts

    24
  • Joined

  • Last visited

Posts posted by dayzepoch

  1. Thanks for everyone that tried to help with the issue of once you get in the drivers seat the vehicle is no longer indestructible. I was able to find out the fix and I will tell everyone in case someone else is having the same problem.

     

    I am running infiSTAR safezone script, if you are running this script then you need to follow the next instructions. Now by doing it this way it makes it so people can shoot into the safezone and damage a vehicle, but that's not a big deal for me mainly because I am running two different safezone scripts

     

    Find this line of code in the infiSTAR safezone script

     

    vehicle_handleDamage = compile preprocessFileLineNumbers'\z\addons\dayz_code\compile\vehicle_handleDamage.sqf';

    Change to 

    vehicle_handleDamage = compile preprocessFileLineNumbers "zupa\vehicle_handleDamage.sqf";

  2. Did u guys place  the files so it's completely at the bottom.

     

    It doesnt get overwritten and it's also server sided/ client sided.

    I will show you below how I have the compile commands placed just as instructed. I haven't tried it below the snap build, but I can and maybe that will make a difference......

     

    I even tried once with commenting out the original "fn_damageHandlerVehicle.sqf" & "vehicle_handleDamage.sqf" and also without commenting them out.

     

    //Server Only
    if (isServer) then {
    call compile preprocessFileLineNumbers "\z\addons\dayz_server\init\server_functions.sqf";
    } else {
    eh_localCleanup = {};
    };
     
    fnc_usec_damageVehicle =        compile preprocessFileLineNumbers "zupa\fn_damageHandlerVehicle.sqf";        //Event handler run on damage
    vehicle_handleDamage =          compile preprocessFileLineNumbers "zupa\vehicle_handleDamage.sqf";
     
    //SnapBuilding
     
    if (!isDedicated) then {
        player_build = compile preprocessFileLineNumbers "custom\snap_pro\player_build.sqf";
        snap_build = compile preprocessFileLineNumbers "custom\snap_pro\snap_build.sqf";
        dayz_spaceInterrupt = compile preprocessFileLineNumbers "custom\snap_pro\dayz_spaceInterrupt.sqf";
    };
     
    initialized = true;
  3. I am sure I am doing something stupid, but if not then small problem.

     

    I have everything set to false except for the "_onlyLockedVehicles = true; //Plotarea: Godmode for Only locked vehicles (true) or locked and unlocked(false)"

     

    Basically I am wanting locked vehicles around plot poles to be indestructible.

     

    Here is my problem, the vehicles around plot poles are indestructible, but as soon as I get in the drivers seat and then hop right back out and lock the vehicle....... its no longer indestructible.

     

    any advise would be appreciated. Thanks

×
×
  • Create New...