Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Level Design (https://forums.graalonline.com/forums/forumdisplay.php?f=6)
-   -   levelgen (https://forums.graalonline.com/forums/showthread.php?t=134267685)

scriptless 12-29-2012 07:30 PM

levelgen
 
Does anyone else have problems using the levelgen? I have tried png, gif, and bmp.. all of which were 256 colors.. and it just refuses to generate anything at all for me.

Gos_pira 12-29-2012 07:43 PM

I think the colors has to have the right indexes for the colors or the image needs to have the exact same colors. I've had issues with this aswell but can't remember how I fixed it.

scriptless 12-29-2012 07:51 PM

Quote:

Originally Posted by Gos_pira (Post 1711112)
I think the colors has to have the right indexes for the colors or the image needs to have the exact same colors. I've had issues with this aswell but can't remember how I fixed it.

I opened the example file (that works for me) made it wider.. and filled it in with grass.. and it failed. 100% exact same colors. and not just the RGB values but Hue, Sat, and so on.. using MS Paint and Gimp.

Gos_pira 12-29-2012 07:55 PM

Oh, the width/height must be exact. It has to be possible to divide the number by something...

How many levels does the example file generate? Is it 2x2?

scriptless 12-29-2012 07:56 PM

Quote:

Originally Posted by Gos_pira (Post 1711115)
Oh, the width/height must be exact. It has to be possible to divide the number by something...

How many levels does the example file generate?

4, which is 2x2.. and according to the helpfile it needs to be 64x64 per level.. I just wanted to make a 5x5 level gmap.. but I can see I am going to have to do it by hand -_-

Gos_pira 12-29-2012 08:01 PM

well, divide the width / height of the example and use that amount of pixels times five then, or are you implying that didn't work? I'm on linux now, otherwise I would've tested this myself.

scriptless 12-29-2012 08:03 PM

This is odd, I tried again. Did GIF, it distorted the image badly.. i tried and it generated a map.. so i drew some grass.. and it didnt work.. i removed the grass it still didnt work.. that literally makes no sense at all =/

Gos_pira 12-29-2012 08:04 PM

Which program are you using to edit the file?

scriptless 12-29-2012 08:08 PM

Quote:

Originally Posted by Gos_pira (Post 1711119)
Which program are you using to edit the file?

this time, mspaint.exe

Gos_pira 12-29-2012 08:19 PM

Ah, I believe that's your issue. The color palette is messed up when resaving in mspaint.

scriptless 12-29-2012 08:26 PM

Quote:

Originally Posted by Gos_pira (Post 1711121)
Ah, I believe that's your issue. The color palette is messed up when resaving in mspaint.

nope.. i did have it saved perfectly without distortion but loaded it perfect colors. dunno what the deal is tho.. but i got it to let me save all water which worked.. so im just gonna fill in some grass areas... and do it all by hand :)

zerxusgraal 12-29-2012 08:28 PM

If you just want a blank gmap there is a website for it in the level section
http://forums.graalonline.com/forums...ad.php?t=85656


All times are GMT +2. The time now is 09:59 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.