Hello, I created a mod to have an unzoom more important, and I reduced the size of the names of cities. But my problem is that now the names of cities on the world map are moved with their locations, do you know a calculation which allows to know the positions correct (x; y) of names of cities in function of the unzoom please? A function f(x) maybe? Thank you.
Sorry if my english is bad.
Calculation for names of cities
Last edited by tkk7406 on 15 Jun 2016 21:00, edited 1 time in total.
Reason: Please edit your post, there's no need to post twice in a row
Reason: Please edit your post, there's no need to post twice in a row
Member of FSG Map https://www.promods.net/viewtopic.php?t=28290
For those who have not understood what it speaks :
He talks about the values of "map_x_offsets" and "map_y_offsets" of the file paris.sii (example)
Code: Select all
map_x_offsets[]: 0
map_x_offsets[]: 0
map_x_offsets[]: -50// close zoom for minimap
map_x_offsets[]: -65 // far zoom for monimap
map_x_offsets[]: 0 // city zoom for world map
map_x_offsets[]: -20 // closest zoom for world map
map_x_offsets[]: -20 // middle zoom for world map
map_x_offsets[]: -5 // whole world map zoom
map_y_offsets[]: 0
map_y_offsets[]: -10
map_y_offsets[]: -40
map_y_offsets[]: -20
map_y_offsets[]: 0
map_y_offsets[]: 25
map_y_offsets[]: -5
map_y_offsets[]: -5
Go : http://www.scsmods.fr !
Sorry for my bad english, I use Google Traduction. I'm getting better every day ! I'm a beginner mapper. My mods : http://ets2.lt/en/?s=Julien
Sorry for my bad english, I use Google Traduction. I'm getting better every day ! I'm a beginner mapper. My mods : http://ets2.lt/en/?s=Julien
- MandelSoft
- Lead Developer
- Posts: 3835
- Joined: 08 Aug 2013 10:48
- Location: Delft [NL]
There is no real formula for it. We usually just change the numbers of the map offsets with trial and error.
Your daily dose of wisdom!
╔═══╗────╔═╗╔═╗────╔╗
║╔═╗║────║║╚╝║║────║║
║╚═╝╠═╦══╣╔╗╔╗╠══╦═╝╠══╗
║╔══╣╔╣╔╗║║║║║║╔╗║╔╗║══╣
║║──║║║╚╝║║║║║║╚╝║╚╝╠══║
╚╝──╚╝╚══╩╝╚╝╚╩══╩══╩══╝
Don't ask us for a release date; we don't know either.
╔═══╗────╔═╗╔═╗────╔╗
║╔═╗║────║║╚╝║║────║║
║╚═╝╠═╦══╣╔╗╔╗╠══╦═╝╠══╗
║╔══╣╔╣╔╗║║║║║║╔╗║╔╗║══╣
║║──║║║╚╝║║║║║║╚╝║╚╝╠══║
╚╝──╚╝╚══╩╝╚╝╚╩══╩══╩══╝
Don't ask us for a release date; we don't know either.
O.K, thank you!
Member of FSG Map https://www.promods.net/viewtopic.php?t=28290
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests