Jump to content

Blighter

Member
  • Posts

    5
  • Joined

  • Last visited

Posts posted by Blighter

  1. //

    Lootspawner junction lists for classes to spawn-/lootable items
    // Author: Na_Palm (BIS forums)
    //-------------------------------------------------------------------------------------
    //here place Weapons an usable items (ex.: Binocular, ...)
    //used with addWeaponCargoGlobal
    //"lootWeapon_list" array of [class, [weaponlist]]
    // class : 0-civil, 1-military, ... (add more as you wish)
    // weaponlist : list of weapon class names
    lootWeapon_list = [
    [ 0, [ // CIVIL
    "arifle_MK20C_F",
    "arifle_MK20_F",
    "arifle_TRG20_F",
    "arifle_TRG21_F",
    "Binocular", //counts as weapon
    "hgun_ACPC2_F",
    "hgun_P07_F",
    "hgun_PDW2000_F",
    "hgun_Rook40_F",
    "SMG_01_F",
    "SMG_02_F",
    "srifle_EBR_F"
    ]],[ 1, [ // MILITARY
    "arifle_Katiba_C_F",
    "arifle_Katiba_F",
    "arifle_Katiba_GL_F",
    "arifle_Mk20C_F",
    "arifle_Mk20_F",
    "arifle_Mk20_GL_F",
    "arifle_MXC_F",
    "arifle_MXM_F",
    "arifle_MX_F",
    "arifle_MX_GL_F",
    "arifle_MX_SW_F",
    "arifle_SDAR_F",
    "arifle_TRG20_F",
    "arifle_TRG21_F",
    "arifle_TRG21_GL_F",
    "Binocular",
    "hgun_ACPC2_snds_F",
    "hgun_P07_snds_F",
    "hgun_PDW2000_F",
    "hgun_Rook40_snds_F",
    "LMG_Mk200_F",
    "LMG_Zafir_F",
    "Rangefinder",
    "SMG_01_F",
    "SMG_02_F",
    "srifle_EBR_F",
    "srifle_GM6_F",
    "srifle_LRR_F"
    ]],[ 2, [
    //"clasname" //<----Make sure last line has NO COMMA AT THE END
    ]],[ 3, [ // RESEARCH
    ]]];
     
    //-------------------------------------------------------------------------------------
    //here place magazines, weaponattachments and bodyitems(ex.: ItemGPS, ItemMap, Medikit, FirstAidKit, Binoculars, ...)
    //used with addMagazineCargoGlobal
    //"lootMagazine_list" array of [class, [magazinelist]]
    // class : 0-civil, 1-military, ... (add more as you wish)
    // magazinelist: list of magazine class names
    lootMagazine_list = [
    [ 0, [ // CIVIL
    "16Rnd_9x21_Mag",
    "20Rnd_556x45_UW_mag",
    "20Rnd_762x51_Mag",
    "30Rnd_45ACP_Mag_SMG_01",
    "30Rnd_556x45_Stanag",
    "30Rnd_9x21_Mag",
    "9Rnd_45ACP_Mag"
    ]],[ 1, [ // MILITARY
    "100Rnd_65x39_caseless_mag",
    "100Rnd_65x39_caseless_mag_Tracer",
    "150Rnd_762x51_Box",
    "150Rnd_762x51_Box_Tracer",
    "16Rnd_9x21_Mag",
    "1Rnd_HE_Grenade_shell",
    "1Rnd_SmokeBlue_Grenade_shell",
    "1Rnd_SmokeGreen_Grenade_shell",
    "1Rnd_SmokeOrange_Grenade_shell",
    "1Rnd_SmokePurple_Grenade_shell",
    "1Rnd_SmokeRed_Grenade_shell",
    "1Rnd_SmokeYellow_Grenade_shell",
    "1Rnd_Smoke_Grenade_shell",
    "200Rnd_65x39_cased_Box",
    "200Rnd_65x39_cased_Box_Tracer",
    "20Rnd_556x45_UW_mag",
    "20Rnd_762x51_Mag",
    "30Rnd_45ACP_Mag_SMG_01",
    "30Rnd_556x45_Stanag",
    "30Rnd_556x45_Stanag_Tracer_Green",
    "30Rnd_556x45_Stanag_Tracer_Red",
    "30Rnd_556x45_Stanag_Tracer_Yellow",
    "30Rnd_65x39_caseless_green",
    "30Rnd_65x39_caseless_green_mag_Tracer",
    "30Rnd_65x39_caseless_mag",
    "30Rnd_65x39_caseless_mag_Tracer",
    "30Rnd_9x21_Mag",
    "3Rnd_HE_Grenade_shell",
    "3Rnd_SmokeBlue_Grenade_shell",
    "3Rnd_SmokeGreen_Grenade_shell",
    "3Rnd_SmokeOrange_Grenade_shell",
    "3Rnd_SmokePurple_Grenade_shell",
    "3Rnd_SmokeRed_Grenade_shell",
    "3Rnd_SmokeYellow_Grenade_shell",
    "3Rnd_Smoke_Grenade_shell",
    "5Rnd_127x108_Mag",
    "7Rnd_408_Mag",
    "9Rnd_45ACP_Mag"
    ]],[ 2, [ // INDUSTRIAL
    "20Rnd_556x45_UW_mag",
    "30Rnd_45ACP_Mag_SMG_01",
    "30Rnd_556x45_Stanag",
    "30Rnd_556x45_Stanag_Tracer_Green",
    "30Rnd_556x45_Stanag_Tracer_Red",
    "30Rnd_556x45_Stanag_Tracer_Yellow",
    "30Rnd_65x39_caseless_green",
    "30Rnd_65x39_caseless_green_mag_Tracer",
    "30Rnd_65x39_caseless_mag",
    "30Rnd_65x39_caseless_mag_Tracer",
    "30Rnd_9x21_Mag"
    ]],[ 3, [ // RESEARCH
    //"clasname" //<----Make sure last line has NO COMMA AT THE END
    ]]];
     
    //-------------------------------------------------------------------------------------
    //here place hats, glasses, clothes, uniforms, vests
    //used with addItemCargoGlobal
    //"lootItem_list" array of [class, [itemlist]]
    // class : 0-civil, 1-military, ... (add more as you wish)
    // itemlist : list of item class names
    lootItem_list = [
    [ 0, [ // CIVIL
    //"classname" //<----Make sure last line has NO COMMA AT THE END
    ]],[ 1, [ // MILITARY
    //"clasname" //<----Make sure last line has NO COMMA AT THE END
    ]],[ 2, [ // INDUSTRIAL
    //"clasname" //<----Make sure last line has NO COMMA AT THE END
    ]],[ 3, [ // RESEARCH
    //"clasname" //<----Make sure last line has NO COMMA AT THE END
    ]]];
     
    //-------------------------------------------------------------------------------------
    //here place backpacks, parachutes and packed drones/stationary
    //used with addBackpackCargoGlobal
    //"lootBackpack_list" array of [class, [backpacklist]]
    // class : 0-civil, 1-military, ... (add more as you wish)
    // backpacklist: list of backpack class names
    lootBackpack_list = [
    [ 0, [ // CIVIL
    //"clasname" //<----Make sure last line has NO COMMA AT THE END
    ]],[ 1, [ // MILITARY
    //"clasname" //<----Make sure last line has NO COMMA AT THE END
    ]],[ 2, [ // INDUSTRIAL
    //"clasname" //<----Make sure last line has NO COMMA AT THE END
    ]],[ 3, [ // RESEARCH
    //"clasname" //<----Make sure last line has NO COMMA AT THE END
    ]]];
     
    //-------------------------------------------------------------------------------------
    //here place any other objects(ex.: Land_Basket_F, Box_East_Wps_F, Land_Can_V3_F, ...)
    //used with createVehicle directly
    //"lootworldObject_list" array of [class, [objectlist]]
    // class : 0-civil, 1-military, ... (add more as you wish)
    // objectlist : list of worldobject class names
    lootworldObject_list = [
    [ 0, [ // CIVIL
    "Bed_EPOCH",
    "Couch_EPOCH",
    "ChairRed_EPOCH",
    "Chair_EPOCH",
    "cooker_epoch"
    ]],[ 1, [ // MILITARY
    "Table_EPOCH",
    "Bunk_EPOCH",
    "Shoebox_EPOCH",
    "wardrobe_epoch",
    "locker_epoch"
    ]],[ 2, [ // INDUSTRIAL
    "Filing_EPOCH",
    "Tarp_EPOCH",
    "Shelf_EPOCH"
    ]],[ 3, [ // RESEARCH
    ]]];
     

    English:
     
    I have merged the example for more Epoch furniture and the standard lootspawn.
    Thanks for help
     
    German:
    Ich hab eigentlich nur aus der Beispiel-Datei von "LSLootLists with more Epoch furniture" den unteren Teil hinzugefügt.
    Danke für deine Hilfe - hast Du vielleicht eine gute Spawn-Liste - würde schon gerne mehr spawnen lassen, also mehr Epoch-Ganitur. 
  2. Thanks for your Script

    _lootholder addItemCargoGlobal [_loot, 1];
    _lootholder setdir (random 36>
     0:50:49   Error position: <_loot, 1];
    _lootholder setdir (random 36>
     0:50:49   Error Undefined variable in expression: _loot
     0:50:49 File loot_addon\LSpawner\fn_LSgetBuildingstospawnLoot.sqf, line 104
     0:50:49 Error in expression <m);
    _lootholder addBackpackCargoGlobal [_loot, 1];
    _lootholder setdir (random 36>
     0:50:49   Error position: <_loot, 1];
    _lootholder setdir (random 36>
     0:50:49   Error Undefined variable in expression: _loot
     0:50:49 File loot_addon\LSpawner\fn_LSgetBuildingstospawnLoot.sqf, line 113
     0:50:50 Error in expression <m);
    _lootholder addBackpackCargoGlobal [_loot, 1];
    _lootholder setdir (random 36>
     0:50:50   Error position: <_loot, 1];
    _lootholder setdir (random 36>
     0:50:50   Error Undefined variable in expression: _loot
     0:50:50 File loot_addon\LSpawner\fn_LSgetBuildingstospawnLoot.sqf, line 113
     0:50:50 Error in expression <ditem);
    _lootholder addItemCargoGlobal [_loot, 1];
    _lootholder setdir (random 36>
     0:50:50   Error position: <_loot, 1];
    _lootholder setdir (random 36>
     0:50:50   Error Undefined variable in expression: _loot
     0:50:50 File loot_addon\LSpawner\fn_LSgetBuildingstospawnLoot.sqf, line 104
     0:50:50 Error in expression <ditem);
    _lootholder addItemCargoGlobal [_loot, 1];
    _lootholder setdir (random 36>
     0:50:50   Error position: <_loot, 1];
    _lootholder setdir (random 36>
     0:50:50   Error Undefined variable in expression: _loot
     0:50:50 File loot_addon\LSpawner\fn_LSgetBuildingstospawnLoot.sqf, line 104
     0:50:50 Error in expression <ditem);
    _lootholder addItemCargoGlobal [_loot, 1];
    _lootholder setdir (random 36>
     0:50:50   Error position: <_loot, 1];
    _lootholder setdir (random 36>
     0:50:50   Error Undefined variable in expression: _loot
     0:50:50 File loot_addon\LSpawner\fn_LSgetBuildingstospawnLoot.sqf, line 104
    
    

    But, what is that? It Crashs the Server.

×
×
  • Create New...