Building X2 Sector maps
Posted: Mon, 25. Apr 22, 04:29
Hi all
So I’m not really sure if this is the right place for this since this isn't about modding the game exactly but here goes.
for a while now I have been working on building an X Universe Codex currently I’m working on building the sector maps for X2 in order to do that I need to figure out how to convert the unit sizes listed in the x2_universe.xml file to pixels unfortunately math never was my strong suite and I’m kinda stuck and could use a little help.
So if my map for Kingdom End is 513px wide and 513px tall how do I find the scale factor so I know what top and left values I need to specify in order to position each of the station icons correctly?
Now I could just use the same low tech method I did for X - Beyond the Frontier and X-Tension to figure this out and just screen shot each sector and then overly the icons over the screen shot but that’s really slow and time consuming, and I was hoping there might be a faster and more accurate way to go about this by taking the X,Y,Z values from the x2_universe.xml file and then just converting said values to pixels.
So I’m not really sure if this is the right place for this since this isn't about modding the game exactly but here goes.
for a while now I have been working on building an X Universe Codex currently I’m working on building the sector maps for X2 in order to do that I need to figure out how to convert the unit sizes listed in the x2_universe.xml file to pixels unfortunately math never was my strong suite and I’m kinda stuck and could use a little help.
So if my map for Kingdom End is 513px wide and 513px tall how do I find the scale factor so I know what top and left values I need to specify in order to position each of the station icons correctly?
Now I could just use the same low tech method I did for X - Beyond the Frontier and X-Tension to figure this out and just screen shot each sector and then overly the icons over the screen shot but that’s really slow and time consuming, and I was hoping there might be a faster and more accurate way to go about this by taking the X,Y,Z values from the x2_universe.xml file and then just converting said values to pixels.