Jump to content

[Alpha Release] Single Currency 3.0 & Storage DEFAULT HIVE ( No global banking).


Recommended Posts

Tried removing other entries (Watermark and a custom sound file) which ended up with still the same error of non existing line, and non existing word in the description.ext, which makes me wonder WTF IS WRONG!


Here is the description.ext... kept it simple and made sure all brackets are closing!


 

#include "ZSC\config\cfgServerTrader.hpp"
respawn = "BASE";
respawndelay = 5;
onLoadMission= "DayZ Epoch Chernarus";
OnLoadIntro = "Welcome to DayZ Epoch Chernarus";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
enableItemsDropping = 0;

briefing = 0;
debriefing = 0;

onPauseScript = "";
loadScreen = "FZepochBanner.jpg";

class Header
{
 gameType = COOP;            //DM, Team, Coop, ...
 minPlayers = 1;             //min # of players the mission supports
 maxPlayers = 100;            //Max # of players the mission supports
};

aiKills = 1;
diagRadio = 1;
diagHit = 1;

class RscText
{
	type = 0;
	idc = -1;
	x = 0;
	y = 0;
	h = 0.037;
	w = 0.3;
	style = 0x100; 
	font = Zeppelin32;
	SizeEx = 0.03921;
	colorText[] = {1,1,1,1};
	colorBackground[] = {0, 0, 0, 0};
	linespacing = 1;
};
class RscPicture
{
	access=0;
	type=0;
	idc=-1;
	style=48;
	colorBackground[]={0,0,0,0};
	colorText[]={1,1,1,1};
	font="TahomaB";
	sizeEx=0;
	lineSpacing=0;
	text="";
};
class RscLoadingText : RscText
{
	style = 2;
	x = 0.323532;
	y = 0.666672;
	w = 0.352944;
	h = 0.039216;
	sizeEx = 0.03921;
	colorText[] = {0.543,0.5742,0.4102,1.0};
};
class RscProgress
{
	x = 0.344;
	y = 0.619;
	w = 0.313726;
	h = 0.0261438;
	texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
	colorFrame[] = {0,0,0,0};
	colorBar[] = {1,1,1,1};
};
class RscProgressNotFreeze
{
	idc = -1;
	type = 45;
	style = 0;
	x = 0.022059;
	y = 0.911772;
	w = 0.029412;
	h = 0.039216;
	texture = "#(argb,8,8,3)color(0,0,0,0)";
};
class CfgSounds
{
    sounds[] = {Brief_Open_Sound};
    class Brief_Open_Sound
    {
        name = "Brief_Open_Sound";
        sound[] = {addons\mbc\brief_open.ogg,0.4,1};
        titles[] = {};
    };
};
//
// the loading screen itself
//
class DayZ_loadingScreen
{ 
	idd = -1;
	duration = 10e10;
	fadein = 0;
	fadeout = 0;
	name = "loading screen";
	class controlsBackground
	{
		class blackBG : RscText
		{
			x = safezoneX;
			y = safezoneY;
			w = safezoneW;
			h = safezoneH;
			text = "";
			colorText[] = {0,0,0,0};
			colorBackground[] = {0,0,0,1};
		};
		/*
		class nicePic : RscPicture
		{
			style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO
			x = safezoneX + safezoneW/2 - 0.25;
			y = safezoneY + safezoneH/2 - 0.2;
			w = 0.5;
			h = 0.4;
			text = "img\nicePic.paa";
		};
		*/
	};
	class controls
	{
		class Title1 : RscLoadingText
		{
			text = "$STR_LOADING"; // "Loading" text in the middle of the screen
		};
		class CA_Progress : RscProgress // progress bar, has to have idc 104
		{
			idc = 104;
			type = 8; // CT_PROGRESS
			style = 0; // ST_SINGLE
			texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
		};
		class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse
		{
			idc = 103;
		};
		class Name2: RscText // the text on the top-left
		{
			idc = 101;
			x = 0.05;
			y = 0.029412;
			w = 0.9;
			h = 0.04902;
			text = "";
			sizeEx = 0.05;
			colorText[] = {0.543,0.5742,0.4102,1.0};
		};
	};
};
// DayZ Watermark
#include "dzgm\defines.hpp"
class RscTitles
{
#include "dzgm\icons.hpp"
#include "ZSC\config\ZSChud.hpp"
};
#include "addons\mbc\dialogs.hpp" //Mystery Brief
#include "custom\snap_build\points.hpp"
#include "spawn\defines.hpp"
#include "spawn\class.hpp"
#include "spawn\halo.hpp"
#include "spawn\spawn.hpp"
#include "custom\extra_rc.hpp"
// Epoch Admin Tools
#include "admintools\dialog.hpp"
#include "addons\sounds.hpp" //Swag swag swag
#include "dzgm\groupManagement.hpp"
#include "ZSC\config\ZSCdefines.hpp"
#include "ZSC\config\ZSCdialogs.hpp"
Link to comment
Share on other sites

