Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
1 registered members (Grant), 999 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
entity layer #268978
06/01/09 06:57
06/01/09 06:57
Joined: May 2009
Posts: 37
S
shiznitIII Offline OP
Newbie
shiznitIII  Offline OP
Newbie
S

Joined: May 2009
Posts: 37
Can somebody please help me how to set my entity to be at the front most. I am the script below and my entity is behind all panels. how can i have it infront or top most layer?

Script:
function load_frog_run()
{
// level_load("road.wmb");
level_load("");
wait(1);
ent_create("frog_run.mdl", vector(400, 0, -50), frog_run);

}

Re: entity layer [Re: shiznitIII] #268980
06/01/09 07:32
06/01/09 07:32
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
The Panels are always in front...

Re: entity layer [Re: Widi] #268984
06/01/09 07:51
06/01/09 07:51
Joined: Sep 2003
Posts: 928
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 928
Use ent_createlayer().

Re: entity layer [Re: Widi] #268989
06/01/09 09:35
06/01/09 09:35
Joined: May 2009
Posts: 37
S
shiznitIII Offline OP
Newbie
shiznitIII  Offline OP
Newbie
S

Joined: May 2009
Posts: 37
thanks! I guess there is no way to have my entity in front then.
Does the webcam capture have to be on a panel? I was wondering if there is a way i can just use it as a background and have my entity in front

Re: entity layer [Re: shiznitIII] #268992
06/01/09 09:53
06/01/09 09:53
Joined: Sep 2003
Posts: 928
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 928
Use a negative layer for the panel, and a transparent level background.

Re: entity layer [Re: Spirit] #269005
06/01/09 10:47
06/01/09 10:47
Joined: May 2009
Posts: 37
S
shiznitIII Offline OP
Newbie
shiznitIII  Offline OP
Newbie
S

Joined: May 2009
Posts: 37
Hi. I tried using a negative layer but the image from the webcam does not appear anymore. i am using transparent right now but i was wondering if there is a way to leave the panel the way it is without using transparency and having it in the background

Re: entity layer [Re: shiznitIII] #269008
06/01/09 10:57
06/01/09 10:57
Joined: Sep 2003
Posts: 928
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 928
You must not use transparency for the panel, you must use it for the level background. When you set the sky color to 0,0,0, then its transparent.

Or alternatively use not a level at all but use ent_createlayer.

There are often two or more solutions.

Re: entity layer [Re: Spirit] #269015
06/01/09 11:32
06/01/09 11:32
Joined: May 2009
Posts: 37
S
shiznitIII Offline OP
Newbie
shiznitIII  Offline OP
Newbie
S

Joined: May 2009
Posts: 37
I need to level_load right so i can use the ent_create?

Re: entity layer [Re: shiznitIII] #269018
06/01/09 11:45
06/01/09 11:45
Joined: May 2009
Posts: 37
S
shiznitIII Offline OP
Newbie
shiznitIII  Offline OP
Newbie
S

Joined: May 2009
Posts: 37
Thanks a lot!!! It works now. there is no need for the ent_createlayer. i just set the panel to negative layer then set the background to transparent. thanks again!

Recording Sound [Re: shiznitIII] #269044
06/01/09 13:14
06/01/09 13:14
Joined: May 2009
Posts: 37
S
shiznitIII Offline OP
Newbie
shiznitIII  Offline OP
Newbie
S

Joined: May 2009
Posts: 37
Hi! would you be able to help me on how to record sound and save it as wav or mp3 using my headset?

Page 1 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1