Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 10/25/26 03:42
Chat Room for Zorro Programmers
by Haitao_Ren. 10/25/26 03:14
Trading Journey
by Haitao_Ren. 10/25/26 03:14
Algorithmic trading course with Zorro
by Haitao_Ren. 10/25/26 03:12
Zorro tutorial ideas?
by Haitao_Ren. 10/25/26 02:47
Zorro plugin for Hyperliquid.xyz
by mayarik. 10/24/26 09:14
Tradestation missing in table of contents
by AndrewAMD. 10/23/26 14:35
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (opm, TipmyPip), 7,610 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Haitao_Ren, JimSimons, julienp, julienper, KelleyAbbey
19247 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
A few questions #369437
05/04/11 12:56
05/04/11 12:56
Joined: Jan 2011
Posts: 65
R
reknak Offline OP
Junior Member
reknak  Offline OP
Junior Member
R

Joined: Jan 2011
Posts: 65
Hi all,

I have a few questions;

1)Is it possible to make a Skybox as a Sphere instead of a Skybox as a Cube with Gamestudio 3d (if that even exists)? I want to make a skybox for a space game and I recently played the space game Freelancer which has nice skyboxes. It looks though as it has a sphere skybox or something like that and not a cube skybox. An image is below;
http://i467.photobucket.com/albums/rr31/Azr4el/Freelancer/Kyushu.jpg
So my question is, what skybox type (cube, dome...) is best used if you want a similar skybox like e.g. the ones Freelancer uses?

2)I want to set the lightnig of the sun of the map to zero. So I went to Map Properties in WED and changed Sun value to 0 and the Ambient to 0 also. But for some reason the map wasn't pitch black (which I want it to be). There was still some light from above. There were no placed other lights and the ambient of the objects in the map were set to 0. How do I remove the sun/standard lightning from the map?

3)I have made a star for the map, and I have placed a light in middle of the star. The light does illuminate the objects in the map, but not the star. I have set the ambient of the star to 100 in WED, but that is still not enough. Is there a way that the light also illuminates the star or that I can increase the brightness of the star even more?

I hope that my English is understandable :P, Thanks for taking the time!

Re: A few questions [Re: reknak] #369439
05/04/11 13:22
05/04/11 13:22
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
1) search "sky" in manual, it turns up
Entity.flags2 can be SKY,CUBE,DOME etc. each explained in their own pages.

2) search "sun" in manual, it turns up:
sun_light = 0; // no sun

3) set(my,LIGHT); to star model.


3333333333
Re: A few questions [Re: Quad] #369583
05/05/11 11:35
05/05/11 11:35
Joined: Jan 2011
Posts: 65
R
reknak Offline OP
Junior Member
reknak  Offline OP
Junior Member
R

Joined: Jan 2011
Posts: 65
Quote:
1) search "sky" in manual, it turns up
Entity.flags2 can be SKY,CUBE,DOME etc. each explained in their own pages.
, it is possible to place a sky dome upside down? I tried changing the tilt but that doesn't work. And is it possible to place two sky domes (so you get a sphere)?

Quote:
2) search "sun" in manual, it turns up:
sun_light = 0; // no sun
, thanks, that works perfect

Quote:
3) set(my,LIGHT); to star model.
, thanks that worked

Re: A few questions [Re: reknak] #369585
05/05/11 12:15
05/05/11 12:15
Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,211
İstanbul, Turkey
instead of doing that, you can use a sphere model that covers the whole level.


3333333333
Re: A few questions [Re: Quad] #369592
05/05/11 12:37
05/05/11 12:37
Joined: Jan 2011
Posts: 65
R
reknak Offline OP
Junior Member
reknak  Offline OP
Junior Member
R

Joined: Jan 2011
Posts: 65
when I create a very large sphere that covers the whole level, I can't see the sphere, here's my code:

[/code]
ENTITY* skySphere =
{
type = "SunInnerCore.mdl";
layer = 3;
scale_x = 25;
scale_y = 25;
scale_z = 25;
flags2 = SKY | SCENE | SHOW;
}
[code]

the SunInnerCore.mld is just for testing purposes.

Re: A few questions [Re: reknak] #369957
05/09/11 21:30
05/09/11 21:30
Joined: Jan 2011
Posts: 65
R
reknak Offline OP
Junior Member
reknak  Offline OP
Junior Member
R

Joined: Jan 2011
Posts: 65
Please help, thanks

Quote:

when I create a very large sphere that covers the whole level, I can't see the sphere, here's my code:

[/code]
ENTITY* skySphere =
{
type = "SunInnerCore.mdl";
layer = 3;
scale_x = 25;
scale_y = 25;
scale_z = 25;
flags2 = SKY | SCENE | SHOW;
}
[code]

the SunInnerCore.mld is just for testing purposes.


Re: A few questions [Re: reknak] #370159
05/11/11 11:18
05/11/11 11:18
Joined: Jan 2011
Posts: 65
R
reknak Offline OP
Junior Member
reknak  Offline OP
Junior Member
R

Joined: Jan 2011
Posts: 65
Never mind actually, I will just go with the cube skybox.


Gamestudio download | 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