2 options , overwrite if not have scripts that use fn_selfActions.sqf  or custom mod file fn_selfActions.sqf if have scripts ... in how to install is explained first and second options..

 

How would I go about using a custom fn_selfActions.sqf? I want to keep my existing scripts working that use the original fn_selfactions.

Link to comment
Share on other sites

 

Tried removing other entries (Watermark and a custom sound file) which ended up with still the same error of non existing line, and non existing word in the description.ext, which makes me wonder WTF IS WRONG!

Here is the description.ext... kept it simple and made sure all brackets are closing!

 

#include "ZSC\config\cfgServerTrader.hpp"
respawn = "BASE";
respawndelay = 5;
onLoadMission= "DayZ Epoch Chernarus";
OnLoadIntro = "Welcome to DayZ Epoch Chernarus";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
enableItemsDropping = 0;

briefing = 0;
debriefing = 0;

onPauseScript = "";
loadScreen = "FZepochBanner.jpg";

class Header
{
 gameType = COOP;            //DM, Team, Coop, ...
 minPlayers = 1;             //min # of players the mission supports
 maxPlayers = 100;            //Max # of players the mission supports
};

aiKills = 1;
diagRadio = 1;
diagHit = 1;

class RscTitles
{
#include "dzgm\icons.hpp"
#include "ZSC\config\ZSChud.hpp"
};

class RscText
{
        
	type = 0;
	idc = -1;
	x = 0;
	y = 0;
	h = 0.037;
	w = 0.3;
	style = 0x100; 
	font = Zeppelin32;
	SizeEx = 0.03921;
	colorText[] = {1,1,1,1};
	colorBackground[] = {0, 0, 0, 0};
	linespacing = 1;
};
class RscPicture
{
	access=0;
	type=0;
	idc=-1;
	style=48;
	colorBackground[]={0,0,0,0};
	colorText[]={1,1,1,1};
	font="TahomaB";
	sizeEx=0;
	lineSpacing=0;
	text="";
};
class RscLoadingText : RscText
{
	style = 2;
	x = 0.323532;
	y = 0.666672;
	w = 0.352944;
	h = 0.039216;
	sizeEx = 0.03921;
	colorText[] = {0.543,0.5742,0.4102,1.0};
};
class RscProgress
{
	x = 0.344;
	y = 0.619;
	w = 0.313726;
	h = 0.0261438;
	texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
	colorFrame[] = {0,0,0,0};
	colorBar[] = {1,1,1,1};
};
class RscProgressNotFreeze
{
	idc = -1;
	type = 45;
	style = 0;
	x = 0.022059;
	y = 0.911772;
	w = 0.029412;
	h = 0.039216;
	texture = "#(argb,8,8,3)color(0,0,0,0)";
};
class CfgSounds
{
    sounds[] = {Brief_Open_Sound};
    class Brief_Open_Sound
    {
        name = "Brief_Open_Sound";
        sound[] = {addons\mbc\brief_open.ogg,0.4,1};
        titles[] = {};
    };
};
//
// the loading screen itself
//
class DayZ_loadingScreen
{ 
	idd = -1;
	duration = 10e10;
	fadein = 0;
	fadeout = 0;
	name = "loading screen";
	class controlsBackground
	{
		class blackBG : RscText
		{
			x = safezoneX;
			y = safezoneY;
			w = safezoneW;
			h = safezoneH;
			text = "";
			colorText[] = {0,0,0,0};
			colorBackground[] = {0,0,0,1};
		};
		/*
		class nicePic : RscPicture
		{
			style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO
			x = safezoneX + safezoneW/2 - 0.25;
			y = safezoneY + safezoneH/2 - 0.2;
			w = 0.5;
			h = 0.4;
			text = "img\nicePic.paa";
		};
		*/
	};
	class controls
	{
		class Title1 : RscLoadingText
		{
			text = "$STR_LOADING"; // "Loading" text in the middle of the screen
		};
		class CA_Progress : RscProgress // progress bar, has to have idc 104
		{
			idc = 104;
			type = 8; // CT_PROGRESS
			style = 0; // ST_SINGLE
			texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
		};
		class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse
		{
			idc = 103;
		};
		class Name2: RscText // the text on the top-left
		{
			idc = 101;
			x = 0.05;
			y = 0.029412;
			w = 0.9;
			h = 0.04902;
			text = "";
			sizeEx = 0.05;
			colorText[] = {0.543,0.5742,0.4102,1.0};
		};
	};
};
// DayZ Watermark
#include "dzgm\defines.hpp"

