Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   gmap.mapimg (https://forums.graalonline.com/forums/showthread.php?t=79795)

DustyPorViva 05-21-2008 07:58 PM

gmap.mapimg
 
I haven't seen anything in the wiki about a way to read the current mapimg...
Anyways, maps don't work. In gmaps, you can specify the map image. So I'm requesting the variable mapimg be added to the gmap object, that returns a read-only of the mapimg set in gmap the player is currently on.

Chompy 05-21-2008 09:47 PM

I haven't seen it either, but it would be a nice little feature maybe :o

But, what can it be used for?

cbk1994 05-21-2008 09:59 PM

Quote:

Originally Posted by Chompy (Post 1391805)
I haven't seen it either, but it would be a nice little feature maybe :o

But, what can it be used for?

Custom minimaps.

Crow 05-21-2008 10:14 PM

I support this idea, it would come in handy when scripting custom map stuff for example, and I can actually think of something else to use it for, I just cant really describe it, maybe I will find some words later.

DustyPorViva 05-21-2008 11:52 PM

Anyways. Ya, the idea is mainly for custom maps. Right now the only way to link a map image to a gmap image is to either create a custom database sort of array, or manually extract it from the gmap file... which requires going serverside and all that mess.

Both are way more complicated than they should be, considering the information is already there.

DustyPorViva 05-24-2008 08:31 PM

Bump for Stefan's attention.

Inverness 05-24-2008 10:30 PM

You would only have to extract the information from the gmap file once. And have the data written to serverr flags.

This data extraction would be done when server starts and on RC command if you change a gmap thingy.

DustyPorViva 05-24-2008 10:36 PM

Still kind of unnecessary, don't you think? I mean, if the data is there along with all the other data already being loaded, why not simply make it accessible?

Crow 05-25-2008 01:03 AM

Now that I think about it, tried doing a clientsided loadlines on the .gmap file? Not sure if you can, since it's in the maps folder, but it might be possible..


All times are GMT +2. The time now is 04:51 AM.

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