Jump to content
  • 0

Modify Admin menu items


tux-box1

Question

I want to modify the admin menu.

Specifically I want to add bipods from the marksmen dlc (I know I need the DLC to use the equipment, I have the DLC) and a few other things.

I would like to add some of the arma 3 vehicles that are currently not available via the admin menu spawn option.

I would also like to organize it some so I can find things easier. 

Thing is I don't know where the config for the menu is located. If some one can kindly point out the location to me I can likely do most of the work without much more help.

Thank you.

Link to comment
Share on other sites

22 answers to this question

Recommended Posts

  • 1

If you wish to add items to that. Then in your description.ext add

#Include "Cfgpricing.hpp"

Then download this and place in mission folder

https://github.com/EpochModTeam/Epoch/blob/master/Sources/epoch_config/Configs/CfgPricing.hpp

in that file add class names of items u want to appear in the admin menu and traders.

 

If u have anymore questions feel free to add me on steam. Tinboye

 

Link to comment
Share on other sites

  • 1

correct, you would depbo the epoch.altis.pbo

then open your description.ext

near the top add 

#Include "CfgPricing.hpp"

inside that file 

class CfgPricing
{
	class ChainSaw {price = 125;};
	class CircuitParts {price = 50;};
	class ItemCoolerE {price = 50;};
	class JackKit {price = 25;};
	class ItemLockbox {price = 250; tax = 0.5;};
	class ItemCompass {price = 3;};
	class ItemGPS {price = 20;};

	// Radios
	class EpochRadio0 {price = 2;};
	class EpochRadio1 {price = 4;};
	class EpochRadio2 {price = 6;};
	class EpochRadio3 {price = 8;};
	class EpochRadio4 {price = 10;};
	class EpochRadio5 {price = 12;};
	class EpochRadio6 {price = 14;};
	class EpochRadio7 {price = 16;};
	class EpochRadio8 {price = 18;};
	class EpochRadio9 {price = 20;};

	class VehicleRepair {price = 35;};
	class VehicleRepairLg {price = 50;};

	class WhiskeyNoodle {price = 80;};

	class ItemWatch {price = 2;};

	class Binocular {price = 4;};
	class NVG_EPOCH {price = 35;};
	class acc_flashlight {price = 4;};
	class acc_pointer_IR {price = 5;};

	class srifle_EBR_F {price = 150;};
	class srifle_GM6_F {price = 150;};
	class srifle_LRR_F {price = 200;};
	class srifle_DMR_01_F {price = 200;};

	class 20Rnd_762x51_Mag {price = 4; tax = 0.9;};
	class 5Rnd_127x108_Mag {price = 3; tax = 0.9;};
	class 5Rnd_127x108_APDS_Mag {price = 6; tax = 0.9;};
	class 7Rnd_408_Mag {price = 4; tax = 0.9;};
	class 10Rnd_762x54_Mag {price = 2; tax = 0.9;};
	class 10Rnd_338_Mag { price = 2; tax = 0.9; };
	class 130Rnd_338_Mag{ price = 2; tax = 0.9; };
	class 10Rnd_93x64_DMR_05_Mag { price = 2; tax = 0.9; };
	class 10Rnd_127x54_Mag { price = 2; tax = 0.9; };
	
	// Paint
	class PaintCanClear {price = 1;};
	class PaintCanBlk {price = 1;};
	class PaintCanBlu {price = 1;};
	class PaintCanBrn {price = 1;};
	class PaintCanGrn {price = 1;};
	class PaintCanOra {price = 1;};
	class PaintCanPur {price = 1;};
	class PaintCanRed {price = 1;};
	class PaintCanTeal {price = 1;};
	class PaintCanYel {price = 1;};

	class ItemDocument {price = 5;};
	class ItemDocumentMission {price = 5;};
	class ItemMixOil {price = 5;};
	class emptyjar_epoch {price = 5;};
	class jerrycan_epoch { price = 10; };
	class speargun_epoch { price = 75; };
	class spear_magazine { price = 5; tax = 0.9; };
	class lighter_epoch { price = 50; };
	class WoodLog_EPOCH { price = 1; };
	class ItemRope { price = 5; };
	class ItemStick { price = 1; };
	class ItemRock { price = 1; };

	// Food
	class FoodBioMeat {price = 1;};
	class FoodMeeps {price = 50;};
	class FoodSnooter {price = 5;};
	class sardines_epoch {price = 2;};
	class meatballs_epoch {price = 2;};
	class scam_epoch {price = 1;};
	class TacticalBacon {price = 5;};
	class sweetcorn_epoch {price = 2;};
	class CookedSheep_EPOCH {price = 5;};
	class CookedGoat_EPOCH {price = 5;};
	class SnakeMeat_EPOCH {price = 3;};
	class CookedRabbit_EPOCH {price = 5;};
	class CookedChicken_EPOCH {price = 3;};
	class ItemTrout {price = 1;};
	class ItemSeaBass {price = 5;};
	class ItemTuna {price = 10;};

	// Drinks
	class FoodWalkNSons {price = 5;};
	class ItemSodaOrangeSherbet {price = 4;};
	class ItemSodaPurple {price = 5;};
	class ItemSodaMocha {price = 8;};
	class ItemSodaBurst {price = 4;};
	class ItemSodaRbull {price = 5;};

	// Medical
	class FAK {price = 3;};
	class Towelette {price = 1;};
	class HeatPack {price = 2;};
	class ColdPack {price = 2;};
	
	class sr25_epoch { price = 50; };
	class l85a2_epoch { price = 50; };
	class l85a2_pink_epoch { price = 50; };
	class l85a2_ugl_epoch { price = 50; };
	class arifle_Katiba_F {price = 50;};
	class arifle_Katiba_C_F {price = 50;};
	class arifle_Katiba_GL_F {price = 75;};
	class arifle_MXC_F {price = 50;};
	class arifle_MX_F {price = 50;};
	class arifle_MX_GL_F {price = 75;};
	class arifle_MXM_F {price = 50;};
	class arifle_SDAR_F {price = 50;};
	class arifle_TRG21_F {price = 50;};
	class arifle_TRG20_F {price = 50;};
	class arifle_TRG21_GL_F {price = 75;};
	class arifle_Mk20_F {price = 50;};
	class arifle_Mk20C_F {price = 50;};
	class arifle_Mk20_GL_F {price = 75;};
	class arifle_Mk20_plain_F {price = 50;};
	class arifle_Mk20C_plain_F {price = 50;};
	class arifle_Mk20_GL_plain_F {price = 75;};
	class SMG_01_F {price = 35;};
	class SMG_02_F {price = 35;};
	class hgun_PDW2000_F {price = 35;};
	class arifle_MXM_Black_F {price = 50;};
	class arifle_MX_GL_Black_F {price = 75;};
	class arifle_MX_Black_F {price = 50;};
	class arifle_MXC_Black_F {price = 50;};
	class Rollins_F {price = 50;};

	class 30Rnd_65x39_caseless_green {price = 3; tax = 0.9;};
	class 30Rnd_65x39_caseless_green_mag_Tracer {price = 4; tax = 0.9;};
	class 30Rnd_65x39_caseless_mag {price = 3; tax = 0.9;};
	class 30Rnd_65x39_caseless_mag_Tracer {price = 4; tax = 0.9;};
	class 20Rnd_556x45_UW_mag {price = 3; tax = 0.9;};
	class 30Rnd_556x45_Stanag {price = 3; tax = 0.9;};
	class 30Rnd_556x45_Stanag_Tracer_Red {price = 4; tax = 0.9;};
	class 30Rnd_556x45_Stanag_Tracer_Green {price = 4; tax = 0.9;};
	class 30Rnd_556x45_Stanag_Tracer_Yellow {price = 4; tax = 0.9;};
	class 30Rnd_45ACP_Mag_SMG_01 {price = 2; tax = 0.9;};
	class 30Rnd_45ACP_Mag_SMG_01_Tracer_Green {price = 3; tax = 0.9;};
	class 5Rnd_rollins_mag {price = 2; tax = 0.9;};

	class UGL_FlareWhite_F {price = 2;};
	class UGL_FlareGreen_F {price = 2;};
	class UGL_FlareRed_F {price = 2;};
	class UGL_FlareYellow_F {price = 2;};
	class UGL_FlareCIR_F {price = 2;};
	class 1Rnd_Smoke_Grenade_shell {price = 4;};
	class 1Rnd_SmokeRed_Grenade_shell {price = 4;};
	class 1Rnd_SmokeGreen_Grenade_shell {price = 4;};
	class 1Rnd_SmokeYellow_Grenade_shell {price = 4;};
	class 1Rnd_SmokePurple_Grenade_shell {price = 4;};
	class 1Rnd_SmokeBlue_Grenade_shell {price = 4;};
	class 1Rnd_SmokeOrange_Grenade_shell {price = 4;};
	class 3Rnd_HE_Grenade_shell {price = 10;};
	class 3Rnd_UGL_FlareWhite_F {price = 4;};
	class 3Rnd_UGL_FlareGreen_F {price = 4;};
	class 3Rnd_UGL_FlareRed_F {price = 4;};
	class 3Rnd_UGL_FlareYellow_F {price = 4;};
	class 3Rnd_UGL_FlareCIR_F {price = 4;};
	class 3Rnd_Smoke_Grenade_shell {price = 3;};
	class 3Rnd_SmokeRed_Grenade_shell {price = 3;};
	class 3Rnd_SmokeGreen_Grenade_shell {price = 3;};
	class 3Rnd_SmokeYellow_Grenade_shell {price = 3;};
	class 3Rnd_SmokePurple_Grenade_shell {price = 3;};
	class 3Rnd_SmokeBlue_Grenade_shell {price = 3;};
	class 3Rnd_SmokeOrange_Grenade_shell {price = 3;};

	class LMG_Mk200_F {price = 150;};
	class arifle_MX_SW_F {price = 150;};
	class LMG_Zafir_F {price = 150;};
	class arifle_MX_SW_Black_F {price = 150;};

	// DLC sniper rifles
	class srifle_DMR_02_F { price = 150; };
	class srifle_DMR_02_camo_F { price = 150; };
	class srifle_DMR_02_sniper_F { price = 150; };
	class srifle_DMR_03_F { price = 150; };
	class srifle_DMR_03_khaki_F { price = 150; };
	class srifle_DMR_03_tan_F { price = 150; };
	class srifle_DMR_03_multicam_F { price = 150; };
	class srifle_DMR_03_woodland_F { price = 150; };
	class srifle_DMR_03_spotter_F { price = 150; };
	class srifle_DMR_04_Tan_F { price = 150; };
	class srifle_DMR_05_blk_F { price = 150; };
	class srifle_DMR_05_hex_F { price = 150; };
	class srifle_DMR_05_tan_f { price = 150; };
	class srifle_DMR_06_camo_F { price = 150; };
	class srifle_DMR_06_olive_F { price = 150; };
	// DLC machine guns
	class MMG_01_hex_F { price = 150; };
	class MMG_01_tan_F { price = 150; };
	class MMG_02_camo_F { price = 150; };
	class MMG_02_black_F { price = 150; };
	class MMG_02_sand_F { price = 150; };

	// new weapons
	class m249_EPOCH {price = 150;};
	class m249Tan_EPOCH {price = 150;};
	class m107Tan_EPOCH {price = 200;};
	class m107_EPOCH {price = 200;};
	class m16_EPOCH {price = 100;};
	class m16Red_EPOCH {price = 125;};
	class M14_EPOCH {price = 125;};
	class M14Grn_EPOCH {price = 150;};
	class m4a3_EPOCH {price = 100;};
	class AKM_EPOCH {price = 100;};
	
