Jump to content


Photo

Mini Map


7 replies to this topic

#1 engineermdh

engineermdh
  • Members
  • 11 posts

Posted 05 January 2011 - 05:28 AM

I was looking through for anyone with a similar problem/bug or who had said anything about this before and didn't find anything addressing it directly so here goes

The mini map does not scale with the size of the galaxy for GC games (GFFA and Core use the same mini map, just with different planets) and everything on the minimap seems so jam packed and not very useful since the viewing pane does nothing. I've attached a couple screen shots that show what I'm trying to convey to words.
Posted Image Posted Image
I am playing PR 1.1 + the space only mini mod with some minor changes to some of the unit xml files.

I'm not sure if this will be a big deal to fix or just a quick thing, but not being able to effectively use the mini map bothers me. please let me know if there is anything i can do to help, or what would be required.

And I know that it cannot be said enough how hard you guys work to keep this mod project running and developing so thank you very much for taking the time to do so!!

#2 evilbobthebob

evilbobthebob

    evilbobthemapper

  • Project Team
  • 2,304 posts
  • Location:USA
  • Projects:Phoenix Rising Maps
  •  Phoenix Rising Mapping Lead

Posted 05 January 2011 - 05:16 PM

There's a way to fix this, which I am reasonably sure I communicated to PR or Tropical Bob at some point. If they've forgotten, here's a Diff of the changes I made for UEAW's scaling, the file is CommandBarComponents.xml.

<CommandBarComponent Name="radar_galactic">
			 <Type>Button</Type>
-			<Size>175 175</Size>
+			<Size>116 150</Size>
	 </CommandBarComponent>
 
@@ -6903,5 +6903,5 @@
<CommandBarComponent Name="g_radar_blip">
			<Type>Button</Type>
			<Icon_Texture_Name>i_radar_galactic_planet.tga</Icon_Texture_Name>
			<Mouse_Over_Texture_Name>i_radar_galactic_planet_hilite.tga</Mouse_Over_Texture_Name>
			 <Flash_Texture_Name>i_radar_galactic_planet_flash.tga</Flash_Texture_Name>
			 <No_Shell>True</No_Shell>
-			<Scale>1.0</Scale>
+			<Scale>0.7</Scale>
			 <Base_Layer>3</Base_Layer>
			 <Tab>True</Tab>
@@ -6914,5 +6914,5 @@
<CommandBarComponent Name="g_radar_view">
			<Type>Button</Type>
			<Icon_Texture_Name>i_radar_view.tga</Icon_Texture_Name>
			<No_Shell>True</No_Shell>
			 <Scale>1.0</Scale>
			 <Base_Layer>4</Base_Layer>
-			<Size>132 90</Size>
+			<Size>88 60</Size>
	 </CommandBarComponent>
	 
@@ -9522,5 +9522,5 @@
	<CommandBarComponent Name="radar_galactic_adv_map">
			<Type>Button</Type>
-		   <Size>175 175</Size>
+		   <Size>116 116</Size>
	</CommandBarComponent>

The - lines were deleted and changed to the lines with +. The @@ parts are line numbers, but they may be incorrect for your copy. It's the specific entries that matter.

Edited by evilbobthebob, 05 January 2011 - 05:18 PM.

Phoenix Rising, head of mapping. Thanks to everyone who got us to the position below!
Posted Image


#3 Tropical Bob

Tropical Bob

    title available

  • Members
  • 1,348 posts

Posted 05 January 2011 - 08:56 PM

I think you did mention it at one point, probably when I was working on v1.1.2.

I'll fiddle around to see what specific numbers would work for PR. Thanks for the tips, bob.

#4 engineermdh

engineermdh
  • Members
  • 11 posts

Posted 05 January 2011 - 11:39 PM

Ok so I spent most of today working on those 4 blocks of code and here is what I ended up with:
CODE
<CommandBarComponent Name="radar_galactic">
<Type>Button</Type>
<!-- Changed to correct mini map scale-->
<!--<Size>30 30</Size>-->
<Size>45 45</Size>
<!--<Size>175 175</Size>-->
</CommandBarComponent>

