Soldak Home   Drox Operative   Din's Curse   Depths of Peril   Zombasite  

Go Back   Soldak Entertainment Forums > Drox Operative > Drox Operative modding
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 07-19-2018, 12:23 AM
Cockbite Cockbite is offline
Expert
 
Join Date: Jun 2010
Posts: 48
Default Minimap is being doubled instead of replaced on merge

I'm trying to make the minimap bigger by editing the game.mnu using the mergeWith command. What am I doing wrong here? Do I need to include the entire game.mnu in the mod instead of merging?

This is the code I have in ../UI/_LargerMinimap.mnu. The three lines that were changed have the original values commented out for reference.

Code:
mergeWith Game

// Minimap

Widget
{
	position 595.0 115.0 // 592.0 4.0
	offset -50.0 0.0
	size 100.0 10.0
	font SmallDefault
	textSource AreaName
	textAlignment center
	draworder 3
	showCondition MiniMapOn
	blocksMouse 0
	PartiallyIgnoreWidescreenCenter 1
	highlightTextSource AreaName Text "\n\n$$AvailableQuestsIn$$ " AreaNameNoKey Text ":\n" AvailableQuestsOnLevel
}

Widget
{
	position 599.0 71.0
	offset -62.5 -71.5 // -50.0 -50.0
	size 115.0 115.0 // 87.0 87.0
	texture Textures/UI/minimap/minimap_border.tga
	draworder -2
	showCondition MiniMapOn
	blocksMouse 0
	color "1 .9 .8"
	PartiallyIgnoreWidescreenCenter 1
}
This is the result. My bigger minimap is appearing behind the original instead of replacing it. I tried changing the name of my menu to make sure it was loaded last, but it had no effect.

Reply With Quote
  #2  
Old 07-19-2018, 04:50 PM
Shadow's Avatar
Shadow Shadow is offline
Super Moderator
 
Join Date: Jun 2007
Location: Dallas, TX
Posts: 10,091
Default

mergeWith basically just adds widgets to the menu in question, so in this case you would want to replace the entire menu.
__________________
Steven Peeler
Designer/programmer
Depths of Peril, Kivi's Underworld, Din's Curse, Drox Operative, Zombasite, Din's Legacy, Drox Operative 2, & Din's Champion
Wishlist Din's Champion
Reply With Quote
  #3  
Old 07-19-2018, 06:06 PM
Cockbite Cockbite is offline
Expert
 
Join Date: Jun 2010
Posts: 48
Default

Okay. Thanks, Shadow.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 02:36 PM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2007 - 2024 Soldak Entertainment, Inc.