	// new magazines kiory
	class 30rnd_556_magazine{ price = 5; tax = 0.9; };
	class 20rnd_762_magazine{ price = 5; tax = 0.9; };
	// new magazines seq
	class 30Rnd_762x39_Mag {price = 5; tax = 0.9;};
	class 200Rnd_556x45_M249 {price = 5; tax = 0.9;};

	class 200Rnd_65x39_cased_Box {price = 5; tax = 0.9;};
	class 100Rnd_65x39_caseless_mag {price = 3; tax = 0.9;};
	class 200Rnd_65x39_cased_Box_Tracer {price = 5; tax = 0.9;};
	class 100Rnd_65x39_caseless_mag_Tracer {price = 4; tax = 0.9;};
	class 150Rnd_762x51_Box {price = 4; tax = 0.9;};
	class 150Rnd_762x51_Box_Tracer {price = 5; tax = 0.9;};
	class 150Rnd_762x54_Box{ price = 4; tax = 0.9; };
	class 150Rnd_762x54_Box_Tracer{ price = 5; tax = 0.9; };
	class 150Rnd_93x64_Mag{ price = 6; tax = 0.9; };

	class Rangefinder {price = 4;};
	class Laserdesignator {price = 4;};
	class hgun_ACPC2_F {price = 5;};
	class hgun_Rook40_F {price = 5;};
	class hgun_P07_F {price = 5;};
	class hgun_Pistol_heavy_01_F {price = 7;};
	class hgun_Pistol_heavy_02_F {price = 10;};
	class ruger_pistol_epoch {price = 4;};
	class 1911_pistol_epoch {price = 6;};
	class hgun_Pistol_Signal_F {price = 4;};
	class Hatchet {price = 25;};
	class MultiGun {price = 100;};
	class MeleeSledge {price = 50;};

	class CrudeHatchet { price = 5; };
	class MeleeMaul { price = 10; };
	class WoodClub { price = 5; };
	class Plunger { price = 15; };
	
	class 16Rnd_9x21_Mag {price = 2; tax = 0.9;};
	class 30Rnd_9x21_Mag {price = 3; tax = 0.9;};
	class 9Rnd_45ACP_Mag {price = 1; tax = 0.9;};
	class 11Rnd_45ACP_Mag {price = 1; tax = 0.9;};
	class 6Rnd_45ACP_Cylinder {price = 1; tax = 0.9;};
	class 10rnd_22X44_magazine {price = 2; tax = 0.9;};
	class 9rnd_45X88_magazine {price = 2; tax = 0.9;};
	class 6Rnd_GreenSignal_F {price = 1;};
	class 6Rnd_RedSignal_F {price = 1; tax = 0.9;};
	class EnergyPack {price = 3; tax = 0.9;};
	class EnergyPackLg {price = 30; tax = 0.9;};

	class optic_Arco {price = 3;};
	class optic_Hamr {price = 3;};
	class optic_Aco {price = 2;};
	class optic_ACO_grn {price = 3;};
	class optic_Aco_smg {price = 2;};
	class optic_ACO_grn_smg {price = 3;};
	class optic_Holosight {price = 2;};
	class optic_Holosight_smg {price = 2;};
	class optic_SOS {price = 3;};
	class optic_MRCO {price = 3;};
	class optic_DMS {price = 3;};
	class optic_Yorris {price = 2;};
	class optic_MRD {price = 1;};
	class optic_LRPS {price = 3;};
	class optic_NVS {price = 7;};
	class optic_Nightstalker {price = 10;};
	class optic_tws {price = 5;};
	class optic_tws_mg {price = 5;};

	// DLC optics
	class optic_AMS { price = 5; };
	class optic_AMS_khk { price = 5; };
	class optic_AMS_snd { price = 5; };
	class optic_KHS_blk { price = 5; };
	class optic_KHS_hex { price = 5; };
	class optic_KHS_old { price = 5; };
	class optic_KHS_tan { price = 5; };

	// DLC bipods
	class bipod_01_F_snd { price = 15; };
	class bipod_01_F_blk { price = 15; };
	class bipod_01_F_mtp { price = 15; };
	class bipod_02_F_blk { price = 15; };
	class bipod_02_F_tan { price = 15; };
	class bipod_02_F_hex { price = 15; };
	class bipod_03_F_blk { price = 15; };
	class bipod_03_F_oli { price = 15; };

	// Epoch
	class Elcan_epoch { price = 5; };
	class Elcan_reflex_epoch { price = 10; };

	class muzzle_snds_H {price = 2;};
	class muzzle_snds_L {price = 2;};
	class muzzle_snds_M {price = 2;};
	class muzzle_snds_B {price = 2;};
	class muzzle_snds_H_MG {price = 2;};
	class muzzle_snds_acp {price = 2;};
	class Heal_EPOCH {price = 3;};
	class Defib_EPOCH {price = 5;};
	class Repair_EPOCH {price = 2;};

	// DLC muzzles
	class muzzle_snds_338_black { price = 3; };
	class muzzle_snds_338_green { price = 3; };
	class muzzle_snds_93mmg { price = 3; };
	class muzzle_snds_93mmg_tan { price = 3; };

	class muzzle_sr25S_epoch { price = 2; };

	class PartOreGold {price = 70;};
	class PartOreSilver {price = 7;};
	class PartOre {price = 1;};
	class ItemGoldBar {price = 100;};
	class ItemSilverBar {price = 10;};
	class ItemGoldBar10oz {price = 1000;};
	class ItemTopaz {price = 25;};
	class ItemOnyx {price = 30;};
	class ItemSapphire {price = 50;};
	class ItemAmethyst {price = 25;};
	class ItemEmerald {price = 25;};
	class ItemCitrine {price = 25;};
	class ItemRuby {price = 75;};
	class ItemQuartz {price = 5;};
	class ItemJade {price = 100;};
	class ItemGarnet {price = 25;};
	class ItemKiloHemp {price = 100;};

