2 registered members (AndrewAMD, TipmyPip),
13,353
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Panel Problem
#177902
01/14/08 18:23
01/14/08 18:23
|
Joined: Jan 2007
Posts: 40 germany
boochie
OP
Warez
|
OP
Warez
Joined: Jan 2007
Posts: 40
germany
|
Hello @all! I'm creating a panel and have tested it and it works, but the egine shows a black screen, nothing else.  The picture is in the right size and has the right format, visible is turned on. No errors. Where's the mistake? Is there an mistake at all? : /////////////////////////// VAR video_mode = 8; VAR video_depth = 16;
Bmap metal = "menu.bmp";//use this picture /////////////////////////// PANEL menu_pan { pos.x = 0; pos.y = 0;
Bmap = metal;//use predifined picture } /////////////////////////// FUNCTION main() { menu_pan.VISIBLE = on;//visible is turned on load_level("menu_DG.wmp");//load in this level }thx, Boochie.
Last edited by boochie; 01/15/08 17:48.
Use condoms! They fit perfectly over your head! xD
USING
3D GAMESTUDIO VERSION 6.22 PRO
& BLENDER
|
|
|
Re: Panel Problem
[Re: boochie]
#177903
01/16/08 18:03
01/16/08 18:03
|
Joined: Jul 2007
Posts: 163 c:\Germany\Bavaria.exe
G_Tos
Member
|
Member
Joined: Jul 2007
Posts: 163
c:\Germany\Bavaria.exe
|
ich denke es müsste load_level(menu_DG.WMB); heißen, denn nur so gehts bei mir, sonst gibt er imm level eine Fehlermeldung. Probiers einfach mal aus, ob#s geht weiß ich nicht, is nur n Vorschlag...
Spiele zu spielen ist Übung, sie zu machen Kunst!(Zitat)
|
|
|
Re: Panel Problem
[Re: G_Tos]
#177904
01/16/08 20:26
01/16/08 20:26
|
Joined: Apr 2005
Posts: 3,076 Germany, NRW
rvL_eXile

3D Artist
|

3D Artist
Joined: Apr 2005
Posts: 3,076
Germany, NRW
|
@G_Tos Nein, mit der A6 funktioniert das, ich benutz den Befehl immer so Du hast den Visible Flag vergessen Code:
/////////////////////////// VAR video_mode = 8; VAR video_depth = 16;
Bmap metal = "menu.bmp";//use this picture /////////////////////////// PANEL menu_pan { Bmap = metal;//use predifined picture pos.x = 0; pos.y = 0; flags=visible;
} /////////////////////////// FUNCTION main() { menu_pan.VISIBLE = on;//visible is turned on load_level("menu_DG.wmp");//load in this level }
Tutorials: [Blender]Terrain creation ENG/GER [Blender]Low Poly Tree Modeling [GIMP]Create a Texture for Terrains CLICK HERE
|
|
|
Re: Panel Problem
[Re: rvL_eXile]
#177905
01/16/08 20:50
01/16/08 20:50
|
Joined: Jul 2002
Posts: 4,436 Germany, Luebeck
Xarthor
Expert
|
Expert
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
|
Quote:
3D GAMESTUDIO VERSION 6.22 PRO
quoted: boochie's signature
Maybe that is the problem. Check out the download-page and scroll to the very bottom of it. There is a link to the latest A6 version. Download it!
@rvl_exile: That is not the problem, or should not be the problem. Setting flags in the panel object definition is the same as applying it via "panel.flag = status;" example: in panel definition: flags = visible, overlay;
is the same as having a function: panel.overlay = on; panel.visible = on;
|
|
|
Re: Panel Problem
[Re: Xarthor]
#177906
01/16/08 20:56
01/16/08 20:56
|
Joined: Jul 2007
Posts: 959 nl
flits
User
|
User
Joined: Jul 2007
Posts: 959
nl
|
i dont think it has to do white it but maby VAR video_depth = 16; has to do white it. but why you dont change it to 32?
"empty"
|
|
|
Re: Panel Problem
[Re: flits]
#177907
01/16/08 22:10
01/16/08 22:10
|
Joined: Jan 2007
Posts: 40 germany
boochie
OP
Warez
|
OP
Warez
Joined: Jan 2007
Posts: 40
germany
|
I read it in a tutorial... I'll change.
Use condoms! They fit perfectly over your head! xD
USING
3D GAMESTUDIO VERSION 6.22 PRO
& BLENDER
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|