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 of 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 geting a item from this class/source.
- 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.
- table = "CivillianLowerClass"; // Loot-table className that will be used for this scavenge class to spawn the items.
- // 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 FurnitureCommon: Exile_ScavengeClass
- {
- animations[] = {
- "AinvPknlMstpSnonWnonDnon_medic_1"
- };
- type = "ScavengeClass";
- chance = 20;
- searchtime = 5;
- maxitems = 1;
- icon = "Default";
- text = "Search through furniture";
- models[] = {
- "washing_machine.p3d",
- "conference_table_a.p3d",
- "almara.p3d",
- "postel_manz_kov.p3d",
- "skrin_bar.p3d",
- "armchair.p3d",
- "armchair_big.p3d",
- "case_wall_unit_part_c.p3d",
- "case_wall_unit_part_d.p3d",
- "case_wooden_b.p3d",
- "case_bedroom_b.p3d",
- "bed_husbands.p3d",
- "tabledesk_f.p3d",
- "table_drawer.p3d",
- "case_a.p3d",
- "case_cans_b.p3d",
- "library_a.p3d",
- "postel_panelak1.p3d",
- "postel_panelak2.p3d",
- "postel_manz_kov.p3d",
- "dhangar_brownskin.p3d",
- "office_table_a.p3d",
- "lobby_case.p3d",
- "lobby_counter.p3d",
- "metalcase_01.p3d",
- "metalcase_02.p3d",
- "dhangar_psacistul.p3d",
- "truhla_stara.p3d"
- };
- table = "ScavengeFurnitureCommon";
- };
- class FurnitureFood: Exile_ScavengeClass
- {
- animations[] = {
- "AinvPknlMstpSnonWnonDnon_medic_1"
- };
- type = "ScavengeClass";
- chance = 10;
- searchtime = 5;
- maxitems = 1;
- icon = "Default";
- text = "Search for food";
- models[] = {
- "kitchenstove_elec.p3d",
- "fridge.p3d"
- };
- table = "ScavengeFurnitureFoodCommon";
- };
- // Able to scavenge from garbage bags, Trask Cans, basically clutter on the map
- class Trash: Exile_ScavengeClass
- {
- animations[] = {
- "AinvPknlMstpSnonWnonDnon_medic_1"
- };
- type = "ScavengeClass";
- chance = 40;
- searchtime = 5;
- maxitems = 2;
- icon = "Default";
- text = "Search through garbage";
- models[] = {
- "GarbageHeap_01_F.p3d",
- "GarbageHeap_02_F.p3d",
- "GarbageHeap_03_F.p3d",
- "GarbageHeap_04_F.p3d",
- "box_c.p3d",
- "clutterCutter_EP1.p3d",
- "clutterCutter_small_2_EP1.p3d",
- "clutterCutter_small_EP1.p3d",
- "drevena_bedna.p3d",
- "garb_GrondSquare5_PMC.p3d",
- "garb_GroundLong_PMC.p3d",
- "garb_GroundSquare3_PMC.p3d",
- "garb_Heap_PMC.p3d",
- "garb_junkpile_PMC.p3d",
- "garb_misc_PMC.p3d",
- "garb_paleta_PMC.p3d",
- "garbage_metal.p3d",
- "garbage_misc.p3d",
- "garbage_paleta.p3d",
- "garbage_plastic.p3d",
- "garbagebags_f.p3d",
- "garbagebarrel_01_f.p3d",
- "garbagebin_02_f.p3d",
- "garbagecontainer_closed_f.p3d",
- "garbagecontainer_open_f.p3d",
- "garbagepallet_f.p3d",
- "garbagewashingmachine_f.p3d",
- "ground_garbage_long.p3d",
- "ground_garbage_square3.p3d",
- "ground_garbage_square5.p3d",
- "junkpile.p3d",
- "junkpile_f.p3d",
- "kontejner.p3d",
- "luggageheap_01_f.p3d",
- "luggageheap_02_f.p3d",
- "luggageheap_03_f.p3d",
- "luggageheap_04_f.p3d",
- "luggageheap_05_f.p3d",
- "paperbox_closed.p3d",
- "popelnice.p3d",
- "misc_gcontainer_big.p3d",
- "misc_tyreheap.p3d"
- };
- table = "ScavengeTrashCommon";
- };
- // Able to scavenge from wrecks within map, some vehicles still have problems but are noted below.
- class Wrecks: Exile_ScavengeClass
- {
- animations[] = {
- "AinvPknlMstpSnonWnonDnon_medic_1"
- };
- type = "ScavengeClass";
- chance = 30;
- searchtime = 5;
- maxitems = 2;
- icon = "Exile_HA_Icon_Wreck";
- text = "Scavenge Wreck";
- models[] = {
- "A10Wreck.p3d",
- "AH1ZWreck.p3d",
- "AV8BWreck.p3d",
- "AW159_BAF_Wreck.p3d",
- "Ah64DWreck.p3d",
- "BRDM2_wrecked.p3d",
- "C130JWreck.p3d",
- "CH_47FWreck.p3d",
- "F35bWreck.p3d",
- "GNT_C185wreck.p3d",
- "Heli_Attack_01_wreck_F.p3d",
- "Heli_Attack_02_wreck_F.p3d",
- "Heli_Light_01_wreck_F.p3d",
- "Heli_Light_02_wreck_F.p3d",
- "Heli_Light_03_Wreck_F.p3d",
- "Heli_Transport_01_wreck_F.p3d",
- "Heli_Transport_02_wreck_F.p3d",
- "Ka52Wreck.p3d",
- "Ka60_PMCWreck.p3d",
- "MH_60Wreck.p3d",
- "MI8Wreck.p3d",
- "MQ9PredatorWreck.p3d",
- "MV22Wreck.p3d",
- "Mi8_Crashed.p3d",
- "Plane_Fighter_03_wreck_F.p3d",
- "Plane_cas_01_wreck_F.p3d",
- "Plane_cas_02_wreck_F.p3d",
- "Su25Wreck.p3d",
- "T72_Wrecked.p3d",
- "t72_wrecked.p3d",
- "UH1YWreck.p3d",
- "Wreck_C130J.p3d",
- "Wreck_C130J_ep1.p3d",
- "Wreck_C130J_ep1_dirt.p3d",
- "Wreck_C130J_ep1_ruins.p3d",
- "Wreck_UH60.p3d",
- "Wreck_UH60_ep1.p3d",
- "ah6Wreck.p3d",
- "an2Wreck.p3d",
- "bmp2_wrecked.p3d",
- "brdm2_wrecked.p3d",
- "datsun01t.p3d",
- "datsun02t.p3d",
- "hiluxt.p3d",
- "hmmwv_wreck.p3d",
- "hmmwv_wrecked.p3d",
- "jeept.p3d",
- "lada_wrecked.p3d",
- "m113t.p3d",
- "mi24wreck.p3d",
- "mi8_crashed.p3d",
- "skodovka_wrecked.p3d",
- "su34Wreck.p3d",
- "uaz_wreck.p3d",
- "uaz_wrecked.p3d",
- "uh1hWreck.p3d",
- "ural_wrecked.p3d",
- "wreck_bmp2_f.p3d",
- "wreck_brdm2_f.p3d",
- "wreck_car2_f.p3d",
- "wreck_car3_f.p3d",
- "wreck_car_f.p3d",
- "wreck_cardismantled_f.p3d",
- "wreck_heli_attack_01_f.p3d",
- "wreck_heli_attack_02_f.p3d",
- "wreck_hmmwv_f.p3d",
- "wreck_hunter_f.p3d",
- "wreck_offroad2_f.p3d",
- "wreck_offroad_f.p3d",
- "wreck_skodovka_f.p3d",
- "wreck_truck_dropside_f.p3d",
- "wreck_truck_f.p3d",
- "wreck_uaz_f.p3d",
- "wreck_ural_f.p3d",
- "wreck_van_f.p3d"
- };
- table = "ScavengeWrecksCommon";
- };
- // Able to get dirty water from map object pumps
- class Waters: Exile_ScavengeClass
- {
- animations[] = {
- "AinvPknlMstpSnonWnonDnon_medic_1"
- };
- type = "CraftingClass";
- chance = 70;
- searchtime = 5;
- icon = "Exile_HA_Icon_Water";
- text = "Scavenge for Water";
- models[] = {
- "GZ_pond2_01_PMC.p3d",
- "GZ_pond2_02_PMC.p3d",
- "GZ_pond2_03_PMC.p3d",
- "GZ_pond2_04_PMC.p3d",
- "GZ_pond2_05_PMC.p3d",
- "GZ_pond2_06_PMC.p3d",
- "GZ_pond2_07_PMC.p3d",
- "GZ_pond2_08_PMC.p3d",
- "GZ_pond2_09_PMC.p3d",
- "GZ_pond2_10_PMC.p3d",
- "GZ_pond2_11_PMC.p3d",
- "GZ_pond2_12_PMC.p3d",
- "barrel_water.p3d",
- "basin_a.p3d",
- "gz_pond01_PMC.p3d",
- "gz_pond02_PMC.p3d",
- "gz_pond03_PMC.p3d",
- "misc_well.p3d",
- "misc_wellpump.p3d",
- "pumpa.p3d",
- "reservoir_ep1.p3d",
- "toilet_b_02.p3d",
- "watertank_f.p3d"
- };
- recipes[] = {
- "ScavengeFillEmptyPlasticBottleWithDirtyWater",
- "ScavengeFillEmptyWaterCanisterWithDirtyWater",
- "ScavengeFillEmptyWaterCanteenWithDirtyWater"
- };
- class conditions {
- items[] = {
- "Exile_Item_PlasticBottleEmpty",
- "Exile_Item_WaterCanisterEmpty",
- "Exitem_canteen"
- };
- };
- };
- // Able to get Fuel from Pumps, Fuel Containers, Fuel Tanks, barrells around the map
- class Fuel: Exile_ScavengeClass
- {
- animations[] = {
- "AinvPknlMstpSnonWnonDnon_medic_1"
- };
- type = "CraftingClass";
- chance = 10;
- searchtime = 5;
- maxitems = 1;
- icon = "Default";
- text = "Get Fuel";
- models[] = {
- "a_fuelstation_feed.p3d",
- "barel1.p3d",
- "barel2.p3d",
- "barel3.p3d",
- "barel4.p3d",
- "barel5.p3d",
- "barel6.p3d",
- "barel7.p3d",
- "barels.p3d",
- "barels2.p3d",
- "barels3.p3d",
- "barels4.p3d",
- "barels5.p3d",
- "fuel_tank_big.p3d",
- "fuel_tank_small.p3d",
- "fuel_tank_stairs.p3d",
- "ind_tanksmall.p3d",
- "ind_tanksmall2.p3d"
- };
- recipes[] = {
- "ScavengeFillEmptyFuelCanisterWithFuel"
- };
- class conditions {
- items[] = {
- "Exile_Item_FuelCanisterEmpty"
- };
- };
- };
- // Able to get woodlogs from stocks of wood, pile of wood, fallen logs around the map
- class Woodlogs: Exile_ScavengeClass
- {
- animations[] = {
- "AinvPknlMstpSnonWnonDnon_medic_1"
- };
- type = "ScavengeClass";
- chance = 50;
- searchtime = 5;
- maxitems = 3;
- icon = "Exile_HA_Icon_Woodlogs";
- text = "Scavenge Woodlogs";
- models[] = {
- "drevo_hromada.p3d",
- "misc_fallentree1.p3d",
- "misc_burnspruce_pmc.p3d",
- "ind_timbers.p3d",
- "misc_woodpile.p3d",
- "kmen_1_buk.p3d"
- };
- table = "ScavengeLogsCommon";
- };
- /*
- // Uses vanilla Exile items but not available in Vanilla Exile setup, thus disabling by default.
- class Trees: Exile_ScavengeClass
- {
- animations[] = {
- "AinvPknlMstpSnonWnonDnon_medic_1"
- };
- type = "ScavengeClass";
- chance = 20;
- searchtime = 2;
- maxitems = 2;
- icon = "Exile_HA_Icon_Woodlogs";
- text = "Scavenge Sticks and Leaves";
- models[] = {
- // Trees on CHR
- "t_fraxinus2w.p3d",
- "t_betula2w.p3d",
- "t_betula2s.p3d",
- "t_betula2f.p3d",
- "t_fagus2f.p3d",
- "t_fagus2w.p3d",
- "t_fagus2s.p3d",
- "t_ficusb2s_ep1.p3d",
- "t_quercus2f.p3d",
- "t_quercus3f.p3d",
- "t_picea1s.p3d",
- "t_picea2s.p3d",
- "t_picea3f.p3d",
- "t_pinusn1s.p3d",
- "t_pinusn2s.p3d",
- "t_alnus2s.p3d",
- "t_salix2s.p3d",
- "t_malus1s.p3d",
- "t_juniperusc2s_ep1.p3d",
- "dd_borovice.p3d",
- "strlipa.p3d",
- //Bushes on CHR
- "b_betula2w_summer.p3d",
- "b_salix2s.p3d",
- "b_craet1.p3d",
- "b_hrusen2.p3d",
- "b_corylus.p3d",
- "b_corylus2s.p3d",
- "b_sambucus.p3d",
- "krovi_long.p3d"
- };
- table = "CivillianLowerClass";
- };
- // Disabled because if not setup correctly, will break game balance.
- // Server owners think before enabling.
- class Concrete: Exile_ScavengeClass
- {
- animations[] = {
- "AinvPknlMstpSnonWnonDnon_medic_1"
- };
- type = "CraftingClass";
- chance = 5;
- searchtime = 5;
- maxitems = 1;
- icon = "Default";
- text = "Get Concrete";
- models[] = {
- "misc_concrete_high.p3d"
- };
- recipes[] = {
- "ScavengeDestroyConcrete"
- };
- class conditions {
- weapons[] = {
- "Exile_Melee_SledgeHammer"
- };
- };
- };
- // Disabled because if not setup correctly, will break game balance.
- // Server owners think before enabling.
- class WoodPlanks: Exile_ScavengeClass
- {
- animations[] = {
- "AinvPknlMstpSnonWnonDnon_medic_1"
- };
- type = "CraftingClass";
- chance = 20;
- searchtime = 5;
- maxitems = 2;
- icon = "Default";
- text = "Get WoodPlanks";
- models[] = {
- "woodenplanks_01_messy_pine_f.p3d",
- "ind_boardspack1.p3d"
- };
- recipes[] = {
- "ScavengeWoodplanks"
- };
- class conditions {
- tools[] = {
- "Exile_Item_Handsaw"
- };
- };
- };
- // Disabled because if not setup correctly, will break game balance.
- // Server owners think before enabling.
- class MetalPoles: Exile_ScavengeClass
- {
- animations[] = {
- "AinvPknlMstpSnonWnonDnon_medic_1"
- };
- type = "CraftingClass";
- chance = 5;
- searchtime = 5;
- maxitems = 1;
- icon = "Default";
- text = "Get MetalPoles";
- models[] = {
- "misc_g_pipes.p3d"
- };
- recipes[] = {
- "ScavengeMetalPoles"
- };
- class conditions {
- tools[] = {
- "Exile_Item_Grinder"
- };
- };
- };
- */
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement