MechHero Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Map export for external tools  (Read 5890 times)

0 Members and 1 Guest are viewing this topic.


  • Nova
  • *****
  • Posts: 1324
Map export for external tools
« on: May 07, 2010, 06:06:49 PM »


We've been asked to provide export of world for external tools development - so here there is :)


It's a list of following SQL inserts:

INSERT 'tbl' VALUES (130825,0,9,9,2,'pankleks',20,'Black Company','Akademia 3',1234);

in the order:

Map ID - internal map location identifier (int)
Planet ID - internal planet ID (int)
Map X - (int)
Map Y - (int)
Player ID - internal player ID (int)
Player name - (string[16])
Alliance ID - internal alliance ID (int)
Alliance Tag - alliance name (string[16])
City name - (string[16])
City points - (int)

next inserts are separated with ; characters - you can adjust inserts for your needs by any text editor.

Export file is updated once per day and it contains map locations with cities only.


« Last Edit: May 11, 2010, 02:29:02 PM by pankleks »


  • Nemesis
  • ****
  • Posts: 729
    • Email
Re: Map export for external tools
« Reply #1 on: May 07, 2010, 07:59:25 PM »

Just w little update.

Rewards are awaiting those who create some interesting Mech Hero world maps  ;D

Have fun and let's see what you can do
"No risk - no exp." - adamsky