<CommandBarComponent Name="g_radar_blip">
<!-- Changed to scale mini map-->
<Type>Button</Type>
<Icon_Texture_Name>i_radar_galactic_planet.tga</Icon_Texture_Name>
<Mouse_Over_Texture_Name>i_radar_galactic_planet_hilite.tga</Mouse_Over_Texture_Name>
<Selected_Texture_Name>i_radar_galactic_planet_selected.tga</Selected_Texture_Name>
<Flash_Texture_Name>i_radar_galactic_planet_flash.tga</Flash_Texture_Name>
<No_Shell>True</No_Shell>
<!--<Scale>1.0</Scale>-->
<Scale>0.5</Scale>
<Base_Layer>3</Base_Layer>
<Tab>True</Tab>
</CommandBarComponent>

<CommandBarComponent Name="g_radar_view">
<!--Changed to scale mini map-->
<Type>Button</Type>
<Icon_Texture_Name>i_radar_view.tga</Icon_Texture_Name>
<No_Shell>True</No_Shell>
<!--<Scale>0.5</Scale>-->
<Base_Layer>4</Base_Layer>
<!--<Size>22 15</Size>-->
<!--<Size>15 15</Size>-->
</CommandBarComponent>

<CommandBarComponent Name="radar_galactic_adv_map">
<!-- Changed to scale mini map-->
<Type>Button</Type>
<!--<Size>30 30</Size>-->
<Size>45 45</Size>
<!--<Size>175 175</Size>-->
</CommandBarComponent>

which produced for GFFA and CW respectively:
Posted Image Posted Image

Now this produces a mini map that is workable as far as the map itself is concerned. The problem is that any changes to the <Scale> or <Size> parameters in g_radar_view do not change the white view box. I tried a variety of different values in each, omitting one or the other, and even omitting that component entirely (exception generated) and none of them seemed to change that view box. Anyone have any ideas why that might be?

#5 Tropical Bob

Tropical Bob

    title available

  • Members
  • 1,348 posts

Posted 05 January 2011 - 11:51 PM

I think it's something to do with the mini-map size. I vaguely remember it being mentioned before, but in a different file. I could probably be wrong about that though.

#6 engineermdh

engineermdh
  • Members
  • 11 posts

Posted 06 January 2011 - 12:12 AM

yeah im still looking and fiddling hoping to get lucky :p

#7 evilbobthebob

evilbobthebob

    evilbobthemapper

  • Project Team
  • 2,304 posts
  • Location:USA
  • Projects:Phoenix Rising Maps
  •  Phoenix Rising Mapping Lead

Posted 06 January 2011 - 12:46 AM

I might be able to dig out the changes I made to sort that out in UEAW as well. I'm pretty sure it was fixed, though I need to go back to the diffs and check exactly what was changed.

Phoenix Rising, head of mapping. Thanks to everyone who got us to the position below!
Posted Image


#8 Phoenix Rising

Phoenix Rising

    Beyond the Impossible

  • Petrolution Staff
  • 6,509 posts
  • Projects:Phoenix Rising
  •  Mod Leader
  • Division:Petrolution
  • Job:Mod Specialist

Posted 21 March 2011 - 03:21 AM

There's a way to fix this, which I am reasonably sure I communicated to PR or Tropical Bob at some point.

Sorry I missed that! But I have dealt with the problem on my own for v1.2. The only thing I did that's appreciably different is downsize those galactic planet radar icons by half.

Now this produces a mini map that is workable as far as the map itself is concerned. The problem is that any changes to the <Scale> or <Size> parameters in g_radar_view do not change the white view box. I tried a variety of different values in each, omitting one or the other, and even omitting that component entirely (exception generated) and none of them seemed to change that view box. Anyone have any ideas why that might be?

It used to slightly scroll at one point. After a certain rescaling of the galaxy, I think it just stopped. Could be hardcoded, as the campaign menu preview maps seem to be.



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users