| 06-26-2006, 10:26 PM | #1 |
Is there any way to create lines on the minimap that can change during a game? I'm trying to make an arrow from one place to another that can be moved if I need, so it's not as simple as just editing the minimap. Thanks |
| 06-26-2006, 11:51 PM | #2 |
I would do that with the Neutral Building images (Like Gold Mines and Shops). I don't know if the size of the image can be made larger, but you could always make it a simple 16x16 box and just make the arrow of dummy units. |
| 06-27-2006, 01:20 AM | #3 |
or you could try (implying that I have never tried it nor do know if it will work) overriding the texture for a goldmine/shop minimap icon with an arrow texture. |
| 06-27-2006, 02:02 AM | #4 |
That was what I implied by "I don't know if the size of the image can be made larger." |
| 06-27-2006, 02:32 AM | #5 |
So you're saying I should edit the goldmine minimap icon and then move that unit around. I'll try fooling around with that, thanks. |
| 06-27-2006, 03:06 AM | #6 |
Tim: My fault. ChaoticEvil: Report if it works or not because I was planning on doing a similar thing. |
| 06-27-2006, 03:59 AM | #7 |
Ok, I'll do it tomorrow. I did glance at the editor though, and I saw some actions dealing with setting special minimap icons for units. Looks hopeful. |
| 06-27-2006, 07:22 AM | #8 |
Very much recommend you don't use gold mines as the base. They tend to be annoying and hard coded with stuff. So if you can get the icon for non-gold mine based units, great. |
| 06-27-2006, 02:15 PM | #9 |
What you want to base it off is the Shop unit, it makes changing the image very easy, and will work flawlessly as long as the unit belongs to Neutral Passive. |
| 06-28-2006, 12:23 AM | #10 |
Ok, I've been fooling around with the zone indicator and by editing the unit pathing - map path and using the triggers: Neutral Building - Change the special minimap icon to UI\Minimap\MiniMap-Entrance.blp Neutral Building - Turn special minimap icon On for Zone Indicator Trigger: I can change the icon on the minimap. Now, I had trouble getting my imported custom icon that was 16x16 to work. And I was also wondering if there is a way to have different special minimap icons on the map at once. It seems like they all change to the same thing the way I'm doing it. There is also another trigger which I really need to find a solution for: The problem is that I'm trying to find a way to generalize the power generator region as I'm going to have around 50 of them. Two options I've come up with is to have 50 events (which would be kinda big) or to have it check for units every second and use a loop to check if its a power generator. Would those ways create a lot of lag if I have a lot of units always entering regions? And is there any simpler way to do this? Thanks for your help. |
| 06-28-2006, 04:49 PM | #11 |
Trigger: Actions
![]() Neutral Building - Change the special mini map icon to UI\Minimap\MiniMap-Entrance.blp
![]() Neutral Building - Turn special minimap icon On for Zone Indicator (Custom Campaign) 0018 <gen>you do not need this all you need to do is go to advanced/game interface then find icon- minimap resource, tick the use custom game interface button in the top left then change the image to your arrow, then place a gold mine, or make the goldmine model to a tree so it is inconspicuous and you will see it on the minimap. |
| 06-29-2006, 12:57 AM | #12 |
Ya, that looks to be easy enough. I was wondering if there is a way to have units change their minimap icon without replacing the unit. And also if you can have around 10 icons on the minimap at once? I keep looking through all of this on the editor, but I can't figure it out. And btw, I have WE Unlimited now. |
| 06-29-2006, 01:53 PM | #13 |
Haha maybe you don't understand what I'm telling you to do. Have you ever seen too many shops on the map so that the icons don't show up? I didn't think so. Now, don't do what Xios said, that's pathetically amateur. What you do is take the Shop unit, replace it's model with a dummy or no model so that it cannot be seen. Now remove the pathing map. Now all you do is place it wherever you want on the minimap. You can even change the image used via the functions Xios told you not to :P. |
| 06-29-2006, 04:33 PM | #14 |
pathetically amateur?? thats kind of you! |
| 06-29-2006, 08:34 PM | #15 |
Tim: I understand how to switch the icon that way, but it only allows one special icon on the map at a time. I need to find a way to have several different ones at once. |
