I made a simple testlevel, a hollow cube with a position in it.
A verry simple scriptfile and the logfile;
Code:
// test-screen.wdl
var video_mode=8; //1024 * 768 screen resolution
var video_depth=32; //D3D mode
var video_screen=1; //1=full screen, 2=window
string start_level=<test-screen.wmb>;
// the main function is started at game start
//-------------------------------------------
function main()
{
//set warninglevel
warn_level = 2; // announce bad texture sizes and bad wdl code
//starting mouse mode (0, 1, or 2)
mouse_pointer=0;
mouse_mode=0;
//now load the level
level_load(start_level);
wait(5); //let level load
}
/*
log file
-dialog test-screen.$$M -pal palette.pcx -writelog -noportals -preview -threads 2
-gamma 1.50 -jitter 8 -lmambient 50 -sizeshaded 236 -bound 56000 -fat 64 48 8
-narrow 32 32 0
WMP to WMB Compiler V7.01 (WMB6 BSP) [CPUs: 2]
Building fat hull ... ok
Building narrow hull ... ok
Building BSP tree ... ok
Tesselating surfaces ... ok
Checking midpoints ... ok
Placing 2 objects ..... ok
Generating lightmaps .... ok
Level size 610 units
42 vertices
40 visible surfaces
1 textures
Texture space 43 Kb
2 regions
Writing WMB file ... ok
Time: 1.0 sec
*/
What I found out is, when I run the level from WED the vars keep there default values and when I make a testrun from SED then it works perfect.
Next what I see in the logfile; Compiler V7.01
I have updated to 7.03, so I wonder, is this the right version or has the compiler a different number then WED?
Please help.