	// Building resources
	class PartPlankPack {price = 2;};
	class CinderBlocks {price = 20;};
	class MortarBucket {price = 20;};
	class ItemScraps {price = 2;};
	class ItemCorrugated {price = 8;};
	class ItemCorrugatedLg {price = 25;};

	// Building parts
	class KitStudWall {price = 10;};
	class KitWoodFloor {price = 10;};
	class KitWoodStairs {price = 10;};
	class KitWoodTower {price = 10;};
	class KitWoodRamp {price = 14;};
	class KitWoodLadder { price = 10; };
	
	class KitFirePlace {price = 4;};
	class KitTiPi {price = 10;};
	class KitShelf {price = 90;};
	class KitWoodFoundation { price = 20; };
	class KitFoundation {price = 90;};
	class KitPlotPole {price = 300;};
	class KitSolarGen { price = 200; };
	class KitCinderWall {price = 140;};

	class ItemSolar { price = 75; };
	class ItemCables { price = 50; };
	class ItemBattery { price = 50; };

	class honey_epoch {price = 5;};
	class Pelt_EPOCH {price = 1;};
	class Venom_EPOCH {price = 10;};

	class HandGrenade_Stone {price = 1;};
	class SmokeShell {price = 2;};
	class SmokeShellYellow {price = 2;};
	class SmokeShellGreen {price = 2;};
	class SmokeShellRed {price = 2;};
	class SmokeShellPurple {price = 2;};
	class SmokeShellOrange {price = 2;};
	class SmokeShellBlue {price = 2;};
	class Chemlight_green {price = 1;};
	class Chemlight_red {price = 1;};
	class Chemlight_yellow {price = 1;};
	class Chemlight_blue {price = 1;};

	class HandGrenade {price = 15;};
	class MiniGrenade {price = 10;};
	class DemoCharge_Remote_Mag {price = 40;};
	class SatchelCharge_Remote_Mag {price = 75;};
	class ATMine_Range_Mag {price = 50;};
	class ClaymoreDirectionalMine_Remote_Mag {price = 50;};
	class APERSMine_Range_Mag {price = 30;};
	class APERSBoundingMine_Range_Mag {price = 50;};
	class SLAMDirectionalMine_Wire_Mag {price = 40;};
	class APERSTripMine_Wire_Mag {price = 30;};


	class B_AssaultPack_cbr {price = 10;};
	class B_AssaultPack_dgtl {price = 10;};
	class B_AssaultPack_khk {price = 10;};
	class B_AssaultPack_mcamo {price = 10;};
	class B_AssaultPack_ocamo {price = 10;};
	class B_AssaultPack_rgr {price = 10;};
	class B_AssaultPack_sgg {price = 10;};
	class B_AssaultPack_blk { price = 10; };
	class B_Carryall_cbr {price = 1;};
	class B_Carryall_khk {price = 10;};
	class B_Carryall_mcamo {price = 10;};
	class B_Carryall_ocamo {price = 10;};
	class B_Carryall_oli {price = 10;};
	class B_Carryall_oucamo {price = 10;};
	class B_FieldPack_blk {price = 10;};
	class B_FieldPack_cbr {price = 10;};
	class B_FieldPack_khk {price = 10;};
	class B_FieldPack_ocamo {price = 10;};
	class B_FieldPack_oli {price = 10;};
	class B_FieldPack_oucamo {price = 10;};
	class B_Kitbag_cbr {price = 10;};
	class B_Kitbag_mcamo {price = 10;};
	class B_Kitbag_rgr {price = 10;};
	class B_Kitbag_sgg {price = 10;};
	class B_Parachute {price = 15;};
	class B_TacticalPack_blk {price = 10;};
	class B_TacticalPack_mcamo {price = 10;};
	class B_TacticalPack_ocamo {price = 10;};
	class B_TacticalPack_oli {price = 10;};
	class B_TacticalPack_rgr {price = 10;};
	class smallbackpack_red_epoch {price = 10;};
	class smallbackpack_green_epoch {price = 10;};
	class smallbackpack_teal_epoch {price = 10;};
	class smallbackpack_pink_epoch {price = 10;};

	// Marksman DLC
	class U_O_FullGhillie_lsh { price = 7; };
	class U_O_FullGhillie_sard { price = 7; };
	class U_O_FullGhillie_ard { price = 7; };

	class U_O_CombatUniform_ocamo {price = 5;};
	class U_O_GhillieSuit {price = 5;};
	class U_O_PilotCoveralls {price = 5;};
	class U_O_Wetsuit {price = 5;};
	class U_OG_Guerilla1_1 {price = 5;};
	class U_OG_Guerilla2_1 {price = 5;};
	class U_OG_Guerilla2_2 {price = 5;};
	class U_OG_Guerilla2_3 {price = 5;};
	class U_OG_Guerilla3_1 {price = 5;};
	class U_OG_Guerilla3_2 {price = 5;};
	class U_OG_leader {price = 5;};

	class U_C_Poloshirt_stripped {price = 4;};
	class U_C_Poloshirt_blue {price = 4;};
	class U_C_Poloshirt_burgundy {price = 4;};
	class U_C_Poloshirt_tricolour {price = 4;};
	class U_C_Poloshirt_salmon {price = 4;};
	class U_C_Poloshirt_redwhite {price = 4;};
	class U_C_Poor_1 {price = 5;};
	class U_C_WorkerCoveralls {price = 5;};
	class U_C_Journalist {price = 5;};
	class U_C_Scientist {price = 5;};
	class U_OrestesBody {price = 5;};
	class U_Wetsuit_uniform {price = 5;};
	class U_Wetsuit_White {price = 5;};
	class U_Wetsuit_Blue {price = 5;};
	class U_Wetsuit_Purp {price = 5;};
	class U_Wetsuit_Camo {price = 5;};
	class U_Camo_uniform {price = 5;};
	class U_ghillie1_uniform {price = 5;};
	class U_ghillie2_uniform {price = 5;};
	class U_ghillie3_uniform {price = 5;};
	class U_CamoBlue_uniform {price = 5;};
	class U_CamoBrn_uniform {price = 5;};
	class U_CamoRed_uniform {price = 5;};

