Jump to content

Asian Kid

Member
  • Posts

    330
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by Asian Kid

  1. Getting this error in the rpt.
    Can't login to the server

    Narrowed it down to the mission pbo

    15:03:34 "Started executing user settings file."
    15:03:34 "Finished executing user settings file."
    15:03:44 Warning: z\addons\dayz_communityassets\models\compass.p3d:0 Error while trying to generate ST for points: 863, 853, 852
    15:03:46 Cannot create non-ai vehicle Land_A_FuelStation_Sign,
    15:03:46 Cannot create non-ai vehicle Land_A_FuelStation_Sign,
    15:03:48 Error in expression <01.nul = [this,5,time,false,false] spawn BI>
    15:03:48 Error position: <nul = [this,5,time,false,false] spawn BI>
    15:03:48 Error Missing ;
    15:03:48 Error in expression <01.nul = [this,5,time,false,false] spawn BI>
    15:03:48 Error position: <nul = [this,5,time,false,false] spawn BI>
    15:03:48 Error Missing ;
    
  2. These are some great additions! 

     

    i do have one (probably simple) question that i can't quite figure out how to change though:  

     

    Is there a way to stop the blue 'ask: any news' scroll option from flashing ?

     

    Ive never had a flashing scroll wheel option before and i haven't been able to figure out what's causing it to flash, and therefore how to change it!  :huh:

    I have that problem not sure whats making that do that.

  3. How can i increase the delay between the Blowouts and how can i configurate that I dont fell into unconsciousness when I have the ItemAPSI in my gear ?

    Please help me out ;)

    All in here

     

    in inti.sqf add to listed variables
    ns_blowout = true; // true / false
    ns_blowout_dayz = true;// true / false
    ns_blow_delaymod = 0.74; //blowout delay
    ns_blow_itemapsi = "NVGoggles"; //ItemAPSI replacement
    ns_blow_playerdamage = 4000; // damage players without ns_blow_itemapsi can get per blowout
    ns_blow_emp = false; //Namalsk Only
    
  4. Remove this

    								if (isNil 'TP"+_randvar5+"') then {TP"+_randvar5+" = 0;};TP"+_randvar5+" = TP"+_randvar5+" + 1;
    								if (TP"+_randvar5+" >= 3) then
    								{
    									_log = format['TP: %1 to %2 (%3m) | %4',_lastPos,_curPos,_distance1,typeOF _curVeh];
    									"+_randvar10+" = [(name player),(getPlayerUID player),toArray (_log), toArray ('BANNED')];
    									publicVariableServer '"+_randvar10+"';
    								}
    								else
    								{
    									_log = format['TP: %1 to %2 (%3m) | %4',_lastPos,_curPos,_distance1,typeOF _curVeh];
    									"+_randvar10+" = [(name player),(getPlayerUID player),_log,'',''];
    									publicVariableServer '"+_randvar10+"';
    								};
    
  5. This is what I have now
     

    _roll = floor(random 100);
    
    switch true do {
    case (_chance <= 60):
    {
    //Low
    DefaultMagazines = ["ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","FoodCanBakedBeans","ItemSodaCoke","ItemPainkiller","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","ItemGoldBar","ItemGoldBar","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD"];
    DefaultWeapons = ["ItemFlashlight","ItemHatchet_DZE","ItemMap","M16A2GL","M9"];
    DefaultBackpack = "DZ_ALICE_Pack_EP1";
    DefaultBackpackWeapon = "";
    };
    case (_chance <= 40):
    {
    //Mid
    DefaultMagazines = ["ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemPainkiller","FoodMRE","ItemWaterbottle","30Rnd_545x39_AK","30Rnd_545x39_AK","ItemGoldBar10oz","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD"];
    DefaultWeapons = ["ItemFlashlight","ItemHatchet_DZE","ItemMap","AK_74","M9SD"];
    DefaultBackpack = "DZ_CivilBackpack_EP1";
    DefaultBackpackWeapon = "";
    };
    case (_chance <= 20):
    {
    //High
    DefaultMagazines = ["ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemPainkiller","ItemWaterbottle","FoodMRE","30Rnd_556x45_G36","30Rnd_556x45_G36","ItemGoldBar10oz","ItemGoldBar10oz","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD"];
    DefaultWeapons = ["ItemFlashlight","ItemHatchet_DZE","ItemMap","G36A_camo","M9SD","ItemRadio","Itemtoolbox"];
    DefaultBackpack = "DZ_Backpack_EP1";
    DefaultBackpackWeapon = "";
    };
    default 
    {
    DefaultMagazines = ["ItemBandage","ItemBandage","ItemMorphine","ItemPainkiller","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","ItemGoldBar","15Rnd_9x19_M9","15Rnd_9x19_M9"];
    DefaultWeapons = ["ItemFlashlight","ItemMachete","ItemMap","M4A3_CCO_EP1","M9"];
    DefaultBackpack = "DZ_TerminalPack_EP1";
    DefaultBackpackWeapon = "";
    };
     case ((getPlayerUID player) in ["00","0","0"])  :  
    {
    DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","ItemGoldBar10oz"];
    DefaultWeapons = ["glock17_EP1","M4A1_AIM_SD_camo","Binocular_Vector","ItemRadio","NVGoggles","ItemMap","ItemCompass","ItemGPS","ItemWatch","ItemKnife","Itemtoolbox","ItemCrowbar","Itemetool","ItemHatchet_DZE"];
    DefaultBackpack = "DZ_LargeGunBag_EP1";
    DefaultBackpackWeapon = "";
    };
    };
    
  6. Thank You Lacost,  :D

    My players and I love this addon.

    But what I have found was the survivor model was invisible to me so I changed the model to the "CZ_Special_Forces_GL_DES_EP1_DZ" model and it works fine now.

    I also added this line to a custom "zombie_generate.sqf" around line 118 add this      _agent addRating -1000000; for the AI to attack Z's.

    I have also changed there price to 2x10oz.

    I have given the AI backpacks and changed their loadouts and all seems to be working well.

     

    On the following line what are the [1,2,3,4,5,6] Values represent?

    {_unit addMagazine "30Rnd_556x45_Stanag"} forEach [1,2,3,4,5,6];

     

    Thanks in advance

    STENCH

    How many mags they carry 

  7. I have this and its not wokring
     
    _randomloadout = [_low,_Med,_high,_def] call BIS_fnc_selectRandom;
     
    if(_low) then {
    //Low
    DefaultMagazines = ["ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","FoodCanBakedBeans","ItemSodaCoke","ItemPainkiller","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","ItemGoldBar","ItemGoldBar","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD"];
    DefaultWeapons = ["ItemFlashlight","ItemHatchet_DZE","ItemMap","M16A2GL","M9"];
    DefaultBackpack = "DZ_ALICE_Pack_EP1";
    DefaultBackpackWeapon = "";
    };
    if(_Mid) then {
    //Mid
    DefaultMagazines = ["ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemPainkiller","FoodMRE","ItemWaterbottle","30Rnd_545x39_AK","30Rnd_545x39_AK","ItemGoldBar10oz","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD"];
    DefaultWeapons = ["ItemFlashlight","ItemHatchet_DZE","ItemMap","AK_74","M9SD"];
    DefaultBackpack = "DZ_CivilBackpack_EP1";
    DefaultBackpackWeapon = "";
    };
    if(_High) then {
    //High
    DefaultMagazines = ["ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemPainkiller","ItemWaterbottle","FoodMRE","30Rnd_556x45_G36","30Rnd_556x45_G36","ItemGoldBar10oz","ItemGoldBar10oz","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD"];
    DefaultWeapons = ["ItemFlashlight","ItemHatchet_DZE","ItemMap","G36A_camo","M9SD","ItemRadio","Itemtoolbox"];
    DefaultBackpack = "DZ_Backpack_EP1";
    DefaultBackpackWeapon = "";
    };
    //default
    if (_def) then {
    DefaultMagazines = ["ItemBandage","ItemBandage","ItemMorphine","ItemPainkiller","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","ItemGoldBar","15Rnd_9x19_M9","15Rnd_9x19_M9"];
    DefaultWeapons = ["ItemFlashlight","ItemMachete","ItemMap","M4A3_CCO_EP1","M9"];
    DefaultBackpack = "DZ_TerminalPack_EP1";
    DefaultBackpackWeapon = "";
    };
     
    I have also tried
     
    _roll = floor(random 100);
    if(_roll <= 75) then {
    //Low
    DefaultMagazines = ["ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","FoodCanBakedBeans","ItemSodaCoke","ItemPainkiller","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","ItemGoldBar","ItemGoldBar","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD"];
    DefaultWeapons = ["ItemFlashlight","ItemHatchet_DZE","ItemMap","M16A2GL","M9"];
    DefaultBackpack = "DZ_ALICE_Pack_EP1";
    DefaultBackpackWeapon = "";
     
    }else{
    DefaultMagazines = ["ItemBandage","ItemBandage","ItemMorphine","ItemPainkiller","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","ItemGoldBar","15Rnd_9x19_M9","15Rnd_9x19_M9"];
    DefaultWeapons = ["ItemFlashlight","ItemMachete","ItemMap","M4A3_CCO_EP1","M9"];
    DefaultBackpack = "DZ_TerminalPack_EP1";
    DefaultBackpackWeapon = "";
    };
    if(_roll <= 60) then {
    //Mid
    DefaultMagazines = ["ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemPainkiller","FoodMRE","ItemWaterbottle","30Rnd_545x39_AK","30Rnd_545x39_AK","ItemGoldBar10oz","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD"];
    DefaultWeapons = ["ItemFlashlight","ItemHatchet_DZE","ItemMap","AK_74","M9SD"];
    DefaultBackpack = "DZ_CivilBackpack_EP1";
    DefaultBackpackWeapon = "";
     
    }else{
    DefaultMagazines = ["ItemBandage","ItemBandage","ItemMorphine","ItemPainkiller","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","ItemGoldBar","15Rnd_9x19_M9","15Rnd_9x19_M9"];
    DefaultWeapons = ["ItemFlashlight","ItemMachete","ItemMap","M4A3_CCO_EP1","M9"];
    DefaultBackpack = "DZ_TerminalPack_EP1";
    DefaultBackpackWeapon = "";
    };
    if(_roll <= 40) then {
    //High
    DefaultMagazines = ["ItemBloodbag","ItemBandage","ItemBandage","ItemMorphine","ItemPainkiller","ItemWaterbottle","FoodMRE","30Rnd_556x45_G36","30Rnd_556x45_G36","ItemGoldBar10oz","ItemGoldBar10oz","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD"];
    DefaultWeapons = ["ItemFlashlight","ItemHatchet_DZE","ItemMap","G36A_camo","M9SD","ItemRadio","Itemtoolbox"];
    DefaultBackpack = "DZ_Backpack_EP1";
    DefaultBackpackWeapon = "";
     
    }else{
    DefaultMagazines = ["ItemBandage","ItemBandage","ItemMorphine","ItemPainkiller","30Rnd_556x45_Stanag","30Rnd_556x45_Stanag","ItemGoldBar","15Rnd_9x19_M9","15Rnd_9x19_M9"];
    DefaultWeapons = ["ItemFlashlight","ItemMachete","ItemMap","M4A3_CCO_EP1","M9"];
    DefaultBackpack = "DZ_TerminalPack_EP1";
    DefaultBackpackWeapon = "";
    };
  8. Having problems with this script

    If some one could help me

    /////////////////////////////////////
    _itemsPlayer = items player;
    _mags = magazines player;
    _hasitem = _WItem in _itemsPlayer;
    _hasToolbox = "ItemToolbox" in _itemsPlayer;
    _Kweapon = primaryWeapon;
    /////////////////////////////////////
    _gun = "M4A1_Aim";
    _ritem = "PartGlass";
    _WItem = "";
    /////////////////////////////////////
    if (_ritem in _mags) then {
    Item = true;
    } else {
    Item = false;
    cutText [format["You don't have required parts glass"], "PLAIN DOWN",3];
    };
    
    if(Item) then {
    //
    player playActionNow "Medic";
    //
    (findDisplay 106) closeDisplay 1;
    waitUntil { isNull (FindDisplay 106) };
    //
    _dis=10;
    _sfx = "repair";
    [player,_sfx,0,false,_dis] call dayz_zombieSpeak;
    [player,_dis,true,(getPosATL player)] spawn player_alertZombies;
    //
    sleep 0.5;
    player removeMagazine _ritem;
    player removeWeapon _WItem;
    player removeWeapon (_Kweapon player);
    //
    sleep 1;
    cutText [format["Customizing you weapon"], "PLAIN DOWN",2];
    sleep 0.5;
    player addWeapon _gun;
    sleep 2;
    cutText [format["You have successfully customized you weapon"], "PLAIN DOWN",3];
    };
    ///////////////////////////////////////
    
  9. Easier way must add it to a menu.
    http://opendayz.net/threads/server-menu-script-for-dayz-interested.17907/

     

    Install this and you can remove everything and add this below or just add whats below

     

    IN the server menu.sqf

    add this before 

    s_player_servermenuCancel = player addAction ["close","custom\functions\server_menuClose.sqf","",-1,false,false,"", ""];
    

    Add this

    s_player_servermenu13 = player addAction [("<t color=""#01DF01"">" + ("AI Recruitment") +"</t>"),"bon_recruit_units\open_dialog.sqf","",-1,false,false,"", ""];
    

    In the server menu close

    Add

    player removeAction s_player_servermenu13;  
    

    Do that same in the self actions

  10. Need a picture to display over the main screen.

    It displays when a script is launched

    Not sure how to do this but this is what I have so far.

    class RscTitles
    {
    titles[] = {"info"};
    class info {
      idd = -1;
      movingEnable = 0;
      duration = 30;
      fadein = 2;
      fadeout = 2;
      name="info";
      controls[]={"Picture"};
      class Picture {
        x = safezoneX; y = safezoneY; w = safezoneW; h = safezoneH;
        text="info.jpg";
        sizeEx = -1;
        type=0;
        idc=-1;
        style=48;
        colorBackground[]={0,0,0,0};
        colorText[]={1,1,1,1};
        font="Bitstream";
      };
    };
    };
    

    To launch the picture i have 

    cutRsc["info", "PLAIN"];
    

    The problem is that is show up as a white screen

×
×
  • Create New...