Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/06/23 11:29
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
7 registered members (3run, miwok, AndrewAMD, Quad, TipmyPip, fairtrader, 1 invisible), 637 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
skyDome... why does this crash #176674
01/06/08 00:59
01/06/08 00:59
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline OP
Senior Expert
ello  Offline OP
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
Code:

ENTITY* skyDome =
{
type = "skyDome.mdl";
FLAGS2 = SKY|VISIBLE;
}



if i dont set the flags it doesnot crash, but i need to set them .. any ideas?

Re: skyDome... why does this crash [Re: ello] #176675
01/06/08 01:03
01/06/08 01:03
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
capital letters .


Click and join the 3dgs irc community!
Room: #3dgs
Re: skyDome... why does this crash [Re: Joozey] #176676
01/06/08 01:21
01/06/08 01:21
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline OP
Senior Expert
ello  Offline OP
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
nope. if i write flags2 it still crashes. if i write sky|visible i get an error message because its an undeclared identifier

Re: skyDome... why does this crash [Re: ello] #176677
01/06/08 01:33
01/06/08 01:33
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
Code:

ENTITY* skyDome =
{
type = "skyDome.mdl";
flags2 = SKY|VISIBLE;
}



This should be alright but you prapably can´t use a model but have to use a texture if you set the SKY flag...

Last edited by Slin; 01/06/08 01:33.
Re: skyDome... why does this crash [Re: Slin] #176678
01/06/08 01:50
01/06/08 01:50
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline OP
Senior Expert
ello  Offline OP
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
hm, in the manual it says i can use a model, too. what i want is that the skyDome does not intersect the models i the scene, but also i dont want to create a oversized model and thus be forced to use an extreme clipping range

Re: skyDome... why does this crash [Re: ello] #176679
01/06/08 12:22
01/06/08 12:22
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline OP
Senior Expert
ello  Offline OP
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
is there any opposite thing to znear? i tried the effect states ZEnable and ZFunc but couldnt get the result i am looking for

Re: skyDome... why does this crash [Re: ello] #176680
01/06/08 12:23
01/06/08 12:23
Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
I am using sky models all the time with no problem. Of course "flags2" must not be in capitals. So your problem is something else, for finding out begin with an empty level and only that sky model and then add the rest of your stuff until the problem begins.

Re: skyDome... why does this crash [Re: Tobias] #176681
01/06/08 12:41
01/06/08 12:41
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline OP
Senior Expert
ello  Offline OP
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
thanks , i got it. dunno why, but now it doesnot crash anymore. anyway, the skyDome isnt drawn in the distance but befor the terrain.

is there something else to consider?

Re: skyDome... why does this crash [Re: ello] #176682
01/06/08 13:22
01/06/08 13:22
Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
If you want it to draw behind everything you need the SCENE flag.

Re: skyDome... why does this crash [Re: Tobias] #176683
01/06/08 14:31
01/06/08 14:31
Joined: Oct 2002
Posts: 8,939
planet.earth
ello Offline OP
Senior Expert
ello  Offline OP
Senior Expert

Joined: Oct 2002
Posts: 8,939
planet.earth
and this works for you? here it doesnot:
Code:

ENTITY* skyDome =
{
type = "skyDome.mdl";
flags2 = SCENE|SKY|VISIBLE;
}



and last but nor least, the entity is moving with the camera direction, so a static skyDome isnot possible this way. ??

Last edited by ello; 01/06/08 18:30.

www.earthcontrol.de
quoted: We want to maintain a clean, decent, American family suited forum look... which means you may post zombies or chainsaw massacres, but no erotic.
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