how to import a google maps screen in the game

Post anything about MX Simulator here. Please. I'm begging you.
Post Reply
west
Posts: 302
Joined: Thu Mar 08, 2012 3:22 am
Team: *eMc*
Location: Martinique
Contact:

how to import a google maps screen in the game

Post by west »

hello guys
i would like to know how to import a google map's screen in the game for making a track as haagvist and other good track makers
the screen must be big to occup all the place in the map in the editor
i need your help
thank u guys
link of the topic : http://forum.mxsimulator.com/viewtopic.php?f=15&t=27353[/size] => new engine's sounds
SMR 510RR
Posts: 2526
Joined: Sun Apr 08, 2012 6:36 am
Team: Privateer

Re: how to import a google maps screen in the game

Post by SMR 510RR »

This is how I get the image:
http://www.metacafe.com/watch/1073912/g ... arge_maps/

And this is how to get them in game:
http://forum.mxsimulator.com/viewtopic.php?f=11&t=3606

I dont use DJ's files I just make it up on my own, its not that hard. Just cut out the portion you want of the map you downloaded and scale it to a proper resolution (1024.2048, etc) and name it whatever you want. Open up the decals file and terrain file (not image) and get ready to do some math. In the Terrain file you have the pixel scale of your map (second number), multiply that by the width of your terrain image (typically 1025 unless you changed it) and you get the size in feet of your terrain, Input that as the size of your decal. Now all thats left is to place the decal, basically just divide the number we just used by 2 and enter that in the X and Y location of the map.

You can also split it up into multiple sections if you want higher resolution, use the same principals Im not going to write all that out over again.

Enjoy!
BuddyTheElf
Posts: 2264
Joined: Tue Nov 29, 2011 10:47 pm
Team: Privateer
Location: UK

Re: how to import a google maps screen in the game

Post by BuddyTheElf »

Normally I scale the image up abit because otherwise you're working at 1:1 scale.
SMR 510RR
Posts: 2526
Joined: Sun Apr 08, 2012 6:36 am
Team: Privateer

Re: how to import a google maps screen in the game

Post by SMR 510RR »

Yea well I assume most people are scaling in the terrain rather than the image so that their topography matches with the overlay texture. I just ride it and scale as I see fit to get it to look the correct size.
west
Posts: 302
Joined: Thu Mar 08, 2012 3:22 am
Team: *eMc*
Location: Martinique
Contact:

Re: how to import a google maps screen in the game

Post by west »

thank u very much guys it's great
i hope do more beautiful track now
link of the topic : http://forum.mxsimulator.com/viewtopic.php?f=15&t=27353[/size] => new engine's sounds
Post Reply