Author Topic: How do i change the world map  (Read 2939 times)

How do i change the world map
« on: January 08, 2013, 10:51:39 am »
How do I change the world map
« Last Edit: January 10, 2013, 02:11:43 am by Bevolard »

Re: How do i change the world map
« Reply #1 on: January 15, 2013, 09:23:04 pm »
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.

Offline greenthumb

  • Surprisingly, the location has moved.
Re: How do i change the world map
« Reply #2 on: January 15, 2013, 11:20:31 pm »
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

Re: How do i change the world map
« Reply #3 on: January 16, 2013, 03:14:54 am »
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.


« Last Edit: January 16, 2013, 03:27:02 am by Wind_Drift »
Iguana Pete's sister


Re: How do i change the world map
« Reply #4 on: January 18, 2013, 05:15:05 am »
Thanks Wind_Drift
Very helpful ;D