|
3 registered members (AndrewAMD, juanex, Grant),
1,018
guests, and 8
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
missing Skybox when loading a level from WED
#212241
06/21/08 00:08
06/21/08 00:08
|
Joined: Jun 2008
Posts: 1
Delaia
OP
Guest
|
OP
Guest
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
Expert
|
Expert
Joined: Mar 2008
Posts: 2,247
Baden Württemberg, Germany
|
same problem.. Created Skybox via:
[...]
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??
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|