Jump to content

Crude

Member
  • Posts

    23
  • Joined

  • Last visited

Posts posted by Crude

  1. try
    _trader setPosATL (_x select 1);

    Did you remove the setPosATL from the other file if you added it.
    ["GUE_Woodlander2", setPosATL  [23371.3,5283.87,25],50.2731],

    Also your best friend when scripting is logs

    diag_log format["# MY LOG / DEBUG # %1",  _x select 1];

    Add this to above or below _trader = createAgent

    this will show you what the _x select 1 is and it should look something like [23371.3,5283.87,25]

    # MY LOG / DEBUG # [23371.3,5283.87,25]

     

  2. edit - init.sqf

    Find-
    call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\server_traders\chernarus11.sqf";

    Replace With - (Create the folder(s) if needed in the mission file
    call compile preprocessFileLineNumbers "system\mission\server_traders\chernarus11.sqf";

    Then copy over the file from the dayz_code .pbo (dayz_code\system\mission\server_traders\chernarus11.sqf)

    Find the trader you need to edit
    /***************Boat Vendor*********/
    menu_RU_Villager3 = [
        [[localize "STR_EPOCH_TRADER_CATEGORY_BOATSARMED",48],[localize "STR_EPOCH_TRADER_CATEGORY_BOATSUNARMED",49]],
        [],
        "neutral"
    ];

    Add your new category - Example the 37 would be the number of the new one you created ( Category_37 )
    ["MY NEW CATEGORY, 37],

     

    Should look like this
    menu_RU_Villager3 = [
        [["MY NEW CATEGORY, 37], [localize "STR_EPOCH_TRADER_CATEGORY_BOATSARMED",48],[localize "STR_EPOCH_TRADER_CATEGORY_BOATSUNARMED",49]],
        [],
        "neutral"
    ];

     

    Hope this helps




     

  3. Not sure what ori location is but are npc's spawning before objects/buildings?

    also do you reset thier location after creatation

    _this = createVehicle .......
    _this setDir .......
    _this setPos .......
    _this setVectorUp ......

  4. For mine to work was just case sensitive problem, nice that your works now but with different Vehicle. If you are still wanting the Su25 just give the debug below a try.

     

    add to top of loop


    if(typeOf vehicle _x == "Su25_Ins") then {
                diag_log format["#%1 = %2", typeOf vehicle  _x, DZE_safeVehicle];
                diag_log format["#%1 = %2", typeOf vehicle _x, vehicle _x != _x];
                diag_log format["#%1 = %2", typeOf vehicle _x, !(vehicle _x in dayz_serverObjectMonitor)];
                diag_log format["#%1 = %2", typeOf vehicle _x, !((typeOf vehicle _x) in DZE_safeVehicle)];
            };

     

    you should see something like
    22:41:06 "#Su25_Ins = ["ParachuteWest","ParachuteC","Su25_Ins","BTR40_TK_INS_EP1","BTR40_TK_GUE_EP1"]"
    22:41:06 "#Su25_Ins = true"
    22:41:06 "#Su25_Ins = true"
    22:41:06 "#Su25_Ins = false"

  5. I tested and it took some restarts and debugging but works on my test server.

    dayz_serverObjectMonitor
    This is only used if you can send it to server or spawn on server

    Rename Su25_INS to small case ns > Su25_Ins

    DZE_safeVehicle = ["ParachuteWest","ParachuteC","Su25_Ins"];

    Hope that helps mate

  6. Hi Epoch peeps,

    I would like to put forward afew addons that i think would be great or fun additions.

    I would also like it if the Dev's could make afew variations of the largest backpack and not just Large Gunbag many peeps dont like the model

    Addons
    19 Backpack Variants
    Playing Items - ARP Mod
    Female US Soldier
    Ghillie Suits
    Hazmat Units
    Post Apocalypse Units

    Fun Event Addons
    Alienz Mod

    Misc Addons
    Halo3 pack
    Halo3 Cobra and Ninja

     

    Keep up the great work i cant wait to finaly get a later Dayz Version Epoch.

     

     




     

  7. look in your complies.sqf and see which file its compiling for : player_build

     

    Default

    player_build =  compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_build.sqf";

     

    if its set as default you need to change it to the one you want

    player_build =  compile preprocessFileLineNumbers "CUSTOMFOLDER\snap_pro\player_build.sqf";

  8. Still getting kicked with Public Variable #3 when deposit thru ATM here is the BE filters any help would be great, FYI I added it to 1st and end of 4th line to see if it made a difference. The new infistar does have it built into the new filters BTW

     

    //new

    5 "" !="currentInvites" !="PVDZE_bank_Save" !"PVDZE_" !"norrn" !"usec" !="remExField" !="remExFP" !="currentInvites" !="drn_AskServerDynamicWeatherEventArgs" !="norrinRAlie" !="BIS_effects_gepv" !="dayzPlayerLogin" !="dayzPlayerLogin2" !"PVAHR_" !="PVAH_AdminReq" !="PVAH_WriteLogReq"

    5 "norrn" !="norrnRACarUp" !="norrnRAPicUp" !="norrnRaDrag" !="norrnR180" !="norrnRalie" !="norrnRLact" !="norrnRALW" !="norrnRDead"

    5 "usec" !="usecMorphine" !="usecBandage" !="usecBleed"

    5 "PVDZE_" !"PVDZE_player" !="PVDZE_send" !="PVDZE_log_lockUnlock" !="PVDZE_Server_Simulation" !="PVDZE_veh_Update" !="PVDZE_plr_GutBody" !="PVDZE_plr_GutBodyZ" !="PVDZE_veh_Lock" !="PVDZE_plr_DeathB" !="PVDZE_maintainArea" !="PVDZE_obj_Publish" !="PVDZE_obj_Swap" !="PVDZE_plr_Save" !="PVDZE_obj_Delete" !="PVDZE_obj_Trade" !="PVDZE_veh_Publish2" !="PVDZE_zed_Spawn" !="PVDZE_plr_Died" !="PVDZE_plr_TradeMenu" !="PVDZE_veh_Upgrade" !="PVDZE_atp" !="PVDZE_plr_Login" !="PVDZE_plr_Login2" !="PVDZE_plr_LoginRecord" !="PVDZE_plr_DeathBResult" !="PVDZE_veh_SFix" !="PVDZE_plr_Hit" !="PVDZE_plr_HitV" !="PVDZE_veh_SFuel" !="PVDZE_plr_HideBody" !="PVDZE_plr_Morph" !="PVDZE_veh_Publish" !="PVDZE_plr_Characters" !="PVDZE_lockVault" !="PVDZE_obj_setlocalVars" !="PVDZE_obj_getlocalVars" !="PVDZE_bank_Save"

    5 "PVAHR_" !"PVAHR_0_"

    1 "PVAH"

    5 "remExFP" !="\"remExFP\" = \[,,\"per\",\"execVM\",\"ca\\Modules\\Functions\\init.sqf\"\]" !"\[,,\"per\",\"execVM\",\"ca\\Modules\\Functions\\init.sqf\"\]"

    5="player"

    5="server"

    5 "fnc_plyrHit"

    5 "AntiHack"

    1 "Delete"

     

    After " !="PVDZE_bank_Save" add this

     

    !="PVDZE_account_Doublecheck"

×
×
  • Create New...