Archvile
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Newfangled Doom > Doom 3 General > Minor GUI problem
 
Author
All times are GMT. The time now is 07:58. Post New Thread    Post A Reply
wImpdude3
Newbie


Posts: 3
Registered: 12-10


Hey, I'm new to doom 3, so could I get some help with a gui problem I've been having?

Basically, I'm trying to make a menu where one out of the four buttons opens a door. The coding necessary to do this eludes me. Here is an exact copy of the GUI:

windowDef Desktop
{
rect 0,0,640,480
windowDef background
{
rect -2,0,643,482
visible 1
background "blueground1"
matcolor 1,1,1,1
noevents 1
}
windowDef op1
{
rect 36,156,252,120
visible 1
background "button1"
matcolor 1,1,1,1

onMouseEnter {
set "op1::matcolor" "0.5 0.5 0.5 1";
localSound "guisounds_click3";
}

onMouseExit {
set "op1::matcolor" "1 1 1 1";
localSound "guisounds_click3";
}

onAction {
}

}
windowDef op2
{
rect 336,156,252,120
visible 1
background "button1"
matcolor 1,1,1,1

onMouseEnter {
set "op2::matcolor" "0.5 0.5 0.5 1";
localSound "guisounds_click3";
}

onMouseExit {
set "op2::matcolor" "1 1 1 1";
localSound "guisounds_click3";
}

onAction {
set "op2::matcolor" "0.5 1 1 1";
localSound "guisounds_admin_error";
set "click::noevents" "0" ;
}

}
windowDef op3
{
rect 36,300,252,132
visible 1
background "button1"
matcolor 1,1,1,1

onMouseEnter {
set "op3::matcolor" "0.5 0.5 0.5 1";
localSound "guisounds_click3";
}

onMouseExit {
set "op3::matcolor" "1 1 1 1";
localSound "guisounds_click3";
}

onAction {
}

}
windowDef op4
{
rect 336,300,252,132
visible 1
background "button1"
matcolor 1,1,1,1

onMouseEnter {
set "op4::matcolor" "0.5 0.5 0.5 1";
localSound "guisounds_click3";
}

onMouseExit {
set "op4::matcolor" "1 1 1 1";
localSound "guisounds_click3";
}

onAction {
}

}
windowDef title1
{
rect -137,21,882,116
visible 1
background "button1"
matcolor 1,1,1,1
noevents 1
}
windowDef questiontext1
{
rect 5,25,581,66
visible 1
forecolor 1,1,1,1
text "dummytext"
textscale 0.5
font "fonts/english"
}
windowDef answertext1_1
{
rect 43,156,239,110
visible 1
forecolor 1,1,1,1
text "dummytext"
textscale 0.40000001
font "fonts/english"
noevents 1
}
windowDef answertext2_1
{
rect 340,158,248,110
visible 1
forecolor 1,1,1,1
text "dummytext"
textscale 0.40000001
font "fonts/english"
noevents 1

onAction {
set "cmd" "activate ; play guisounds_click" ;
set "answertext2_1::noevents" "0" ;
}

}
windowDef answertext3_1
{
rect 43,306,243,119
visible 1
forecolor 1,1,1,1
text "dummytext"
textscale 0.40000001
font "fonts/english"
noevents 1
}
windowDef answertext4_1
{
rect 341,302,247,132
visible 1
forecolor 1,1,1,1
text "dummytext"
textscale 0.40000001
font "fonts/english"
noevents 1
}
}

If there's anyone out there who can help me with this, please do so!

Old Post 12-04-10 22:51 #
wImpdude3 is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
wImpdude3
Newbie


Posts: 3
Registered: 12-10


Uh... hello? Is anyone here?

Old Post 12-05-10 19:29 #
wImpdude3 is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 07:58. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Newfangled Doom > Doom 3 General > Minor GUI problem

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.