FOnline Development > General Discussion

How do i change the world map

(1/1)

Bevolard:
How do I change the world map

elqoro:
Nobody help you because it is not helpful community as you see. They can only help with basic stuff as write false instead true but other modding is not for they because they have their own servers and they do not want others projects. That is sad but true.

greenthumb:
iam sorry bevolard, but most players do not have idea about moding at all, people who might help you are mostly from dev team and they dont even have enought time to reply in all topics related to this server

Wind_Drift:
Find /fonline_sdk/Client/data/art/intrface/default.ini in your SDK directory.

Find this:

GmapTilesPic          = WRLDMP%02d.FRM      # Íàçâàíèå èçîáðàæåíèé ãëîáàëüíîé êàðòû
GmapTilesX            = 4                   # Êîëè÷åñòâî èçîáðàæåíèé â øèðèíó
GmapTilesY            = 5                   # Êîëè÷åñòâî èçîáðàæåíèé â âûñîòó

WRLDMP%02d.FRM is the image file of the worldmap.  The actual image is located in SDK\Client\data\art\intrface folder.

.png also works.

You can edit the # of tiles for the map both Wide and High in config.fos in the server/scripts folder (note: Not SDK values shown)

__GlobalMapWidth            = 20;     // Maximum 100
__GlobalMapHeight           = 15;     // Maximum 100
__GlobalMapZoneLength    = 74;     // Maximum 500

Also in: worldmap.fos

#define ZONE_COUNT_X                       ( 20 )
#define ZONE_COUNT_Y                       ( 15 )
#define ZONE_LENGTH                        ( 74 )

Zone Length is how many pixels for each grid square, which if you want grid squares you will have to add to the image manually.

The values must match in both files, and the actual WM image must be the correct Height and Width for the values you choose.  Otherwise it'll look goofy.

You must also make a relief map.  Explanation in here: http://fodev.net/forum/index.php/topic,24354.0.html

Remember to thank the two posters before me for not being helpful in the slightest way.


Bevolard:
Thanks Wind_Drift
Very helpful ;D

Navigation

[0] Message Index

Go to full version