	class U_C_Driver_1 {price = 5;};
	class U_C_Driver_2 {price = 5;};
	class U_C_Driver_3 {price = 5;};
	class U_C_Driver_4 {price = 5;};
	class U_C_Driver_1_black {price = 5;};
	class U_C_Driver_1_blue {price = 5;};
	class U_C_Driver_1_green {price = 5;};
	class U_C_Driver_1_red {price = 5;};
	class U_C_Driver_1_white {price = 5;};
	class U_C_Driver_1_yellow {price = 5;};
	class U_C_Driver_1_orange {price = 5;};

	class V_1_EPOCH {price = 5;};
	class V_2_EPOCH {price = 5;};
	class V_3_EPOCH {price = 5;};
	class V_4_EPOCH {price = 5;};
	class V_5_EPOCH {price = 5;};
	class V_6_EPOCH {price = 5;};
	class V_7_EPOCH {price = 5;};
	class V_8_EPOCH {price = 5;};
	class V_9_EPOCH {price = 5;};
	class V_10_EPOCH {price = 5;};
	class V_11_EPOCH {price = 5;};
	class V_12_EPOCH {price = 5;};
	class V_13_EPOCH {price = 5;};
	class V_14_EPOCH {price = 5;};
	class V_15_EPOCH {price = 5;};
	class V_16_EPOCH {price = 5;};
	class V_17_EPOCH {price = 5;};
	class V_18_EPOCH {price = 5;};
	class V_19_EPOCH {price = 5;};
	class V_20_EPOCH {price = 5;};
	class V_21_EPOCH {price = 5;};
	class V_22_EPOCH {price = 5;};
	class V_23_EPOCH {price = 5;};
	class V_24_EPOCH {price = 5;};
	class V_25_EPOCH {price = 5;};
	class V_26_EPOCH {price = 5;};
	class V_27_EPOCH {price = 5;};
	class V_28_EPOCH {price = 5;};
	class V_29_EPOCH {price = 5;};
	class V_30_EPOCH {price = 5;};
	class V_31_EPOCH {price = 5;};
	class V_32_EPOCH {price = 5;};
	class V_33_EPOCH {price = 5;};
	class V_34_EPOCH {price = 5;};
	class V_35_EPOCH {price = 5;};
	class V_36_EPOCH {price = 5;};
	class V_37_EPOCH {price = 5;};
	class V_38_EPOCH {price = 5;};
	class V_39_EPOCH {price = 5;};
	class V_40_EPOCH {price = 5;};

	class H_1_EPOCH {price = 3;};
	class H_2_EPOCH {price = 3;};
	class H_3_EPOCH {price = 3;};
	class H_4_EPOCH {price = 3;};
	class H_5_EPOCH {price = 3;};
	class H_6_EPOCH {price = 3;};
	class H_7_EPOCH {price = 3;};
	class H_8_EPOCH {price = 3;};
	class H_9_EPOCH {price = 3;};
	class H_10_EPOCH {price = 3;};
	class H_11_EPOCH {price = 3;};
	class H_12_EPOCH {price = 3;};
	class H_13_EPOCH {price = 3;};
	class H_14_EPOCH {price = 3;};
	class H_15_EPOCH {price = 3;};
	class H_16_EPOCH {price = 3;};
	class H_17_EPOCH {price = 3;};
	class H_18_EPOCH {price = 3;};
	class H_19_EPOCH {price = 3;};
	class H_20_EPOCH {price = 3;};
	class H_21_EPOCH {price = 3;};
	class H_22_EPOCH {price = 3;};
	class H_23_EPOCH {price = 3;};
	class H_24_EPOCH {price = 3;};
	class H_25_EPOCH {price = 3;};
	class H_26_EPOCH {price = 3;};
	class H_27_EPOCH {price = 3;};
	class H_28_EPOCH {price = 3;};
	class H_29_EPOCH {price = 3;};
	class H_30_EPOCH {price = 3;};
	class H_31_EPOCH {price = 3;};
	class H_32_EPOCH {price = 3;};
	class H_33_EPOCH {price = 3;};
	class H_34_EPOCH {price = 3;};
	class H_35_EPOCH {price = 3;};
	class H_36_EPOCH {price = 3;};
	class H_37_EPOCH {price = 3;};
	class H_38_EPOCH {price = 3;};
	class H_39_EPOCH {price = 3;};
	class H_40_EPOCH {price = 3;};
	class H_41_EPOCH {price = 3;};
	class H_42_EPOCH {price = 3;};
	class H_43_EPOCH {price = 3;};
	class H_44_EPOCH {price = 3;};
	class H_45_EPOCH {price = 3;};
	class H_46_EPOCH {price = 3;};
	class H_47_EPOCH {price = 3;};
	class H_48_EPOCH {price = 3;};
	class H_49_EPOCH {price = 3;};
	class H_50_EPOCH {price = 3;};
	class H_51_EPOCH {price = 3;};
	class H_52_EPOCH {price = 3;};
	class H_53_EPOCH {price = 3;};
	class H_54_EPOCH {price = 3;};
	class H_55_EPOCH {price = 3;};
	class H_56_EPOCH {price = 3;};
	class H_57_EPOCH {price = 3;};
	class H_58_EPOCH {price = 3;};
	class H_59_EPOCH {price = 3;};
	class H_60_EPOCH {price = 3;};
	class H_61_EPOCH {price = 3;};
	class H_62_EPOCH {price = 3;};
	class H_63_EPOCH {price = 3;};
	class H_64_EPOCH {price = 3;};
	class H_65_EPOCH {price = 3;};
	class H_66_EPOCH {price = 3;};
	class H_67_EPOCH {price = 3;};
	class H_68_EPOCH {price = 3;};
	class H_69_EPOCH {price = 3;};
	class H_70_EPOCH {price = 3;};
	class H_71_EPOCH {price = 3;};
	class H_72_EPOCH {price = 3;};
	class H_73_EPOCH {price = 3;};
	class H_74_EPOCH {price = 3;};
	class H_75_EPOCH {price = 3;};
	class H_76_EPOCH {price = 3;};
	class H_77_EPOCH {price = 3;};
	class H_78_EPOCH {price = 3;};
	class H_79_EPOCH {price = 3;};
	class H_80_EPOCH {price = 3;};
	class H_81_EPOCH {price = 3;};
	class H_82_EPOCH {price = 3;};
	class H_83_EPOCH {price = 3;};
	class H_84_EPOCH {price = 3;};
	class H_85_EPOCH {price = 3;};
	class H_86_EPOCH {price = 3;};
	class H_87_EPOCH {price = 3;};
	class H_88_EPOCH {price = 3;};
	class H_89_EPOCH {price = 3;};
	class H_90_EPOCH {price = 3;};
	class H_91_EPOCH {price = 3;};
	class H_92_EPOCH {price = 3;};
	class H_93_EPOCH {price = 3;};
	class H_94_EPOCH {price = 5;};
	class H_95_EPOCH {price = 5;};
	class H_96_EPOCH {price = 5;};
	class H_97_EPOCH {price = 5;};
	class H_98_EPOCH {price = 5;};
	class H_99_EPOCH {price = 5;};
	class H_100_EPOCH {price = 5;};
	class H_101_EPOCH {price = 5;};
	class H_102_EPOCH {price = 5;};
	class H_103_EPOCH {price = 5;};
	class H_104_EPOCH {price = 3;};
	class wolf_mask_epoch {price = 30;};
	class pkin_mask_epoch {price = 30;};

