Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   map backgrounds (https://forums.graalonline.com/forums/showthread.php?t=40586)

Warcaptain 11-24-2002 03:37 AM

map backgrounds
 
i think you should have a serveroption like....

mapbackground=image

that would set the flood map background to that image

like in zelda games, how everything is clouds untill you go to it.

makes things more logical.

Dach 11-24-2002 08:32 AM

Good idea, but doesn't, or didn't, the automap just draw over the default map?

Warcaptain 11-24-2002 09:09 AM

Quote:

Originally posted by Dach
Good idea, but doesn't, or didn't, the automap just draw over the default map?
its all black and you download it slowly as you walk through it

Neglegence2002 11-24-2002 11:50 AM

Quote:

Originally posted by Warcaptain


its all black and you download it slowly as you walk through it

Accully, i think you should pass that by to Stefan, becasue I just got some good ideas on that, :D

Spark910 11-24-2002 06:16 PM

Add the ideas here then Warcaptain can just divert stefan to this thread.

G_yoshi 11-25-2002 02:56 AM

Quote:

Originally posted by Warcaptain


its all black and you download it slowly as you walk through it

Um, you do not download that :/

Graal takes a snapshot of an 8-tile radius from the player constantly...it may be a larger part, but that is how automapping works. There aren't any images on your FTP that dictate they should be downloaded for the map. Re-read the newfeatures2001.txt again...you'll see it.

Warcaptain 11-25-2002 08:35 AM

Quote:

Originally posted by G_yoshi


Um, you do not download that :/

Graal takes a snapshot of an 8-tile radius from the player constantly...it may be a larger part, but that is how automapping works. There aren't any images on your FTP that dictate they should be downloaded for the map. Re-read the newfeatures2001.txt again...you'll see it.

thats what i meant

but im saying, the area around the snapshots, is all black

maybe a command to do like

setmapbacking image;

etc

G_yoshi 11-25-2002 08:59 AM

Quote:

Originally posted by Warcaptain


thats what i meant

but im saying, the area around the snapshots, is all black

maybe a command to do like

setmapbacking image;

etc

I suppose, but I'm happy how it is.
It would be nice if there were more commands given to allow custom map displays and what not. That would be much fun :)

Com013 11-26-2002 01:55 AM

Just do
NPC Code:

setmap cloudmap.png,map.txt,0,0;


cloudmap.png would be the map which will be downloaded and displayed, but as you walk through the level the automapping feature would draw over it.

Dach 11-26-2002 09:03 AM

Quote:

Originally posted by Com013
Just do
NPC Code:

setmap cloudmap.png,map.txt,0,0;


cloudmap.png would be the map which will be downloaded and displayed, but as you walk through the level the automapping feature would draw over it.

that's what I thought it did, but wasn't sure

Warcaptain 12-01-2002 07:16 AM

i think a good command would be


showmap index,x,y;


to show the map that is selected for the player at a certain x,y

that way you can remove the aspect of pressing m to view the map, or maybe make a special looking map, or an item that opens your map.. i dunno.

Com013 12-01-2002 03:05 PM

Quote:

Originally posted by Warcaptain
i think a good command would be


showmap index,x,y;


to show the map that is selected for the player at a certain x,y

that way you can remove the aspect of pressing m to view the map, or maybe make a special looking map, or an item that opens your map.. i dunno.

Normally you know which maps there are on your world.
So you could just do
NPC Code:

if (onmapx(level13.graal) >= 0) showimg 200,map.png,...
else if (onmapx(tyhmmoon_a-1.graal) >= 0) showimg 200,moonmap.png,...


(onmapx returns on which x-position a level is on the map. It is -1 when the level isn't on the current map).

Warcaptain 12-02-2002 02:17 AM

Quote:

Originally posted by Com013

Normally you know which maps there are on your world.
So you could just do
NPC Code:

if (onmapx(level13.graal) >= 0) showimg 200,map.png,...
else if (onmapx(tyhmmoon_a-1.graal) >= 0) showimg 200,moonmap.png,...


(onmapx returns on which x-position a level is on the map. It is -1 when the level isn't on the current map).

but that way you cant do something like

changeimgzoom and change the zoom of the map, and have the heads\pms change with it

Com013 12-02-2002 03:17 AM

Quote:

Originally posted by Warcaptain


but that way you cant do something like

changeimgzoom and change the zoom of the map, and have the heads\pms change with it

Yes, you wouldn't see heads/PMs on it. But until we have got a better solution...


All times are GMT +2. The time now is 08:05 AM.

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