Change Minimap Border and Home City View Transparent

Here you can post about your scenario's, mods, custom maps and YouTube channels!
No Flag AIZs_Prodigy
Crossbow
Posts: 8
Joined: Apr 5, 2016

Change Minimap Border and Home City View Transparent

Post by AIZs_Prodigy »

Hi, I'm trying to create a custom UI.

1. I want to get rid of the border around the minimap (it's gold on TAD).
The only part of the minimap that seems to be moddable is the position:

Data3.bar: Data/uiminimappanelnewmin.xml.xmb:

Code: Select all

<position name="AGameMinimap" size1024="18 566 210 758" windowzstyle="" z="15"/>

The border image:
Art5.bar: Art/ui/ingame/ingame_minimap_asian.ddt

I tried overwriting this file by copying another image and re-naming it, placing it in the right folder, however it does not change.
I believe you have to overwrite the gadget's background, but this is a <position>. I've seen it changed to different images in the Napoleonic Era mod,
but I have no idea how.

2. I'm trying to make the Home City View background transparent.
When I'm looking at my deck in game, I want to be able to see what's going on in game. I've looked in every ui data file, but I was not able to find any
place where I could modify this. My guess is that it's not considered a "gadget."

However, in the Napoleonic Era, they changed the home city backgrounds for the main menu, etc to custom ones. If I changed it to a transparent image,
would it work? Or does this view not contain the game view behind?

In both cases, the Napoleonic Era mod was able to change it, but I don't understand how?

Thanks.
User avatar
Canada _NiceKING_
Retired Contributor
Donator 01
Posts: 1795
Joined: Sep 16, 2015
ESO: _NiceKING_
GameRanger ID: 9999999
Clan: Xbox

Re: Change Minimap Border and Home City View Transparent

Post by _NiceKING_ »

How do you edit the .ddt file? You have to convert it to .tga, then edit and then convert it back to .ddt. I remember I did the same thing (removed the border around the minimap), I only edited the needed .ddt file and it worked.
No Flag AIZs_Prodigy
Crossbow
Posts: 8
Joined: Apr 5, 2016

Re: Change Minimap Border and Home City View Transparent

Post by AIZs_Prodigy »

Where do I put the file? In the art folder (i tried this and didn't work)? Or are you talking about changing the file and then re-packaging it into a bar file again? Does EP not allow that for UIs?
User avatar
Canada _NiceKING_
Retired Contributor
Donator 01
Posts: 1795
Joined: Sep 16, 2015
ESO: _NiceKING_
GameRanger ID: 9999999
Clan: Xbox

Re: Change Minimap Border and Home City View Transparent

Post by _NiceKING_ »

AIZs_Prodigy wrote:Where do I put the file? In the art folder (i tried this and didn't work)? Or are you talking about changing the file and then re-packaging it into a bar file again? Does EP not allow that for UIs?

Yes, you have to put it into art folder with the same path as it has in the .bar file. You are doing something wrong I guess.
No Flag AIZs_Prodigy
Crossbow
Posts: 8
Joined: Apr 5, 2016

Re: Change Minimap Border and Home City View Transparent

Post by AIZs_Prodigy »

NEVERMIND LOL
No Flag AIZs_Prodigy
Crossbow
Posts: 8
Joined: Apr 5, 2016

Re: Change Minimap Border and Home City View Transparent

Post by AIZs_Prodigy »

HAHAHAHA omg it's the wrong file.

I changed the right one and IT WORKS!!!!!!11111
France iNcog
Ninja
Posts: 13236
Joined: Mar 7, 2015

Re: Change Minimap Border and Home City View Transparent

Post by iNcog »

show us some screenshots
YouTube: https://www.youtube.com/incog_aoe
Garja wrote:
20 Mar 2020, 21:46
I just hope DE is not going to implement all of the EP changes. Right now it is a big clusterfuck.
No Flag AIZs_Prodigy
Crossbow
Posts: 8
Joined: Apr 5, 2016

Re: Change Minimap Border and Home City View Transparent

Post by AIZs_Prodigy »

For what? I was able to remove the border around the minimap. I'm trying right now to make the home city page transparent. I've been able to get rid of all of the background and visuals on the home city view, however now it just shows up as black. I don't think it's possible to change it to show the map.
France iNcog
Ninja
Posts: 13236
Joined: Mar 7, 2015

Re: Change Minimap Border and Home City View Transparent

Post by iNcog »

well basically we just want to see what it looks like :P
YouTube: https://www.youtube.com/incog_aoe
Garja wrote:
20 Mar 2020, 21:46
I just hope DE is not going to implement all of the EP changes. Right now it is a big clusterfuck.
France iNcog
Ninja
Posts: 13236
Joined: Mar 7, 2015

Re: Change Minimap Border and Home City View Transparent

Post by iNcog »

that looks sort of cool ^^
YouTube: https://www.youtube.com/incog_aoe
Garja wrote:
20 Mar 2020, 21:46
I just hope DE is not going to implement all of the EP changes. Right now it is a big clusterfuck.
No Flag AIZs_Prodigy
Crossbow
Posts: 8
Joined: Apr 5, 2016

Re: Change Minimap Border and Home City View Transparent

Post by AIZs_Prodigy »

This isn't the UI I'm building, I'm just testing to see whether I can incorporate certain features.

I'm just trying to make that background transparent instead of black. I cannot find where it's specified.
User avatar
Malaysia Aizamk
Pro Player
ESOC WarChiefs Classic 2017
Posts: 1459
Joined: Feb 26, 2015
Location: ded

Re: Change Minimap Border and Home City View Transparent

Post by Aizamk »

O_o I had no idea that I had raised a prodigy.

Yes afaik the only things moddable about the minimap gadget are its position and/or size.

What files did you edit to create that effect? To me it just looks like a background gadget with black/incorrect filepath background has simply been placed over the homecity view, so transparency will not solve the problem. I say this based on the fact that there seems to be water visible in that screenshot, while the minimap is clearly focused on land.

If you do ever manage to figure out a way that'd be great though :P

One possible work-around is that you make it such that after choosing your deck, it enables a button that simply toggles the deck gadget rather than toggling homecity view. However this gadget updates when you try view an opponent's deck as well, so that causes problems in itself; also toggling the gadget when you havent chosen your deck and then clicking on the 'choose deck' button will cause your game to crash :P

So this work-around isn't a good work-around at all.
oranges.
No Flag AIZs_Prodigy
Crossbow
Posts: 8
Joined: Apr 5, 2016

Re: Change Minimap Border and Home City View Transparent

Post by AIZs_Prodigy »

Forgive me supreme leader Aiz, I assure you I will not fail this time.

Who is online

Users browsing this forum: No registered users and 9 guests

Which top 10 players do you wish to see listed?

All-time

Active last two weeks

Active last month

Supremacy

Treaty

Official

ESOC Patch

Treaty Patch

1v1 Elo

2v2 Elo

3v3 Elo

Power Rating

Which streams do you wish to see listed?

Twitch

Age of Empires III

Age of Empires IV