Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Level Design (https://forums.graalonline.com/forums/forumdisplay.php?f=6)
-   -   Generate Image From GMAP (https://forums.graalonline.com/forums/showthread.php?t=134257389)

Stephen 12-21-2009 12:26 AM

Generate Image From GMAP
 
How do Igenerate an image from a GMAP?

DustyPorViva 12-21-2009 12:31 AM

If you have the gmap loaded offline in the editor, while in editor mode simply hit M. There is no way to do this online at the moment.

Stephen 12-21-2009 12:34 AM

Quote:

Originally Posted by DustyPorViva (Post 1545937)
If you have the gmap loaded offline in the editor, while in editor mode simply hit M. There is no way to do this online at the moment.

Can I adjust the size of the "Map Image"? Someone is currently generating a map image for me and I find, for my uses, it's too small.

DustyPorViva 12-21-2009 12:42 AM

Nope :/

cbk1994 12-21-2009 01:14 AM

The only way to make your own image is to take a screenshot of each level and stitch them together, like is done on Era. It's possible to take the screenshots by script, but because of limitations of Graal, you can't take a screenshot larger than 1024x1024 (the size of a level).

DustyPorViva 12-21-2009 01:27 AM

Quote:

Originally Posted by cbk1994 (Post 1545948)
The only way to make your own image is to take a screenshot of each level and stitch them together, like is done on Era. It's possible to take the screenshots by script, but because of limitations of Graal, you can't take a screenshot larger than 1024x1024 (the size of a level).

Why don't you just generate it offline? Or is this a problem because of things like trees and such?

I'd say lift the 1024 limit on serverside panels, but I think I'd much prefer a built-in function for generating maps. Something like findgmap("world.gmap").makemap(file,res); where res would be the resolution 0-1(1 actually being 50percent, as it'd be silly to render a full-scale gmap).

Crono 12-21-2009 09:09 AM

I kind of requested this feature...

http://forums.graalonline.com/forums...ad.php?t=74626

What's interesting is that Stefan responded but he may have misunderstood me.

Quote:

Originally Posted by Stefan in 2007 (Post 1319025)
There is already support for map generation by script. For the developer tools we plan to announce a few plans when the new things are released (soon).


Crow 12-21-2009 12:50 PM

Quote:

Originally Posted by cbk1994 (Post 1545948)
The only way to make your own image is to take a screenshot of each level and stitch them together, like is done on Era. It's possible to take the screenshots by script, but because of limitations of Graal, you can't take a screenshot larger than 1024x1024 (the size of a level).

The one on Era wasn't updated ever since I left, was it?..

cbk1994 12-21-2009 07:55 PM

Quote:

Originally Posted by Crow (Post 1546064)
The one on Era wasn't updated ever since I left, was it?..

I wrote one using TDrawingPanels on serverside. I'm not sure which one you're thinking of.

Crow 12-21-2009 08:26 PM

Quote:

Originally Posted by cbk1994 (Post 1546117)
I wrote one using TDrawingPanels on serverside. I'm not sure which one you're thinking of.

I coded a tool which took screens of every level, then put them together using a generated batch file and some command line image processing tool. The WNPC probably still exists. I still have the full map png, too. It's 53 MB in size :D


All times are GMT +2. The time now is 09:35 AM.

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