Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,449 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
level_loading_problems #223240
08/22/08 20:30
08/22/08 20:30
Joined: Aug 2008
Posts: 14
H
Humbug Offline OP
Newbie
Humbug  Offline OP
Newbie
H

Joined: Aug 2008
Posts: 14
Hello!
I have a problem with a level-loading-script. I want the engine to load a level when I activate a button. Everything untill that works, but the problem is, that the level file can not be loaded. Everytime the engine shows the following ERROR message:

Bad format (24 & 32 bit RLE only)

I use this script:

...
function levelload()
{
level_load ("work17.wmp");
wait(22);
camera.pos_x = 10;
camera.pos_y = 20;
camera.pan = 220;
}
...


The other pieces of the script describe only the button. What is my fault? Thanks for following answers!

Last edited by Humbug; 08/22/08 20:32.
Re: level_loading_problems [Re: Humbug] #223241
08/22/08 20:36
08/22/08 20:36
Joined: Nov 2007
Posts: 1,143
United Kingdom
DJBMASTER Offline
Serious User
DJBMASTER  Offline
Serious User

Joined: Nov 2007
Posts: 1,143
United Kingdom
You have used an unsupported texture in your level...

Error E1115: Bad format (24 & 32 bit RLE only)

"The bitmap file contains an invalid format. The color depth must be 8 bit or 24 bit on normal textures, and 32 bit on textures with alpha channel."

You need to use a bitmap with the correct bit format.

Re: level_loading_problems [Re: DJBMASTER] #223242
08/22/08 20:41
08/22/08 20:41
Joined: Aug 2008
Posts: 14
H
Humbug Offline OP
Newbie
Humbug  Offline OP
Newbie
H

Joined: Aug 2008
Posts: 14
That's much easier than I thought! Thanks a lot! laugh

Re: level_loading_problems [Re: Humbug] #223304
08/23/08 11:35
08/23/08 11:35
Joined: Aug 2008
Posts: 14
H
Humbug Offline OP
Newbie
Humbug  Offline OP
Newbie
H

Joined: Aug 2008
Posts: 14
Looks like that is not the problem - I created a simple level with only 1 block which has the default texture. But again:

Bad format (24 & 32 bit RLE only)

But I used the default texture! What is going on?

Re: level_loading_problems [Re: Humbug] #223326
08/23/08 14:16
08/23/08 14:16
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
To the best of my knowledge, you should be loading the compiled level,
not the level source data.

Try replacing the line
level_load ("work17.wmp");
with
level_load ("work17.wmb");

Thats the best I can think of...


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: level_loading_problems [Re: EvilSOB] #223354
08/23/08 16:17
08/23/08 16:17
Joined: Aug 2008
Posts: 14
H
Humbug Offline OP
Newbie
Humbug  Offline OP
Newbie
H

Joined: Aug 2008
Posts: 14
It finally works! smile I think the best of your knowlegde is right. smile Thanks for your help!


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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