#include "addons\mbc\dialogs.hpp" //Mystery Brief
#include "custom\snap_build\points.hpp"
#include "spawn\defines.hpp"
#include "spawn\class.hpp"
#include "spawn\halo.hpp"
#include "spawn\spawn.hpp"
#include "custom\extra_rc.hpp"
// Epoch Admin Tools
#include "admintools\dialog.hpp"
#include "addons\sounds.hpp" //Swag swag swag
#include "dzgm\groupManagement.hpp"
#include "ZSC\config\ZSCdefines.hpp"
#include "ZSC\config\ZSCdialogs.hpp"

now is correct  ;)   

Link to comment
Share on other sites

now is correct  ;)   watch where i have put this now  #include "ZSC\config\ZSChud.hpp"

I had that before, it still did  the same :*(

 

But why is it like this in the main post?

B 2 ) Add if you do not have a RscTitles yet!

class RscTitles

{

#include "ZSC\config\ZSChud.hpp"

};

Link to comment
Share on other sites

Now im getting this:

ErrorMessage: File mpmissions\dayz_epoch_11.Chernarus\dzgm\icons.hpp, line 14: /CfgTraderCategory/RscTitles/DZGMHud_Rsc/controls.Icons: Undefined base class 'w_RscStructuredText'

Edit, fixed it.

u have deleted something in rsctitles ?  u have nothing other inside before?  u have original file before mods?

Link to comment
Share on other sites

u have deleted something in rsctitles ?  u have nothing other inside before?  u have original file before mods?

 

#include "ZSC\config\cfgServerTrader.hpp"
respawn = "BASE";
respawndelay = 5;
onLoadMission= "DayZ Epoch Chernarus";
OnLoadIntro = "Welcome to DayZ Epoch Chernarus";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
enableItemsDropping = 0;

briefing = 0;
debriefing = 0;

onPauseScript = "";
loadScreen = "FZepochBanner.jpg";

class Header
{
 gameType = COOP;            //DM, Team, Coop, ...
 minPlayers = 1;             //min # of players the mission supports
 maxPlayers = 100;            //Max # of players the mission supports
};

aiKills = 1;
diagRadio = 1;
diagHit = 1;
#include "dzgm\defines.hpp"
class RscTitles
{
#include "dzgm\icons.hpp"
#include "ZSC\config\ZSChud.hpp"
class wm_disp {
					idd = -1;
					onLoad = "uiNamespace setVariable ['wm_disp', _this select 0]";
					fadein = 0;
					fadeout = 0;
					duration = 10e10;
					controlsBackground[] = {};
					objects[] = {};
					class controls {
						class wm_text2 {
						idc = 1;
						x = safeZoneX+0.027;//safeZoneW*0.01;
						y = safeZoneY+safeZoneH-0.16;
						w = 1.151*safeZoneH;
						h = 0.057*safeZoneH;
						shadow = 2;
							class Attributes
								{
								font = "EtelkaNarrowMediumPro";
								color = "#24FFFFFF";
								align = "left"; // put "center" here if you want some background
								valign = "middle";
								shadow = 2;
								};
						colorBackground[] = { 1, 0.3, 0, 0 };  // uncomment and increase 4th number to have a background
						font = "EtelkaNarrowMediumPro";
						size = 0.05*safeZoneH;
						type = 13;
						style = 0;
						text="";
						};
					};
	};
};

class RscText
{
        
