Jump to content

sego

Member
  • Posts

    39
  • Joined

  • Last visited

Posts posted by sego

  1. This code make the mission spawn blue but for some reason it changes back to red.  I want it to stay blue  how do i do this.

    private["_nul","_nil"];
    DZMSMajCoords = _this select 0;
    DZMSMajName = _this select 1;
    if (DZMSMajName in ["Skalisty Siege"]) then
    {
        _nul = createMarker ["DZMSMajMarker", DZMSMajCoords];
    "DZMSMajMarker" setMarkerColor "ColorBlue";
    "DZMSMajMarker" setMarkerShape "ELLIPSE";
    "DZMSMajMarker" setMarkerBrush "SOLID";
    "DZMSMajMarker" setMarkerSize [500,500];
    _nil = createMarker ["DZMSMajDot", DZMSMajCoords];
    "DZMSMajDot" setMarkerColor "ColorBlack";
    "DZMSMajDot" setMarkerType "Vehicle";
    "DZMSMajDot" setMarkerText DZMSMajName;
    }
    else
    {
        _nul = createMarker ["DZMSMajMarker", DZMSMajCoords];
    "DZMSMajMarker" setMarkerColor "ColorRed";
    "DZMSMajMarker" setMarkerShape "ELLIPSE";
    "DZMSMajMarker" setMarkerBrush "Grid";
    "DZMSMajMarker" setMarkerSize [175,175];
    _nil = createMarker ["DZMSMajDot", DZMSMajCoords];
    "DZMSMajDot" setMarkerColor "ColorBlack";
    "DZMSMajDot" setMarkerType "Vehicle";
    "DZMSMajDot" setMarkerText DZMSMajName;
    };
  2. I have an objects ID and i can use getPos.  I need to use call BIS_fnc_findSafePos;  to find a new location and then how can i set that position to that object.  I need that change to happen while the game is running and now after a restart.

  3. class Item1
    		{
    			side="WEST";
    			class Vehicles
    			{
    				items=1;
    				class Item0
    				{
    					position[]={8163.3784,460.00232,9298.8467};
    					azimut=185;
    					special="NONE";
    					id=6;
    					side="WEST";
    					vehicle="USMC_SoldierS_Sniper";
    					leader=1;
    					skill=0.84981835;
    				};
    			};
    		};
    

    I need to convert these sqm file creates into spawning AI with DZMS.   How can i do this.  ALSO the what are the arguments in the createUnit method.  

     

      _this = _group_0 createUnit ["US_Army_Soldier_AA", [14710.98, 13731.043], [], 0, "CAN_COLLIDE"];

     

    How can i do a flying heli that is AI controlled and will shot.

  4. I want to add enemy AI with JonEditor.  So i can get the locations correct.  How do i do this?  When i add unit there are not alot of opitions for them.  Also how can i put them in a car or truck.

  5. mysql server keep these [29.864,[9676.83,8876.92,0.05]] worldspace.  How can i read this so i can find it in game.  I know i can just change my worldspace to it but thats annoying.

  6. I have no clue why but when i added a few scripts today and now when you try to change skins i break my legs and get the "cant count magazine" message.

    below is one of the scripts i added that edits the player_switchModel.sqf,  but i dont think it would have messed it up because i used the default one with those changes.  Then i have the compile call my custom one. 

     

     

    http://opendayz.net/threads/release-dzgm-dayz-group-management.20293/

  7. I need to add them to this CFGMagazine i think where is that
     
    _okSkin = isClass (configFile >> "CfgMagazines" >> _itemNew);
     
    if(_okSkin) then {
    player playActionNow "Medic";
    sleep 3;
    _clothesTaken = _body getVariable["clothesTaken",false];
    if(!_clothesTaken) then {
    _itemNewName = getText (configFile >> "CfgMagazines" >> _itemNew >> "displayName");
    _result = [player,_itemNew] call BIS_fnc_invAdd;
            if (_result) then {
    _body setVariable["clothesTaken",true,true];
    cutText [format["One %1 has been added to your inventory!",_itemNewName], "PLAIN DOWN"];
    } else {
    cutText [format["You didn't have enough room to store a %1 :(",_itemNewName], "PLAIN DOWN"];
            };
    } else {
    cutText ["This Skin has already been taken!", "PLAIN DOWN"];
    };
    } else {
    cutText [format["Currently %1 is not supported by the steal skin script.",_skin], "PLAIN DOWN"];
    };
  8. I added the overpoch loot in to the mission system but i tried in the AI config to add some different skins and guns for the AI but it makes the missions spawn with no AI. Below are the two parts i tried changing

    // Array of skin classnames for the AI to use
    DZMSBanditSkins = ["Bandit1_DZ","BanditW2_DZ"];
     
     
    //////////////////////////////////////////////////////////////
    // This is the primary weaponlist that can be assigned to AI
    // These are assigned based on AI difficulty level
    DZMSWeps0 = [
    "M16A2",
    "M16A2GL",
    "AK_74",
    "M4A1_Aim",
    "AKS_74_kobra",
    "AKS_74_U",
    "AK_47_M",
    "M24",
    "M1014",
    "DMR_DZ",
    "M4A1",
    "M14_EP1",
    "Remington870_lamp",
    "MP5A5",
    "MP5SD",
    "M4A3_CCO_EP1"
    "RH_hk416saim"
    "RH_acrb"
    "vil_SV_98"
    "vil_AG36KV"
    "RH_masb"
    ];
     
    DZMSWeps1 = [
    "M16A2",
    "M16A2GL",
    "M249_DZ",
    "AK_74",
    "M4A1_Aim",
    "AKS_74_kobra",
    "AKS_74_U",
    "AK_47_M",
    "M24",
    "SVD_CAMO",
    "M1014",
    "DMR_DZ",
    "M4A1",
    "M14_EP1",
    "Remington870_lamp",
    "M240_DZ",
    "M4A1_AIM_SD_camo",
    "M16A4_ACG",
    "M4A1_HWS_GL_camo",
    "Mk_48_DZ",
    "M4A3_CCO_EP1",
    "Sa58V_RCO_EP1",
    "Sa58V_CCO_EP1",
    "M40A3",
    "Sa58P_EP1",
    "Sa58V_EP1"
    "RH_hk416saim"
    "RH_acrb"
    "vil_SV_98"
    "vil_AG36KV"
    "RH_masb"
    ];
     
    DZMSWeps2 = [
    "FN_FAL",
    "FN_FAL_ANPVS4",
    "Mk_48_DZ",
    "M249_DZ",
    "BAF_L85A2_RIS_Holo",
    "G36C",
    "G36C_camo",
    "G36A_camo",
    "G36K_camo",
    "AK_47_M",
    "AKS_74_U",
    "M14_EP1",
    "bizon_silenced",
    "DMR_DZ",
    "RPK_74"
    "RH_hk416saim"
    "RH_acrb"
    "vil_SV_98"
    "vil_AG36KV"
    "RH_masb"
    ];
     
    DZMSWeps3 = [
    "FN_FAL",
    "FN_FAL_ANPVS4",
    "Mk_48_DZ",
    "M249_DZ",
    "BAF_L85A2_RIS_Holo",
    "G36C",
    "G36C_camo",
    "G36A_camo",
    "G36K_camo",
    "AK_47_M",
    "AKS_74_U",
    "M14_EP1",
    "bizon_silenced",
    "DMR_DZ",
    "RPK_74"
    "RH_hk416saim"
    "RH_acrb"
    "vil_SV_98"
    "vil_AG36KV"
    "RH_masb"
    ];
  9. After 1.0.5.1 no one could maintain so i left my server down until now.  I fixed the maintain problem but now all the bases despawned.  I think they still exist in the database.  I tried changing the hiveext to 45 days but none of the bases came back

×
×
  • Create New...