Jump to content
Sign in to follow this  
.kju

Warning Mes:No entry description.ext/RespawnDialog

Recommended Posts

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Warning Message: No entry 'd:\games\ArmA\Profiles\Users\kju\mpmissions\c&h 24 riverbattle_1985_v1.65.Noe\description.ext/RespawnDialog.'.

Warning Message: No entry '.type'.

Warning Message: '/' is not a value

Warning Message: No entry '.idc'.

Warning Message: '/' is not a value

Warning Message: No entry '.style'.

Warning Message: '/' is not a value

Warning Message: No entry '.x'.

Warning Message: '/' is not a value

Warning Message: No entry '.y'.

Warning Message: '/' is not a value

Warning Message: No entry '.w'.

Warning Message: '/' is not a value

Warning Message: No entry '.h'.

Warning Message: '/' is not a value

Warning Message: No entry '.colorBackground'.

Warning Message: Size: '/' not an array

Warning Message: Size: '/' not an array

Warning Message: No entry '.colorText'.

Warning Message: Size: '/' not an array

Warning Message: Size: '/' not an array

Warning Message: No entry '.font'.

Warning Message: '/' is not a value

Warning Message: No entry '.sizeEx'.

Warning Message: '/' is not a value

Warning Message: No entry '.text'.

Warning Message: '/' is not a value

Dialog is called this way:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_ok = createDialog "RespawnDialog"

?(!_ok): hint "Fehler!"; exit

description.ext

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

{

idd = -1;

movingEnable = true;

controlsBackground[] =

{

MY_BACKGROUND,

MY_FRAME,

BACKGROUND_Prim,

BACKGROUND_Sec,

BACKGROUND_Pist,

BACKGROUND_Space,

BACKGROUND_Equip,

BACKGROUND_Resp,

BACKGROUND_Mess;

};

class MY_BACKGROUND : RscText

{

colorBackground[] = {0.5, 0.55, 0.6, 0.5};

text = "";

x = 0.2;

y = 0.04;

w = 0.6;

h = 0.9;

};

...

Tried to make it based on RscStandardDisplay didn't help.

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

{

movingEnable = 1;

enableSimulation = 1;

enableDisplay = 1;

class controlsBackground

{

class Background1: RscText

{

w = 0;

h = 0;

colorBackground[] = {0, 0, 0, 0};

};

};

};

class RespawnDialog: RscStandardDisplay

Out of idea. Different base class? Which one?

Any help is very much appreciated!

Share this post


Link to post
Share on other sites

Hi Q,

Your Controls require additional parameters. For example, it is very important that each control gets their own idc.

Here is an example of a normal text Control:

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

{

idc = 212;

type = 0;

style = ST_LEFT;

colorText[]= {0,0,0,1};

font = TahomaB;

SizeEx = 0.020;

colorBackground[]= {1,1,1,0.4};

x = 0.1982; y = 0.01;

w = 0.0013; h = 0.354;

text = "YourText";

};

Greeting

Silola

Share this post


Link to post
Share on other sites

I've stumbled across the same issue when porting an OFP mission to ArmA. RespawnDialog seems to be a predefined dialog in ArmA. I had to to rename it in in the mission's description.ext and subsequent script's call to get it to work.

Share this post


Link to post
Share on other sites

ahhhh lol. thanks HitmanFF biggrin_o.gif

Also thanks to you Silola!

Share this post


Link to post
Share on other sites

crap didnt work banghead.gif

I copied the naming from your ECL template. still no luck. confused_o.gif

I find it strange that it shows the complete path in the error msg:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Warning Message: No entry 'd:\games\ArmA\Profiles\Users\kju\mpmissions\ch_24_riverbattle_1985_v165.Noe\description.ext/MyRespawnDialog.'.

I've even changed the naming of the mission folder.

Anyone interested to take a brief look please? welcome.gif

http://ifile.it/0maxsbg

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  

×