|
what do the SKY flag with sphere.mdl?
#457920
02/07/16 08:51
02/07/16 08:51
|
Joined: Mar 2014
Posts: 359
CocaCola
OP
Senior Member
|
OP
Senior Member
Joined: Mar 2014
Posts: 359
|
if I use a model as a sky, I must scalieren it and move. that goes without SKY flag. What exactly does the SKY falg at ball models?
ENTITY* skySphere =
{
type = "sky1.mdl";
layer = 3;
scale_x = 10;
scale_y = 10;
scale_z = 10;
flags2 = SKY | SHOW;
}
|
|
|
Re: what do the SKY flag with sphere.mdl?
[Re: CocaCola]
#457922
02/07/16 11:20
02/07/16 11:20
|
Joined: Dec 2011
Posts: 1,823 Netherlands
Reconnoiter
Serious User
|
Serious User
Joined: Dec 2011
Posts: 1,823
Netherlands
|
If you want to use a sky- cube, scene, dome or cylinder -> add the SKY flag to it.
Anyway, you want to move/scale a sky object? Perhaps as a SCENE? Iirc you can change sky objects in functions lateron:
function blablabla() { ... skySphere.scale_x = 5; }
But dont quote me on this, never tried it except for hiding and showing sky objects.
Last edited by Reconnoiter; 02/07/16 12:26.
|
|
|
Re: what do the SKY flag with sphere.mdl?
[Re: CocaCola]
#457924
02/07/16 12:30
02/07/16 12:30
|
Joined: Dec 2011
Posts: 1,823 Netherlands
Reconnoiter
Serious User
|
Serious User
Joined: Dec 2011
Posts: 1,823
Netherlands
|
What is it you are trying to do exactly?
Sky objects are mainly there if you dont want to let your sky objects cover other objects. But in some cases you could use a entity that is far away so it doesn't block other objects and e.g. set the NOFOG flag for it.
Last edited by Reconnoiter; 02/07/16 12:31.
|
|
|
Re: what do the SKY flag with sphere.mdl?
[Re: CocaCola]
#457925
02/07/16 13:29
02/07/16 13:29
|
Joined: Mar 2014
Posts: 359
CocaCola
OP
Senior Member
|
OP
Senior Member
Joined: Mar 2014
Posts: 359
|
I would like that a mdl object do not other objects obscuring. now i will try the NOFOG flag edit: i have no problems with fogs edit2: in the manual the example works only for sprites
ENTITY* skyMountain =
{
type = "mountainsphere.mdl";
layer = 3;
scale_x = 0.25;
flags2 = SKY | SCENE | SHOW;
}
Last edited by CocaCola; 02/07/16 13:32.
|
|
|
Re: what do the SKY flag with sphere.mdl?
[Re: CocaCola]
#457927
02/07/16 14:16
02/07/16 14:16
|
Joined: Mar 2014
Posts: 359
CocaCola
OP
Senior Member
|
OP
Senior Member
Joined: Mar 2014
Posts: 359
|
i have realy enought about thinking about bugs. I remember it was a fbx import in med and in wed, i have maked a video and oneday the future was not more. but i have the same versions like everybody. would You give me a demo Projekt? You can use my sky.mdl. sky1.mdl
|
|
|
Re: what do the SKY flag with sphere.mdl?
[Re: CocaCola]
#457928
02/07/16 16:18
02/07/16 16:18
|
Joined: Dec 2011
Posts: 1,823 Netherlands
Reconnoiter
Serious User
|
Serious User
Joined: Dec 2011
Posts: 1,823
Netherlands
|
I am having a bit of trouble following you, and besides from the bug I mentioned in my previous post there seems to be nothing wrong with your sky1.mdl for this example. Except that its mesh is open, but that is not important now.
I think the easiest fix for you is to make it very big and far away so it doesn't cover anything else.
Or if you want to use the model as a sky sphere, than model a hollow sphere and let it move every frame with your camera xyz.
Last edited by Reconnoiter; 02/07/16 16:27.
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|