	class C_Offroad_01_EPOCH {price = 750;};
	class C_Quadbike_01_EPOCH {price = 500;};
	class C_Hatchback_01_EPOCH {price = 750;};
	class C_Hatchback_02_EPOCH {price = 1000;};
	class C_SUV_01_EPOCH {price = 750;};
	class C_Rubberboat_EPOCH {price = 500;};
	class C_Rubberboat_02_EPOCH {price = 500;};
	class C_Rubberboat_03_EPOCH {price = 500;};
	class C_Rubberboat_04_EPOCH {price = 500;};
	class C_Van_01_box_EPOCH {price = 1000;};
	class C_Van_01_transport_EPOCH {price = 1000;};
	class C_Boat_Civil_01_EPOCH {price = 750;};
	class C_Boat_Civil_01_police_EPOCH {price = 750;};
	class C_Boat_Civil_01_rescue_EPOCH {price = 750;};
	class B_Heli_Light_01_EPOCH {price = 2500;};
	class B_SDV_01_EPOCH {price = 1000;};
	class B_MRAP_01_EPOCH {price = 2500;};
	class B_G_Offroad_01_armed_EPOCH {price = 2500;};
	class B_Truck_01_transport_EPOCH {price = 1000;};
	class B_Truck_01_covered_EPOCH {price = 1000;};
	class B_Truck_01_mover_EPOCH {price = 1000;};
	class B_Truck_01_box_EPOCH {price = 1000;};
	class O_Truck_02_covered_EPOCH {price = 1000;};
	class O_Truck_02_transport_EPOCH {price = 1000;};
	class O_Truck_03_covered_EPOCH {price = 1000;};
	class O_Truck_02_box_EPOCH {price = 1000;};
	class O_Heli_Light_02_unarmed_EPOCH {price = 2500;};
	class I_Heli_Transport_02_EPOCH {price = 2500;};
	class I_Heli_light_03_unarmed_EPOCH {price = 2500;};
	class C_Heli_Light_01_civil_EPOCH {price = 2500;};

	class O_Heli_Transport_04_EPOCH {price = 2500;};
	class O_Heli_Transport_04_bench_EPOCH {price = 2500;};
	class O_Heli_Transport_04_box_EPOCH {price = 2500;};
	class O_Heli_Transport_04_covered_EPOCH {price = 2500;};
	class B_Heli_Transport_03_unarmed_EPOCH {price = 2500;};

	class jetski_epoch {price = 500;};
	class ebike_epoch {price = 1500;};
	class mosquito_epoch { price = 1500; };
	class K01 {price = 300;};
	class K02 {price = 300;};
	class K03 {price = 300;};
	class K04 {price = 300;};
	
	//Mission Items
	class B_UavTerminal {price = 10;};
	class O_UavTerminal {price = 10;};
};

note that the 

#Include "CfgPricing.hpp"

class CfgPricing 

must be the same case spelled exactly the same way.

rangefinder is in there

as well as your other items listed under 

// DLC muzzles
Link to comment
Share on other sites

  • 0

If you wish to add items to that. Then in your description.ext add

#Include "Cfgpricing.hpp"

Then download this and place in mission folder

https://github.com/EpochModTeam/Epoch/blob/master/Sources/epoch_config/Configs/CfgPricing.hpp

in that file add class names of items u want to appear in the admin menu and traders.

 

If u have anymore questions feel free to add me on steam. Tinboye

 

WOW!!!

You mean there's a way to get the missing items in the admin menu?

I did exactly what you wrote, but it didn't work.  By "mission folder", do you mean epoch.Altis.pbo?  I had all but assumed that $40 was required to get all the items in the admin spawn menu.

If you have any more details, and care to post them, I would really appreciate it!!!

EDIT: I experimented some more.  I never could get the server to find "CfgPricing.hpp".  It always complained of an "empty" header.  So I just appended the whole contents of "CfgPricing.hpp" to "description.ext".  That worked (same as "#include" I assume), but the missing items are still missing from the menu.  What isn't clear is that the "CfgPricing" list in this context should contain the list of items that are missing and you want to add to the menu or if the list should be the complete list. (???)

I'm looking for:

Rangefinder

.338 & 9.3 supressors

Color choices of suppresors, guns, and scopes.

and inexplicably, "meatballs" is missing from my admin menu.

Link to comment
Share on other sites

  • 0

correct, you would depbo the epoch.altis.pbo

then open your description.ext

near the top add 

#Include "CfgPricing.hpp"

inside that file 

 

Hidden Content

note that the 

#Include "CfgPricing.hpp"

class CfgPricing 

must be the same case spelled exactly the same way.

rangefinder is in there

as well as your other items listed under 

// DLC muzzles

Ok, I did all this and if I just include the items I'm missing in this "ancillary" CfgPricing list, pretty much everything disappears from the spawn menus (The "Vests" section was still intact).  If I include the entire file without culling any items, the spawn menu works as before, but still no missing items.

I hope you can answer some more questions:

  • Should the "#include" statement be the first line in "description.ext"?
  • Assuming I can get this to work, where exactly in the menus should I expect to see the new items?  In the appropriate section ("Attachments")?  Will it be in the middle somewhere, at the top or the bottom of the Attachments list?
  • The class definitions do not include the description text found in the actual admin spawn menus.  For example, how will "class muzzle_snds_93mmg_tan { price = 3; };" appear in the menu?
  • Why are these items neglected in the admin spawn menu in the first place? 

Thanks so much for your help. 

Link to comment
Share on other sites

  • 0

A followup to my own post.

It turns out that "CfgPricing" is not the way to make missing items appear in the spawn menu.

After lots of digging around, I found "server_securityfunctions.sqf".  Starting at line 2066, mine now looks like this:

        _optics = ['optic_Arco', 'optic_Hamr', 'optic_Aco', 'optic_ACO_grn', 'optic_Aco_smg', 'optic_ACO_grn_smg', 'optic_Holosight', 'optic_Holosight_smg', 'optic_SOS', 'optic_MRCO', 'optic_DMS', 'optic_Yorris', 'optic_MRD', 'optic_LRPS', 'optic_NVS', 'optic_tws', 'optic_tws_mg', 'optic_AMS', 'optic_AMS_khk', 'optic_AMS_snd', 'optic_KHS_blk', 'optic_KHS_hex', 'optic_KHS_old', 'optic_KHS_tan'];
            _muzzles = ['muzzle_snds_H','muzzle_snds_L','muzzle_snds_M','muzzle_snds_B','muzzle_snds_H_MG','muzzle_snds_acp','Heal_EPOCH','Defib_EPOCH','Repair_EPOCH','acc_flashlight','acc_pointer_IR', 'muzzle_snds_338_black', 'muzzle_snds_338_green', 'muzzle_snds_93mmg', 'muzzle_snds_93mmg_tan'];
            _misc = ['Rangefinder', 'Binocular','NVG_EPOCH','ItemCompass','ItemGPS','ItemMap','EpochRadio0','EpochRadio1','EpochRadio2','EpochRadio3','EpochRadio4','EpochRadio5','EpochRadio6','EpochRadio7','EpochRadio8','EpochRadio9','ItemWatch'];

And sure enough, the scopes, muzzles, and rangefinder now appear in the admin menu spawn list!!!

I hope this is useful to someone.  I spent hours wasting time with CfgPricing.

Link to comment
Share on other sites

  • 0

I'm looking at the following code in "server_securityfunctions.sqf"

        if (_this == 61) then {
            _airVehicles = ""
                    getText(_x >> 'displayName') != '' &&
                    getText(_x >> 'picture') != '' &&
                    getNumber(_x >> 'type') != 0 &&
                    getText (_x >> 'vehicleClass') in ['Air']
            ""configClasses (configFile >> 'CfgVehicles');
            {
                _config = 'CfgPricing' call EPOCH_returnConfig;
                if (isClass(_config >> configName _x)) then{
                    _index = _ctrl lbAdd format['%1', getText(_x >> 'displayName')];
                    _ctrl lbSetData[_index, str[configName _x, 6, 0]];
                    _ctrl lbSetPicture[_index, getText(_x >> 'picture')];
                };
            }forEach _airVehicles;
        };

The interesting part is ""configClasses (configFile >> 'CfgVehicles');

Where is 'CfgVehicles'?

I looked through all the files, I didn't find it. Maybe it's the "epochconfig.hpp"?

Any ideas?

Link to comment
Share on other sites

  • 0

I'm looking at the following code in "server_securityfunctions.sqf"

        if (_this == 61) then {
            _airVehicles = ""
                    getText(_x >> 'displayName') != '' &&
                    getText(_x >> 'picture') != '' &&
                    getNumber(_x >> 'type') != 0 &&
                    getText (_x >> 'vehicleClass') in ['Air']
            ""configClasses (configFile >> 'CfgVehicles');
            {
                _config = 'CfgPricing' call EPOCH_returnConfig;
                if (isClass(_config >> configName _x)) then{
                    _index = _ctrl lbAdd format['%1', getText(_x >> 'displayName')];
                    _ctrl lbSetData[_index, str[configName _x, 6, 0]];
                    _ctrl lbSetPicture[_index, getText(_x >> 'picture')];
                };
            }forEach _airVehicles;
        };

The interesting part is ""configClasses (configFile >> 'CfgVehicles');

Where is 'CfgVehicles'?

I looked through all the files, I didn't find it. Maybe it's the "epochconfig.hpp"?

Any ideas?

https://github.com/EpochModTeam/Epoch/blob/master/Sources/epoch_config/Configs/CfgVehicles.hpp

Link to comment
Share on other sites

  • 0

Nope, CfgVehicles would include every single object/building/vehicle in game in all PBOs out there, including originals. There's much more to it than it meets the eye, the whole science behind it :)

Also forget this config, there's nothing you can change in it as it is not mpmissions compatible config.

Link to comment
Share on other sites

  • 0

Nope, CfgVehicles would include every single object/building/vehicle in game in all PBOs out there, including originals. There's much more to it than it meets the eye, the whole science behind it :)

Also forget this config, there's nothing you can change in it as it is not mpmissions compatible config.