	type = 0;
	idc = -1;
	x = 0;
	y = 0;
	h = 0.037;
	w = 0.3;
	style = 0x100; 
	font = Zeppelin32;
	SizeEx = 0.03921;
	colorText[] = {1,1,1,1};
	colorBackground[] = {0, 0, 0, 0};
	linespacing = 1;
};
class RscPicture
{
	access=0;
	type=0;
	idc=-1;
	style=48;
	colorBackground[]={0,0,0,0};
	colorText[]={1,1,1,1};
	font="TahomaB";
	sizeEx=0;
	lineSpacing=0;
	text="";
};
class RscLoadingText : RscText
{
	style = 2;
	x = 0.323532;
	y = 0.666672;
	w = 0.352944;
	h = 0.039216;
	sizeEx = 0.03921;
	colorText[] = {0.543,0.5742,0.4102,1.0};
};
class RscProgress
{
	x = 0.344;
	y = 0.619;
	w = 0.313726;
	h = 0.0261438;
	texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
	colorFrame[] = {0,0,0,0};
	colorBar[] = {1,1,1,1};
};
class RscProgressNotFreeze
{
	idc = -1;
	type = 45;
	style = 0;
	x = 0.022059;
	y = 0.911772;
	w = 0.029412;
	h = 0.039216;
	texture = "#(argb,8,8,3)color(0,0,0,0)";
};
class CfgSounds
{
    sounds[] = {Brief_Open_Sound, Swag};
    class Brief_Open_Sound
    {
        name = "Brief_Open_Sound";
        sound[] = {addons\mbc\brief_open.ogg,0.4,1};
        titles[] = {};
    };
    class Swag
    {
        name = "Swag";
        sound[] = {addons\swag.ogg,1,1};
        titles[] = {};
};
};
class DayZ_loadingScreen
{ 
	idd = -1;
	duration = 10e10;
	fadein = 0;
	fadeout = 0;
	name = "loading screen";
	class controlsBackground
	{
		class blackBG : RscText
		{
			x = safezoneX;
			y = safezoneY;
			w = safezoneW;
			h = safezoneH;
			text = "";
			colorText[] = {0,0,0,0};
			colorBackground[] = {0,0,0,1};
		};
		/*
		class nicePic : RscPicture
		{
			style = 48 + 0x800; // ST_PICTURE + ST_KEEP_ASPECT_RATIO
			x = safezoneX + safezoneW/2 - 0.25;
			y = safezoneY + safezoneH/2 - 0.2;
			w = 0.5;
			h = 0.4;
			text = "img\nicePic.paa";
		};
		*/
	};
	class controls
	{
		class Title1 : RscLoadingText
		{
			text = "$STR_LOADING"; // "Loading" text in the middle of the screen
		};
		class CA_Progress : RscProgress // progress bar, has to have idc 104
		{
			idc = 104;
			type = 8; // CT_PROGRESS
			style = 0; // ST_SINGLE
			texture = "\ca\ui\data\loadscreen_progressbar_ca.paa";
		};
		class CA_Progress2 : RscProgressNotFreeze // progress bar that will go reverse
		{
			idc = 103;
		};
		class Name2: RscText // the text on the top-left
		{
			idc = 101;
			x = 0.05;
			y = 0.029412;
			w = 0.9;
			h = 0.04902;
			text = "";
			sizeEx = 0.05;
			colorText[] = {0.543,0.5742,0.4102,1.0};
		};
	};
};
// DayZ Watermark


#include "addons\mbc\dialogs.hpp" //Mystery Brief
#include "custom\snap_build\points.hpp"
#include "spawn\defines.hpp"
#include "spawn\class.hpp"
#include "spawn\halo.hpp"
#include "spawn\spawn.hpp"
#include "custom\extra_rc.hpp"
// Epoch Admin Tools
#include "admintools\dialog.hpp"
#include "dzgm\groupManagement.hpp"
#include "ZSC\config\ZSCdefines.hpp"
#include "ZSC\config\ZSCdialogs.hpp"
Link to comment
Share on other sites

but in class rsctitles u have deleted code from original file  i have this code inside

What do you mean? I copy pasted your code and placed icons.hpp definition above RscTitles because I had an error and knew about it.

Beside that, everything is the same, I removed the watermark to make sure it works without it.

Link to comment
Share on other sites

whatch original rsctitles before mods ah ok its watermark correct

Can you show me? I dont get it XD I just woke up im kinda still tired... Spent 5 hours yesterday trying to get this working. Yeah wm_disp is the watermark!, but I remove it to see if it worked, and still the thing you showed me does not work. Same error, but on line 167 apparently...

 

On the default description.ext that Zupa provided for the mod, it is at the bottom and exactly how it is in mine... I dont get it!

https://github.com/EpochSC/SingleCurrencyStorage/blob/master/DayZ_Epoch_11.Chernarus/description.ext

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...