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
2 registered members (Quad, AndrewAMD), 1,007 guests, and 6 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
View Entity invisible #178159
01/16/08 17:12
01/16/08 17:12
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline OP
Expert
Germanunkol  Offline OP
Expert

Joined: Jun 2006
Posts: 2,640
Earth
I've finally narrowed down my problem to this:
I have the view entity:
Code:
 entity cur_upgrade_check
{
view = camera;
// flags = visible;
layer = 3;
// type = "ship04.mdl";
x= 500;
y = 0;
z = 2;
// tilt = 20;
}



and if I do:

cur_upgrade_check.visible = on;
ent_morph(cur_upgrade_check,ship02_mdl);

before level loading, the object is displayed on screen just fine.
But as soon as I load the level, it doesn't show the object any more. at all!
I tried around with the layers, even the sky cube layers... nothing worked...
HELP!

Micha


~"I never let school interfere with my education"~
-Mark Twain
Re: View Entity invisible [Re: Germanunkol] #178160
01/16/08 18:41
01/16/08 18:41
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
maybe you're using another view?

Re: View Entity invisible [Re: Joey] #178161
01/17/08 13:46
01/17/08 13:46
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline OP
Expert
Germanunkol  Offline OP
Expert

Joined: Jun 2006
Posts: 2,640
Earth
no... never defined another one through out all of my code...


~"I never let school interfere with my education"~
-Mark Twain
Re: View Entity invisible [Re: Germanunkol] #178162
01/19/08 15:08
01/19/08 15:08
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline OP
Expert
Germanunkol  Offline OP
Expert

Joined: Jun 2006
Posts: 2,640
Earth
yeah... that's what I thought. a weird problem no one has ever heard off...

just found out another thing about it:
when there's an error when the entity is first made visible (like when a texture wasn't found) then it will be displayed.. otherwise it won't...
Micha


~"I never let school interfere with my education"~
-Mark Twain
Re: View Entity invisible [Re: Germanunkol] #178163
01/19/08 17:56
01/19/08 17:56
Joined: Jan 2007
Posts: 221
F
Fenriswolf Offline
Member
Fenriswolf  Offline
Member
F

Joined: Jan 2007
Posts: 221
I had a similar problem in A7 with regular entities:

If an entity with a transparent texture was displayed directly over the sky cube, it got invisible.
Only those parts of the entity, which were not covering the sky cube (but another entity instead) were still visible.

To get rid of the problem, I had to set the entities transparent/translucent flags to ON and their alpha to 100.

Re: View Entity invisible [Re: Fenriswolf] #178164
01/20/08 20:25
01/20/08 20:25
Joined: Jun 2006
Posts: 2,640
Earth
Germanunkol Offline OP
Expert
Germanunkol  Offline OP
Expert

Joined: Jun 2006
Posts: 2,640
Earth
thanks so much!!
we figured out it was the normal map, that was saved as a tga. probably because it has an alpha channel... without that map, it works great!

thank you! I've been spending hours on this

we're figuring out a way to solve it... translucent + alpha = 100; doesn't do the trick yet...

Micha


~"I never let school interfere with my education"~
-Mark Twain

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