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
3 registered members (AndrewAMD, juanex, Grant), 1,018 guests, and 8 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
missing Skybox when loading a level from WED #212241
06/21/08 00:08
06/21/08 00:08
Joined: Jun 2008
Posts: 1
D
Delaia Offline OP
Guest
Delaia  Offline OP
Guest
D

Joined: Jun 2008
Posts: 1
I made a lite-c script with some basic movement and stuff,
all objects were generated via ent_create().
The skybox was displayed with:

ENTITY* skybox = {
type="skya+6.tga";
flags2 = SKY | CUBE | VISIBLE;
}

Everything worked fine, then I decided to load a level I made in WED and changed level_load("") to level_load("sandbox.wmb") everything worked except the skybox which is missing now.

Can anybody help me to fix this ?

EDIT: The level in WED has no floor or ceiling since the game is playing in the air.

EDIT2: Oh and all of my models are bright instead of being shaded by the sunlight, is this because of the missing skybox ?

Last edited by Delaia; 06/21/08 00:13.
Re: missing Skybox when loading a level from WED [Re: Delaia] #212510
06/22/08 17:41
06/22/08 17:41
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
same problem..
Created Skybox via:
Code:
[...]
ENTITY* levelsky1;

////////////////////////////////////////////////////////////////////

function main()
{
	fps_max = 60;
	video_mode = 7; // 800x600
	level_load("test.wmb");
	levelsky1 = ent_createlayer("sky1.tga", SKY | DOME | VISIBLE ,0);
	wait(3);
[...]


What´s wrong??


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: missing Skybox when loading a level from WED [Re: Espér] #212518
06/22/08 18:17
06/22/08 18:17
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
Try adding a block and setting it's concave flag.

Re: missing Skybox when loading a level from WED [Re: DJBMASTER] #212519
06/22/08 18:29
06/22/08 18:29
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
my level is near 50k Quants big..
if i add a block to it with a grater size, i can´t compile it anymore...


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<
Re: missing Skybox when loading a level from WED [Re: Espér] #212522
06/22/08 18:45
06/22/08 18:45
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
who said anything about it that big? Just add a small block and make it concave and see if your skybox is visible.

Re: missing Skybox when loading a level from WED [Re: DJBMASTER] #212523
06/22/08 18:48
06/22/08 18:48
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
Espér Offline
Expert
Espér  Offline
Expert

Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
ok..
qorks as texture, concave block tex and sprite.. but not as skybox..


Selling my Acknex Engine Editions (A7 Com & A8 Pro):
>> click here if you are interested <<

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