I guess you should read Vektorbosons dialog tute to understand this, I won't explain this so just copy everything.
First you need to define some stuff in your description.ext. I always take everything, wheter I need it or not.
// Control types
#define CT_STATIC 0
#define CT_BUTTON 1
#define CT_EDIT 2
#define CT_SLIDER 3
#define CT_COMBO 4
#define CT_LISTBOX 5
#define CT_TOOLBOX 6
#define CT_CHECKBOXES 7
#define CT_PROGRESS 8
#define CT_HTML 9
#define CT_STATIC_SKEW 10
#define CT_ACTIVETEXT 11
#define CT_TREE 12
#define CT_3DSTATIC 20
#define CT_3DACTIVETEXT 21
#define CT_3DLISTBOX 22
#define CT_3DHTML 23
#define CT_3DSLIDER 24
#define CT_3DEDIT 25
#define CT_OBJECT 80
#define CT_OBJECT_ZOOM 81
#define CT_OBJECT_CONTAINER 82
#define CT_OBJECT_CONT_ANIM 83
#define CT_USER 99
// Static styles
#define ST_HPOS 0x0F
#define ST_LEFT 0
#define ST_RIGHT 1
#define ST_CENTER 2
#define ST_UP 3
#define ST_DOWN 4
#define ST_VCENTER 5
#define ST_TYPE 0xF0
#define ST_SINGLE 0
#define ST_MULTI 16
#define ST_TITLE_BAR 32
#define ST_PICTURE 48
#define ST_FRAME 64
#define ST_BACKGROUND 80
#define ST_GROUP_BOX 96
#define ST_GROUP_BOX2 112
#define ST_HUD_BACKGROUND 128
#define ST_TILE_PICTURE 144
#define ST_WITH_RECT 160
#define ST_LINE 176
#define ST_SHADOW 256
#define ST_NO_RECT 512
#define ST_TITLE ST_TITLE_BAR + ST_CENTER
// Predefined controls
#define IDC_OK 1
#define IDC_CANCEL 2
// Colors
#define TextColor 0.08, 0.08, 0.12
#define InvTextColor 0.35, 0.38, 0.36
// Fonts
#define FontS "tahomaB24"
#define FontM "tahomaB36"
#define FontHTML "courierNewB64"
#define FontHTMLBold "courierNewB64"
#define FontMAP "courierNewB64"
#define FontMAIN "SteelfishB64"
#define FontMAINCZ "SteelfishB64CE"
#define FontTITLE "SteelfishB128"
#define FontTITLEHalf "SteelfishB64"
#define FontBOOK "garamond64"
#define FontNOTES "AudreysHandI48"
All creds goes to Gameer, cause it's he who defined all this, I just stole it. ;D
Then you need to put in da picture. NAMEOFPICTURE.jpg. There are some stuff there you probably understand yourself.
class picture
{
name = "picture";
duration =35;
idd = -1;
movingEnable = true;
controls[]=
{
picture
};
class picture : RscText
{
style = ST_PICTURE;
lineSpacing = 1.0;
text = "PICTURENAME.jpg";
x = 0.25; y = 0.1; w = 0.5; h = 0.8;
colorText[] = {1, 1, 1, 0.5};
font = FontMAINCZ;
sizeEx = 1.5 * 0.1;
size = 1;
};
};
OK. This is probably all wrong, cause I ain't very good at dialoges. I mostly use templates from some1 elses mission and then add my own stuff. But it might work... I dunno.
Anyway, read Vektorbosons tute about dialoges, it's the best way.
:beat: *Gets Shot* :beat: