Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline Cpt.Parker  
#1 Posted : Monday, October 10, 2022 8:24:54 AM(UTC)
Cpt.Parker
Private
Joined: 10/10/2022(UTC)
Posts: 7

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Hello Reader,
I am new to modding C&C Generals/ZH in general.
I made myself familiar with on how to mod units/buildings with the help of finalbig and Notepad++.
At the moment, I try to mod the MiniMap behaviour. Unfortunatly without sucsess.

My Goal is, that the MiniMap allways shows the map relief/topography shrouded in the fog of war, if no radar is present or functional. The Minimap should be clickable to jump to a location as normal, and should display your current cameraposstion as normal. Just no units/buildingpossition nor the cleared shroud of your units should be displayed.

If a radar is present and functional, the MiniMap should function as normal.

I googled and checked this forum already for answers.
I didn't find any hints on the MiniMap in the Inifiles.
I searched for the keywords "MiniMap" and "Radar".

If you could point me to the correct file, this would help me a lot.
If this can't be modded, a headsup would be nice.
If you have an idea for a workaround I could try, I would be greatful too.

Thank you very much for your time.
Kind Regards
Cpt. Parker
Sponsor
Offline UTD^Force  
#2 Posted : Monday, October 10, 2022 1:57:04 PM(UTC)
UTD^Force
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 8/13/2013(UTC)
Posts: 817
Jordan
Location: Middle east

Thanks: 430 times
Was thanked: 184 time(s) in 168 post(s)
Help me understand please, do you want to be able to clear the shroud over an area and then when the fog of war returns the buildings are not visible in game?
For that, changing this line in GameData.ini file would make it more difficult to discern where buildings are.
Code:
  FogAlpha = 1;new value;127 ;original value

Or do you want it that when someone doesn't have a radar then their minimap would be kind of transparent but not showing anything at all? Like the kind of grey shroud on the whole minimap in skirmish, except you want it to be fully grey and not show units or cleared areas.
Then I don't really know how to do this, I've just tried looking through the game files, I also thought the answer could be in controlbar codes, but did not find anything.
I also tried looking into radar codes but radar behaviours were just, 'RadarUpgrade' and didn't specify anything about what they do or how they work. I hope you find out how to do this.
Proud Muslim

UTD^Force

Moderator and former map reviewer
CnC Labs
thanks 1 user thanked UTD^Force for this useful post.
Cpt.Parker on 10/11/2022(UTC)
Offline Cpt.Parker  
#3 Posted : Tuesday, October 11, 2022 2:17:56 PM(UTC)
Cpt.Parker
Private
Joined: 10/10/2022(UTC)
Posts: 7

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Thank you for your quick reply ^^

Originally Posted by: UTD^Force Go to Quoted Post

Or do you want it that when someone doesn't have a radar then their minimap would be kind of transparent but not showing anything at all? Like the kind of grey shroud on the whole minimap in skirmish, except you want it to be fully grey and not show units or cleared areas.


This is exactly what I want to achive.
Here is a visual representation what my goal is:

[img=https://ibb.co/rsDrt5Z]Radar is not purchased[/img]


[img=https://ibb.co/xm63hGJ]Radar is Online[/img]

Either I go find the script which manages the radar behaviour, or I find a suitable workaround.
If you have any ideas, or anyone else, that I can try, just point me in the direction, I will gladly try it myself :)

Edited by user Tuesday, October 11, 2022 2:25:03 PM(UTC)  | Reason: Uploaded a better picture

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.