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.

5
[Mod Help] how to change when the unit map icons appear
Post Flair (click to view more posts with a particular flair)
Author Summary
GTAIVisbest is in Mod Help
Post Body

In almost all PDX games there are unit map icons that pop up when the camera is at a certain distance from the ground. They look like this: https://i.imgur.com/NOwdcG0.png

I've been trying to find a way to make it so that these icons will only appear when one is much more zoomed in. They tend to get very cluttered at high zoom levels because they stay the same size even when one zooms out.

I found the unit map icons are controlled in interface\mapicons.gui but they only seem to be defined there, not the height that they appear at. Furthermore, changing basically anything in this file, or removing it completely causes a game crash when units appear.

The defines.lua are also not helpful, the only thing that could be of use is a "PROVINCE_NAME_DRAW_DISTANCE" value that never has any affect in game, whether you change it or not.

Does anyone know how to change at what height unit icons are generated?

Thanks!

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