I think some people are just trying to understand what's possible and not possible and why.  I'm not sure science even enters into it.  For example, why is the attachments menu in the admin menu incomplete?  Is this by design?  The admin menu doesn't seem to get much attention and it needs some updating.  And generally speaking, from what I've seen here in the forums, the developers see it as the absolute lowest priority.

So while your comments are valuable in the context of trying to understand what the developers really think the priorities are for Epoch, I don't think it helps the community when it might appear to some that you are mocking those with less knowledge than you.

Link to comment
Share on other sites

  • 0

oh boy...

I think some people are just trying to understand what's possible and not possible and why.  I'm not sure science even enters into it. 

It's a figure of speech, a very large topic out of scope of question asked

 For example, why is the attachments menu in the admin menu incomplete?  Is this by design?  The admin menu doesn't seem to get much attention and it needs some updating.  And generally speaking, from what I've seen here in the forums, the developers see it as the absolute lowest priority.

Everything we do takes time, something simple for you might take hours of planning for developers and many more to implement. Not all developers are capable of the task and yes ofcourse there are priorities and sacrifices.

So while your comments are valuable in the context of trying to understand what the developers really think the priorities are for Epoch, I don't think it helps the community when it might appear to some that you are mocking those with less knowledge than you.

Nobody's mocking anyone, ... you literary can't do shit with cfgVehicles as a server admin. There are quite a few other  static configs like that which can't be changed and would require creating whole new client PBO.

Link to comment
Share on other sites

  • 0

Nope, CfgVehicles would include every single object/building/vehicle in game in all PBOs out there, including originals. There's much more to it than it meets the eye, the whole science behind it :)

Also forget this config, there's nothing you can change in it as it is not mpmissions compatible config.

Thank you for your input. I haven't parsed the whole file yet but when I did some keyword searching I did not find, for example: B MRAP 01 hmg F.  am I missing something? Off topic, my phone is misbehaving.

 

Link to comment
Share on other sites

  • 0

@ Raymix, can you guide me to a file I can mmodify, so I can add my own flourishes? 

Thank you for your time.

 

Ahh, it's not as simple as you'd think. Some if items depend on cfgPricing - the stuff that traders has, some items are hardcoded and some goes trough configs. I haven't touched the admin menu myself, but it would require some effort to put out the proper guide that would fit everyone out there, the time better spent implementing new features, ya know.

Thank you for your input. I haven't parsed the whole file yet but when I did some keyword searching I did not find, for example: B MRAP 01 hmg F.  am I missing something? Off topic, my phone is misbehaving.

 

See, CfgVehicles is a huge config, it is split apart and located in multiple config files. When engine is launched, all these and other configs are stitched together into a single large config. There are many ways to view or extract data from configs using code ofc, some of code snippets I've scattered around the forum if interested, but if you are interested to see how it all works, jump in a editor (SP), press ESC and choose Config viewer button. It'll show you how cfg hierarchy works... sorta. It's a mess.

In terms of changing it - you can't, unless you make an extra PBO mod that either adds new vehicles or modifies older configs, but this requires clients to download and run this mod, so it's not gonna work.
Tehnically if you were to find something specific, you'd extract all arma 3 pbos (for example Arma3P.bat) and then use something like winGrep to surf trough hundreds of files with tens of thousands of lines.

It's very hard to explain it in simple terms how it works as it's quite a learning curve to master config files and commands associated with them (quite rewarding knowledge tho).

Bottom line is, if you want to see something in admin menu, your best bet is to make a new thread in feedback section with list of items you'd like to see in it and hope the next patch includes them (we are aware that admin menu lacks few items ofc).

Link to comment
Share on other sites

  • 0

Ahh, it's not as simple as you'd think. Some if items depend on cfgPricing - the stuff that traders has, some items are hardcoded and some goes trough configs. I haven't touched the admin menu myself, but it would require some effort to put out the proper guide that would fit everyone out there, the time better spent implementing new features, ya know.

See, CfgVehicles is a huge config, it is split apart and located in multiple config files. When engine is launched, all these and other configs are stitched together into a single large config. There are many ways to view or extract data from configs using code ofc, some of code snippets I've scattered around the forum if interested, but if you are interested to see how it all works, jump in a editor (SP), press ESC and choose Config viewer button. It'll show you how cfg hierarchy works... sorta. It's a mess.

In terms of changing it - you can't, unless you make an extra PBO mod that either adds new vehicles or modifies older configs, but this requires clients to download and run this mod, so it's not gonna work.
Tehnically if you were to find something specific, you'd extract all arma 3 pbos (for example Arma3P.bat) and then use something like winGrep to surf trough hundreds of files with tens of thousands of lines.

It's very hard to explain it in simple terms how it works as it's quite a learning curve to master config files and commands associated with them (quite rewarding knowledge tho).

Bottom line is, if you want to see something in admin menu, your best bet is to make a new thread in feedback section with list of items you'd like to see in it and hope the next patch includes them (we are aware that admin menu lacks few items ofc).

thank you for the additional details. II have had my share of cnfig file editing. I'm not afraid of the work. If you don't mind can you pint me to the files I should be looking at so I can make some modifications to the admin menu? I've tried the suggests already posted to this thread. Any suggestion are appreciated.

thank you.

Link to comment
Share on other sites

  • 0

We do have plans of recoding the admin panel so it is easier to customize. Some parts of the spawn menu are static and could easily be made into a config instead. I will try to get this done for the next patch 0.3.5.

This is fabulous news!!!

I've been maintaining a list of what's missing here.

Link to comment
Share on other sites

  • 0

We do have plans of recoding the admin panel so it is easier to customize. Some parts of the spawn menu are static and could easily be made into a config instead. I will try to get this done for the next patch 0.3.5.

Thank you, if at all possible can you make the entire menu customizable? With a fully customizable menu each admin can make their own changes, this would greatly reduce the amount of work you would have to do in the future. 

Thank  you again for a great mod. 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...