Jump to content

aDIRTYnurse

Member
  • Content Count

    28
  • Joined

  • Last visited

  • Medals

Posts posted by aDIRTYnurse


  1. So this is my init atm

    enableSaving [false, false];
    enableRadio false;														// That will clear the voices from my head...
    enableSentences FALSE;													// Stop talking to myself
    "respawn_west" setMarkerAlpha 0;'
    "respawn_civilian" setMarkerAlpha 0;
    
    null = execVM "deleteMarkers.sqf";
    
    null = [this] execVM "loadout.sqf"; 
    this addeventhandler ["respawn","_this execVM 'loadout.sqf'"];
    
    [missionNamespace,["RGTRespawnInv"]] call BIS_fnc_addRespawnInventory;

    The deletemarkers.sqf is the same as yours


  2. Hi!

     

    Most likely this has come on here already, but I couldn't find any matches.

    My question is...
    How can I configure my server in a way, that Map Markers are only put down in Direct Chat and by Zeus for everyone to see? One of the conditions is, that group and global chat themselves still need to remain active for use, but only map markers are not usable on those channels.

     

     

    Thanks for any help.


  3. Hey

    I need another pair of eyes to take a look a this. What am I missing?

    The script itself works, but when the mk17 gets picked, the "else" section still goes into action.
    If the M14ebr, DMR_camo or sr25 get selected, the mag are okay, but with the mk17, it still adds the unusable ACE mags.
     

    Script:

    Spoiler

    comment "Remove existing items";
    removeAllWeapons player;
    removeAllItems player;
    removeAllAssignedItems player;
    removeUniform player;
    removeVest player;
    removeBackpack player;
    removeHeadgear player;

    comment "Add weapons";
    _rifle = ["rhs_weap_m14ebrri", 0.75, "rhs_weap_mk17_STD", 0.50, "srifle_DMR_06_camo_F", 0.20, "rhs_weap_sr25_d", 0.50] call BIS_fnc_selectRandomWeighted;
    player addWeapon _rifle;
    player addPrimaryWeaponItem "optic_MRCO";
    if (_rifle isEqualTo "rhs_weap_mk17_STD") then { 
        player addPrimaryWeaponItem "rhsusf_acc_anpeq15_wmx_sc";
        player addPrimaryWeaponItem "rhsgref_sdn6_suppressor"; 
    }    else    {
        player addPrimaryWeaponItem "rhsusf_acc_anpeq15side";
    };
    player addPrimaryWeaponItem "rhsusf_acc_sr25s_d";
    player addPrimaryWeaponItem "rhsusf_acc_harris_bipod";

    comment "Add containers";
    player forceAddUniform "milgp_u_g3_field_set_mc";
    player addItemToUniform "ACE_epinephrine";
    for "_i" from 1 to 5 do {player addItemToUniform "ACE_elasticBandage";};
    for "_i" from 1 to 3 do {player addItemToUniform "ACE_tourniquet";};
    player addItemToUniform "ACE_CableTie";
    player addItemToUniform "ACE_EarPlugs";
    player addItemToUniform "ACE_Flashlight_MX991";
    player addItemToUniform "ACE_MapTools";
    player addItemToUniform "B_IR_Grenade";
    player addItemToUniform "Chemlight_green";
    player addItemToUniform "ACE_Chemlight_IR";
    player addItemToUniform "Chemlight_red";
    for "_i" from 1 to 3 do {player addItemToUniform "rhsusf_mag_15Rnd_9x19_JHP";};
    _array = ["rhsusf_spcs_ocp_sniper", "milgp_v_marciras_marksman_mc", "milgp_v_marciras_marksman_belt_mc"];
    _vest = selectRandom _array;
    player addVest _vest;
    player addItemToVest "ACE_microDAGR";
    for "_i" from 1 to 2 do {player addItemToVest "HandGrenade";};
    player addItemToVest "ACE_EntrenchingTool";
    for "_i" from 1 to 2 do {player addItemToVest "SmokeShell";};
    player addItemToVest "SmokeShellBlue";
    player addBackpack "TRYK_B_BAF_BAG_mcamo";
    _array = ["rhs_mag_20Rnd_SCAR_762x51_mk316_special", "rhs_mag_20Rnd_SCAR_762x51_mk316_special_bk"];
    _mag1 = selectRandom _array;
    _array = ["rhs_mag_20Rnd_SCAR_762x51_m61_ap", "rhs_mag_20Rnd_SCAR_762x51_m61_ap_bk"];
    _mag2 = selectRandom _array;
    if (_rifle isEqualTo "rhs_weap_mk17_STD") then { 
        for "_i" from 1 to 4 do {player addItemToBackpack _mag1;};
        for "_i" from 1 to 3 do {player addItemToBackpack _mag2;}; 
    }    or    
    if (_rifle isEqualTo "rhs_weap_sr25_d") then {
        for "_i" from 1 to 4 do {player addItemToBackpack "rhsusf_20Rnd_762x51_SR25_m118_special_Mag";};
        for "_i" from 1 to 3 do {player addItemToBackpack "rhsusf_20Rnd_762x51_SR25_m993_Mag";};
    }    else    {
        for "_i" from 1 to 4 do {player addItemToBackpack "ACE_20Rnd_762x51_M118LR_Mag";};
        for "_i" from 1 to 3 do {player addItemToBackpack "ACE_20Rnd_762x51_M993_AP_Mag";};
    };

    _array = ["rhsusf_ach_helmet_ocp_norotos", "rhsusf_ach_helmet_camo_ocp", "rhsusf_ach_helmet_headset_ess_ocp", "rhsusf_ach_helmet_headset_ocp", "rhsusf_ach_helmet_ESS_ocp", "rhsusf_ach_helmet_ocp"];
    _helmet = selectRandom _array;
    player addHeadgear _helmet;

    player addWeapon "rhsusf_weap_m9";

    comment "Add items";
    player linkItem "ItemMap";
    player linkItem "ItemCompass";
    player linkItem "tf_microdagr";
    player linkItem "tf_anprc152";
    player linkItem "ItemGPS";
    player linkItem "rhsusf_ANPVS_14";

    player setSpeaker "ACE_NoVoice";

    player setVariable ["ACE_GForceCoef", 1];

    [[player],"ace_medical_medicClass", 1, true] call ace_common_fnc_assignObjectsInList;
    [[player],"ACE_IsEngineer", 1, true] call ace_common_fnc_assignObjectsInList;
     

     


  4. This is one of the loadout scripts my group uses.

    Quote

    comment "Remove existing items";
    removeAllWeapons player;
    removeAllItems player;
    removeAllAssignedItems player;
    removeUniform player;
    removeVest player;
    removeBackpack player;
    removeHeadgear player;
    removeGoggles player;

    comment "Add weapons";
    _rifle = ["rhs_weap_m4a1_blockII", 0.48, "rhs_weap_m4a1_blockII_KAC", 0.48, "rhs_weap_m4a1", 0.02, "rhs_weap_mk18", 0.02] call BIS_fnc_selectRandomWeighted;
    player addWeapon _rifle;
    _array = ["rhsusf_acc_M952V", "acc_flashlight", "rhsusf_acc_wmx", "rhsusf_acc_wmx_bk"];
    _rail = selectRandom _array;
    player addPrimaryWeaponItem _rail;
    _optic = ["rhsusf_acc_eotech_552", 0.70, "rhsusf_acc_compm4", 0.20, "rhsusf_acc_ACOG_RMR", 0.10] call BIS_fnc_selectRandomWeighted;
    player addPrimaryWeaponItem _optic;

    comment "Add containers";
    player forceAddUniform "milgp_u_g3_field_set_mc";
    player addItemToUniform "ACE_epinephrine";
    for "_i" from 1 to 5 do {player addItemToUniform "ACE_elasticBandage";};
    for "_i" from 1 to 3 do {player addItemToUniform "ACE_tourniquet";};
    player addItemToUniform "ACE_CableTie";
    player addItemToUniform "ACE_EarPlugs";
    player addItemToUniform "ACE_Flashlight_MX991";
    player addItemToUniform "ACE_MapTools";
    player addItemToUniform "B_IR_Grenade";
    player addItemToUniform "Chemlight_green";
    player addItemToUniform "ACE_Chemlight_IR";
    player addItemToUniform "Chemlight_red";
    _vest = ["rhsusf_spcs_ocp_rifleman", 0.45, "rhsusf_spcs_ocp_rifleman_alt", 0.45, "rhsusf_iotv_ocp_Rifleman", 0.10] call BIS_fnc_selectRandomWeighted;
    player addVest _vest;
    player addItemToVest "ACE_microDAGR";
    for "_i" from 1 to 2 do {player addItemToVest "HandGrenade";};
    player addItemToVest "ACE_EntrenchingTool";
    for "_i" from 1 to 2 do {player addItemToVest "SmokeShell";};
    player addItemToVest "SmokeShellBlue";
    for "_i" from 1 to 8 do {player addItemToVest "rhs_mag_30Rnd_556x45_Mk318_Stanag";};
    _array = ["rhsusf_ach_helmet_ocp_norotos", "rhsusf_ach_helmet_camo_ocp", "rhsusf_ach_helmet_headset_ess_ocp", "rhsusf_ach_helmet_headset_ocp", "rhsusf_ach_helmet_ESS_ocp", "rhsusf_ach_helmet_ocp"];
    _helmet = selectRandom _array;
    player addHeadgear _helmet;

    comment "Add items";
    player linkItem "ItemMap";
    player linkItem "ItemCompass";
    player linkItem "tf_microdagr";
    player linkItem "tf_anprc152";
    player linkItem "ItemGPS";
    player linkItem "rhsusf_ANPVS_14";


    player setSpeaker "ACE_NoVoice";

    player setVariable ["ACE_GForceCoef", 1];

    [[player],"ace_medical_medicClass", 1, true] call ace_common_fnc_assignObjectsInList;
    [[player],"ACE_IsEngineer", 0, true] call ace_common_fnc_assignObjectsInList;

     

    I need help with a if function with a specific primary weapon condition.
    If after the weapon selection the primary weapon is rhs_weap_m4a1 then it would add a primaryWeaponItem, for example.

    If that condition is not met, then it would run just as is.

     

    Thanks for any help


  5. Hi

     

     

    Other people's guns keep randomly popping off shots, doesn't matter if the rifle is in their hands or on their back. I've eliminated ADs.

    Most of my group are reporting this as happening. It confuses people a lot, because the gunfire is always close and catches people off guard.

    Its gotten to the point its annoying.

     

    I'll try to get you guys some video, but don't hold your breath.

     

    Thanks for the help.


  6. Hi!

     

    My server keeps getting bombarded with spam

    Spoiler

    14:53:47 Error: Object(2 : 133) not found
    14:53:47 Error: Object(2 : 137) not found
    14:53:47 Error: Object(2 : 144) not found
    14:53:47 Error: Object(2 : 145) not found
    14:53:47 Error: Object(2 : 146) not found
    14:53:47 Error: Object(2 : 147) not found
    14:53:47 Error: Object(2 : 154) not found
    14:53:47 Error: Object(2 : 155) not found
    14:53:47 Error: Object(2 : 156) not found
    14:53:47 Error: Object(2 : 157) not found
    14:53:47 Error: Object(2 : 161) not found
    14:53:47 Error: Object(2 : 165) not found
    14:53:47 Error: Object(2 : 172) not found
    14:53:47 Error: Object(2 : 176) not found

    Spoiler

    15:00:39 Client: Object 3:12 (type Type_93) not found.
    15:00:42 Client: Object 3:9 (type Type_115) not found.
    15:00:44 Client: Object 3:8 (type Type_93) not found.
    15:00:44 Client: Object 3:12 (type Type_93) not found.
    15:00:47 Client: Object 3:13 (type Type_115) not found.
    15:00:48 Client: Object 3:13 (type Type_114) not found.
    15:00:48 Client: Object 3:12 (type Type_351) not found.
    15:00:49 Client: Object 3:9 (type Type_114) not found.
    15:00:49 Client: Object 3:8 (type Type_351) not found.
    15:00:49 Client: Object 3:8 (type Type_93) not found.
    15:00:49 Client: Object 3:12 (type Type_93) not found.
    15:00:52 Client: Object 3:9 (type Type_115) not found.
    15:00:54 Client: Object 3:8 (type Type_93) not found.
    15:00:54 Client: Object 3:12 (type Type_93) not found.
    15:00:57 Client: Object 3:13 (type Type_115) not found.
    15:00:59 Client: Object 3:8 (type Type_93) not found.
    15:00:59 Client: Object 3:12 (type Type_93) not found.
    15:01:02 Client: Object 3:9 (type Type_115) not found.
    15:01:04 Client: Object 3:8 (type Type_93) not found.
    15:01:04 Client: Object 3:12 (type Type_93) not found.
    15:01:07 Client: Object 3:13 (type Type_114) not found.
    15:01:07 Client: Object 3:12 (type Type_351) not found.
    15:01:07 Client: Object 3:8 (type Type_351) not found.
    15:01:07 Client: Object 3:13 (type Type_115) not found.
    15:01:07 Client: Object 3:9 (type Type_114) not found.
    15:01:10 Client: Object 3:8 (type Type_93) not found.
    15:01:10 Client: Object 3:12 (type Type_93) not found.
    15:01:12 Client: Object 3:8 (type Type_456) not found.
    15:01:12 Client: Object 3:9 (type Type_115) not found.
    15:01:13 Client: Object 3:12 (type Type_456) not found.
    15:01:15 Client: Object 3:8 (type Type_93) not found.
    15:01:15 Client: Object 3:12 (type Type_93) not found.
    15:01:17 Client: Object 3:13 (type Type_115) not found.
    15:01:20 Client: Object 3:8 (type Type_93) not found.
    15:01:20 Client: Object 3:12 (type Type_93) not found.
    15:01:22 Client: Object 3:9 (type Type_115) not found.
    15:01:25 Client: Object 3:8 (type Type_93) not found.
    15:01:25 Client: Object 3:12 (type Type_93) not found.
    15:01:25 Client: Object 3:13 (type Type_114) not found.
    15:01:25 Client: Object 3:12 (type Type_351) not found.
    15:01:26 Client: Object 3:8 (type Type_351) not found.
    15:01:26 Client: Object 3:9 (type Type_114) not found.
    15:01:27 Client: Object 3:13 (type Type_115) not found.
    15:01:30 Client: Object 3:8 (type Type_93) not found.
    15:01:30 Client: Object 3:12 (type Type_93) not found.
    15:01:32 Client: Object 3:9 (type Type_115) not found.
    15:01:35 Client: Object 3:8 (type Type_93) not found.
    15:01:35 Client: Object 3:12 (type Type_93) not found.
    15:01:38 Client: Object 3:13 (type Type_115) not found.
    15:01:40 Client: Object 3:8 (type Type_93) not found.
    15:01:40 Client: Object 3:12 (type Type_93) not found.
    15:01:43 Client: Object 3:9 (type Type_115) not found.
    15:01:44 Client: Object 3:13 (type Type_114) not found.
    15:01:44 Client: Object 3:12 (type Type_351) not found.
    15:01:45 Client: Object 3:8 (type Type_351) not found.
    15:01:45 Client: Object 3:8 (type Type_93) not found.
    15:01:45 Client: Object 3:12 (type Type_93) not found.
    15:01:45 Client: Object 3:9 (type Type_114) not found.
    15:01:48 Client: Object 3:13 (type Type_115) not found.
    15:01:50 Client: Object 3:8 (type Type_93) not found.
    15:01:50 Client: Object 3:12 (type Type_93) not found.
    15:01:53 Client: Object 3:9 (type Type_115) not found.
    15:01:55 Client: Object 3:8 (type Type_93) not found.
    15:01:55 Client: Object 3:12 (type Type_93) not found.
    15:01:58 Client: Object 3:13 (type Type_115) not found.
    15:01:58 Client: Object 3:8 (type Type_456) not found.
    15:01:59 Client: Object 3:12 (type Type_456) not found.
    15:02:00 Client: Object 3:8 (type Type_93) not found.
    15:02:00 Client: Object 3:12 (type Type_93) not found.
    15:02:03 Client: Object 3:9 (type Type_115) not found.
    15:02:03 Client: Object 3:13 (type Type_114) not found.
    15:02:03 Client: Object 3:12 (type Type_351) not found.
    15:02:03 Client: Object 3:8 (type Type_351) not found.
    15:02:04 Client: Object 3:9 (type Type_114) not found.
    15:02:05 Client: Object 3:8 (type Type_93) not found.
    15:02:05 Client: Object 3:12 (type Type_93) not found.
    15:02:08 Client: Object 3:13 (type Type_115) not found.
    15:02:10 Client: Object 3:8 (type Type_93) not found.
    15:02:10 Client: Object 3:12 (type Type_93) not found.
    15:02:13 Client: Object 3:9 (type Type_115) not found.
    15:02:15 Client: Object 3:8 (type Type_93) not found.
    15:02:15 Client: Object 3:12 (type Type_93) not found.
    15:02:18 Client: Object 3:13 (type Type_115) not found.
    15:02:20 Client: Object 3:8 (type Type_93) not found.
    15:02:21 Client: Object 3:12 (type Type_93) not found.
    15:02:21 Client: Object 3:13 (type Type_114) not found.
    15:02:22 Client: Object 3:12 (type Type_351) not found.
    15:02:22 Client: Object 3:8 (type Type_351) not found.
    15:02:23 Client: Object 3:9 (type Type_114) not found.
    15:02:23 Client: Object 3:9 (type Type_115) not found.

    Spoiler

    15:15:41 Server: Object 3:145 not found (message Type_456)
    15:15:41 Server: Object 3:144 not found (message Type_454)
    15:15:41 Server: Object 3:123 not found (message Type_455)
    15:15:41 Server: Object 3:143 not found (message Type_454)
    15:15:41 Server: Object 3:142 not found (message Type_115)
    15:15:41 Server: Object 3:141 not found (message Type_456)
    15:15:41 Server: Object 3:140 not found (message Type_454)
    15:15:41 Server: Object 3:124 not found (message Type_115)
    15:15:41 Server: Object 3:139 not found (message Type_454)
    15:15:41 Server: Object 3:127 not found (message Type_121)
    15:15:41 Server: Object 3:138 not found (message Type_454)
    15:15:41 Server: Object 3:137 not found (message Type_115)
    15:15:41 Server: Object 3:136 not found (message Type_456)
    15:15:41 Server: Object 3:107 not found (message Type_121)
    15:15:41 Server: Object 3:135 not found (message Type_454)
    15:15:41 Server: Object 3:122 not found (message Type_454)
    15:15:41 Server: Object 3:134 not found (message Type_454)
    15:15:41 Server: Object 3:109 not found (message Type_128)
    15:15:41 Server: Object 3:133 not found (message Type_115)
    15:15:41 Server: Object 3:132 not found (message Type_456)
    15:15:41 Server: Object 3:126 not found (message Type_121)
    15:15:41 Server: Object 3:131 not found (message Type_454)
    15:15:41 Server: Object 3:111 not found (message Type_121)
    15:15:41 Server: Object 3:130 not found (message Type_454)
    15:15:41 Server: Object 3:112 not found (message Type_93)
    15:15:41 Server: Object 3:121 not found (message Type_454)
    15:15:41 Server: Object 3:108 not found (message Type_121)
    15:15:41 Server: Object 3:115 not found (message Type_93)
    15:15:41 Server: Object 3:110 not found (message Type_114)
    15:15:41 Server: Object 3:116 not found (message Type_93)
    15:15:41 Server: Object 3:117 not found (message Type_121)
    15:15:41 Server: Object 3:120 not found (message Type_93)
    15:15:41 Server: Object 3:119 not found (message Type_114)
    15:15:41 Server: Object 3:114 not found (message Type_114)
    15:15:41 Server: Object 3:118 not found (message Type_127)
    15:15:41 Server: Object 3:105 not found (message Type_105)
    15:15:42 Server: Object 3:179 not found (message Type_114)
    15:15:42 Server: Object 3:180 not found (message Type_93)
    15:15:42 Server: Object 3:172 not found (message Type_121)
    15:15:42 Server: Object 3:188 not found (message Type_115)
    15:15:42 Server: Object 3:159 not found (message Type_454)
    15:15:42 Server: Object 3:171 not found (message Type_115)
    15:15:42 Server: Object 3:170 not found (message Type_456)
    15:15:42 Server: Object 3:160 not found (message Type_128)
    15:15:42 Server: Object 3:187 not found (message Type_456)
    15:15:42 Server: Object 3:183 not found (message Type_127)
    15:15:42 Server: Object 3:169 not found (message Type_454)
    15:15:42 Server: Object 3:155 not found (message Type_127)
    15:15:42 Server: Object 3:168 not found (message Type_454)
    15:15:42 Server: Object 3:182 not found (message Type_454)
    15:15:42 Server: Object 3:167 not found (message Type_454)
    15:15:42 Server: Object 3:154 not found (message Type_454)
    15:15:42 Server: Object 3:186 not found (message Type_454)
    15:15:42 Server: Object 3:166 not found (message Type_115)
    15:15:42 Server: Object 3:165 not found (message Type_456)

    It has gotten to a point where my server logs are over 2GB large. It causes massive desync and lag. Missions are almost unplayable.

     

    HELP!

     

    I know this has been reported here earlier, but I still couldn't find a fix for this. 

     

     

    Thanks in advance for any help, you guys can give me.


  7. Hi!

     

    My first post here.

    I've recently had to take charge of a group's server side dealings and I have no clue how to make it work. I've searched these forums without success (pretty sure I just don't know what to look for).
    Anyway our groups loadouts are made in each separate SQF file and then used with "add action". The inside of the SQF is copy-paste from the BI Arsenal with this replaced with player.

     

    I'd like to know if its possible to make a list of uniforms and the script would pick one uniform from that list at random, while using the same SQF files.

    Another question is if anyone has any good tips on how to make a loadout selector thingymajeeg? Like I said we currently have a SQF file for each loadout and then we compile those add actions into a inanimate NPC to know which loadout we are dealing with.

     

     

    Keep in mind I'm green as a leprechaun's hat when it comes to scripting in Arma.

     

    Thanks in advance for the answers.

    D


    EDIT! I managed to find a post from last year and got it to work.
    Second question still stands though

    • Like 1
    • Thanks 1

  8. I saw GPS/INS metioned somewhere here.

     

    Do we have any information whether the Jets DLC will feature something resembling an asset, that allows us to conduct BOC (bombs on coordinates) CAS attacks?

     

    Secondly and not as importantly, if air superiority jets are included, are they going to do something about the world draw distance? The ground disappears for me even when the video settings are maxxed out.

     

    Thanks for any useful info :)

    • Like 1
×