Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed (Author was flagged for spam)

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

7
[Mod/Map Help] Automatically generating pixel coordinates from .bmp
Post Flair (click to view more posts with a particular flair)
Author Summary
GTAIVisbest is in Mod/Map Help
Post Body

EDIT: For anyone else with this problem. THE SOLUTION IS EXTREMELY SIMPLE. Thank god.

So, it appears that by leaving the positions.txt blank, the game is forced to define new positions. Somehow, though, they are all offset, so when the game calculates positions that way, it's junk.

But I went ahead and used a quick script to set every single province in the game to have positions x=5, y=5. This is somewhere in a wasteland province at the very corner of the map.

Automatically, the game was forced to calculate default positions, but this way the positions were actually valid and at the center of each province automatically.

DONE!

Hello all,

The game is March of the Eagles, but functionally it's quite similar to EU3.

I'm making a map from scratch. I have a provinces.bmp with 3000 individual provinces in it.

The positions.txt just requires an X and Y pixel coordinate to tell the game where to place troops in the province. If I just leave it blank, the game automatically generates positions, but they are pretty badly offset, so that it becomes impossible to see which province your troops are in exactly.

I definitely cannot go back and manually get pixel coordinates for 3,000 provinces. Is there any way to somehow use the .bmp file, which has a collection of shapes of different colours, and do something in order to get pixel coordinates automatically? I could then manipulate it with excel and use that to define positions.txt

All help is appreciated !

Author
Account Strength
0%
Account Age
13 years
Verified Email
Yes
Verified Flair
No
Total Karma
97,708
Link Karma
26,710
Comment Karma
69,365
Profile updated: 8 months ago
Posts updated: 9 months ago

Subreddit

Post Details

Location
We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
4 years ago