FOnline Development > Questions and Answers

FOnline SDK - Question

<< < (32/93) > >>

corosive:
How do you add a location to the worldmap? I've been trying it...
Here is what I've done so far:

Map name: i_farm

Added info to "Locations.cgf"

[Area 666]
name          = A small Farm
size            = 6
map_0         = i_farm 666
visible         = 1

Placed it on the worldmap "Generateworld.cgf"

@  46   375   500 # A small Farm

Added the defines info to "_maps.fos"

Line 39: #define LOCATION_i_farm                (46)
Line 448: #define MAP_i_farm                       (666)


After all this I'm still getting an error... why...I knew i forgot to put something somewhere but what am I missing?

cubik2k:
Try this:

[Area 46]
name          = A small Farm
size            = 6
map_0         = i_farm 666
visible         = 1

corosive:
Nah still didn't work... Looked through the fonline.ru forums too, still can't get mah map on the worldmap

Is it really that simple tho? Add a few lines to "Locations" and "Generateworld" and voila it's on the worldmap? Because if so then it's probably the map I made that isn't working... or I didnt make the map properly... it's just a basic e_desert4 with a few npcs added with dialog saved as i_farm

Mayck:
If I remember correctly... When you're adding the location via Generateworld, you have to wipe the server. If you don't want to wipe it you have to do it by the ~addloc command

nekro:
Hey programmers where to get world map for fonline and how to edit it for fallout style ? how to add into game with water blockers and mountains speed? how do you do new world map?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version