Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * CfgExileScavenge
- *
- * Author: Steve aka Salutesh
- *
- * Description:
- * These configurations are used within the scavange system to configure the different scavange classes.
- */
- class Exile_ScavengeClass
- {
- animations[] = // List auf animations the player unit can play in the scavenge action. Only one animation in this list will be executed.
- {
- "AinvPknlMstpSnonWnonDnon_medic_1"
- };
- type = "ScavengeClass"; // This is the definition of the scavenge class, there are currently 2 classes (ScavengeClass = Player dont need any requirements,
- // he can just loot the object | CraftingClass = Player needs a special item/tool/weapon to get a item back from the source).
- chance = 100; // Chance of getting a item from a scavange.
- searchtime = 5; // Searchtime in seconds the player will need to scavenge a object.
- maxitems = 0; // Max items to get from a single scavange.
- icon = ""; // Action icon ClassName (Configure your own classes within the provided CfgExileHoldActions.cpp)
- text = "My Scavenge Interaction"; // Action text that gets displayed with the icon.
- models[] = {}; // Interaction models (has to be a p3d) that will work with this scavange class.
- recipes[] = {}; // Recipes that are used in this class.
- items[] = {}; // Items that the player with get from this scavange class.
- // In case of a scavange class that needs a item/model/object/surface this part gets in action.
- // So far this is used for the water class that requires a empty bottle/canister in the players inventory to "fill" it with water and the
- // Cinderblock class where the player needs a weapon (hammer) on his body to get a item back from the source.
- class conditions
- {
- items[] = {}; // Item conditions (the player needs this item in his inventory or he cant scavanged sucsessful from this source).
- weapons[] = {}; // Weapon conditions (the player needs this weapon in his inventory/body or he cant scavanged sucsessful from this source).
- };
- };
- class CfgExileScavenge
- {
- class Trash: Exile_ScavengeClass
- {
- animations[] =
- {
- "AinvPknlMstpSnonWnonDnon_medic_1"
- };
- type = "ScavengeClass";
- chance = 90;
- searchtime = 10;
- maxitems = 1;
- icon = "Default";
- text = "Search through garbage";
- models[] =
- {
- // Trashpiles
- "garbagewashingmachine_f.p3d",
- "garbagepallet_f.p3d",
- "garbagebags_f.p3d",
- "garbageheap_01_f.p3d",
- "garbageheap_02_f.p3d",
- "garbageheap_03_f.p3d",
- "garbageheap_04_f.p3d",
- "misc_gcontainer_big.p3d",
- "misc_garb_heap_ep1.p3d",
- "garbagebags_f.p3d",
- "popelnice.p3d",
- "garbagecontainer_open_f.p3d",
- "garbagecontainer_closed_f.p3d",
- "kontejner.p3d",
- "barricade_01_10m_f.p3d",
- "barricade_01_4m_f.p3d",
- "junkpile_f.p3d",
- "junkpile.p3d",
- "garb_junkpile_pmc.p3d",
- "fishinggear_01_f.p3d",
- "fishinggear_02_f.p3d",
- "crabcages_f.p3d",
- // Trashbins
- "kontejner.p3d",
- "garbagebin_01_f.p3d",
- "garbagebin_02_f.p3d"
- };
- items[] =
- {
- "Exile_Item_CanOpener",
- "Exile_Item_Can_Empty",
- "Exile_Item_WaterCanisterEmpty",
- "Exile_Item_PlasticBottleEmpty",
- "Exitem_canteen",
- "Exitem_can_crushed",
- "Exitem_can_crushed2",
- "Exile_Item_ToiletPaper",
- "Exile_Item_Magazine01",
- "Exile_Item_Magazine02",
- "Exile_Item_Magazine03",
- "Exile_Item_Magazine04",
- "Exitem_glue",
- "Exile_Item_Bullets_556",
- "Exile_Item_Bullets_762",
- "ItemMap"
- };
- };
- class Wrecks: Exile_ScavengeClass
- {
- animations[] =
- {
- "AinvPknlMstpSnonWnonDnon_medic_1"
- };
- type = "ScavengeClass";
- chance = 80;
- searchtime = 10;
- maxitems = 1;
- icon = "Exile_HA_Icon_Wreck";
- text = "Scavenge Wreck";
- models[] =
- {
- "wreck_brdm2_f.p3d",
- "wreck_van_f.p3d",
- "wreck_truck_dropside_f.p3d",
- "wreck_truck_f.p3d",
- "wreck_car2_f.p3d",
- "wreck_offroad_f.p3d",
- "wreck_car_f.p3d",
- "wreck_bmp2_f.p3d",
- "wreck_truck_f.p3d",
- "wreck_car3_f.p3d",
- "hiluxt.p3d",
- "hmmwv_wrecked.p3d",
- "wreck_hmmwv_f.p3d",
- "wreck_offroad2_f.p3d",
- "wreck_hunter_f.p3d",
- "uaz_wrecked.p3d",
- "wreck_ural_f.p3d",
- "wreck_uaz_f.p3d",
- "wreck_cardismantled_f.p3d",
- "m113t.p3d",
- "uaz_wrecked.p3d",
- "wreck_skodovka_f.p3d",
- "skodovka_wrecked.p3d",
- "lada_wrecked.p3d",
- "ural_wrecked.p3d",
- "brdm2_wrecked.p3d",
- "jeept.p3d",
- "mi8_crashed.p3d",
- // Cups & Arma
- "datsun01t.p3d",
- "datsun02t.p3d",
- "bmp2_wrecked.p3d",
- "wreck_heli_attack_02_f.p3d",
- "wreck_heli_attack_01_f.p3d"
- // Some Redux (Dont Seem to work)
- //"chz_kamaz_korpus2.p3d",
- //"chz_avtobus2.p3d",
- //"chz_kamaz_fura.p3d",
- //"chz_kamaz_pricep.p3d"
- };
- items[] =
- {
- "Exile_Item_FuelCanisterFull",
- "Exile_Item_FuelCanisterEmpty",
- "Exile_Item_DuctTape",
- "Exile_Item_Carwheel",
- "Exitem_windshield",
- "Exitem_fueltank",
- "Exitem_engine",
- "Exile_Item_CanOpener",
- "Exile_Item_Can_Empty",
- "Exile_Item_WaterCanisterEmpty",
- "Exile_Item_PlasticBottleEmpty",
- "Exitem_canteen",
- "Exitem_can_crushed",
- "Exitem_can_crushed2",
- "Exile_Item_ToiletPaper",
- "Exile_Item_Magazine01",
- "Exile_Item_Magazine02",
- "Exile_Item_Magazine03",
- "Exile_Item_Magazine04",
- "Exitem_glue",
- "Exile_Item_Bullets_556",
- "Exile_Item_Bullets_762",
- "ItemMap"
- };
- };
- class Waters: Exile_ScavengeClass
- {
- animations[] =
- {
- "AinvPknlMstpSnonWnonDnon_medic_1"
- };
- type = "CraftingClass";
- chance = 60;
- searchtime = 10;
- icon = "Exile_HA_Icon_Water";
- text = "Scavenge for Water";
- models[] =
- {
- "pumpa.p3d",
- "misc_well.p3d",
- "misc_wellpump.p3d",
- "watertank_f.p3d",
- "toilet_b_02.p3d",
- "watertank_01_f.p3d",
- "watertank_02_f.p3d",
- "watertank_03_f.p3d",
- "watertank_04_f.p3d",
- "watertower_01_f.p3d"
- };
- recipes[] =
- {
- "ScavengeFillEmptyPlasticBottleWithDirtyWater",
- "ScavengeFillEmptyWaterCanisterWithDirtyWater",
- "ScavengeFillEmptyWaterCanteenWithDirtyWater"
- };
- class conditions
- {
- items[] =
- {
- "Exile_Item_PlasticBottleEmpty",
- "Exile_Item_WaterCanisterEmpty",
- "Exitem_canteen"
- };
- };
- };
- class Woodlogs: Exile_ScavengeClass
- {
- animations[] =
- {
- "AinvPknlMstpSnonWnonDnon_medic_1"
- };
- type = "CraftingClass";
- chance = 10;
- searchtime = 5;
- maxitems = 4;
- icon = "Exile_HA_Icon_Woodlogs";
- text = "Scavenge Woodlogs";
- models[] =
- {
- "drevo_hromada.p3d",
- "timberpile_01_f.p3d"
- };
- recipes[] =
- {
- "ScavengeChopWood"
- };
- class conditions
- {
- weapons[] =
- {
- "Exile_Melee_Axe"
- };
- };
- };
- // Extended_Items_Exile
- // https://steamcommunity.com/sharedfiles/filedetails/?id=897168981
- /*
- class Pumpkins: Exile_ScavengeClass
- {
- animations[] =
- {
- "AinvPknlMstpSnonWnonDnon_medic_1"
- };
- type = "ScavengeClass";
- chance = 50;
- searchtime = 5;
- maxitems = 1;
- icon = "Exile_HA_Icon_Pumpkin";
- text = "Harvest Pumpkin";
- models[] =
- {
- "bodlak_group.p3d"
- };
- items[] =
- {
- "Exitem_pumpkin"
- };
- };
- */
- class Cinderblocks: Exile_ScavengeClass
- {
- animations[] =
- {
- "AinvPknlMstpSnonWnonDnon_medic_1"
- };
- type = "CraftingClass";
- chance = 50;
- searchtime = 15;
- maxitems = 2;
- icon = "Default";
- text = "Get Cinderblocks";
- models[] =
- {
- "cinderblocks_f.p3d",
- "cinderblocks_01_f.p3d"
- };
- recipes[] =
- {
- "ScavengeDestroyCinderblock"
- };
- class conditions
- {
- weapons[] =
- {
- "Exile_Melee_SledgeHammer"
- };
- };
- };
- class Woodplanks: Exile_ScavengeClass
- {
- animations[] =
- {
- "AinvPknlMstpSnonWnonDnon_medic_1"
- };
- type = "CraftingClass";
- chance = 50;
- searchtime = 10;
- maxitems = 2;
- icon = "Default";
- text = "Get Wood Planks";
- models[] =
- {
- "woodenplanks_01_messy_f.p3d",
- "woodenplanks_01_f.p3d",
- "woodencrate_01_f.p3d",
- "woodencrate_01_stack_x3_f.p3d",
- "woodencrate_01_stack_x5_f.p3d",
- "picnictable_01_f.p3d",
- "bench_03_f.p3d",
- "bench_05_f.p3d"
- };
- recipes[] =
- {
- "ScavengeDestroyWood"
- };
- class conditions
- {
- weapons[] =
- {
- "Exile_Melee_Axe"
- };
- };
- };
- // LordRampantHumps Items Pack
- // https://steamcommunity.com/sharedfiles/filedetails/?id=1082756693
- class Apples: Exile_ScavengeClass
- {
- animations[] =
- {
- "AinvPknlMstpSnonWnonDnon_medic_1"
- };
- type = "ScavengeClass";
- chance = 90;
- searchtime = 5;
- maxitems = 2;
- icon = "Exile_HA_Icon_Apple";
- text = "Scavenge for Apples";
- models[] =
- {
- "t_malus1s.p3d",
- "jablon.p3d",
- "t_malus1s_summer.p3d"
- };
- items[] =
- {
- "items_pack_apple_red",
- "items_pack_apple"
- };
- };
- class Fruits: Exile_ScavengeClass
- {
- animations[] =
- {
- "AinvPknlMstpSnonWnonDnon_medic_1"
- };
- type = "ScavengeClass";
- chance = 90;
- searchtime = 15;
- maxitems = 2;
- icon = "Exile_HA_Icon_Fruit";
- text = "Scavenge for Fruit";
- models[] =
- {
- // Random small trees and bushes
- //"b_corylus.p3d",
- //"b_canina2s.p3d",
- //"b_amygdalusn1s_ep1.p3d",
- //"jerabina.p3d",
- //"b_elderberry2s_pmc.p3d",
- // Banana trees
- "banana_3.p3d",
- "banana_2.p3d",
- "banana_1.p3d",
- "banana_4.p3d",
- "t_banana_f.p3d",
- "t_banana_wild_f.p3d",
- "t_banana_slim_f.p3d"
- // Chernarus Redux
- //"c_blueberry_summer.p3d",
- //"c_blueberry.p3d",
- //"b_hrusen2.p3d",
- //"t_betula2w.p3d"
- };
- items[] =
- {
- "items_pack_banana"
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement