Jump to content
Sign in to follow this  
Munk

CfgDifficulties.hpp

Recommended Posts

With my squads personal mod we use our own custom bin.pbo for compatibilty with certain addons we use. Since v1.14 was installed its been throwing up an error on start up;

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">No entry 'bin\config.cpp/CfgDifficulties/Regular/Flags.VonID'.

He's a copy of the CfgDifficulties.hpp

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgDifficulties {

default = "Regular";

class Regular {

displayName = $STR_XBOX_DIFF_REGULAR;

description = "";

showCadetHints = 1;

showCadetWP = 1;

maxPilotHeight = 400;

scoreImage = "#(argb,8,8,3)color(1,1,1,1)";

scoreChar = "o";

badScoreImage = "#(argb,8,8,3)color(1,1,1,1)";

badScoreChar = "X";

skillFriendly = 0.75;

skillEnemy = 0.6;

myArmorCoef = 3.0;

groupArmorCoef = 2.4;

autoAimSizeFactor = 0.9;

autoAimDistance = 1.3;

autoAimAngle = 6;

peripheralVisionAid = 0.9;

visionAid = 0;

class Flags {

armor[] = {1, 1};

friendlyTag[] = {1, 1};

enemyTag[] = {0, 1};

hud[] = {1, 1};

hudPerm[] = {1, 1};

hudWp[] = {1, 1};

hudWpPerm[] = {1, 1};

autoSpot[] = {1, 1};

map[] = {1, 1};

weaponCursor[] = {1, 1};

autoGuideAT[] = {1, 1};

clockIndicator[] = {1, 1};

3rdPersonView[] = {1, 1};

tracers[] = {1, 1};

ultraAI[] = {0, 1};

autoAim[] = {0, 1};

unlimitedSaves[] = {1, 1};

deathMessages[] = {1, 1};

netStats[] = {1, 1};

allowSeagull[] = {1, 1};

suppressPlayer[] = {1, 1};

realisticFatigue[] = {1, 1};

};

};

class Veteran {

displayName = $STR_XBOX_DIFF_VETERAN;

description = "";

showCadetHints = 0;

showCadetWP = 1;

maxPilotHeight = 10000;

scoreImage = "#(argb,8,8,3)color(1,1,1,1)";

scoreChar = "*";

badScoreImage = "#(argb,8,8,3)color(1,1,1,1)";

badScoreChar = "X";

skillFriendly = 0.85;

skillEnemy = 0.85;

myArmorCoef = 1.2;

groupArmorCoef = 1.1;

autoAimSizeFactor = 0.7;

autoAimDistance = 1;

autoAimAngle = 4;

peripheralVisionAid = 0.6;

visionAid = 0;

class Flags {

armor[] = {0, 0};

friendlyTag[] = {0, 0};

enemyTag[] = {0, 0};

hud[] = {1, 1};

hudPerm[] = {0, 0};

hudWp[] = {1, 1};

hudWpPerm[] = {1, 1};

autoSpot[] = {0, 0};

map[] = {0, 0};

weaponCursor[] = {1, 1};

autoGuideAT[] = {0, 0};

clockIndicator[] = {1, 1};

3rdPersonView[] = {1, 1};

tracers[] = {1, 1};

ultraAI[] = {0, 1};

autoAim[] = {0, 0};

unlimitedSaves[] = {0, 0};

deathMessages[] = {1, 1};

netStats[] = {1, 1};

allowSeagull[] = {1, 1};

suppressPlayer[] = {1, 1};

realisticFatigue[] = {1, 1};

};

};

};

Does anyone know where/what the problem is?

Cheers,

Munk

Share this post


Link to post
Share on other sites

Your file seems seems to miss 1.14 values - did you extract that part from 1.14 config.bin?

Share this post


Link to post
Share on other sites

No, Im not sure what version its from (probably 1.05). Any chance you could tell me what values are missing?

Share this post


Link to post
Share on other sites

unpack arma\dta\bin.pbo with cpbo

convert config bin to cpp with unrap

search for CfgDifficulties with notepad++

copy that area to your CfgDifficulties.hpp

you can use compareIt to compare both files if you want to

Share this post


Link to post
Share on other sites

Cheers, was hoping you'd do the leg work for me because I'm just a lazy bugger but I guess you weren't falling for it wink_o.gif

Next error on trying boot up the game;

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Error compiling pixel shader PSAlphaOnlyMod

followed obviously by the game not wanting to work. No idea where to start with this one and the search function on this forum seems to have gotten worse.

Share this post


Link to post
Share on other sites

Do you load a modified bin.pbo?

Share this post


Link to post
Share on other sites

Yes as mentioned in the first post, I fixed it now anyway. It was a simple as adding a semi colon to the end of my shortcut target. Cheers for all the help.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×