Jump to content
  • 0

CfgPricing.hpp


John Ramb0

Question

Have been trying to get this going all weekend but to no avail, I have the CfgPricing.hpp edited and in MPmissions\epoch.Chernarus\cfg but for some reason adding the line   #include "cfg\CfgPricing.hpp    into my description.ext stops my server from booting up, Can anybody help me at all, pretty stuck on this one. Here is my description.ext

author = "Epoch Mod Team";

class Header
{
 gameType = Sandbox;
 minPlayers = 1;
 maxPlayers = 100;
};
respawn = "BASE";
respawnDelay = 600;
respawnDialog = 0;
 
onLoadMission= "Epoch";
OnLoadIntro = "Welcome to Epoch Mod";
loadScreen = "\x\addons\a3_epoch_assets\pictures\loadScreen_ca.paa"; 
OnLoadIntroTime = False;
OnLoadMissionTime = False;
onLoadName = "Epoch Mod";
disabledAI = true;
scriptedPlayer = 1;
disableChannels[]={0,2,6};
enableItemsDropping = 0;
briefing = 0;
debriefing = 0;
enableDebugConsole = 0;
joinUnassigned = 0;
respawnOnStart = 0;
forceRotorLibSimulation = 0;
 
corpseManagerMode = 1;
corpseLimit = 10;
corpseRemovalMinTime = 1200;
corpseRemovalMaxTime = 3600;
 
wreckManagerMode = 1;
wreckLimit = 2;
wreckRemovalMinTime = 60;
wreckRemovalMaxTime = 360;
 
class CfgRemoteExecCommands {};
 
class CfgEpochClient
{
buildingNearbyMilitary = 0; //1 to allow building nearby
buildingNearbyMilitaryRange = 300; //Define radius of blocked area
 
buildingRequireJammer = 1; // 1 = to allow building without a jammer 
buildingCountLimit = 200; // how many objects can be built within range of a jammer 
buildingJammerRange = 75; // jammer range in meters
};
 
#include "cfg\CfgPricing.hpp"
 
class RscTitles
{
 
#include "dialog\statusBar.hpp"
};
 
class cfgMusic
{
    class intro
    {
        name = "intro";
        sound[] = {"custom\introSong.ogg", db+1,1};
    };
};
 

 
The line is there at the moment above class Rsc Titles, i have tried at the very bottom and within it's own { }; but nothing seems to work.
Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0

Is there any actual documentation for the cfgpricing.hpp?

 

I saw it in the change-log, but there is no actual link.

 

  • [Added] Edit or add Trader prices "CfgPricing" via the missionConfigFile. (Documentation link)
  • [Added] Edit or add Crafting recipes "CfgCrafting" via the missionConfigFile. (Documentation link)
  • [Added] Antagonists spawn system overhaul with spawn bias system. (Documentation link)
Link to comment
Share on other sites

  • 0

So how do we install this, do I just make the file and put it in the mission file and call it? how does it over ride the traders std price file?

 

Find CfgPricing.hpp inside the @Epoch client side files, add to your mission.pbo and call it from the description.ext

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...