fodev.net
FOnline Development => Questions and Answers => Topic started by: doon on April 13, 2015, 10:20:59 am
-
Hi there,
Sorry if the question was already asked ( i have searched on forum before ) is there a way to change worldmap image with the worldmap tool
on 2238 sdk?
Thanks
-
Yes, change graphics\worldmap.png into your own png to change it in the editor. Note that the scale should be the same.
If you mean the actual game. This is done via client ini files and WM files. Look at art\intrface\faction*.ini files extracted from the client data files.
GmapTilesPic=wmbig\wrldmp%02d.png
GmapTilesX=5
GmapTilesY=6
GmapReliefMask=wmbig.msk
Is where you define how many parts the WM should consist of, and the relief file which needs to be created for terrain calculations to work.
https://github.com/rotators/fo2238/blob/master/Server/maps/wm.png is the mask file used by fo2238 and it's placed in maps dir so it can be used by the server.
art\intrface\wmbig
contains the graphical tiles themselves.
I'm sure I've forgotten some things.
-
Thanks it work !!!! :)
-
Is there a way to delete all the location on worldmap (worldmap tool) without getting a bunch of error when starting the server? ( it keep trying to load old maps)
I have a script error and a fail to start server.
(http://img11.hostingpics.net/pics/182856serveur.png) (http://www.hostingpics.net/viewer.php?id=182856serveur.png)
Aw , i guess i have to delete all scripts related to each location/map one by one?
-
Try to remove train and caravan routes. I never did it but I think it should be possible in the world editor.
It's possible that there will be other errors if some scripts rely on existence of a particular location.
You would have to identify those scripts (by reading the log) and disable them.
-
(http://img15.hostingpics.net/pics/510015scriptlist.png) (http://www.hostingpics.net/viewer.php?id=510015scriptlist.png)
I have a scriptlist in worldmap editor, is there a comand to disable them?
-
I have a scriptlist in worldmap editor, is there a comand to disable them?
Unfortunately not, you have to edit https://github.com/rotators/fo2238/blob/master/Server/scripts/scripts.cfg and remove all the '@' on scripts you want to disable.
-
I deleted cathedral location on worldmap editor , in script.cfg cathedral guard script and all cathedral stuff related in script folder but it keep some
error, this is strange, how the server can bind a module that i deleted?
(http://img11.hostingpics.net/pics/399530scripteeoooor.png) (http://www.hostingpics.net/viewer.php?id=399530scripteeoooor.png)
EDIT: Everytime i try to disable a script, another error spawn... i think i dont use the good way.
I was hoping of another method (safe and without a bunch of error ) to delete locations on worldmap.
-
For now i have set location on 'not visible'
Another problem: I have created a new map and location.
(http://img11.hostingpics.net/pics/425665worldeditoreroor.png) (http://www.hostingpics.net/viewer.php?id=425665worldeditoreroor.png)
(http://img11.hostingpics.net/pics/585577textlocation.png) (http://www.hostingpics.net/viewer.php?id=585577textlocation.png)
But when i run server:
(http://img11.hostingpics.net/pics/423986loadeeoor.png) (http://www.hostingpics.net/viewer.php?id=423986loadeeoor.png)
What did i missed? Pid of the map is not used by another and when i use another map ( of 2238 ) for this location, it work :(
EDIT : now it work but in game i cant see the location, its already on visible.
-
Did you add your location to GenerateWorld.cfg?
#
# World generate
#
@ 1 154 359 # Vault 112
@ 3 327 163 # Junkyard
-
WE should add the entry for you.
Did you remove your save? GenerateWorld.cfg is only executed once on world creation.
-
It work now, i just changed the entire number for entrance spawn in mapper. I don't know what is it?
For the location it was just a problem about my worldmap size , location was out of the worldmap.... sorry and thanks for help !